pyhornedowl.model.FunctionalObjectProperty

class pyhornedowl.model.FunctionalObjectProperty(first: ObjectPropertyExpression)

The functional characteristic.

This states that if for a given individual i, there can be only one individual j connected to i by this object property expression.

See also: Functional

Parameters:

first (ObjectPropertyExpression)

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.