diff options
author | gebele <gebele@in-silico.ch> | 2013-06-03 17:45:19 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-06-03 17:45:19 +0200 |
commit | 2fb52e758001899f83431960ab228ef013e36b2d (patch) | |
tree | e272a5c289ad17f9014469c3501e997b7e7767a4 | |
parent | e904ce55da3d59744a5345f9c0b56f9c35971844 (diff) |
head request now ignores modified entry
-rw-r--r-- | lib/4store.rb | 2 |
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 |