- From: Thompson, Bryan B. <BRYAN.B.THOMPSON@saic.com>
- Date: Tue, 15 Mar 2005 12:23:10 -0500
- To: "'Seaborne, Andy '" <andy.seaborne@hp.com>, "Thompson, Bryan B." <BRYAN.B.THOMPSON@saic.com>
- Cc: "''public-rdf-dawg@w3.org' '" <public-rdf-dawg@w3.org>, "Bebee, Bradley R." <BRADLEY.R.BEBEE@saic.com>
Andy, I'd be happy to update the parser and run it against the editor's draft and report any issues that I see. I wanted to lock down the parser against the 17Feb05 draft before updating it to the editor's draft. Thanks, -bryan -----Original Message----- From: Seaborne, Andy To: Thompson, Bryan B. Cc: 'public-rdf-dawg@w3.org' Sent: 3/15/2005 12:15 PM Subject: Re: Casting a literal to a typed literal? Bryan, More comments - great! Thompson, Bryan B. wrote: > Hello, > > With respect to the example in Section 11.1, can someone point me to > the aspect of the grammar that handles casting to a typed literal? > If these are meant as function calls, then the last line should use > > &xsd:dateTime(?date) > > and not > > xsd:dateTime(?date) The latter is the syntax currently. There is no distinction between function calls and casting any more. > > The full example is: > > PREFIX a: <http://www.w3.org/2000/10/annotation-ns#> > PREFIX dc: <http://purl.org/dc/elements/1.1/> > PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> > > SELECT ?annot > WHERE ( ?annot a:annotates <http://www.w3.org/TR/rdf-sparql-query/> ) > ( ?annot dc:created ?date ) > AND xsd:dateTime(?date) < xsd:dateTime("2005-01-01T00:00Z") The example in 11.1 is currently: PREFIX a: <http://www.w3.org/2000/10/annotation-ns#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?annot WHERE { ?annot a:annotates <http://www.w3.org/TR/rdf-sparql-query/> . ?annot dc:created ?date . FILTER xsd:dateTime(?date) < xsd:dateTime("2005-01-01T00:00Z") } (Eric - isn't that constant dateTime in need of the seconds? I didn't think they were optional FILTER xsd:dateTime(?date) < "2005-01-01T00:00:00Z"^^xsd:dateTime ). Bryan - would it be possible to send comments relative to the editor's draft? That reflects changes made since the working draft including the syntax changes. We're racing to get a draft in preparation for Last Call and there have been quite a few changes (face-to-face meetings tend to result in a cascade of things to do). Editors' draft: http://www.w3.org/2001/sw/DataAccess/rq23/ Thanks Andy > > Thanks, > > -bryan >
Received on Tuesday, 15 March 2005 17:23:31 UTC