Comments (8)
@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.
These look good. LOC has done a decent enough job being forgiving with parentheticals, etc.
from qa_server.
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.
@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.
I think I have a working solution for the other collections now.
from qa_server.
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.
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.
Looks great!
from qa_server.
Related Issues (20)
- Add Direct Lookups for LC RBMS Controlled Vocabulary HOT 2
- Add Direct Lookup for Homosaurus HOT 6
- Add Existing Geonames Direct Configuration to Sinopia
- Add Direct Lookup for MESH HOT 1
- Add Direct Lookup for Getty Vocabs HOT 2
- Add Local Lookup for RDA Terms HOT 11
- Upgrade ruby, rails, qa and other gems
- Update documentation for what is in production
- Update DB Version to 10.11
- Add DBPedia Direct Lookup HOT 5
- Add ISNI Direct lookup. HOT 1
- Disable Cache Lookups HOT 2
- Remove cached lookups from Sinopia
- Create connection tests for new direct lookups.
- Fix Discogs lookup if determined that this lookup is still needed
- ADD LC RWO Lookups HOT 7
- Confirm whether/how pagination can be supported for Direct Lookups HOT 1
- Add direct lookup for LC Geographic Areas HOT 1
- Parameters for paginating results
- Create lookups for LOC Hubs, Works, Instances HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qa_server.