W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2005

Re: ACTION: propose an optional test based on ACTION op:dateTime triple

From: <jos.deroo@agfa.com>
Date: Sun, 20 Mar 2005 19:58:23 +0100
To: jos.deroo@agfa.com
Cc: public-rdf-dawg@w3.org
Message-ID: <OF7D177C3F.A21C24D5-ONC1256FCA.0067B662-C1256FCA.00683810@agfa.com>

forgot to mention that I ran that test, be it expressed in n3

java euler.EulerRunner \\
http://eulersharp.sourceforge.net/2004/04test/icalD001.n3 \\
http://eulersharp.sourceforge.net/2004/04test/icalR.n3 \\
--nope --think --query \\
http://eulersharp.sourceforge.net/2004/04test/icalQ002.n3

and the one of this morning as well

java euler.EulerRunner \\
http://www.w3.org/2001/sw/DataAccess/tests/data/simple/data-03.n3 \\
--nope --think --query \\
http://eulersharp.sourceforge.net/2004/04test/dawg-tp-05.n3


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/




Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER@AGFA
Sent by: public-rdf-dawg-request@w3.org
20/03/2005 19:25

 
        To:     public-rdf-dawg@w3.org
        cc:     (bcc: Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER)
        Subject:        ACTION: propose an optional test based on ACTION op:dateTime triple



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 20:45:20 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:22 GMT