On Wed, 2011-05-18 at 23:40 +0200, Marco Seysse wrote: > My question about the Graph interface got its resons in reading the > documentation of the Inference API, where the interface InfGraph plays a > role.
Specifically which part of the documentation are you talking about here? > Since this interface is importand in terms of containing reasoning results > and derived from Graph, I anyhow got the idea, that Graph is important for > each developer. > Could it be, that InfModel should be preferred to InfGraph like Model should > be used instead of Graph for the most purposes? Yes, of course. The APIs for configuring inference (i.e. ModelFactory and OntModels) either return or extend InfModels. An InfGraph is an internal implementation directly analogous to a Graph. It is relevant for people who want to extend the framework (e.g. to implement new builtins) but should not be be need or used by people who just want to access inference results. Cheers, Dave
