One binary relation is the inverse of another if they are equivalent when their arguments are swapped.Notes:
- Note that INVERSE is a function. It is possible to have more than one relation constant naming the inverse of a relation, but they are all = to each other.
- originally defined in the KIF-RELATIONS ontology
(=> (Inverse ?Binary-Relation) (<=> (Holds ?Binary-Relation ?X ?Y) (Holds (Inverse ?Binary-Relation) ?Y ?X)))
(=> (Many-Many ?R) (Not (Function (Inverse ?R)))) (=> (Many-To-Many-Relation@Frame-Ontology ?R) (Not (Function (Inverse ?R))))
(<=> (One-One ?R) (And (Binary-Relation ?R) (Function ?R) (Value-Type@Frame-Ontology ?R Inverse Function) (Value-Cardinality@Frame-Ontology ?R Inverse 1))) (<=> (One-Many ?R) (And (Binary-Relation ?R) (Value-Type@Frame-Ontology ?R Inverse Function) (Value-Cardinality@Frame-Ontology ?R Inverse 1))) (<=> (Many-Many ?R) (And (Binary-Relation ?R) (Not (Function ?R)) (Not (Function (Inverse ?R))))) (<=> (One-To-One-Relation@Frame-Ontology ?R) (And (Unary-Function ?R) (Value-Type@Frame-Ontology ?R Inverse Function) (Value-Cardinality@Frame-Ontology ?R Inverse 1))) (<=> (One-To-Many-Relation@Frame-Ontology ?R) (And (Binary-Relation ?R) (Value-Type@Frame-Ontology ?R Inverse Function) (Value-Cardinality@Frame-Ontology ?R Inverse 1)))