pyhornedowl.model.ObjectPropertyRange
- class pyhornedowl.model.ObjectPropertyRange(ope: ObjectPropertyExpression, ce: ClassExpression)
The range of the object property.
This states that if an individual
iis connected to be the relationshipope, then it is an individual ofce.1See also: Domain
- Parameters:
ope (ObjectPropertyExpression)
ce (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 toPyIndexedOntology.save_to_string.