ObjectExactCardinality

class pyhornedowl.model.ObjectExactCardinality(cardinality: int, object_property_expression: ObjectPropertyExpression | IRI | str, class_expression: ClassExpression | IRI | str)

Bases: ClassExpression

An exact cardinality relationship between individuals

Given an object property o and a class ce, this describes the class of individuals which have the o relationship to exactly n other individuals.