pyhornedowl.model.ObjectPropertyAssertion

class pyhornedowl.model.ObjectPropertyAssertion(ope: ObjectPropertyExpression, source: Individual, target: Individual)

An object property assertion.

Individual from is connected to by ope.

See also: Positive Object Property Assertions

Parameters:
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.