rhdunn/skosviz — Issue #1: parse RDF/XML+SKOS into a Python object model
Author: rhdunn
Created: 2011-12-01 13:52:21+00:00
State: open

Concept class -- wrap a skos:Concept
* string uri -- the expanded @rdf:ID or @rdf:about reference
* string name -- skos:prefLabel
* [ string ] alt -- skos:altLabel
* [ Concept ] narrower -- skos:narrower

ConceptScheme class -- wrap a skos:ConceptScheme
* string uri -- the expanded @rdf:ID or @rdf:about reference
* string name -- dc:title
* [ Concept ] top_concepts -- skos:hasTopConcept

SkosLibrary class -- holds all the SKOS Concept and ConceptScheme objects
* [ Concept ] concepts
* [ ConceptScheme ] schemes

-----

1. Rework the RDF/XML+SKOS parser [http://www.w3.org/TR/REC-rdf-syntax/] to create instances of the above classes;
2. Add tests for this (skos file => tree output) -- including tricky RDF/XML constructs (like rdf:Description rdf:type skos:Concept);
3. Use the object model to implement the tree output.