Hello,
I work on a project that uses Jena and Jenabean to create an OWL
document from instances of Java classes.
We add Java annotations to the Jenabean library to describe ontologies,
that´s why we have to use ontology model
ModelFactory.createOntologyModel();
instead of ModelFactory.createDefaultModel() as we used before.
But we encountered problems with the processing speed (adding Java
instances to the model). There was probably linear dependence on data
amount as we used the default model, but now (with ontology model) it
seems to be at least quadratic dependence, duration of the processing is
unacceptable. The same data (without any added annotations) that are
loaded in the default model in a few minutes would take a lot of hours
or a few days with the ontology model.
Is there any reason for this matter in the Jena library, or should we
search for the problem somewhere else?
Thanks in advance
Jakub Krauz