diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-07-12 16:38:03 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-07-12 16:38:03 +0200 |
commit | bf6834445feb6f93f0a20359462dbd1e7e89f4b8 (patch) | |
tree | 2f331f445d8390f7f3309e1689587ae3024c60f4 /lib/opentox-client.rb | |
parent | d8e72c6ff7ce2b147b6a11d233b80bbc8f1760d9 (diff) |
all opentox-client tests pass
Diffstat (limited to 'lib/opentox-client.rb')
-rw-r--r-- | lib/opentox-client.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/opentox-client.rb b/lib/opentox-client.rb index 8c19225..ad7d3cc 100644 --- a/lib/opentox-client.rb +++ b/lib/opentox-client.rb @@ -2,6 +2,7 @@ require 'rubygems' require "bundler/setup" require 'rdf' require 'rdf/raptor' +require 'rdf/n3' require "rest-client" require 'uri' require 'yaml' @@ -14,6 +15,7 @@ require "securerandom" RDF::OT = RDF::Vocabulary.new 'http://www.opentox.org/api/1.2#' RDF::OT1 = RDF::Vocabulary.new 'http://www.opentox.org/api/1.1#' RDF::OTA = RDF::Vocabulary.new 'http://www.opentox.org/algorithmTypes.owl#' +RDF::OLO = RDF::Vocabulary.new 'http://purl.org/ontology/olo/core#' CLASSES = ["Generic", "Compound", "Feature", "Dataset", "Algorithm", "Model", "Validation", "Task", "Investigation"] RDF_FORMATS = [:rdfxml,:ntriples,:turtle] |