Hello folks,
I have a nasty problem with having some InfModel as a base for another
new model.
I do it the following way:
OntModel x = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM,
infModel)
Now when adding some properties to x, it seems, that this properties are
added to infModel as well, which I don't want. I want to have an
ontology based on an infModel, not a composition of both.
What I try to have, is the following:
OntModel x = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM,
infModel.clone())
But I'm not able to do that cloning of infModel :-(
Any fast help would be great.
Thanks for your great support!!!
Bye Dennis