+ "<rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#DatatypeProperty\"/>\n"
+ "<rdfs:subPropertyOf rdf:resource=\"http://ex.com#p1\"/>\n"
+ "</rdf:Property>\n" + "</rdf:RDF>";
OWLOntology o = loadOntologyFromString(onto);
OWL2RLProfile p = new OWL2RLProfile();
OWLProfileReport report = p.checkOntology(o);
assertTrue(report.getViolations().isEmpty());
}
@Test
public void shouldCauseViolationsWithUseOfPropertyInChain()