get-role-default-values [Function]


Purpose

The get-role-default-values method finds the default fillers of a given role on a given concept.

Syntax

get-role-default-values concept relation

Arguments

The concept argument is a Loom concept.

The relation argument is the relation whose default fillers are to be found.

Value

The get-role-default-values function returns the default fillers of the role on concept and relation.

Examples

(defconcept B 
    :is (:and (:all r A) (:exactly 3 r) (:filled-by r Joe Fred))) 
(defconcept C 
    :is-primitive B 
    :implies (:and (:some s A) (:at-most 2 s)) 
    :defaults (:filled-by s Sue)) 
(get-role-default-values (fc C) (fr r)) ==>  NIL 
(get-role-default-values (fc C) (fr s)) ==>  (|I|SUE)

See Also

Last modified: Jun 1 1995