In fact, i have different results using OWL_MICRO and Default configuration. 
Plaese, is this natural?

To use OWL_MICRO i call this function: 
ReasonerRegistry.getOWLMicroReasoner().bindSchema(schema);
To use default OWL i cal this function: 
ReasonerRegistry.getOWLReasoner().bindSchema(schema);

Plaese Is this correct.

Sofiane.


Le Mercredi 13 août 2014 16h36, Zahir Kali <[email protected]> a écrit :
 


Thank you Dave, effectively the materialization of the model make the writing 
in file really faster.

Thanks


Le Mercredi 13 août 2014 16h09, Dave Reynolds <[email protected]> a 
écrit :
 


On 13/08/14 15:02, Chris Dollin wrote:

> On Wednesday, August 13, 2014 02:47:33 PM Zahir Kali wrote:
>>
>> I am using OWL reasoner of Jena. But the problem is not the inference ingine.
>> The inference finished after 2 seconds. The probleme is whene i take resulted
>> Model to save it in a file.
>
> If the inference uses backwards rules, it doesn't run to completion until
> you force it to by
 examining all the triples. So the two seconds could just be
> setup and then the rest of the time could be running the backwards rules.

Indeed, it is very likely your 3-4 hours are the inference not the writing.

First, use the OWL_MICRO configuration not the default OWL configuration 
(if you are not doing this already).

Second, materialize the model first before trying to write it all out:

     Model result = ModelFactory.createDefaultModel();
     result.add( myInferneceModel );

Then
 you will see the time to do that step and can write out the result 
faster.

Dave

Reply via email to