diff options
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |