Hi Dave,

It seems that the problem was precisely this line because after remove it
now the files are not empty (except one, but because the rules were not
fired). I don't remember why I introduced this line.. :-?

Just another question: It is possible to see a more detailed debug of the
derivations? For example, I want to know why some rules are not being
fired, something that will help me to know what I'm doing wrong.

Thanks!

_____________

There's no problem creating an InfModel over another model the problem is
that you have lines like:

this.model.add(this.inferenceModel);

Where this.model is the model which is underneath this.inferenceModel, thus
adding the data back into itself. This is probably not harmful on its own
but makes it hard to trace what you are trying to do.

You can in fact just create an OntModel with the reasoner attached. So a
simple example might be:


....
....

Reply via email to