summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/4store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/4store.rb b/lib/4store.rb
index 77fa045..fddc785 100644
--- a/lib/4store.rb
+++ b/lib/4store.rb
@@ -16,7 +16,7 @@ module OpenTox
end
def self.head uri
- sparql = "SELECT DISTINCT ?g WHERE {GRAPH ?g {<#{uri}> <#{RDF::DC.modified}> ?o.} }"
+ sparql = "SELECT DISTINCT ?g WHERE {GRAPH ?g {<#{uri}> ?p ?o.} }"
rdf = query sparql, 'application/sparql-results+xml'
resource_not_found_error "#{uri} not found." unless rdf.match("#{uri}")
rdf