check_profile

pyhornedowl.profile.check_profile(ontology: Ontology, profile: Profile | str) → ProfileReport

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

Parameters:
  • ontology (Ontology) – 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)