Hello,
I am having trouble with importing one ontology into another and then
modifying the *imported* ontology and propagating the changes to the
*importing* ontology.
When I first import the first ontology, everything works as I would expect.
However, if I add another instance to the first ontology (that was
imported) after the second one has been loaded and reads all of it imports,
it doesn't exist in the second ontology (that imports the first) unless I
shut down the instance and restart.
It seems like an internal caching issue when I read the second one again
after the modification to the first, because I am re-calling
OntModel.read() to obtain the reference to the second one after the
modification.
I've tried turning OntDocumentManager.CACHE_MODELS to false, and tried
unloading then reloading the imports but neither of those worked so I'm
hoping someone can help me on where to turn next.
Thanks for any assistance,
Devlin
I am having trouble with importing one ontology into another and then
modifying the *imported* ontology and propagating the changes to the
*importing* ontology.
When I first import the first ontology, everything works as I would expect.
However, if I add another instance to the first ontology (that was
imported) after the second one has been loaded and reads all of it imports,
it doesn't exist in the second ontology (that imports the first) unless I
shut down the instance and restart.
It seems like an internal caching issue when I read the second one again
after the modification to the first, because I am re-calling
OntModel.read() to obtain the reference to the second one after the
modification.
I've tried turning OntDocumentManager.CACHE_MODELS to false, and tried
unloading then reloading the imports but neither of those worked so I'm
hoping someone can help me on where to turn next.
Thanks for any assistance,
Devlin