pyhornedowl.profile.check_profile

pyhornedowl.profile.check_profile(ontology: PyIndexedOntology, profile: Union[Profile, Literal['DL', 'EL', 'QL', 'RL']]) → ProfileReport

Checks ontology against a single profile and returns a ProfileReport with conformance and the violations found.

Parameters:
  • ontology (PyIndexedOntology) – the ontology to check

  • profile (Union[Profile, Literal["DL", "EL", "QL", "RL"]]) – the profile to check against, either a Profile member or one of the strings “DL”/”OWL2DL”, “EL”, “QL”, “RL” (case-insensitive)