summaryrefslogtreecommitdiff
path: root/lib/owl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/owl.rb')
-rw-r--r--lib/owl.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/owl.rb b/lib/owl.rb
index 245dcc7..a4c2e68 100644
--- a/lib/owl.rb
+++ b/lib/owl.rb
@@ -1,3 +1,10 @@
+# RDF namespaces
+RDF = Redland::Namespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
+OWL = Redland::Namespace.new 'http://www.w3.org/2002/07/owl#'
+DC = Redland::Namespace.new 'http://purl.org/dc/elements/1.1/'
+OT = Redland::Namespace.new 'http://www.opentox.org/api/1.1#'
+#OT = Redland::Namespace.new 'http://ortona.informatik.uni-freiburg.de/opentox.owl#'
+XML = Redland::Namespace.new 'http://www.w3.org/2001/XMLSchema#'
# overriding literal to give nice access to datatype
# and to access the stored value as correct ruby type
@@ -537,4 +544,4 @@ module OpenTox
end
end
end
-end \ No newline at end of file
+end