Giter VIP home page Giter VIP logo

Comments (8)

chrisrlc avatar chrisrlc commented on August 16, 2024

@sfolsom This is ready for you to test on lookup-int! Direct lookup results use the id.loc.gov api (same results as what you'd find here: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/subjects). Each result has an id, label, and uri parsed from: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/subjects&format=json

Please let me know if you'd like any changes!

Example endpoint: https://lookup-int.ld4l.org/authorities/search/loc/subjects?q=school%20sports

from qa_server.

sfolsom avatar sfolsom commented on August 16, 2024

These look good. LOC has done a decent enough job being forgiving with parentheticals, etc.

from qa_server.

sfolsom avatar sfolsom commented on August 16, 2024

Need sub-authorities for each of the following collections (from https://id.loc.gov/authorities/subjects.html), so that they can be each searched separately

  • Authorized Headings
  • ComplexHeadings
  • subdivisions
  • Topic subdivisions
  • GenreForm Subdivisions
  • Temporal Subdivisions
  • Geographic Subdivisions

The suggest2 API has a parameter, e.g. https://id.loc.gov/authorities/subjects/suggest2?q=History&memberOf=http://id.loc.gov/authorities/subjects/collection_LCSHAuthorizedHeadings, but I'm not sure if this was the api that was used for LC lookups.

from qa_server.

Baroquem avatar Baroquem commented on August 16, 2024

@sfolsom I don't see ComplexHeadings listed here: https://id.loc.gov/authorities/subjects.html. Am I looking at the wrong sources?

from qa_server.

Baroquem avatar Baroquem commented on August 16, 2024

I think I have a working solution for the other collections now.

from qa_server.

sfolsom avatar sfolsom commented on August 16, 2024

I was trying to confirm whether it's important to have ComplexHeadings as a separate lookup. You're right, they aren't a Collection, but rather treated as a type. I think it's fine to not have them served separately, given they show up in the Authorized collection.

from qa_server.

Baroquem avatar Baroquem commented on August 16, 2024

OK, we're in business now!

Authorized Headings: http://lookup-int.ld4l.org/authorities/search/loc/collection_LCSHAuthorizedHeadings?q=School
Subdivisions: http://lookup-int.ld4l.org/authorities/search/loc/collection_Subdivisions?q=study
Topic: http://lookup-int.ld4l.org/authorities/search/loc/collection_TopicSubdivisions?q=quotations
GenreForm: http://lookup-int.ld4l.org/authorities/search/loc/collection_GenreFormSubdivisions?q=quotations
Temporal: http://lookup-int.ld4l.org/authorities/search/loc/collection_TemporalSubdivisions?q=794
Geographic: http://lookup-int.ld4l.org/authorities/search/loc/collection_GeographicSubdivisions?q=Mexico

from qa_server.

sfolsom avatar sfolsom commented on August 16, 2024

Looks great!

from qa_server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.