pyhornedowl.model.EquivalentObjectProperties

class pyhornedowl.model.EquivalentObjectProperties(first: List[ObjectPropertyExpression])

An equivalent object properties relationship.

States that two object properties are semantically identical to each other.

Parameters:

first (List[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.