InverseObjectProperties
- class InverseObjectProperties(left, right, *, annotations=None)[source]
Bases:
ObjectPropertyAxiomAn object property axiom defined in 9.2.4 “Inverse Object Properties”.
For example, having a father is the opposite of being a father of someone:
>>> InverseObjectProperties("a:hasFather", "a:fatherOf")
Initialize an inverse object property axiom.
Methods Summary
to_rdflib_node(graph, converter)Represent the inverse object property axiom for RDF.
Methods Documentation
- Parameters:
left (ObjectPropertyExpression)
right (ObjectPropertyExpression)
annotations (list[Annotation])