protegeproject / explanation-workbench

A plug-in that adds explanation facilities to the Protege Desktop ontology editor.
3 stars 9 forks source link

Wrong explanations for tautologies #11

Closed ykazakov closed 5 years ago

ykazakov commented 7 years ago

It seems that if the axiom is a tautology (is entailed from the empty set of axioms), incorrect explanations are produced.

To reproduce:

  1. open any ontology, e.g., Pizza
  2. go to DL Query tab and enter some conjunction, e.g., American and Pizza
  3. compute the superclasses of the query
  4. press explain (?) next to the conjunct appearing in the query, e.g., "Pizza"

Expected result: only the empty explanation should be shown

Actual result: the computation does not seem to terminate; if interrupted it shows many explanations with one axiom from the ontology but also with some axioms like \<Entailmentxxxxx> SubClassOf ...

screen shot 2017-05-17 at 12 17 23