Hello.
I am trying to use the Jena OWL reasoner...
Reasoner reasoner = ReasonerRegistry.getOWLReasoner();
OntModelSpec spec = new OntModelSpec(OntModelSpec.OWL_DL_MEM);
spec.setReasoner(reasoner);
OntModel model = ModelFactory.createOntologyModel(spec);
After I save the model and then load it into Protege, I get several log
errors:
Illegal redeclarations of entities: reuse of entity XXX in punning not
allowed (Class: xxx, xxx)
where XXX are the XMLSchema data types. When I don't use a reasoner from
within Jena but instead run a reasoner such as Pellet from within Protege,
everything works fine. I've tried various reasoner types and spec settings
to no avail - obviously, I am doing something wrong. How do I resolve this
issue?
Thanks!