rename-concept [Function]


Purpose

The rename-concept function renames an existing concept. All references to the old name are replaced by references to the new name.

Syntax

rename-concept newName concept &key type

Arguments

The newName argument is a symbol or string.

The concept argument is the concept or relation to be renamed, or the current name of that concept or relation.

The type argument is the keyword :concept or :relation. It is needed when concept is a symbol which names both a concept and relation.

Value

The rename-concept function returns the renamed concept.

Examples

(rename-concept "WEIGHT-IN-KILOS" (fr weight)) ==> |R|WEIGHT-IN-KILOS 
(rename-concept 'Hue 'Tone :type :concept) ==> |C|HUE

See Also

Last modified: Jun 1 1995