DeclareObjectProperty

class pyhornedowl.model.DeclareObjectProperty(entity: ObjectProperty | IRI | str)

Bases: Component

Declares that an IRI represents an ObjectProperty in the Ontology.

See also DeclareClass