- From: <jos.deroo@agfa.com>
- Date: Sun, 20 Mar 2005 19:25:16 +0100
- To: public-rdf-dawg@w3.org
from http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358.html
| ACTION JosD: Jos to propose an optional test based on ACTION op:dateTime
| triple
====
DATA
====
@prefix ical: <http://www.w3.org/2002/12/cal/ical#> .
@prefix : <http://example.org/#> .
:test ical:summary "test SPARQL" .
:test ical:dtstart "2005-02-15T00:00:00Z" .
=====
QUERY
=====
PREFIX ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX op: <http://www.w3.org/2004/07/xpath-functions#>
SELECT ?uri ?summary ?dtstart
WHERE { ?uri ical:summary ?summary .
?uri ical:dtstart ?dtstart .
?dtstart^^xsd:dateTime op:dateTime-greater-than
"2000-06-01T00:00:00Z"^^xsd:dateTime }
======
RESULT
======
uri summary dtstart
----------------------------------------------------------------
<http://example.org/#test> "test SPARQL" "2005-02-15T00:00:00Z"
Steve, Andy, I'm not sure where to put that test in the repository?
--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Sunday, 20 March 2005 18:25:55 UTC