summaryrefslogtreecommitdiff
path: root/lib/owl.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-07-22 10:23:53 +0200
committerChristoph Helma <helma@in-silico.ch>2010-07-22 10:23:53 +0200
commit05084b1127f0d2498240472cca8a475f48f1fcc4 (patch)
treeb88fcae0617a5acacf5cc17db83665688c0f2078 /lib/owl.rb
parentef22b5b8581a535aa14c977c124f590e9a76bac5 (diff)
modifications from first code review meeting
Diffstat (limited to 'lib/owl.rb')
-rw-r--r--lib/owl.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/owl.rb b/lib/owl.rb
index 700e6ee..a3000e4 100644
--- a/lib/owl.rb
+++ b/lib/owl.rb
@@ -1,3 +1,11 @@
+# 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#'
+
class Redland::Literal
def self.create(value, datatype=nil)