Hi Dave,

Thanks. I've created a small ontology and set of rules which are fired (I
print the results and I saw that is making the inference correctly). I
checked if derivation is switched on (I've executed setDerivationLogging to
true)) and the files continue empty..!!

This is the full code that I'm using:

OWLInferenceManager: http://pastebin.com/trQVtv1s
Consult: http://pastebin.com/nCnT0nBa
Main: http://pastebin.com/UduJ2nXY

The ontology: http://pastebin.com/1QkrknMr

The rules: http://pastebin.com/JPT3UZSi

And the output (that confirms that rules are fired, but no derivation is
logged): http://pastebin.com/HA06pYmX

Thanks for your help!

Hi,
>
> Nothing leaps out as wrong with the piece of the code that you have shown
> so the next step would be for you to start debugging. Check whether any
> derivations are being found, if so check whether they can be serialized to
> the console.
>
> If no derviations are being found then maybe your haven't switched on
> derivation logging or maybe your rules are not being fired.
>
> If you really get stuck then create a complete minimum test case you can
> post. In your case that would mean creating a minimum data sample and rule
> set as well as the code to run it.  You might well find that in the process
> of creating that minimal test case you find the problem :)
>
> Dave

Reply via email to