[Pellet-users] Pellet and OWL 1.1

Holger Knublauch holger at topquadrant.com
Mon Sep 10 19:44:53 UTC 2007


Thanks, Mike.  Given this limitation, what is the most efficient (and 
complete) way to get all inferred triples out of Pellet?  We need that 
for the "Run inferences" button in our tool.  The current loop over all 
statements is very inefficient anyway because it also includes all 
asserted triples.  It's a good opportunity to optimize the Pellet 
integration.

Holger


Michael Smith wrote:
> On Fri, 2007-09-07 at 16:31 -0700, Holger Knublauch wrote:
> 
>> 		StmtIterator it = infModel.listStatements();
> 
>> Note that this does *not* return the uncle triple.  It does however
>> work when I just explicitly ask for the uncle triple:
> 
> Yes, listStatements is known to be incomplete when the predicate is not
> defined.  We have not sufficiently documented this and will in the next
> point release.
> 
> The combination of incompleteness and slowness (which is due to result
> size) leads us to generally discourage use of listStatements in a
> unconstrained fashion (as you used it in the code above).  In nearly all
> circumstances you are better off with a more constrained query.
> 


More information about the Pellet-users mailing list