In my program I need to make a deep copy of an instance of OWLOntology
.
I suppose I need to create a new OWLOntologyManager
:
ontologyManager = OWLManager.createOWLOntologyManager();
now I want to add an ontology to the manager which is a DEEP copy of a given OWLOntology. I don't want to load the ontology again from a document, because this takes to much time.
How can I do that in an easy way?