pyhornedowl.model.DisjointObjectProperties

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

A disjoint object property relationship.

This states that is an individual is connected by one of these object properties, it cannot be connected by any of the others.

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.