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-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 wrote: > The syntax error was correct even in the current stable vers

same code returns 2 different readers

2013-04-02 Thread Claude Warren
I am running some test cases. When I run the tests (TestReaderEvent) from within Jean (2.10.1) it works fine. When I run it using the testing jar from a different project (using the same setup) it does not. Under Jena 2.10.1 The call calls are: model.getReader("N-TRIPLE") ModelCom.getReader("N-

Re: Fuseki: global timeout does not work for me.

2013-04-02 Thread Jonathan Berant
Thank you! I downloaded fuseki 0.2.7 and so far it seems to work... I will keep my fingers crossed... On Tue, Apr 2, 2013 at 12:09 PM, Andy Seaborne wrote: > https://issues.apache.org/**jira/browse/JENA-289 > > already fixed and in released Fuseki

Re: Fuseki: global timeout does not work for me.

2013-04-02 Thread Andy Seaborne
https://issues.apache.org/jira/browse/JENA-289 already fixed and in released Fuseki 0.2.6 Andy On 02/04/13 17:50, Rob Vesse wrote: Hi Jonathan This is an artifact of how timeouts are implemented, timeouts are checked for at certain points in the query execution flow so it is always po

Re: Need to read the individuals from OWL

2013-04-02 Thread Cong Wang
Hi Serge, You can use owlapi, by first load an ontology, and call ontology.getIndividualsInSignature(true) On Tue, Apr 2, 2013 at 3:00 PM, Serge Vilvovsky wrote: > Hello, > > I need to read the individuals from OWL file that was created using > Protege. > > Could you please, let me know how to

Need to read the individuals from OWL

2013-04-02 Thread Serge Vilvovsky
Hello, I need to read the individuals from OWL file that was created using Protege. Could you please, let me know how to do it and if possible to provide the examples? Thank you, Serge

Re: Fuseki: global timeout does not work for me.

2013-04-02 Thread Rob Vesse
Hi Jonathan This is an artifact of how timeouts are implemented, timeouts are checked for at certain points in the query execution flow so it is always possible for the system to get stuck in some hard part of the query. This means it doesn't time out until such time as it exits that part of the

Fuseki: global timeout does not work for me.

2013-04-02 Thread Jonathan Berant
Hi all, I am using Fuseki as a SPARQL server for Freebase. I would like the server to timeout if a query takes more than, say, 20 sec. I saw that there is a timeout parameter that allows to set that but it does not seem to work for me - it times out after a much longer time or not at all. The queri

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 BY

Re: Combining TDB + LARQ

2013-04-02 Thread Martino Buffolino
Hey Andy, I made a dumb mistake, but I will share. I was using the default constructor ( IndexBuilderString larqBuilder = new IndexBuilderString(); ) which keep the indexes in main memory and since I was indexing a large portion of dbpedia triples I would run out of memory. To fix, I switched to

Re: Question about ARQ, TDB and SDB

2013-04-02 Thread Dominique Brezinski
I am no expert, but from reading through the code I would say yes, your understanding is correct. SDB and TDB encapsulate the logic to take the query from ARQ and translate it to what is optimal for the underlying data store. In the case of SDB, that means translating the query to a series of SQ

Question about ARQ, TDB and SDB

2013-04-02 Thread Site Guo
Hi, everyone I got a simple question as a Jena learner: What's the relationship between ARQ, TDB and SDB? Through reading the documentations, my current understanding is like this: 1. ARQ is a SPARQL query engine which parses and optimizes queries. 2. TDB and SDB are two differ

jdbc4sparql

2013-04-02 Thread Claude Warren
Rob, I took a quick look at your JDBC experimental project. I didn't see where it provided a SQL interface. Am I missing something? I have a JDBC4SPARQL project as well -- due to the SQL parser it is not entirely Apache licensed -- the instance I have talks so SPARQL endpoints or any Jena reada