pyhornedowl.model.ObjectOneOf
- class pyhornedowl.model.ObjectOneOf(first: List[Individual])
An enumeration of individuals
This is the class containing exactly the given set of individuals.
- Parameters:
first (List[Individual])
- 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.