pyhornedowl.model.DisjointClasses
- class pyhornedowl.model.DisjointClasses(first: List[ClassExpression])
A disjoint relationship between two
ClassExpressionNo instance of one
ClassExpressioncan 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 toPyIndexedOntology.save_to_string.