Re: Finding time of query execution

2013-11-26 Thread Andy Seaborne
On 26/11/13 12:04, Maria Jackson wrote: Although I have been able to figure out the rest of the functions, yet I am unable to find: while (results.hasNext() { results.next(); } Can someone please give me some clue as to which file can this belong to. I have also tried debugging the code usi

Re: Finding time of query execution

2013-11-26 Thread Maria Jackson
Although I have been able to figure out the rest of the functions, yet I am unable to find: while (results.hasNext() { results.next(); } Can someone please give me some clue as to which file can this belong to. I have also tried debugging the code using IDE On Tue, Nov 26, 2013 at 2:50 PM, R

Re: Finding time of query execution

2013-11-26 Thread Rob Vesse
If you don't recognise any of this code then you can't have really used SPARQL with Jena before, try reading the SPARQL Tutorial - http://jena.apache.org/tutorials/sparql.html Rob On 26/11/2013 08:34, "Dave Reynolds" wrote: >Use an IDE. >Dave > >On 26/11/13 07:16, Maria Jackson wrote: >> Thanks

Re: Finding time of query execution

2013-11-26 Thread Dave Reynolds
Use an IDE. Dave On 26/11/13 07:16, Maria Jackson wrote: Thanks a lot for the help. Can you please tell me the name of the file where I can find these functions? On Mon, Nov 25, 2013 at 8:40 PM, Andy Seaborne wrote: On 25/11/13 14:23, Rob Vesse wrote: Maria Yes you can do this, in ARQ t

Re: Finding time of query execution

2013-11-25 Thread Maria Jackson
Just to clarify.. I am using Jena-2.11.0 source code. On Tue, Nov 26, 2013 at 12:46 PM, Maria Jackson wrote: > Thanks a lot for the help. > > Can you please tell me the name of the file where I can find these > functions? > > > On Mon, Nov 25, 2013 at 8:40 PM, Andy Seaborne wrote: > >> On 25/1

Re: Finding time of query execution

2013-11-25 Thread Maria Jackson
Thanks a lot for the help. Can you please tell me the name of the file where I can find these functions? On Mon, Nov 25, 2013 at 8:40 PM, Andy Seaborne wrote: > On 25/11/13 14:23, Rob Vesse wrote: > >> Maria >> >> Yes you can do this, in ARQ the iterator which backs the ResultSet or >> Iterato

Re: Finding time of query execution

2013-11-25 Thread Andy Seaborne
On 25/11/13 14:23, Rob Vesse wrote: Maria Yes you can do this, in ARQ the iterator which backs the ResultSet or Iterator returned from the appropriate QueryExecution.execX() calls represents the plan and iterating over it causes the actual execution to occur and is thus the execution time I.e.

Re: Finding time of query execution

2013-11-25 Thread Rob Vesse
Maria Yes you can do this, in ARQ the iterator which backs the ResultSet or Iterator returned from the appropriate QueryExecution.execX() calls represents the plan and iterating over it causes the actual execution to occur and is thus the execution time I.e. // Assume we have a query and a datase

Re: Finding time of query execution

2013-11-25 Thread Andy Seaborne
ely in Jena)? You have sent two messages 8 hours apart and also asked the question on http://answers.semanticweb.com/questions/25376/finding-time-of-query-execution You may be in timezone +05:30; other are not. You are unlikely to get answers on a Sunday night. Please be patient. Andy

Re: Finding time of query execution

2013-11-25 Thread Maria Jackson
I need to know these query times as I am benchmarking Jena TDB against postgreSQL. With postgresql I am able to separately retrieve the query execution time after the plan has been generated by postgresql using \timing. It would be great if Jena could also give me the time it takes to retrieve the

Finding time of query execution

2013-11-24 Thread Maria Jackson
One can find time of query execution in Jena from tdbquery using --time. But does this --time include the plan generation time. If yes, is it possible to find: (plan generation time) and (time to retrieve the results after the plan has been generated separately in Jena)?