DeclareClass

class pyhornedowl.model.DeclareClass(entity: Class | IRI | str)

Bases: Component

Declares that an IRI represents a Class in the Ontology

In OWL, entities must be declared to be of a particular type. While, OWL (and Horned-OWL) allows the use of Class in an ontology where there is no declaration, the end ontology will change profile to OWL Full. See also the OWL Primer