}
}
public final void testGetSubDataProperties() throws OWLReasonerRuntimeException {
for( OWLDataProperty x : ontology.getDataPropertiesInSignature() ) {
SetOfDataPropertySynsets expected = referenceReasoner.answer(new GetSubDataProperties(referenceReasoner.getDefaultKB(), x, true));
SetOfDataPropertySynsets actual = heraklesReasoner.answer(new GetSubDataProperties(heraklesReasoner.getDefaultKB(), x, true));
assertEquals( expected.getFlattened(), actual.getFlattened() );
expected = referenceReasoner.answer(new GetSubDataProperties(referenceReasoner.getDefaultKB(), x, false));
actual = heraklesReasoner.answer(new GetSubDataProperties(heraklesReasoner.getDefaultKB(), x, false));
assertEquals( expected.getFlattened(), actual.getFlattened() );
}
}