On 01/08/13 11:06, Bahador(reza)? OFOGHI wrote:
Hi,

I have a relatively large OWL file (~50MB) I have created as OntModel.OWL_MEM. 
Today I tried to bind it with an OWL reasoner using the following code:

Reasoner reasoner = ReasonerRegistry.getOWLReasoner();
reasoner = reasoner.bindSchema(my50MBModel);

And it took forever for the binding process and it did not even return before I 
got disappointed and stopped the process.

I wonder if I am missing anything here? Is there any faster way of defining the 
model as an inferece model? What should I expect as average query time on this 
model then?


Reasoning time is totally dependent on the nature of your data. A small ontology can be extremely expensive to reason over.

As a default for the rule based reasoners use the OWL Micro configuration. It does most of what the fuller configurations do and is a lot cheaper.

I trust you are running in-memory and not trying to reason over a TDB or SDB model.

If you need complete DL reasoning or if OWL Micro is too slow then use Pellet or a commercial solution.

Dave

Reply via email to