Skip to content

Commit

Permalink
Fix equivalent => subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnolte committed Jul 26, 2022
1 parent e7f9760 commit 4e4644a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private static Optional<OWLAxiom> rewriteIntersectionSubclassNothing(final OWLOb
}

final OWLClassExpression finalAtomicClass = atomicClass.get();
final var rewriting = df.getOWLEquivalentClassesAxiom(finalAtomicClass, df.getOWLObjectComplementOf(
final var rewriting = df.getOWLSubClassOfAxiom(finalAtomicClass, df.getOWLObjectComplementOf(
df.getOWLObjectIntersectionOf(intersection.operands().filter(next -> !next.equals(finalAtomicClass)))));
return Optional.of(rewriting);
}
Expand Down

0 comments on commit 4e4644a

Please sign in to comment.