An open API service indexing awesome lists of open source software.

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.

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