W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > July 2012

Re: SPARQL 1.1 comments relating to BINGINGS (also minor editorial comments)

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Fri, 13 Jul 2012 15:08:07 +0100
Message-ID: <50002BC7.7010204@epimorphics.com>
To: public-rdf-dawg-comments@w3.org
Aidan,

Thank you for your comment about SPARQL BINDINGS.

The working group has reworked what was previously BINDINGS along the 
lines of the message to public-sparql-dev [1]. The details are in the 
editors' working draft [2] and the grammar. This allows VALUES in a 
graph pattern as well as after query level.

Regarding your editorial comment (adding an example) the WG decided that 
the Query specification is already quite long. It was, therefore, 
decided that no further examples will be added. For the IF feature, 
there are, however, publicly available test cases that illustrate the 
use of the feature:

http://www.w3.org/2009/sparql/docs/tests/data-sparql11/functions/if01.rq

http://www.w3.org/2009/sparql/docs/tests/data-sparql11/functions/if02.rq

For the casting functions, there is already an example right in the 
beginning of section 17:

In addition, SPARQL provides the ability to invoke arbitrary functions, 
including a subset of the XPath casting functions, listed in section 17.5.

These functions are invoked by name (an IRI) within a SPARQL query. For 
example:

   FILTER ( xsd:dateTime(?date) < xsd:dateTime("2005-01-01T00:00:00Z") )

We hope that you understand these decisions and we would be grateful if 
you could acknowledge that your comment has been answered by sending a 
reply to this mailing list.

Andy and Birte, on behalf of the SPARQL-WG

[1]
http://lists.w3.org/Archives/Public/public-sparql-dev/2012AprJun/0018.html

[2]
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#inline-data
Received on Friday, 13 July 2012 14:08:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 13 July 2012 14:08:42 GMT