pyhornedowl.model.InverseObjectProperties
- class pyhornedowl.model.InverseObjectProperties(first: ObjectProperty, second: ObjectProperty)
An inverse relationship between two object properties.
If two individuals are related by one relationship, they are related by the other in the opposite direction. So, if
randsare transitive, thena r bimpliesb r a.See also: Property Characteristics
- Parameters:
first (ObjectProperty)
second (ObjectProperty)
- 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.