Am 24.10.2011 19:50, schrieb Thorben Wallmeyer:
Hi Dave,

thanks for your reply. I've already tried OWL_MICRO, but it does not work for transitive properties (ontModel.createTransitiveProperty()) - or do I have to configure something in addition to make it work?

Thorben

Am 24.10.2011 19:43, schrieb Dave Reynolds:
On Mon, 2011-10-24 at 18:11 +0200, Thorben Wallmeyer wrote:
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... ;-)
The inference engine is taking a long time, that's all :)

Try with OWL_MICRO or switch to Pellet.

Dave





SORRY - my fault. everything is working fine when using OWL_MICRO!

Thanks for your advice,

Thorben

Reply via email to