ObjectProperty

class pyhornedowl.model.ObjectProperty(iri: IRI | str | Class | ObjectProperty | DataProperty | AnnotationProperty | NamedIndividual | Datatype)

Bases: ObjectPropertyExpression

An OWL ObjectProperty is a relationship between two individuals.

Although the relationship is between individuals, it is most often expressed as a relationship between two classes. See ClassExpression for more information.

entity_kind() → EntityKind

Returns this entity’s kind for the NamedEntity protocol.