ObjectMaxCardinality

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

Bases: ClassExpression

A max 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 at most n other individuals.