pyhornedowl.model.ObjectProperty

class pyhornedowl.model.ObjectProperty(first: IRI)

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.

Parameters:

first (IRI)

exact(n, obj)
has_self()
has_value(obj)
max(n, obj)
min(n, obj)
only(obj)
serialize(self, serialization: Literal['ofn', 'omn'] = 'ofn', prefix_mapping: PrefixMapping = None)

Renders this element on its own, in OWL functional ("ofn", the default) or OWL 2 Manchester ("omn") syntax. The per-element counterpart to PyIndexedOntology.save_to_string.

some(obj)