pyhornedowl.model.DisjointClasses

class pyhornedowl.model.DisjointClasses(first: List[ClassExpression])

A disjoint relationship between two ClassExpression

No instance of one ClassExpression can also be an instance of any of the others.

Parameters:

first (List[ClassExpression])

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.