uncle);
@SuppressWarnings("null")
OWLSubPropertyChainOfAxiom brokenAxiom2 = df
.getOWLSubPropertyChainOfAxiom(Arrays.asList(child, uncle),
brother);
OWLObjectPropertyManager manager = new OWLObjectPropertyManager(
o.getOWLOntologyManager(), o);
o.getOWLOntologyManager().addAxiom(o, brokenAxiom1);
o.getOWLOntologyManager().addAxiom(o, brokenAxiom2);
assertTrue(manager.isLessThan(brother, uncle));
assertTrue(manager.isLessThan(uncle, brother));
assertTrue(manager.isLessThan(brother, brother));
assertTrue(manager.isLessThan(uncle, uncle));
OWL2DLProfile profile = new OWL2DLProfile();
List<OWLProfileViolation> violations = profile.checkOntology(o)
.getViolations();
assertFalse(violations.isEmpty());
for (OWLProfileViolation v : violations) {