[Pellet-users] When does pellet actually do its inference work in program?

meazza1 meazza1 at gmail.com
Sun Nov 25 08:15:59 UTC 2007


Dear All,

 I am using Pellet1.5.0 to inference my project. When does pellet actually do its inference work in program? E.g.:
In FAQ webpage: http://pellet.owldl.com/faq/using-pellet-in-jena/, there is a piece of  example code:
1.      String ont = "http://www.mindswap.org/2004/owl/mindswappers";
2.      OntModel model = ModelFactory.createOntologyModel( PelletReasonerFactory.THE_SPEC );
3.       model.read( ont );
4.       OntClass Person = model.getOntClass( "http://xmlns.com/foaf/0.1/Person" );         
5.       Iterator instances = Person.listInstances();

In this program, which row will call Pellet inference function? 

Thanks.
Song Jian




meazza1
2007-11-25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20071125/502e2879/attachment.htm 


More information about the Pellet-users mailing list