pyhornedowl.model.SubDataPropertyOf
- class pyhornedowl.model.SubDataPropertyOf(sub: DataProperty, sup: DataProperty)
A sub data property relationship.
The existence of the
sub_propertyrelationship also implies the existence of thesuper_property.See also: Data Subproperties
- Parameters:
sub (DataProperty)
sup (DataProperty)
- 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.