In protege, after synchronizing reasoner, we can find the Explain Inference function with this button:
and then we can get the explanation like this:
The problem is, if I am using Jena with a Pellet reasoner, how can perform the same function with them?
I found a similar question on StackOverflow, but it seems like only works when dealing with native Jena reasoner rather than a third-party reasoner like Pellet.
Thanks in advance.
As far as I can tell from looking at Pellet's source, the explanation module is OWL API specific, so it cannot be used with Jena.