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

ACTION op:dateTime triple [Was: Minutes of DAWG 2005-02-15 telcon for review]

From: <jos.deroo@agfa.com>
Date: Wed, 16 Feb 2005 01:22:55 +0100
To: connolly@w3.org
Cc: Dave Beckett <dave.beckett@bristol.ac.uk>, RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <OF8AAA6E38.BDA80587-ONC1256FA9.0083BD7F-C1256FAA.0002190F@agfa.com>

| ACTION JosD: make 2 test cases using the same query but with
| different data: one without an op:dateTime triple in the input,
| and one with.

The same query is

PREFIX ical: <http://www.w3.org/2002/12/cal/ical#>
PREFIX op: <http://www.w3.org/2004/07/xpath-functions#>
SELECT ?uri ?summary ?dtstart
FROM <http://eulersharp.sourceforge.net/2004/04test/icalD001>
WHERE 
        (?uri ical:summary ?summary)
        (?uri ical:dtstart ?dtstart)
        (?dtstart op:dateTime-greater-than "2000-06-00T00:00:00Z")

(which I tested with N3 notation in
http://eulersharp.sourceforge.net/2004/04test/icalQ001.n3
http://eulersharp.sourceforge.net/2004/04test/icalQ002.n3)


The data for test case 1 is

:test ical:summary "testing SPARQL".
:test ical:dtstart "2005-02-15T00:00:00Z".

(see http://eulersharp.sourceforge.net/2004/04test/icalD001.n3)

and we get back no results.


The additional data for test case 2 is the triple
{ ?A^^xsd:dateTime math:greaterThan ?B^^xsd:dateTime }
=> { ?A op:dateTime-greater-than ?B }.

(see http://eulersharp.sourceforge.net/2004/04test/icalR.n3)

and then we get back

?uri    ?summary           ?dtstart
=================================================
:test   "testing SPARQL"   "2005-02-15T00:00:00Z"

(see http://eulersharp.sourceforge.net/2004/04test/icalE002.n3)


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Wednesday, 16 February 2005 00:23:35 GMT

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