W3C home > Mailing lists > Public > public-sparql-dev@w3.org > January to March 2015

Fwd: Converting VALUES to SPARQL algebra

From: james anderson <james@dydra.com>
Date: Mon, 2 Mar 2015 10:05:13 +0000
To: public-sparql-dev@w3.org
Message-ID: <0000014bd9f25868-ab9284da-58fe-409d-9d45-08d121699b1c-000000@eu-west-1.amazonses.com>
good morning;

Begin forwarded message:

> Resent-From: public-sparql-dev@w3.org
> From: Joachim Van Herwegen <Joachim.VanHerwegen@ugent.be>
> Subject: Converting VALUES to SPARQL algebra
> Date: 2015-03-02 10:22:55 GMT+1
> To: public-sparql-dev@w3.org
> I was wondering how one converts a query contain VALUES such as in http://www.w3.org/TR/sparql11-query/#inline-data to SPARQL algebra?
> The spec just mentions 'The result is a multiset of solution mappings 'data'.'. 
> The validator at http://www.sparql.org/query-validator.html outputs this as: (table (vars ?book) (row [?book :book1]) (row [?book :book3]) ) but nowhere does the spec define table or row (as far as I can see).
> Are the table/row elements just a custom implementation or is there a different spec somewhere that defines these?

i would agree with the remark elsewhere, that the closest is the translation description at (http://www.w3.org/TR/sparql11-query/#sparqlAlgebraFinalValues), which refers to your cited text and (indirectly) to the definition of ToMultiset (http://www.w3.org/TR/sparql11-query/#sparqlAlgebra).

the “table” notation, so far as i understand, appeared with ARQ’s algebra notation (http://www.w3.org/2011/09/SparqlAlgebra/ARQalgebra) - or, in any case, that is where i recall first having seen it.

best regards, from berlin
james anderson | james@dydra.com | http://dydra.com
Received on Monday, 2 March 2015 10:05:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 March 2015 10:05:43 UTC