app/aides/rdfapi.rb in iqvoc-4.10.0 vs app/aides/rdfapi.rb in iqvoc-4.11.0

- old
+ new

@@ -33,9 +33,10 @@ hash["#{klass.rdf_namespace}:#{klass.rdf_predicate}"] = klass hash end URI_REGEXP = /^https?:\/\/[^\s]+$/ + URI_LITERAL_REGEXP = /^<(https?:\/\/[^\s]+)>$/ LITERAL_REGEXP = /^"(.+)"(@(.+))?$/ BLANK_NODE_REGEXP = /^_:(.+)/ def self.devour(rdf_subject, rdf_predicate, rdf_object) case rdf_predicate