[Pellet-users] getDeductionModel and updates by Jena OntModel prepare() : some questions
Paolo Bussotti
paolo.bussotti at unifi.it
Wed Jul 9 13:22:08 UTC 2008
Hello everybody.
I'm working with Pellet (1.4) through a Jena Pellet-backed OntModel,
and I update the Knowledgebase by modifying the OntModel and successively calling prepare() on it.
I've seen that this corresponds to calling prepare() on the PelletInfGraph that, if I'm not wrong, should set its deductionsGraph variable
to null, if some changes have happened (in this version, if the kb have been reloaded).
It all works fine, but when I try to get the deductionModel, calling OntModel.getDeductionsModel, then, even after changes, the system continues to give me back the same model. And this even if, after a change, I've invoked prepare, therefore setting the variable deductionsGraph to null: it looks like the variable deductionsGraph is never set to null, and returns always the same model.
Another question please: is it correct that the deduction model does not modify the OntModel.BaseModel as iy happens instead with rule reasoner ?
I thank you all in advance.
Best Regards
Paolo Bussotti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080709/b6f42c04/attachment.htm
More information about the Pellet-users
mailing list