https://github.com/edsu/lcsh-subset
create a subset view of LCSH
https://github.com/edsu/lcsh-subset
Last synced: 10 months ago
JSON representation
create a subset view of LCSH
- Host: GitHub
- URL: https://github.com/edsu/lcsh-subset
- Owner: edsu
- Created: 2011-05-12T19:15:48.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-08-29T15:37:09.000Z (almost 15 years ago)
- Last Synced: 2025-05-08T22:14:46.976Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 673 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sometimes you might want to have a working subset of the [Library of Congress Subject Headings](http://en.wikipedia.org/wiki/Library_of_Congress_Subject_Headings) for some SKOS driven applications.
For example at the [Library of Congress](http://loc.gov) there is a government
policy web archive, where it is desirable to catalog portions of the collection
using the [HIVE software](http://code.google.com/p/hive-mrc/), which can load
SKOS RDF.
This command line program uses the OpenSearch API at
id.loc.gov to do a query, page through the results, build up a graph
of the SKOS concepts, and output the graph as RDF/XML.
For example:
% ./lcsh-subset.py "government policy"
dumps all the SKOS RDF for concepts mentioning government policy to the file:
government_policy.rdf
License: Public Domain
Author: [Ed Summers](mailto:ehs@pobox.com)