A WSGI-based Content Repository for Semantic Web and document processing applications that (mostly) conforms to the CMIS (Content Management Interoperability Services). It uses an OWL ontology to capture the formal semantics of an XML/RDF content repository, extending the document object in CMIS with first class XML objects (using the capabilities provided by Amara for implementation) and RDF datasets and rulesets (using capabilities provided by python-dlp).
SWDR has an abstracted persistence layer, integrated XML services, standardized AC-based security policy representations, and a framework which uses an RDF dataset to represent system provenance statements about resources in the repository.
It also uses Akara for all HTTP/RESTful plumbing, service dispatching, data transformation, etc. It is motivated by its predecessor the 4Suite repository (its abstract persistence object hierarchy is below) and uses a version of GRDDL.py to handle all its XML to RDF transformations. In porting this module, a version of rdflib was incorporated that integrates Akara for compliant URI processing and Amara for compliant XML processing.
__ Container __________ Repository
__ UriReferenceFile |__ User
| |__ Group
RawFile --| |__ Command
|__ XmlDocument ______|__ Server
|__ Alias
|__ Container
|__ SchematronDocument
|__ (RdfDocument)
|__ XsltDocument ___________
| |
|__ (DocumentDefinition) |
|_________ XsltDocumentDefinition
|_________ XPathDocumentDefinitionBelow is a diagram (credit Henry Story) of the Atom OWL ontology for comparison:
