pyhornedowl.model.ObjectUnionOf

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

The boolean or

The class of individuals which are individuals of any of these classes.

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.