[Pellet-users] Pellet and OWL 1.1

Michael Smith msmith at clarkparsia.com
Mon Sep 10 19:25:02 UTC 2007


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.

-- 
Mike Smith

Clark & Parsia



More information about the Pellet-users mailing list