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 r and s are transitive, then a r b implies b r a.

See also: Property Characteristics

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.