pyhornedowl.model.ObjectSomeValuesFrom

class pyhornedowl.model.ObjectSomeValuesFrom(ope: ObjectPropertyExpression, bce: ClassExpression)

An existential relationship

This is the anonymous class of individuals i, which have the relationship o to a class expression ce. Every individual in i must have this relationship to one individual in ce.

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.