From 2fb52e758001899f83431960ab228ef013e36b2d Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 3 Jun 2013 17:45:19 +0200 Subject: head request now ignores modified entry --- lib/4store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3