https://github.com/edsu/lcco
Converts a textual representation of the Library of Congress Classification Outline into SKOS/RDF and makes it available on the Web in a hierarchical viewer.
https://github.com/edsu/lcco
Last synced: 10 months ago
JSON representation
Converts a textual representation of the Library of Congress Classification Outline into SKOS/RDF and makes it available on the Web in a hierarchical viewer.
- Host: GitHub
- URL: https://github.com/edsu/lcco
- Owner: edsu
- Created: 2011-03-08T10:16:45.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T15:32:58.000Z (over 7 years ago)
- Last Synced: 2025-05-07T16:11:31.712Z (about 1 year ago)
- Language: Python
- Homepage: http://inkdroid.org/lcco/
- Size: 489 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
====
lcco
====
This minimal project converts a visually hierarhical text representation
(lc_class.txt) of the Library of Congress Classification Outline (`scraped
`_
from PDFs by Karen Coyle) to SKOS RDF (lcco.rdf).
The SKOS RDF is then published on the Web using `PHP's ARC2 `_.
Since Python is used to convert the text file to RDF, and PHP is used to
publish the RDF, lcco is also a little demonstration of how RDF can be
used as an neutral interchange format between databases.
Installation
============
If you don't want to regenerate the lcco.rdf file installation of
Python and rdflib and steps 2 and 3 are not necessary.
1. install Apache, MySQL and PHP, Python and rdflib
2. adjust the LCCO Namespace appropriately in skosify.py
3. ./skosify.py > lcco.rdf
4. create a MySQL database and adjust settings.php appropriately
5. php -e load.php
License
=======
`Public Domain `_
Author
======
Ed Summers