Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Importing instances in an ontology

Timothy Redmond tredmond at stanford.edu
Fri Sep 15 09:14:26 PDT 2006


On Sep 14, 2006, at 6:03 PM, ??? wrote:

> I have a question. Where do I add the command "Merging....."?
> I'm just a beginner.
> Thanks in advance.
>
> -ytbyun

The original question was from an expert who (I think) will know what  
was meant.  He was doing things that are not recommended for  
beginners and perhaps not experts (though I understand the need for  
what he wants to do).

-Timothy


> ----- Original Message -----
> From: "Timothy Redmond" <tredmond at stanford.edu>
> To: "User support for the Protege-OWL editor" <protege- 
> owl at lists.stanford.edu>
> Sent: Friday, September 15, 2006 8:11 AM
> Subject: Re: [protege-owl] Importing instances in an ontology
>
>
>>
>> This is not currently a recommended approach.  But it is possible
>> that you can achieve you objective by adding a command of the form
>>
>>     MergingNarrowFrameStore.get(kb).delete
>> (tripleStore.getNarrowFrameStore()).
>>
>> 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.
>>
>> -Timothy
>>
>>
>>
>>
>>
>> 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
>>> owlModel.flushCache(),
>>> 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
>>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>> The MergingNarrowFrameStore method is a static method that finds
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl




More information about the protege-owl mailing list