pyhornedowl.model.TransitiveObjectProperty

class pyhornedowl.model.TransitiveObjectProperty(first: ObjectPropertyExpression)

A transitive relationship between two object properties.

When r is transitive, then a r b, and b r c implies a r c also.

See also: TransitiveObjectProperty

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.