pyhornedowl.model.ObjectHasValue

class pyhornedowl.model.ObjectHasValue(ope: ObjectPropertyExpression, i: Individual)

An existential relationship to an individual

This is the class of individuals c which have the relationship o to another individual i. Every individual in c must have this relationship to the individual i

Parameters:
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.