Hi Dennis,
On 06/10/11 13:17, Dennis Patzer wrote:
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)
So that's passing infModel as the base model to the OntModel, and it is
indeed the base model that receives updates.
What I suspect you want is:
OntModel x = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM );
x.addSubModel( infModel );
Ian
--
____________________________________________________________
Ian Dickinson Epimorphics Ltd, Bristol, UK
mailto:[email protected] http://www.epimorphics.com
cell: +44-7786-850536 landline: +44-1275-399069
------------------------------------------------------------
Epimorphics Ltd. is a limited company registered in England
(no. 7016688). Registered address: Court Lodge, 105 High St,
Portishead, Bristol BS20 6PT, UK