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

Re: Proposed: SPARQL grammar is complete as-is

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 04 Jan 2011 13:01:41 +0000
Message-ID: <4D231A35.1050901@epimorphics.com>
To: Eric Prud'hommeaux <eric@w3.org>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>


On 03/01/11 17:16, Eric Prud'hommeaux wrote:
> +
> I like using BINDINGs in subselects for getting my head around (i.e.
> debugging) aggregate queries as it puts the pre-aggregated result set
> directly in my face. I use this for didactic and testing purposes:
>    http://swobjects.svn.sourceforge.net/viewvc/swobjects/branches/sparql11/tests/sparql11/groupBy-f-having-f.rq?revision=1264&view=markup

More generally, inline data tables - i.e. the ability to put data into a 
query directly.  There are some ways to this - BINDINGS+SubSELECT but 
also anywhere AS is used can be combined with UNION to produce inline 
data.  The latter may be very verbose :-)

A more consistent approach might be:

    TABLE ?a ?b ?c { (1 2 3) (4 5 6) }

to put anywhere in graph pattern.

(not a proposal for this version of the spec)

	Andy
Received on Tuesday, 4 January 2011 13:07:28 GMT

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