摘要 |
A tool (18) for building a knowledge system (18, 19) and running a consultation on a computer (12) is used by people (11) with little computer experience and also provides capabilities for the experienced knowledge engineer (10). The knowledge system (18, 19) includes a knowledge base (19) in an English-like language expressing facts, rules, and meta-facts for specifying how the rules are to be applied to solve a specific problem. The tool (18) includes interactive knowledge base debugging (27), question generation (36), legal response checking, explanation, certainty factors, and the use of variables. The knowledge base language permits recursion and is extensible. Preferably, control during a consultation is goal directed in depth-first fashion as specified by rule order. The tool (18) is embodied in assembly language, or in PROLOG to allow user-defined PROLOG functions. |