Set<OWLDatatype> datatypes = new HashSet<>();
Set<OWLAxiom> axioms = new LinkedHashSet<>();
axioms.add(axiom);
getDatatypesInSignature(datatypes, axiom.getDataRange(), axioms);
if (datatypes.contains(axiom.getDatatype())) {
profileViolations.add(new CycleInDatatypeDefinition(
getCurrentOntology(), axiom));
}
}