Hi,
I've got an OntModel with OnModelSpec.OWL_MEM_RULE_INF set that contains
about 25.000 statements and only 1(!) transitive property. Now I'm
trying to list all Statements with a special subject (http://myResource)
by calling
StmtIterator iter =
model.listStatements(model.createResource("http://myResource"), null,
(RDFNode) null);
Although execution of this method does not take a long time (some
seconds) I run in serious trouble/performance issue when calling
iter.hasNext();
This call does not terminate within 5 minutes and I'm asking myself if
what's wrong. Therefore I'm looking for better solution and your
suggestions... ;-)
Best,
Thorben
- Performance problem - listStatements() takes a long time Thorben Wallmeyer
-