owlim-discussion  

[Owlim-discussion] Problem with RepositoryResult

Tobias Mathäß
Wed, 01 Sep 2010 01:05:44 -0700

Hello,

 

I am currently working with a bigowlim-rdf-store, and I am having some
difficulties with large query results. What I want to do is initially
iterate over all statements in the store in order to extract some
statistical data before starting my application. The problem is, that the
RepositoryResult.hasNext() method returns false exactly 5 seconds after the
result is created with the call.

 

RepositoryResult<Statement> res = con.getStatements(null, null, null,
false);

 

This problem also occurs, if I try to work around this problem by calling
res.asList() and iterating over the list of statements (with this approach I
get more results then by iterating directly over the store since the
transcription of the Statements to the list is much faster than the actual
iteration and analysis of the data, but for very large datasets, the 5
seconds are not enough to transcribe all statements in the list)

 

no matter how many statements are actually in the store. This is by far not
enough time to iterate the whole result set.

 

Is there any configuration-parameter I can manipulate in order to keep the
resultset open for more then five seconds? I read the documentation, but did
not find anything helpful so far.

 

I am using bigowlim 3.3, together with the latest version of sesame (2.3.2)
and Lucene 3.0.0.

 

It would be great if you could help me with this problem.

 

Regards,

Tobias Mathaess

 

 

_______________________________________________
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion