ObjectExactCardinality¶
- class pyhornedowl.model.ObjectExactCardinality(cardinality: int, object_property_expression: ObjectPropertyExpression | IRI | str, class_expression: ClassExpression | IRI | str)¶
Bases:
ClassExpressionAn exact cardinality relationship between individuals
Given an object property
oand a classce, this describes the class of individuals which have theorelationship to exactlynother individuals.