Re: OpAsQuery generating invalid query

2013-04-02 Thread Rob Vesse
The syntax error was correct even in the current stable version The problem was that the code for converting from an algebra back into a query usually puts top level BIND as project expressions which in most cases is semantically equivalent to the original query. However when there is a GROUP

Re: OpAsQuery generating invalid query

2013-04-02 Thread Diogo FC Patrao
Hello Rob I replaced the 2.10.0 library by apache-jena-2.10.1-20130401, however BIND aren't getting into my query still. Is your fix in this version yet? Thanks -- diogo patrĂ£o On Tue, Apr 2, 2013 at 1:16 PM, Rob Vesse rve...@yarcdata.com wrote: The syntax error was correct even in the

Re: OpAsQuery generating invalid query

2013-04-02 Thread Rob Vesse
It looks like it didn't go in yet, you can check what has gone into a SNAPSHOT by looking at the build server: https://builds.apache.org/job/Jena__Development_Deploy/changes I don't see JENA-429 there yet so no this isn't available in a SNAPSHOT yet I have scheduled a new build but it will be a

Re: OpAsQuery generating invalid query

2013-04-01 Thread Rob Vesse
Should now be fixed, build from latest Trunk or wait 24 hrs or so for the snapshot to get build and deployed by the Apache build server Diogo: What version of ARQ are you using to do the OpAsQuery? I assume 2.10.1-SNAPSHOT since turning this type of query from its algebra back into a query only

Re: OpAsQuery generating invalid query

2013-04-01 Thread Diogo FC Patrao
Hello Rob Should now be fixed, build from latest Trunk or wait 24 hrs or so for the snapshot to get build and deployed by the Apache build server * THANKS a million * ! I'm running a couple of experiments for my PhD thesis, and was getting the excuses done, for that bug messed up part of my

OpAsQuery generating invalid query

2013-03-31 Thread Diogo FC Patrao
Hello I was performing a simple test with OpAsQuery: Here is the original query: PREFIX : http://www.cipe.accamargo.org.br/ontologias/h2tc.owl# PREFIX xsd: http://www.w3.org/2001/XMLSchema# PREFIX mylib: java:dateadd.lib.pkgfor.arq. SELECT ?yearmonth ( count(?document) as ?total )