pyhornedowl.model.ObjectPropertyDomain
- class pyhornedowl.model.ObjectPropertyDomain(ope: ObjectPropertyExpression, ce: ClassExpression)
The domain of the object property.
This states that if an individual
ihas an relationship,opeto any other individual, then the individualiis an instances ofceSee 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.