>> Cool, thanks!  One question though... from what I read on the jena docs page 
>> on
>> using the GenericRuleReasoner[1], I got the impression that if you
>> wanted to combine
>> custom rules with the "stock" rules, you had to do some sort of import in the
>> rule file (eg, your "test.rules").
>
> Yes, your example didn't actually need any OWL inference so I hadn't
> included that. In your rule set put:
>
>    @include <OWLMicro> .
>
> (there are predefined names for all the built in rule sets and they are
> retrieved from the jar, so no need to locate them in the file system).
>
> You also need to set two flags on the reasoner instance before you bind
> it to an InfModel:
>
>        reasoner.setTransitiveClosureCaching(true);
>        reasoner.setOWLTranslation(true);
>

Awesome, thanks!


Phil

Reply via email to