Re: Fuseki VALUES in combination with GROUP BY, SERVICE and CONSTRUCT/INSERT

2012-07-09 Thread Andy Seaborne
I have fixed a couple of things in SERVICE+VALUES (formatting of output, the machinery for turning algebra to query syntax) The OpAsQuery process of turning algebra back into queries for SERVICE works when VALUES was part of a group (only lightly tested) but when used on the query itself, a

RE: Fuseki VALUES in combination with GROUP BY, SERVICE and CONSTRUCT/INSERT

2012-07-07 Thread Neubert Joachim
Hi Paul, Thanks again - since spec and implementation are in flux (and I'm not very familiar with both of them), I was not sure about the results to expect. But if you are suprised too, perhaps I should submit a bug report (or feature request?). For the moment, I can work arround the problem with

Re: Fuseki VALUES in combination with GROUP BY, SERVICE and CONSTRUCT/INSERT

2012-07-06 Thread Paul Gearon
Hi, It's the level at which the VALUES are being applied. They happen after the SERVICE has returned. To see this, try pulling out the sections of your query and use SELECT. Starting with the sub query inside the SERVICE: SELECT ?book (COUNT(?title) AS ?dummy) WHERE { $book dc:title

Re: Fuseki VALUES in combination with GROUP BY, SERVICE and CONSTRUCT/INSERT

2012-07-06 Thread Paul Gearon
On Fri, Jul 6, 2012 at 2:19 PM, Neubert Joachim j.neub...@zbw.eu wrote: Hi Paul, Thank you very much for your enlightening explanation. I now understand why it could not work. But how could I achieve the aim of getting the right bits out of the remote dataset? In the use case which is