pyhornedowl.model.ObjectHasValue
- class pyhornedowl.model.ObjectHasValue(ope: ObjectPropertyExpression, i: Individual)
An existential relationship to an individual
This is the class of individuals
cwhich have the relationshipoto another individuali. Every individual incmust have this relationship to the individuali- Parameters:
ope (ObjectPropertyExpression)
i (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.