Search Mailing List Archives
[protege-owl] how to preserve the ontology URI when saving it?
Julio Cesar dos Reis
julio.reis at cti.gov.br
Thu Aug 26 04:05:40 PDT 2010
Hi. My doubt is on how to preserve the ontology URI when saving it.
After loading an owl file into a JenaOWLModel and making some things,
like including a new SWRL rule.... (e.g. SWRLImp imp =
so I would like to save the model with such modifications with the same
the following code enables me to save the model that I have loaded, but
when I open the owl file created the ontology uri is the: file system
String fileName = "xxx.owl";
Collection errors = new ArrayList();
System.out.println("File saved with " + errors.size() + "
errors."); I would like to save the model updating the original owl
file or making a new copy of the original owl ontology but preserving
the uri. :)
Could you please help me?
thank you so much
More information about the protege-owl