Start to move all the RDF namespace definitions into a single module.
[htsworkflow.git] / htsworkflow / util / rdfhelp.py
index 3a27c8b9afbbad706bb242a0d229e414263b220f..7e9deda4e6497601abdaf130a795b860fee5b48d 100644 (file)
@@ -3,8 +3,16 @@
 import RDF
 import types
 
+# standard ontology namespaces
+dublinCoreNS = RDF.NS("http://purl.org/dc/elements/1.1/")
+rdfNS = RDF.NS("http://www.w3.org/1999/02/22-rdf-syntax-ns#")
+rdfsNS= RDF.NS("http://www.w3.org/2000/01/rdf-schema#")
 xsdNS = RDF.NS("http://www.w3.org/2001/XMLSchema#")
 
+# internal ontologies
+submitOntology = RDF.NS("http://jumpgate.caltech.edu/wiki/UCSCSubmissionOntology#")
+libraryOntology = RDF.NS("http://jumpgate.caltech.edu/wiki/LibraryOntology#")
+
 def blankOrUri(value=None):
     node = None
     if value is None: