NLI: Function: setRR

Background: NLI, Expressions, Functions
Related: Examples

Description:
The setRR function sets specified relationship and reciprocal relationship. It is equivalent to two set expressions. Reciprocal verbs must be defined beforehand. The setRR function requires three inputs: subject, verb and object.

General Format:
(setRR subject verb object)

Examples:
(setRR johnny parent john)

is equivalent to ...
(set johnny parent john)
(set john child johnny)

... assuming the following reciprocal verbs were already set beforehand:
(set parent reciprocal child)
(set child reciprocal parent)

Notes:

CM ©2000-2007