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

Re: Converting VALUES to SPARQL algebra

From: Joachim Van Herwegen <Joachim.VanHerwegen@ugent.be>
Date: Mon, 2 Mar 2015 10:48:50 +0100
Message-ID: <CAJwNgozu=PY4fJPZVPK7nL48A8MbE3u_xcmivOKyVQn6s0+gHA@mail.gmail.com>
To: birte.glimm@uni-ulm.de, public-sparql-dev@w3.org
Hi Birte,

18.2.4.3 covers VALUES outside of the query while 18.2.2.6 covers VALUES
inside of a query.
The problem is that the code examples for both are quite generic because of
the sentence 'where *data* is a solution sequence formed from the VALUES
clause'.
It is the code of that sentence I'm interested in.
The examples I found implemented this with table/row entries but I can't
find these in the spec.

Cheers,
Joachim

On 2 March 2015 at 10:39, Birte Glimm <birte.glimm@uni-ulm.de> wrote:

> Hi Joachim,
>
> Section 18.2.4.3 covers that and gives a small piece of code for the
> algebra conversion. Is that not what you are looking for?
>
> Best,
>
> Birte
>
> On 2 March 2015 at 10:22, Joachim Van Herwegen
> <Joachim.VanHerwegen@ugent.be> wrote:
> > 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?
> >
> > Thanks,
> > Joachim
>
>
>
> --
> Jun. Prof. Dr. Birte Glimm            Tel.:    +49 731 50 24125
> Inst. of Artificial Intelligence         Secr:  +49 731 50 24258
> University of Ulm                         Fax:   +49 731 50 24188
> D-89069 Ulm                               birte.glimm@uni-ulm.de
> Germany
>
Received on Monday, 2 March 2015 09:49:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 March 2015 09:49:40 UTC