Search Mailing List Archives
[protege-owl] Save only Individuals in another file
wagner.wutzke at gmail.com
Sat Oct 4 00:33:13 PDT 2008
Thanks for the answer Mr. Russ!
As the thread name says, I want to save "only" the Individuals.
I had also this idea of creating a new ontology file, import the current
used ontology and add only the new created individuals to it.
I have not realized yet, how to do this with the Protgé Java API.
Does anybody have any example for it?
It would be very helpfull.
Thanks in advance!
Thomas Russ wrote:
> On Oct 2, 2008, at 2:44 PM, W.O.Wutzke wrote:
>> I guess this is not the right place for these sort of questions, but I
>> didn´t find anywhere else to find help on this issue. :blush:
>> I am developing a standalone Java App with the Protegé-OWL API and
>> everything is working fine. Now after creating some Individuals from a
>> loaded ontology also created with Protegé, I wish to save these
>> in another file, which I´d like to load aftwards to see what was
>> Does anybody have any idea how to do this with the Java Protegé API???
>> Some example?
> Depends on exactly what you want to save.
> To save the entire modified ontology, which will include the new
> individuals, you call the "save" method on the OWLModel. See
> for the example.
> If you what to save just the newly added individuals, I think you are
> out of luck unless you create a new ontology and import the existing
> ontology into it. Then you can save the new ontology which contains
> only the new instances.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing:
View this message in context: http://www.nabble.com/Save-only-Individuals-in-another-file-tp19783728p19809778.html
Sent from the Protege - OWL mailing list archive at Nabble.com.
More information about the protege-owl