create-concept [Function]
Purpose
The create-concept function creates a new concept or relation.
Syntax
create-concept name type context
Arguments
The name argument is the symbol which names the new concept. If this is null, the concept is not interned in any knowledge base.
The type argument is either :concept or :relation.
The context argument is the context in which the new concept is to be interned. If null, this defaults to the current context.
Value
The create-concept function returns the new concept.
Remarks
The newly-created concept or relation is empty. It is not classified or queued for classification.
Examples
(create-concept 'Box :concept (find-context "CL-USER-THEORY")) ==> |C|BOX
(create-concept 'weight :relation nil) ==> |R|WEIGHT
(create-concept nil :concept nil) ==> |C|:UNNAMED
See Also
Last modified: Jun 1 1995