Resource sp = data.createResource("urn:x-hp:eg/sp");
data.add(fp, RDF.type, OWL.FunctionalProperty);
data.add(ifp, RDF.type, OWL.InverseFunctionalProperty);
data.add(tp, RDF.type, OWL.TransitiveProperty);
data.add(sp, RDF.type, OWL.SymmetricProperty);
InfModel infmodel = ModelFactory.createInfModel(ReasonerRegistry.getOWLReasoner(), data);
assertTrue("property class axioms", infmodel.contains(fp, RDF.type, RDF.Property));
assertTrue("property class axioms", infmodel.contains(ifp, RDF.type, RDF.Property));
assertTrue("property class axioms", infmodel.contains(tp, RDF.type, RDF.Property));
assertTrue("property class axioms", infmodel.contains(sp, RDF.type, RDF.Property));
assertTrue("property class axioms", infmodel.contains(ifp, RDF.type, OWL.ObjectProperty));
assertTrue("property class axioms", infmodel.contains(tp, RDF.type, OWL.ObjectProperty));
assertTrue("property class axioms", infmodel.contains(sp, RDF.type, OWL.ObjectProperty));
}