where-is-it [Function]
Purpose
The where-is-it function returns the knowledge base and the knowledge base partition of all Loom objects having a given name.
Syntax
where-is-it object
Arguments
The object argument is a Loom object, or the name of a Loom object. If it is a name, special characters are interpreted as in fc, and package prefixes are optional because the search extends across package boundaries.
Value
The where-is-it function returns a list of triples. Each triple contains an object having the specified name, followed by the knowledge base and knowledge base partition in which the object was found. The knowledge base partitions are :concepts, :relations, and :instances.
Remarks
Though concepts and relations are interned in the :instances partition (as well as their own partitions), where-is-it does not produce :instances entries for these objects.
Examples
(where-is-it (fc Thing)) ==>
((|C|THING BUILT-IN-THEORY :CONCEPTS))
(where-is-it 'child) ==>
((|C|CHILD CL-USER-THEORY :CONCEPTS) (|R|CHILD CL-USER-THEORY :RELATIONS))
(where-is-it 'Joe) ==>
((|I|JOE CL-USER-THEORY :INSTANCES) (|I|JOE TEST-THEORYB :INSTANCES))
See Also
Last modified: Jun 1 1995