Search Mailing List Archives
[protege-owl] Importing instances in an ontology
tredmond at stanford.edu
Thu Sep 14 16:11:46 PDT 2006
This is not currently a recommended approach. But it is possible
that you can achieve you objective by adding a command of the form
If this works it will delete the NarrowFrameStore from the backing
stores. The MergingNarrowFrameStore method is a static method that
finds the MergingNarrowFrameStore for a project. This is very close
to where the data for the ontologies are provided.
But there probably could be other problems at this point (cache's
still have reference to the old data). Your mileage may vary.
On Sep 14, 2006, at 6:54 AM, Ioannis Athanasiadis wrote:
> Dear all,
> I am facing the following problem: In the current implementation
> its impossible
> to unload an imported ontology without reloading the whole project
> from the
> beggining. Is there any way to change the imports without saving
> and reloading
> the project using the API or the GUI?
> From the GUI when you modify the import statements nothing changes.
> Using tripleStoreManager.deleteTripleStore(ts) and then
> deletes the triplestore that refere to the imported ontology, but
> the memory use
> in unaffected.
> The tripleStoreManager.deleteTripleStore(ts) method mentions that
> that its
> required to:
> // TODO! mnfs.delete(tripleStore.getNarrowFrameStore());
> bus seems not to be working...
> Any hints? Any workarounds?
> Regards, Ioannis
> protege-owl mailing list
> protege-owl at lists.stanford.edu
The MergingNarrowFrameStore method is a static method that finds
More information about the protege-owl