name [Relation]


Purpose

The name relation finds the name of a given concept or relation.

Syntax

LOOM::name concept symbol

Domain

The concept argument is the concept or relation whose name is to be found.

Range

The symbol argument is the symbol which names concept.

Remarks

The name of this relation is not exported, so it is necessary to use the LOOM package prefix.

Examples

(setq ?c (define-concept nil)) 
(retrieve ?x (LOOM::name ?c ?x)) ==> (THING_3) 
(ask (LOOM::name Thing 'Thing)) ==> T 
(retrieve ?x (LOOM::name age ?x)) ==> (AGE)

See Also

Last modified: Dec 28 1995