summaryrefslogtreecommitdiff
path: root/lib/environment.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2009-12-14 09:41:59 +0100
committerChristoph Helma <helma@in-silico.de>2009-12-14 09:41:59 +0100
commitfc3bda0095ca7e6968edf01bec034a243d294af4 (patch)
tree6721d1130308ec1543d18acab9610860b6fe116f /lib/environment.rb
parentadfcc9d572a2122b1b030dc04b3abf46007fb3f7 (diff)
Initial adaptation to RDF/OWL
Diffstat (limited to 'lib/environment.rb')
-rw-r--r--lib/environment.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/environment.rb b/lib/environment.rb
index 7ce6c7e..6100928 100644
--- a/lib/environment.rb
+++ b/lib/environment.rb
@@ -17,6 +17,12 @@ else
exit
end
+# 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#'
+
# configure redis database
=begin
begin