From 0c441d6c0b06b969bd18809eefd99cc082e32612 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 4 Jul 2013 16:36:07 +0200 Subject: descriptor calculation fixed --- lib/opentox.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/opentox.rb') diff --git a/lib/opentox.rb b/lib/opentox.rb index 044da4b..ec18c0f 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -229,6 +229,7 @@ module OpenTox end def self.find_or_create metadata, subjectid=nil + puts metadata.inspect sparql = "SELECT DISTINCT ?s WHERE { " metadata.each do |predicate,objects| unless [RDF::DC.date,RDF::DC.modified,RDF::DC.description].include? predicate # remove dates and description (strange characters in description may lead to SPARQL errors) -- cgit v1.2.3