US4783752A - Knowledge based processor for application programs using conventional data processing capabilities - Google Patents
Knowledge based processor for application programs using conventional data processing capabilities Download PDFInfo
- Publication number
- US4783752A US4783752A US06/837,098 US83709886A US4783752A US 4783752 A US4783752 A US 4783752A US 83709886 A US83709886 A US 83709886A US 4783752 A US4783752 A US 4783752A
- Authority
- US
- United States
- Prior art keywords
- knowledge base
- subroutine
- rules
- application
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
Definitions
- the present invention relates generally to artificial intelligence and knowledge engineering, and more particularly to a digital computer for executing or interpreting a knowledge base to perform symbolic reasoning.
- Knowledge systems are computer systems that emulate reasoning tasks by using an "inference engine” to interpret encoded knowledge of human experts stored in a "knowledge base”.
- Knowledge systems are becoming useful for problems that require diagnosis, recommendation, selection or classification. Such tasks in the past have been performed by human experts. It is becoming known that if the domain of the knowledge base, or scope of the problem, is sufficiently narrow and a sufficiently large body of knowledge is properly encoded in the knowledge base, then the knowledge system can achieve performance matching or exceeding the ability of a human expert. In such a case the knowledge system becomes an "expert system”.
- the first step in building a knowledge system involves encoding unstructured, often even unarticulated, knowledge into machine readable form.
- the different kinds of knowledge include the vocabulary the structure of the domain, the judgmental knowledge of the domain, and the procedures or techniques by which the domain knowledge is applied to solve a specific problem.
- the vocabulary of the domain refers to the names of the individual objects and ideas that must be encoded in the knowledge base.
- the structure of the domain refers to relationships between the objects and the ideas in the domain.
- the judgmental knowledge of the domain refers to the rules of thumb or rules of inference which are used by human experts to solve a problem involving uncertain knowledge or to restrict the scope of relevant knowledge or to direct the search for solutions among various possibilities covered by the knowledge base.
- the procedures or techniques by which the domain knowledge is applied are a part of the judgmental knowledge of the domain.
- the procedures or techniques also include a good deal of knowledge that could be considered routine rather than judgmental, such as how to carry out a consultation with a user.
- a user typically accesses knowledge in the knowledge system interactively during a consultation. It is important that the consultation occurs in a manner that assures the user that the knowledge in the knowledge base is being properly considered and applied. It is particularly important, for example, that the user is not asked for redundant information and is given specific reasons why the knowledge system arrives at particular conclusions.
- EMYCIN is specifically designed as a domain-independent system for constructing rule-based consultant expert system programs. Domain knowledge is represented in EMYCIN systems primary as condition-action production rules which are applied according to a goal-directed backward chaining control procedure. Rules and consultation data are permitted to have associated measures of certainty, and incomplete data entry is allowed.
- the EMYCIN system includes an explanation facility that displays the line of reasoning followed by the consultation program, and answers questions from the client about the content of the knowledge base. To aid the system designer in producing a knowledge base for a specific domain, EMYCIN provides a terse and stylized language for writing rules; extensive checks to catch common user errors, such as misspellings; and methods for handling all necessary indexing chores.
- the knowledge base for an EMYCIN system includes a hierarchical structure called a "context tree".
- the elemental representation of an object or idea is defined as a context-parameter-value triple.
- the context refers generally to an instance of a particular context type, the parameter refers to an attribute of the context instance, and the value refers to the particular value of the parameter for the particular context instance.
- the context tree is defined by parent and offspring declarations for the context types.
- a consultation is started by instantiating a root context and the branches from this root context define major steps in the consultation during which the offspring contexts of the root node are instantiated.
- the context definitions are used to structure the data or evidence required to advise a user about the root context.
- the context tree may be used to organize the distinguished components of some object, and to represent distinguished events or situations that happen to an object.
- the knowledge base is preferably organized into distinct frames including the rules; control blocks separately encoding the control knowledge; and classes which become instantiated, attributes which take on values describing the class instances, class types, legal value hierachies, and user defined functions, which all encode factual knowledge.
- the knowledge engineer may provide control blocks to be executed at the start of the consultation, after the instantiation of specified classes, when a value for a specified attribute is to be determined, after a specified attribute is determined, and upon explicit invocation by another control block.
- the knowledge engineering tool described in Erman et al. U.S. Ser. No. 618,038 has been manufactured and sold by Teknowledge, Inc., 525 University Avenue, Palo Alto, Calif. 94301, under the trademane "S.1". This knowledge engineering tool is intended for use by experienced knowledge engineers in building complex knowledge systems.
- Hardy discloses that because of the lack of knowledge engineering tools based on a transparent expert system language, a person needs a good deal of formal education in computer science as well as specialized training in knowledge engineering: to become a skilled knowledge engineer.
- the term "expert system language” denotes the manner or way in which factual, judgmental and control knowledge is encoded in the knowledge base.
- Hardy discloses a useful knowledge engineering tool for building an expert system and running a consultation on a personal-type microcomputer.
- the knowledge base language is easily understood because English-like language statements express facts, rules, and meta-facts for specifying control knowledge, and control during a consultation is goal directed in depth-first fashion as specified by rule order.
- the tool includes interactive knowledge base debugging, question generation, legal response checking, explanation, and certainty factors. For the more experienced knowledge engineer, the tool permits the use of recursive rules and universally quantified variables.
- the knowledge engineering tool described in Hardy Ser. No. 617,791 has been manufactured and sold by Teknowledge, Inc., 525 University Avenue, Palo Alto, Calif. 94301, under the trademark "M.1".
- LISP and PROLOG are to a great extent incompatible with the above-mentioned conventional high-level computer languages.
- the above-mentioned conventional computer languages are general purpose languages having readily available support facilities such as utility libraries, optimizing compliers, and user interfaces which may be operated on a wide variety of computer models.
- LISP and PROLOG are not widely used as general purpose languages and have limited support facilities, although they are especially suited for symbol manipulation and symbolic reasoning.
- Even though the same computer may have facilities for compiling and loading LISP and PROLOG programs as well as a conventional language program, it is difficult to use both languages simultaneously to perform a common task due to the incompatability of the basic data structures for each language and their procedures for program interruption and execution transfer, for example, by subroutine calls.
- the primary object of the present invention is to provide a knowledge engineering tool that is compatible with the conventional computer programming languages and their support facilities such as utility libraries, optimizing compliers and user interfaces.
- Another object of the invention is to increase the performance of knowledge systems by permitting them to use the support facilities of conventional computer programming languages.
- Yet another object of the invention is to permit a computer programmer to use a conventional computer programming language to specify most of the control know privilege for a knowledge system.
- Still another object of the invention is to permit a computer programmer to use a conventional computer programming language to modify the basic operation of the knowledge system and to extend or enhance the capabilities of the knowledge system.
- Another object of the invention is to permit a conventional computer program to easily perform symbolic reasoning tasks.
- a knowledge base processor is callable by an application program to build and maintain a knowledge base, and to govern the execution or interpretation of the knowledge base to find the values of selected objects or expressions defined in the knowledge base.
- the application program is written in a conventional computer language which specifies control by the ordering of program steps.
- the application program provides a user interface for input/output and provides top level control for calling the knowledge base processor to find values for goal expressions.
- the application program provides initial values for objects, initiates and directs the search for goal expressions, defines questions and prompts a user for relevant information, and checks for legal values and assigns default values.
- the knowledge base processor calls the application program to determine values of expressions which are not concluded by the knowledge base, and to signal important events during the execution of the knowledge base. In response to these events, the application program may interrupt or modify the execution of the knowledge base.
- the knowledge base processor and application program each include a library of subroutines which are linked-loaded to provide a complete knowledge system for a specific application or task. Therefore, the knowledge base processor provides the essential functions for symbolic reasoning, and establishes a framework for building the knowledge system which permits application program developers to exploit the best available conventional data processing capabilities.
- the application programmer is free to exercise his or her knowledge and skill regarding the use of conventional programming languages and their support facilities such as utility libraries, optimizing compilers and user interfaces.
- FIG. 1 is a block diagram of the preferred embodiment of the invention
- FIG. 2 is a diagram showing the format for the basic data structure used in the preferred embodiment of the invention.
- FIG. 3 is a table showing the meanings of the permissible value types for the basic data structure of FIG. 2;
- FIG. 4 is a diagram showing the format for an expression
- FIG. 5 is a diagram showing how an expression is represented as an array of the basic data structures shown in FIG. 2;
- FIG. 6 is a diagram showing how more complex expressions are represented as linked arrays of the basic data structures
- FIG. 7 shows a determination state table used for indicating whether the inference engine is seeking or has sought a value or values for an expression
- FIG. 8 shows an expression characteristic table for indicating whether an expression is multi-valued and whether its value or values should be noted in cache when they are determined;
- FIG. 9 is a diagram showing the format of a variable binding stack for recording and indicating the current bindings of variables, the trail of variable binding modifications that must be undone for backtracking, and the groups of variables which are local to the same environment;
- FIG. 10 is a diagram showing the permissible formats for a proposition
- FIG. 11 is a diagram showing the format for a fact
- FIG. 12 is a diagram showing the format for a rule
- FIG. 13 is a diagram showing the format of an invocation stack for indicating each rule, fact or expression being evaluated by the inference engine
- FIG. 14 is a diagram showing various meta-facts which are either internally defined or are typically defined by the application program
- FIG. 15 is a diagram showing the format for the knowledge base
- FIG. 16 is a table showing various meanings of permissible values for the knowledge base entry type
- FIG. 17 is a diagram showing the format for data stored in the cache
- FIG. 18 is a flowchart of a subroutine named "find” for finding the value or values of an expression and storing them in the cache;
- FIGS. 19A and 19B comprise a flowchart of a subroutine named "evalExpr” for evaluating an expression after the expression has been converted to a parsed format by the "find" subroutine of FIG. 18;
- FIG. 20 is a flowchart of a subroutine named "evalRule” for invoking a rule.
- FIG. 21 is a flowchart of a subroutine named "evalProp" for evaluating a proposition such as the premise of a rule and for asserting a conclusion or performing another action in the event that the proposition is found to be true.
- the present specification includes a number of appendices, including a glossary of terms, a sample knowledge base, an application program listing for a "Stock Market Advisor” knowlege system, a consulatation listing showing the typical operation of the Stock Market Adviser knowledge system, and flow sheets and a program listing of the preferred embodiment of the knowledge base processor according to the present invention.
- the knowledge system generally designated 30, comprises a digital computer 31 having a knowledge base 32 stored in its memory.
- the memory of the digital computer also includes a control procedure for a knowledge base processor 33 and an application program 34.
- the knowledge base processor 33 includes inference engine subroutines 35 which reason over the knowledge base 32 to arrive at conclusions.
- the application program 34 includes a user interface 37 providing input and output.
- the system 30, therefore, is recognized as a knowledge system since it comprises a knowledge base 32, an inference engine 35, and a user interface 37, which are the primary components of any knowledge system.
- the knowledge base 32 includes rules 38 and facts or propositions 39 to encode domain knowledge.
- Each rule is a pair, composed of an antecedent (known as the premise) and a consequent (known as the conclusion), that can support the deductive process of backward chaining performed by the inference engine 35.
- the rules 38 are in the form of "if [premise] then [conclusion]."
- the premise and conclusion are made up of "propositions", or statements that can be proved true or false.
- each fact 39 is a proposition.
- the knowledge base 32 also includes meta-facts 40, which are statements about the knowledge base or a consultation to be conducted with the user 36, as opposed to facts about the subject domain.
- meta-facts 40 are statements about the knowledge base or a consultation to be conducted with the user 36, as opposed to facts about the subject domain.
- One kind of meta-fact is known as a "presupposition.”
- a presupposition is a condition that must be true in order for some other statement even to make sense. For example, it must have been raining for the question "has it stopped raining?" to make sense.
- the inference engine 35 finds the value of a specified expression by sequentially searching the knowledge base 32 for rules 38, facts 39, or meta-facts 40 which conclude values for the specified expression.
- the user must keep in mind that when a rule or fact is encountered having other expressions for which values have not yet been sought, searching will be restarted at the top of the knowledge base in order to determine the values of these other expressions.
- searching will be restarted at the top of the knowledge base in order to determine the values of these other expressions.
- a rule or fact concludes a value for an expression, the value is noted in a portion of memory called "cache" 41.
- the searching of the knowledge base 32 for values of a given expression does not necessarily stop at this point.
- the entire knowledge base is searched to determine all possible values for the expression.
- each expression is assumed to be single valued, unless the expression is explicity declared as multivalued by a meta-fact 40 in the form of "multivalued(expression)" .
- the inference engine 35 can draw conclusions from inexact or imprecise data.
- each value noted in the cache 41, each rule 38, and each fact 39 has an associated "certainty factor" or number representing the confidence placed by the inference engine 35 upon the validity of the corresponding value, rule, or fact.
- the certainty factor is not interpreted as a probability, but rather as a subjective index of the amount of evidence that has been accumulated confirming or disconfirming the proposition.
- the certainty factors range from -100 to +100, indicating that a rule, proposition, or value is definitely ruled out or is definitely certain respectively.
- the certainty factors are combined accordingly to the laws of probability for independent events.
- a value for an expression in cache initially has a certainty factor of CF, and a rule having a certainty factor of CF1 confirms the same value for the expression, then the certainty factor in the cache is changed or updated to a certainty factor of CF2 calculated according to:
- CF1 and CF2 are both positive.
- Negative certainty factors are combined in a similar fashion, as shown in the subroutine "cfCombine" included in the STORAGE.C section of the program listing for the knowledge base processor in Appendix VI.
- the knowledge base processor 33 is callable by the application program 34 to build and maintain the knowledge base 32 and to govern the execution or interpretation of the knowledge base to find the values of selected objects or expressions in the knowledge base.
- the application program is written in a conventional high-level computer language which specifies control by the ordering of program steps.
- the application program provides top level control 43 for calling the knowledge base processor to find the values for goal expressions.
- a subroutine named "find” 44 is specifically provided for this purpose.
- the knowledge base processor 33 includes a number of other "application interface" subroutines 45 that are easily called by the application program to perform selected ones of predefined functions. Although the entire knowledge base processor 33 preferably is made of user callable functions, the application interface subroutines 45 have few if any "side effects" and do not require the application programmer to have extensive knowledge of the data structures used by the knowledge base processor 33.
- the application interface subroutines 45 and inference engine subroutines 35 themselves are made more transparent by using subroutine calls to separate "data structure access" subroutines 46 included in the knowledge base processor 33 for handling the details of accessing the knowledge base 32, cache 41, files 56, and other data structures used by the application interface subroutines or inference engine subroutines.
- a number of application interface subroutines 45 provide easy access to the knowledge base 32.
- the application programmer Before accessing the knowledge base, the application programmer first calls an application subroutine named "openKB” to open the knowledge base for use. Then an application interface subroutine named "loadKB” is called to load a knowledge base file into the knowledge base data structure. After loading the knowledge base file, a selected knowledge base entry can be obtained for inspection by calling an application interface subroutine named "getKB”.
- the knowledge base entry is first removed from the knowledge base data structure 32 by calling a subroutine "resetKB”. Then the edited version of the knowledge base entry is added or inserted in the knowledge base by calling an application interface subroutine named "addKB”.
- the edited knowledge base can be saved to a file by calling an application interface subroutine named "saveKb”. Then an application interface subroutine named "closeKB” is called to close the knowledge base from use.
- a number of application interface subroutines 45 are provided for manipulating the contents of the cache 41. Typically this is done to suspend a consultation between the system and the user 36 for a prolonged period of time until the user wants to continue. For diagnostic purposes and for special applications it is desirable to inspect the contents of cache before running or continuing a consultation.
- an application interface subroutine named "openCache” is called to open cache for use.
- the entire cache can be erased by calling an application interface subroutine named "resetCache”.
- This subroutine can also be called to remove a specified entry from cache.
- previously stored contents of cache are loaded from a file by calling an application interface subroutine named "loadCache”.
- Selected entries from cache can be fetched by calling an application interface subroutine named "getCache”.
- An entry can be added to cache by calling an application subroutine named "addCache”.
- the entire contents of cache can be saved in a file by calling an application interface subroutine named "saveCache”.
- the cache is closed from use by calling an application subroutine named "closeCache”.
- the knowledge base processor 33 permits the application programmer to change the very nature of the language by which knowledge is encoded in the knowledge base 32.
- This language is defined by the contents of certain memory tables 47 in the memory of the digital computer 31.
- the inference engine subroutines 35 for example, recognize certain meta-facts 40 in the knowledge base 32 as application defined meta-facts 48.
- the inference engine subroutines 35 match the entries of the knowledge base 32 to the entries in a table of legally recognized application defined meta-facts 49.
- the application programmer calls an application interface subroutine 45 named "addMetaFact".
- the memory tables 47 include a table 50 for storing legal definitions of application defined meta-propositions.
- the inference engine subroutines 35 match the proposition or portions thereof to the entries in the table 50 of application defined meta-propositions.
- the application programmer calls an application interface subroutine 45 named "addMetaProp".
- Application defined meta-propositions are usually in the form of functions.
- the application programmer is permitted to define certain elementary symbols or "atoms" as operators.
- the inference engine subroutines 35 distinguish an operator from an elementary expression by matching the expression to the entries stored in an operator table 51, which may include the definitions of application defined operators 52.
- the application programmer may call an application subroutine called "addOp" to add a specified operator to the application-defined operator definitions 52 in the operator table 51.
- the application programmer When the inference engine subroutines 35 encounter an application defined meta-fact or an application defined meta-proposition, the application programmer must have specified how the meta-fact or meta-proposition is to be evaluated. In accordance with an important aspect of the present invention, the application programmer does this by writing an "evalMetaFact" subroutine or an "evalMetaProp" subroutine, which are examples of application supplied subroutines 53 that are from time-to-time called by the knowledge base processor 33.
- the application supplied subroutines 53 include a subroutine named "determine” used for determining the value of an expression after the knowledge base 32 is searched without finding a value by applying the rules 38 or facts 39.
- the application supplied subroutines 53 also include a subroutine named "error” for indicating that an error has occurred during operation of the knowledge base processor.
- the previous examples of application supplied subroutines 53 enable the application programmer to specify actions that should be taken when the knowledge base processor 33 requests assistance in carrying out certain operations.
- the application supplied subroutines 53 also include subroutines for enabling the application programmer to interrupt or modify the execution of the knowledge base.
- an application supplied subroutine named "event” is called to signal the occurrence of certain important events during the operation of the knowledge base processor 33.
- the knowledge base processor 33 signals the respective action by passing a respective integer value from 1 to 7.
- the application programmer may write an "event" subroutine which modifies specified values in any of the data structures, or may even modify the very basic dynamic data structures used during subroutine calling to perform an unconventional return to a selected point in the procedure conducted by the knowledge base processor.
- One very simple method of altering the execution by the inference engine subroutines 35 is to abort the finding of a value for a specified expression.
- the application program may call an application interface subroutine 54 named "restoreAfterAbort".
- the knowledge base processor 33 is embodied in the same digital computer 31 which executes the application program 34 and is also preferably written in the same high-level programming language as the application program 34. Therefore, both the application program 34 and knowledge base processor 33 may call the system resident libraries 55 to perform elementary operations.
- the preferred form of the knowledge base processor 33 does not use the character input and output routines in the system resident libraries 55. Instead, it uses application supplied subroutines 53 named "readch” and "writebuf" to either read a character or write a string buffer, respectively.
- a special event signaled by the knowledge base processor 33 to the application program 34 is the loading of an application defined meta-fact 48 into the knowledge base 32.
- the knowledge base processor 33 calls an application supplied subroutine 53 named "metaFactLoaded” each time that an application defined meta-fact 40 is loaded into the knowledge base 32.
- a trace of the important events encountered by the inference engine subroutines 35 can be provided by writing an "event" subroutine which records an ordered list of the event codes along with the expression being sought or the knowledge base entry being invoked.
- Even more detailed tracing of the operation of the knowledge based processor 33 may use an application supplied subroutine named "demon" which signals every call or return of certain ones of the subroutines of the knowledge base processor 33.
- the particular subroutine is indicated by a certain function value, as shown below in Table I:
- the preferred embodiment of the knowledge base processor as shown in Appendix VI is written in the "C" programming language.
- the C programming language is preferred because it permits recursive function calls, it is available for a wide variety of computers, and it has been used to implement a wide variety of applications such as compilers, operating systems, data base systems, real-time systems and document preparation systems.
- the reader may consult Kernigham & Ritchie, The C Programming Language, Prentice-Hall (1978), which includes The C Reference Manual.
- FIG. 2 there is shown a diagram generally designated 60 of the basic data structure which is called a "pattern".
- the pattern consists of a parameter designating the "value type" of the pattern, and a particular one of four different parameters, including either a parameter designating the length of the pattern, an index to a name for the pattern in a symbol table, a long integer number, or a single precision floating value. Therefore, the pattern can represent any expression or value, regardless of whether the expression or value is numeric or symbolic.
- FIG. 3 Shown in FIG. 3 is a table generally designated 65 showing the meanings of various integral values for the "value type" parameter.
- the description in the table 65 indicates that a pattern represents either an integer number, a floating point number, an atom symbol, a variable symbol, a pointer to another pattern, or the length of a pattern array.
- One of the tasks of the knowledge base processor is to translate or parse the knowledge base language from an English-based format to an internal representation including a series of "patterns".
- an "expression” is a symbol capable of being set to a definite value or values during operation of the inference engine.
- the knowledge base processor recognizes two formats for an expression, as illustrated in the diagram 70 of FIG. 4. These two formats are an "atom” and a function including an atom functor and one or more arguments such as ARG1 and ARG2.
- the knowledge base processor recognizes any phrase of characters starting with other than a capital letter as an atom, unless that phrase is a reserved meta-proposition or is designated a label or comment.
- FIG. 5 there is shown a diagram generally designated 75 showing how an expression in the form of a function "accnt(tbill,rate)" is internally represented as an array of patterns.
- the array includes a symbol for the functor atom “accnt”, and a pattern for each argument, including the arguments "tbill” and "rate”.
- the array of patterns 76 also includes a prefix pattern 77 which is an integer number indicating the number of following patterns in the array 76.
- FIG. 6 there is shown the internal representation of an expression in the form of a function "accnt(tbill,rate(10.5))" which has arguments that are themselves functions. Each argument that is a function becomes replaced with a pointer pattern 80 indicated by the symbol "*". The pointer points to another pattern array for the function which is the argument, or in the specific example the argument "rate(10.5)”.
- each expression defined in the knowledge base 32 is an entry in a determination state table as shown in FIG. 7 and an expression characteristic table as shown in FIG. 8.
- the determination state table generally designated 85 indicates whether a value or values for each expression have been sought by the inference engine, and whether the inference engine is currently seeking a value for the expression. Therefore, the determination state table stores information about the dynamic state of the knowledge system.
- the expression characteristic table generally designated 90 in FIG. 8 stores relatively static information about each expression in the knowledge base. Specifically, the expression characteristic table indicates whether each expression is multivalued instead of being single valued, and indicates whether fthe expression has the atypical "nocache" characteristic.
- expressions having the characteristic "nochache” are primarily used for control purposes, for example, to trigger the searching of values for a group of related expressions.
- Expressions having the "nocache” characteristic may also be viewed as logical flags which are cleared at the start of a consultation and become set when the expression is sought, in which case the logical value of the flag is found in the "sought" column of the determination state table for the expression.
- the knowledge base language used by the knowledge base processor of Appendix VI recognizes variables capable of universal instantiation.
- a variable can be replaced by a pattern representing a number, symbol or pattern array by the process of binding or instantation.
- the relationship between a variable and its binding is distinguished from the relationship between an expression and its value due to the fact that a variable may be bound and unbound to different patterns, but a value becomes permanently bound or attached to its expression until a corresponding subset of cache is reset.
- the knowledge base processor recognizes a phrase of characters starting with a capital letter as a variable.
- Variables are used in rules so that the rules have universal applicability to more than one object.
- a rule in the knowledge base of Appendix II is as follows:
- variable S may represent any one of a number of stocks under consideration by the Stock Market Advisor.
- Variables can also be used in rules for performing arithmetic calculations.
- such a rule is:
- the variables X and Y are used to receive the numerical values of the book-value-per-share of a stock S and the shares-outstanding of the stock S in order to multiply the numerical values together to conclude the book-value of the stock.
- the operands of arithmetic meta-propositions such as "+”, “-", “/”, “*”, " ⁇ ", ">” are not evaluated by searching the cache and the knowledge base in order to find values for the operands; the operands themselves should be numbers or variables representing numbers.
- the binding or instantiation process for variables is complicated by the necessity of performing backtracking in order to try alternative instantations of variables in an attempt to apply a rule.
- backtracking is a search procedure that makes guesses at various steps during problem solving and returns to a previous decision point to make another choice when a guess leads to an unacceptable result.
- the rule may fail for one possible set of bindings of the variables. When this occurs, and there is another possible set of bindings, backtracking is performed by unbinding the variables and binding them to the other possible set of bindings in an attempt to apply the same rule in another way.
- variable binding stack The format for the variable binding stack is shown in the diagram generally designated 95 in FIG. 9.
- the variable binding stack includes an entry generally designated 96 indicating a binding for each variable being bound.
- This entry includes an environment flag which is equal to zero signifying that the variable binding has the same environment as the previous variable binding in the stack, or is a non zero number indicating a separation between different environments.
- the entry 96 also includes a pointer to a trail of modifications that must be undone when backtracking. Moreover, the entry 96 includes an integer number designating the variable to distinguish the variable from other variables. This integer number is used internally in lieu of the name of the variable.
- the entry 96 also includes a pointer to the pattern indicating the binding which the variable represents.
- proposition One kind of general statement in the knowledge base language is known as a "proposition".
- a proposition is defined as a statement that can be evaluated and therefore may represent a particular value.
- the premise of a rule for example, must be a proposition, and the conclusion of the rule is asserted in the event that the premise evaluates to a value with a certainly factor of 20 or greater.
- the knowledge base processor evaluates a proposition by matching to a number of formats as shown in the diagram 100 in FIG. 10. If the proposition is recognized as an expression, the cache and then the knowledge base are searched to find the value or values for the expression. If the proposition is recognized as a number, then the value of the proposition is the number. If the proposition is recognized as a variable, the variable is replaced with the pattern which the variable represents, and the pattern is evaluated either as an expression or a number.
- a proposition is found to include a meta-proposition or operator, the other portions of the proposition are interpreted in accordance with the definition of the meta-proposition or operator and then the corresponding operation is performed.
- the operands for an operator are recognized by their position with respect to the operator in consideration of whether the operator is defined as a prefix operator coming before its operand, a postfix operator coming after its operand, or an infix operator coming between its operands.
- FIG. 11 there is shown a diagram 105 of the format for a "fact” in the knowledge base.
- a "fact” is a statement that a particular value is known to be a value of a particular expression with a particular degree of confidence indicated by a certainty factor. If the certainty factor is omitted, it is assumed to be 100.
- FIG. 12 there is shown a diagram 110 illustrating the format for a "rule" in the knowledge base.
- a rule asserts that if a particular proposition has a value with a certainty factor of at least 20, then a particular "fact” is to be asserted.
- the proposition following the "if" portion of the rule is known as the premise of the rule.
- the invocation of a rule and the evaluation of its premise may be interrupted to evaluate other rules for finding the values of expressions in the premise. Therefore, at any time a number of rules, facts or expressions may be under evaluation.
- an invocation stack is used to keep track of each rule, fact or expression currently under evaluation.
- Each expression or knowledge base entry currently under evaluation has a separate entry generally designated 120 in the invocation stack.
- Each entry includes a type parameter indicating whether the entry is for an expression or for a knowledge base entry, an environment parameter indicating the binding stack environment for the invocation stack entry, a pointer to the next invocation stack entry, and a pointer to the expression or knowledge base entry.
- the knowledge base processor recognizes the meta-fact "nocache(EXPR)" declaring that the expression EXPR should have the "nocache” characteristic.
- the knowledge base processor recognizes a couple of meta-facts which permit the direction of focus of a search in the knowledge base to be diverted when certain information becomes known.
- meta-facts typically the application programmer defines meta-facts to perform user input/output and to declare legal values for expressions.
- FIG. 15 there is a diagram 130 showing the format for the knowledge base 32.
- the knowledge base is organized as a linked list of knowledge base records generally designated 131.
- Each knowledge base record includes a label pointer for pointing to a label for the corresponding knowledge base entry, a pointer to a "key" which is the expression determined or concluded by the knowledge base entry, an entry pointer which points to the knowledge base entry, an entry type parameter which describes the type of the knowledge base entry, a delete flag which is set to indicate that the knowledge base record will be deleted, a pointer to the next record in the knowledge base, and a flag for indicating whether the knowledge base record is executable.
- the flag for example, could be cleared for certain application meta-facts which are executed by the application program only when the knowledge base is loaded.
- the knowledge base entry type is positive to indicate that the knowledge base entry is an application-defined meta-fact.
- the knowledge base entry type has a value of -5, -6, -7, -8, -9, -11 or -15 to indicate that the knowledge base record is a "nocache" meta-fact, a multivalued meta-fact, a presupposition meta-fact, a "whenfound” meta-fact, a rule, a fact, or a "whencached” meta-fact, respectively.
- FIG. 17 there is shown a diagram generally designated 135 of the format for the cache.
- the cache is organized as a linked list of entries for each expression having concluded with a value.
- Each cache entry generally designated 136 includes a pointer to the respective expression, a pointer to the value of the respective expression, a certainty factor for the value, an entry delete flag, a pointer to a reason why the particular value was concluded for the expression including a list of the knowledge base entries confirming or contradicting the particular value, and a pointer to the next cache entry.
- the inference engine subroutines 35 are typically accessed through the "find” subroutine.
- FIG. 18 there is shown a flowchart generally designated 140 of the "find” subroutine.
- the expression for which a value is to be found is parsed or translated to the internal format described above in connection with FIGS. 2-6.
- an inference engine subroutine named "evalExpr” is called to find the value or values for the expression, and to place any value or values that are found in cache.
- the application program obtains the value for the expression from cache.
- step 151 the application supplied subroutine named “demon” is called to provide a trace of the program execution through the inference engine.
- step 152 the expression is looked up in the determination state table (see FIG. 7).
- the inference engine determines in step 153 whether the expression has already been sought. If so, then in step 154 the "demon" subroutine is again called, and execution returns. Otherwise, the inference engine must search the knowledge base to find a value for the expression.
- step 155 a knowledge base pointer is initialized to start searching at the top of the knowledge base.
- step 157 the knowledge base is searched for the next entry having a key expression field matching the expression being evaluated.
- the key expression field indicates the expression which the knowledge base entry asserts or concludes. If no knowledge base entry is found in step 157, the bottom of the knowledge base is reached. Therefore, in step 158 the knowledge base pointer is compared to a predetermined value to determine whether the end of the knowledge base was reached. If not, then execution continues on FIG. 19B to execute or interpret the knowledge base entry. For this purpose the knowledge base entry type (see FIG. 16) is inspected to determine the type of the knowledge base entry.
- step 159 if the knowledge base entry is an application defined meta-fact, then execution branches to step 160 to push the invocation stack (see FIG. 13), to call the application supplied subroutine named "evalMetaFact” and to pop the invocation stack.
- step 162 the application supplied subroutine named "event” is called to signal that a rule is being invoked.
- step 163 the rule is evaluated by pushing the invocation stack, calling a subroutine named "evalRule”, and popping the invocation stack.
- step 164 the event subroutine is again called to indicate that the rule has been invoked and to indicate whether the rule succeeded in producing a conclusion and found a value for the expression currently being evaluated.
- step 165 the event subroutine is called in step 166 to indicate that a fact is being invoked. Consequently, in step 167 the invocation stack is pushed, the conclusion of the fact is evaluated with the current variable binding, the result is noted in cache, and the invocation stack is popped. The event subroutine is again called in step 168 to indicate that the fact has been invoked and a value has been found for the expression.
- step 170 the event subroutine is called to indicate that a meta-fact is being invoked. Consequently, in step 171 the invocation stack is pushed, the meta-fact is evaluated, and thereafter the invocation stack is popped. The event subroutine is again called in step 172 to indicate that the meta-fact has been invoked.
- step 173 the conditions for a single valued cut-off are tested. In other words, searching of the knowledge base terminates if the expression is single valued and the knowledge base entry has concluded a definite value for the expression. If not, the knowledge base pointer is advanced to the next entry in step 174 so that execution may return to step 157 in FIG. 19A to continue searching through the knowledge base. Then, at the end of searching the knowledge base, execution continues in step 175. If the knowledge base has not provided a value for the expression, then in step 176 the application supplied subroutine named "determine" is called as a last resort.
- step 177 the entry in the determination state table (see FIG. 7) for the expression is marked to indicate that the expression has been sought, and the invocation stack is popped. Since the expression has been marked as sought, the knowledge base will not again be searched for the same expression unless the determination state table is reset, for example, by calling the subroutine "resetCache". It should be noted that even if the application supplied determine subroutine fails to determine a value for the expression, the system will know that the expression has a value of "unknown” since a value for the sought expression will not be found in cache. Before returning, however, the event subroutine is called in step 178 to indicate that the expression was sought, and the demon subroutine is called in step 179 to indicate that execution is returning from the "evalExpr" subroutine.
- FIG. 20 there is shown a flowchart generally designated 190 of the subroutine named "evalRule".
- a variable binding frame is created for the premise of the rule.
- a variable binding frame is created for the conclusion of the rule.
- Steps 191 and 192 match the arguments of an expression in the form of a function to the corresponding variables defined in the rule.
- an action parameter is set to a value of "evalConclusion" to indicate that the conclusion of the rule should be noted in the cache if the premise is found to succeed with a certainty factor of 20 or greater.
- step 194 a subroutine named "evalProp" is called, and the rule's premise P, conclusion C, binding frame and action are passed as parameters so that the premise will be evaluated and the conclusion will be asserted in the event that the premise is found to have succeeded with a certainty factor of 20 or more.
- FIG. 21 there is shown a flowchart generally designated 200 of the subroutine named "evalProp" for evaluating a specified proposition P and conditionally asserting a specified action or conclusion C in the context of specified variable bindings.
- the application supplied demon subroutine is called.
- the metaprop table is searched for a match to the proposition P starting at the bottom of the table so as to search the application-defined meta-propositions before the built in meta-propositions. Every time the application program adds a meta-proposition to the metaprop table by calling the "addMetaProp" subroutine, the newly added meta-proposition is inserted at the bottom of the meta-prop table.
- step 203 A match between the metaprop table and the proposition is tested in step 203.
- a match should always occur because the metaprop table includes a template for each legal form of a proposition (see FIG. 10). If the match does not occur, then in step 204 the application supplied subroutine named "error"is called to signal a syntax error, and execution returns.
- step 205 execution branches if the matching entry is an application defined meta-proposition. If so, then in step 206 the application supplied subroutine named "evalMetaProp" is called to evaluate the application defined meta-proposition. Otherwise in step 207 the built-in meta-proposition is evaluated, depending upon the particular matching template. The evaluation in step 207 may require recursive calls to the evalProp subroutine to reduce compound propositions to simple propositions which contain expressions. These component expressions are evaluated by recursive calls to the subroutine evalExpr of FIGS. 19A and 19B. Once the proposition P is evaluated, the specified action is done in the event that the proposition P has a certainty factor greater or equal
- step 207 backtracking is performed if a certain repeat flag has been set.
- the repeat flag may have been set by the creation of the variable binding frame and a recognition at that time of a number of alternative variable bindings. If the repeat flag is set, then a "doAction" subroutine. performs a continuation action by recursively calling the evalProp subroutine to evaluate the proposition for the next possible set of variable bindings, although backtracking will be halted in the case of a single valued cut-off. Otherwise once the proposition is evaluated and conclusions asserted for every possible set of variable bindings, the evaluation of the proposition is finished. Before returning, however, in step 208 the demon subroutine is called to signal the completion of the evaluation process.
- Appendix III there is shown a listing of a Stock Market Advisor application program which illustrates many of the features of the knowledge base processor of Appendix VI. It should be evident that this application program is written in the C programming language.
- the knowledge base processor of Appendix VI is initialized by calling a knowledge base processor subroutine called "initCopernicus". None of the other subroutines of the knowledge base processor should be called before calling this initial subroutine.
- the application program adds an application defined operator called "infix” which is defined as a prefix operator (indicated by the code FX), a rather high procedure (indicated by the precedence value of 250, the lowest procedence being one and the highest precedence being 254).
- infix an application defined operator
- FX prefix operator
- a rather high procedure indicated by the precedence value of 250, the lowest procedence being one and the highest precedence being 254
- some application defined meta-facts are added to the meta-fact table.
- a meta-fact in the form of "infix x" is added.
- a number of application defined meta-propositions are also added to the knowledge base language syntax.
- a meta-proposition in the form of "display(E)" is added in order to display or output the value of a specified expression E.
- a meta-proposition is added in the form of "E is definite".
- the return value for this meta-proposition is "yes" cf 100 if the certainty factor associated with a value of the expression E is 100, and otherwise the return value is "no" with a certainty factor of 100. Therefore, to determine whether the expression is definite, its concluded values must be checked to determine whether any one of them has a certainty factor of 100.
- a meta-proposition is defined in the form of "E is known" to indicate whether at least one value was concluded about the expression E that has a certainty factor greater or equal to 20. If so, the return value is "yes" cf 100; otherwise, the return value is "no" cf 100.
- An expression is said to be unknown if it does not have any value with a certainty factor greater or equal to a cut-off value such as 20.
- a meta-proposition is defined in the form of "E is unkown” which returns a value of "yes” cf 100 if the expression E is unknown, and otherwise returns a value of "no" cf 100.
- the knowledge base processing begins by opening the Stocks Knowledge Base file for access.
- the file has a name of "stocks.kb" and the contents of the file are listed in Appendix II.
- An error message is transmitted to the user in the event that the Stocks Knowledge Base file cannot be opened for some reason. Otherwise, once the Stocks Knowledge Base file is opened, the knowledge base data structure is also opened by calling the subroutine named "openKB”. Then the contents of the file are loaded into the knowledge base data structure. Just prior to the actual loading the user is given a message "Loading knowledge base . . . . "
- the cache is opened by calling the knowledge base processor subroutine named "openCache".
- the user is then given the option to enter stock data either from a file or interactively. If the user desires to use a data file, the file must have the name "stocks.dat", and after the opening of this file the data are transferred directly from the file to the cache.
- the stock data file should include, for any number of stocks, the name of each stock, its current price, and its five year high. These data items are individually added to cache by calling the knowledge base processor subroutine named "addCache" for each data item. For each stock, the knowledge base processor is asked to find a value for a main goal "recommend" which give a recommendation of whether the stock is a good buy. After giving the recommendations for the stocks, the stock data file is closed.
- the knowledge base processor subroutine named "find” is called prior to the entry of stock data to find a value for the main goal "recommend".
- the user is prompted for the necessary stock information after certain rules are tried and the system recognizes that the necessary information must be obtained from the user.
- the cache is closed as well as the knowledge base data structure.
- the knowledge base file in the computer's mass storage memory is closed. At this point execution of the main subroutine of the application program is finished.
- the application program includes a number of application supplied subroutines.
- a subroutine named "display” performs the user-defined meta-proposition "display(TEXT)" by printing the text. If the text includes a number of separate items, the items are printed in list form.
- the "display” function calls another application supplied subroutine named "display item” to display a single item by converting the internal format of the text to an appropriate string of characters. After matching the internal format against certain special cases such as a pre-defined display proposition, a new line, tab, and an integer to dollar-and-cents conversion, then the symbol, variable or structure to be directly printed is unparsed to convert from internal format to a character string. Then, the character string is printed out.
- the application supplied display subroutine recognizes dotted pairs representing list structures in the knowledge base language. In order to find any dotted pair in the internal format representing the test, the display subroutine calls another application program subroutine named "isDottedPair".
- the Stock Market Advisor application program supplies the subroutine named "readch” in order to read a character from a file and to return the character to the knowledge base processor.
- the Stock Market Advisor application program provides the subroutine named "metaFactLoaded” in order to pre-process the "infix” application defined meta-fact when the knowledge base file in the computer's mass storage memory is loaded into the knowledge base data structure.
- the "infix” meta-fact is processed by interpreting the parameter of the infix meta-fact as an application defined operator to be added to the knowledge base language syntax.
- the parameter is added to the operator table by calling the knowledge base processor subroutine named "addOp".
- the application program also includes the "evalMetaProp” subroutine for evaluating the application defined meta-propositions.
- the meta-proposition in the form of "display(E)" is performed by calling the "display” function of the application program and then performing any specified continuation action by calling the knowledge base processor "doAction" subroutine.
- the other user-defined meta-propositions discussed above are performed by first evaluating the expression parameter of the meta-proposition, checking whether the respective property of the expression is present, and if so doing the specified continuation action by calling the "doAction" subroutine.
- the Stock Market Advisor application program includes the "determine” subroutine to determine the value of an expression by asking the user.
- First the knowledge base processor subroutine "getState” is called to check whether the expression is multivalued. If the expression is multivalued, the user is asked the question, "What are the values of: [name of the expression]?" Otherwise, the user is asked the question, "What is the value of: [name of the expression]?"
- the user's response is read in and parsed to determine the internal code for the value or values of the expression. Also noted in cache is the reason for the value which is "you said so". This reason is converted to the internal format before being noted in cache with the value or values by calling the knowledge base processor subroutine "noteCache".
- the final subroutine of the application program is the application supplied subroutine named "error".
- the "error" subroutine generates and transmits an error message to the user which includes the function identification code and the error number supplied by the knowledge base processor. This completes the description of the Stock Market Advisor Application Program.
- the very first rule of the knowledge base was invoked causing the expression "buy-or-sell" to be sought.
- the first knowledge base entry for determining "buy-or-sell” was found to be the application defined meta-fact in the form of "question (buy-or-sell)". Therefore, the user was asked the question “Do you wish to buy or sell stock?" The user answered "buy” causing the second premise clause of the first rule in the knowledge base to be evaluated. Therefore, the expression "recommended-purchases” was sought.
- This expression was found in the fifth rule in the knowledge base. To evaluate this fifth rule, the expression "stocks” was sought.
- the first knowledge base entry for determining a value for "stocks” is a question and therefore the user was asked the question, "Which stock do you wish to consider?".
- the knowledge base processor sought the value of the expression "tek has crashed” which is more formally represented as “crashed(tek)".
- the word “has” as well as the work “of” were used as parameters for the "infix” application defined meta-fact.
- the words “has” and “of” were consequently defined as infix operators, and upon evaluation their two operands are concatenated or combined to represent a single expression.
- the knowledge base processor invoked the first rule for concluding "S has crashed” by binding the atom "tek” to the variable S.
- the expression "current-price of tek” was sought.
- the first knowledge base entry for determining a value for this expression was a question, and therefore the user was asked “What was the current price of tek?" The user responded with the value of 1. Therefore, the second clause of the first rule for concluding "S has crashed” was evaluated thereby causing the knowledge base processor to seek the expression "five-year-high of tek".
- the first knowledge base entry for determining "five-year-high of tek" was a question, and therefore the user was asked "What is the 5 year high of tek?" The user responded 3.
- the knowledge base processor invoked the fourth rule for concluding "S has crashed” and required a value for the expression “attribute of tek” to evaluate the fourth premise clause of this rule.
- a knowledge base entry in the form of "presupposition(attribute of S)” was found, but the knowledge base processor had already found that the value of the expression “buy-or-sell” was “buy” so that the presupposition had no effect.
- the knowledge base processor Upon invoking the next and sixth rule for concluding "S has crashed", the knowledge base processor had to seek the value of the expression "company-value of tek". The knowledge system then asked the question, "What is the current company value of tek?" The user responded 1 million. This value, however, caused the sixth rule concluding "S has crashed” to fail. Consequently the next and seventh rule for concluding "S has crashed” was invoked. To evaluate the last premise clause of this rule, the knowledge base processor sought the value of "bank-size-rating of tek".
- the knowledge base processor Since the knowledge base processor determined that tek has crashed, execution returned to evaluating the second premise clause of the rule for concluding "recommended-purchases". To evaluate this second clause, the knowledge base processor sought a value for "tek has assets” and invoked the first rule for concluding "S has assets”. To evaluate the premise of this rule, the knowledge base processor sought the expression "book-value-per-share of tek". The first knowledge base entry for determining this expression was the question, "What is the current book value per share of tek?" The user responded 0.75 causing the first rule for concluding "S has assets” to fail. Upon invoking the second rule concluding "S has assets", the knowledge base processor had to seek the expression "hidden-assets".
- the first knowledge base entry for determining "tek has hidden-assets” was a question, "Does tek have hidden (off balance sheet) assets?" The user responded “yes”, and the knowledge base processor returned to evaluating the second premise cause of the second rule for concluding "S has assets". This caused the knowledge base processor to seek the expression "hidden-asset-value” resulting in the user being asked the question, "What is the monetary value of these assets?" The user responded 200,000, and the knowledge base processor returned to evaluating the third clause in the premise of the second rule for concluding "S has assets”. This in turn caused the knowledge base processor to seek the expression "book-value of S”.
- the knowledge base processor invoked the first rule for concluding "book-value of S".
- the knowledge base processor recognized that it had already sought “book-value-per-share of tek” and therefore went on to evaluate the second clause of the premise for this rule which required the seeking of the expression "shares-outstanding of tek".
- the user was asked "What is the current number of shares outstanding in tek?" The user responded 100,000.
- the first rule for concluding "book-value of S" succeeded and concluded that the book-value of tek was 75,000 cf 100.
- the knowledge base processor then returned to the evaluation of the premise of the rule for concluding "recommended-purchases of tek".
- the knowledge base processor had to seek the expression "tek has signs-of-life”.
- a first rule for concluding "S has signs-of-life” was invoked which in turn caused the knowledge base processor to seek the expression "tek has dividend-in-last-quarter”.
- the user was asked "In the most recent quarter did tek maintain a dividend?" The user responded "yes", and therefore the first rule for concluding "S has signs-of-life” succeeded in concluding that tek has sign of life.
- the knowledge base processor next had to seek the expression "tek has obsolescence”. As a result the first rule for concluding this expression was invoked. To evaluate its premise, the knowledge base processor sought the expression “tek has unstable-operations”, causing the user to be asked the question “Does tek have many unstable operations or operations is unpredictable foreign countries?" The user responded “no” causing the first rule for concluding "S has obsolescence” to fail.
- the knowledge base processor then returned to evaluating the premise of the rule for concluding "recommended-purchases".
- the expression "tek has technical-bottom” was sought.
- the user was asked "Has tek reached a technical-bottom in the stock market by demonstrating at least one of the following chart patterns? Double-bottom, vee with six-month high after 90% decline, vee+flag, vee+correction, vee+gap, reverse head-and-shoulders bottom, saucer or congested, climax, saucer+gap; enter ⁇ yes ⁇ or ⁇ no ⁇ :”.
- the knowledge base processor returned to the application of the very first rule in the knowledge base, and upon evaluating the third premise clause recognized that "display" was an application defined meta-proposition. Therefore, the "evalMetaProp” subroutine was called resulting in the display of a message to the user saying, "It is recommended that you purchase a stock belonging to tek".
- the very first rule of the knowledge base succeeded in concluding a value of "yes” cf 100 for the expression "recommend”. Since the application program had called the "find” subroutine of the knowledge base processor to find the value of the expression "recommend", execution returned to the application program. The following statements in the application program did not generate any user output, so that the consultation listing was at an end. This completes the description of the Stock Market Advisor programm example.
- a knowledge engineering tool has been described that is compatible with conventional computer programming languages and their support facilities such as utility libraries, optimizing compilers and user interfaces.
- a knowledge base processor has been described for performing symbolic reasoning with respect to knowledge stored in a knowledge base, yet the knowledge base processor comprises an organization of user-callable subroutines written in a conventional computer language.
- the knowledge base processor may call upon the utility library for the conventional computer programming language.
- the knowledge base processor can be compiled using an optimizing compiler for the conventional computer programming language.
- the knowledge base processor or its companion application program may use the preexisting user interfaces available in that conventional computer programming language, and as a result, the performance of the knowledge system is enhanced.
- An application programmer may use the conventional computer programming language to write an application program that calls selected ones of the subroutines making up the knowledge base processor.
- the order in which these subroutines are called is determined by the application program and therefore the computer programmer is permitted to use the conventional programming language to specify most of the control knowledge for the knowledge system. Therefore, extensive training in a new programming language is not required.
- the calls to the "find" subroutine are used whenever it is desirable to perform symbolic reasoning either to find the value for some object or to exercise judgement at branch points in the application program. Therefore, there may be a clearer and more transparent relationship between the control knowledge supplied by the application program and the judgemental knowledge encoded in the knowledge base.
- the application programmer can extend and enhance the capabilities of the knowledge system by defining the knowledge base language syntax that is optimal for a specific application. As illustrated in the Stock Market Advisor, the application programmer can make the changes to the knowledge base language transparent by application defined meta-facts and application defined meta-propositions that are passed to the application program during the loading of the knowledge base and are thereafter put into the memory tables of the knowledge base processor before the beginning of a consultation. In the Stock Market Advisor, for example, this permitted the rules to be written in a more English-like knowledge base language.
- the capabilities of the knowledge system can be further enhanced for special applications by interrupting and modifying the control procedure of the inference engine in response to calls to the application supplied "event" subroutine.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
Description
CF2=CF1+CF-CF1*CF/100
TABLE I ______________________________________ "demon" Parameters ______________________________________ Function An integer identification code identifying the particular subroutine. Value ranges for Function: 100 to 199 Data Structure Access Routines: 100 --addCache( ) 105 --addKB( ) 110 getState( ) 115 setState( ) 200 to 299 Inference Engine Routines: 200 evalExpr( ) 205 evalProp( ) 210 evalConclusion( ) 215 noteCache( ) 220 cfCombine( ) 225 addMetaFact( ) 230 addMetaProp( ) 235 parse( ) 236 unParse( ) 240 unify( ) 300 to 399 Application Interface Routines 400 to 499 Application Defined Subroutines Code Indicates the beginning or the end of the calling function. 0 BEGIN - the subroutine is beginning execution. 1 END - the subroutine is ending execution. ______________________________________
TABLE II ______________________________________ Error Identification Codes ______________________________________ 0 Successful execution -1 to -49 Error in parsing a string or unparsing a structure. -50 to -59 Errors associated with meta-facts. -60 to -69 Errors associated with meta-props. -70 to -79 Errors associated with Expression State Table handling -80 to -89 Errors associates with the unifier. -90 to -98 Errors associated with arithmetic meta-props. -99 Miscellaneous "internal" errors. -100 No more memory space. ______________________________________
Claims (41)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US06/837,098 US4783752A (en) | 1986-03-06 | 1986-03-06 | Knowledge based processor for application programs using conventional data processing capabilities |
EP19870301975 EP0245925A3 (en) | 1986-03-06 | 1987-03-06 | Method for using a knowledge system in a conventional programming environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US06/837,098 US4783752A (en) | 1986-03-06 | 1986-03-06 | Knowledge based processor for application programs using conventional data processing capabilities |
Publications (1)
Publication Number | Publication Date |
---|---|
US4783752A true US4783752A (en) | 1988-11-08 |
Family
ID=25273511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US06/837,098 Expired - Lifetime US4783752A (en) | 1986-03-06 | 1986-03-06 | Knowledge based processor for application programs using conventional data processing capabilities |
Country Status (2)
Country | Link |
---|---|
US (1) | US4783752A (en) |
EP (1) | EP0245925A3 (en) |
Cited By (72)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4918620A (en) * | 1988-06-16 | 1990-04-17 | General Electric Company | Expert system method and architecture |
US4924408A (en) * | 1988-08-19 | 1990-05-08 | International Business Machines Corporation | Technique for compilation of knowledge bases |
US4970658A (en) * | 1989-02-16 | 1990-11-13 | Tesseract Corporation | Knowledge engineering tool |
US5006992A (en) * | 1987-09-30 | 1991-04-09 | Du Pont De Nemours And Company | Process control system with reconfigurable expert rules and control modules |
US5047951A (en) * | 1988-05-12 | 1991-09-10 | Kabushiki Kaisha Toshiba | Inference processor using meta knowledge |
US5058043A (en) * | 1989-04-05 | 1991-10-15 | E. I. Du Pont De Nemours & Co. (Inc.) | Batch process control using expert systems |
US5063522A (en) * | 1988-03-15 | 1991-11-05 | Intellisystems, Inc. | Multi-user, artificial intelligent expert system |
US5065338A (en) * | 1986-05-23 | 1991-11-12 | Active English Information Systems, Inc. | Expert information system and method for decision record generation |
US5119318A (en) * | 1989-04-17 | 1992-06-02 | Del Partners L.P. | Expert control system for real time management of automated factory equipment |
US5129086A (en) * | 1988-11-29 | 1992-07-07 | International Business Machines Corporation | System and method for intercommunicating between applications and a database manager |
US5161211A (en) * | 1988-10-19 | 1992-11-03 | Hitachi, Ltd. | Method and system of specification processing |
US5201042A (en) * | 1986-04-30 | 1993-04-06 | Hewlett-Packard Company | Software process and tools for development of local language translations of text portions of computer source code |
US5218669A (en) * | 1988-03-11 | 1993-06-08 | International Chip Corporation | VLSI hardware implemented rule-based expert system apparatus and method |
US5226110A (en) * | 1991-03-29 | 1993-07-06 | The United States Of America As Represened By The Administrator Of The National Aeronautics And Space Administration | Parallel inferencing method and apparatus for rule-based expert systems |
US5228116A (en) * | 1988-07-15 | 1993-07-13 | Aicorp., Inc. | Knowledge base management system |
US5245699A (en) * | 1988-05-12 | 1993-09-14 | Kabushiki Kaisha Toshiba | Inference processor using metal knowledge |
US5263126A (en) * | 1992-09-10 | 1993-11-16 | Chang Hou Mei H | Automatic expert system |
US5271091A (en) * | 1990-07-13 | 1993-12-14 | International Business Machines Corporation | Asynchronous architecture for knowledge-based systems |
US5345587A (en) * | 1988-09-14 | 1994-09-06 | Digital Equipment Corporation | Extensible entity management system including a dispatching kernel and modules which independently interpret and execute commands |
US5396632A (en) * | 1989-08-14 | 1995-03-07 | International Business Machines Corporation | Prolog interrupt processing |
US5412802A (en) * | 1990-05-11 | 1995-05-02 | Hitachi, Ltd. | Reasoning method and fault diagnosis method and system implementing the same |
US5442792A (en) * | 1992-08-07 | 1995-08-15 | Hughes Aircraft Company | Expert system compilation method |
US5544281A (en) * | 1990-05-11 | 1996-08-06 | Hitachi, Ltd. | Method of supporting decision-making for predicting future time-series data using measured values of time-series data stored in a storage and knowledge stored in a knowledge base |
US5598511A (en) * | 1992-12-28 | 1997-01-28 | Intel Corporation | Method and apparatus for interpreting data and accessing on-line documentation in a computer system |
US5694599A (en) * | 1988-12-14 | 1997-12-02 | Sony Corporation | Data control system for a computer's main memory for efficiently realizing virtualization of list structure data living across a real memory space and a virtual memory space |
US5737739A (en) * | 1995-12-19 | 1998-04-07 | Xerox Corporation | System that accesses a knowledge base by markup language tags |
US5829002A (en) * | 1989-02-15 | 1998-10-27 | Priest; W. Curtiss | System for coordinating information transfer and retrieval |
US5875332A (en) * | 1996-05-31 | 1999-02-23 | International Business Machines Corporation | Generating a common gateway interface adapter customized for a stored procedure |
US6397202B1 (en) * | 1999-07-01 | 2002-05-28 | The United States Of America As Represented By The Secretary Of The Navy | System and method for monitoring risk in a system development program |
US6400996B1 (en) | 1999-02-01 | 2002-06-04 | Steven M. Hoffberg | Adaptive pattern recognition based control system and method |
US6418424B1 (en) | 1991-12-23 | 2002-07-09 | Steven M. Hoffberg | Ergonomic man-machine interface incorporating adaptive pattern recognition based control system |
US20020133382A1 (en) * | 1999-02-04 | 2002-09-19 | Ita Software, Inc. | Method and apparatus for providing availability of airline seats |
US6502084B1 (en) | 1999-06-22 | 2002-12-31 | General Electric Company | Method of electronic knowledge extraction, transfer and use |
US20040025147A1 (en) * | 2002-07-31 | 2004-02-05 | David Bau | Mixed language expression loading and execution methods and apparatuses |
US6725218B1 (en) | 2000-04-28 | 2004-04-20 | Cisco Technology, Inc. | Computerized database system and method |
US20040162797A1 (en) * | 2003-02-19 | 2004-08-19 | Matthew Bridges | Enhanced artificial intelligence language |
US20040181753A1 (en) * | 2003-03-10 | 2004-09-16 | Michaelides Phyllis J. | Generic software adapter |
US20050125677A1 (en) * | 2003-12-09 | 2005-06-09 | Michaelides Phyllis J. | Generic token-based authentication system |
US20050182752A1 (en) * | 2004-02-14 | 2005-08-18 | Rojer Alan S. | Method of processing databases |
US20050197880A1 (en) * | 2002-03-25 | 2005-09-08 | Walsh John G. | Method for visually programming instruction set for process |
US20060075224A1 (en) * | 2004-09-24 | 2006-04-06 | David Tao | System for activating multiple applications for concurrent operation |
US7242988B1 (en) | 1991-12-23 | 2007-07-10 | Linda Irene Hoffberg | Adaptive pattern recognition based controller apparatus and method and human-factored interface therefore |
US20090234682A1 (en) * | 1999-11-01 | 2009-09-17 | Ita Software, Inc., A Delaware Corporation | Method and apparatus for providing availability of airline seats |
US20090234787A1 (en) * | 2008-03-14 | 2009-09-17 | Caterpillar Inc. | Integrated problem solving system |
WO2010025390A2 (en) * | 2008-08-29 | 2010-03-04 | The Administrators Of The Tulane Educational Fund | Copyright status determination system and method |
US20100153143A1 (en) * | 1999-11-01 | 2010-06-17 | David Baggett | Availability processing in a travel planning system |
US20100205140A1 (en) * | 2003-03-04 | 2010-08-12 | Kurzweil Technologies, Inc., a Massachusetts corporation | Enhanced Artificial Intelligence Language |
US7974714B2 (en) | 1999-10-05 | 2011-07-05 | Steven Mark Hoffberg | Intelligent electronic appliance system and method |
US20110191127A1 (en) * | 2000-07-13 | 2011-08-04 | Ita Software, Inc., A Massachusetts Corporation | Competitive Availability Tools |
US8046313B2 (en) | 1991-12-23 | 2011-10-25 | Hoffberg Steven M | Ergonomic man-machine interface incorporating adaptive pattern recognition based control system |
US20120330875A1 (en) * | 2011-06-24 | 2012-12-27 | Angele Juergen | Structure index |
US8369967B2 (en) | 1999-02-01 | 2013-02-05 | Hoffberg Steven M | Alarm system controller and a method for controlling an alarm system |
RU2520390C1 (en) * | 2013-01-11 | 2014-06-27 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Российский государственный торгово-экономический университет" | Apparatus for quantitative estimation of quality indicator |
US8892495B2 (en) | 1991-12-23 | 2014-11-18 | Blanding Hovenweep, Llc | Adaptive pattern recognition based controller apparatus and method and human-interface therefore |
US8964338B2 (en) | 2012-01-11 | 2015-02-24 | Emerson Climate Technologies, Inc. | System and method for compressor motor protection |
US8974573B2 (en) | 2004-08-11 | 2015-03-10 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US9121407B2 (en) | 2004-04-27 | 2015-09-01 | Emerson Climate Technologies, Inc. | Compressor diagnostic and protection system and method |
US9140728B2 (en) | 2007-11-02 | 2015-09-22 | Emerson Climate Technologies, Inc. | Compressor sensor module |
US9158599B2 (en) | 2013-06-27 | 2015-10-13 | Sap Se | Programming framework for applications |
US9285802B2 (en) | 2011-02-28 | 2016-03-15 | Emerson Electric Co. | Residential solutions HVAC monitoring and diagnosis |
US9310439B2 (en) | 2012-09-25 | 2016-04-12 | Emerson Climate Technologies, Inc. | Compressor having a control and diagnostic module |
US9310094B2 (en) | 2007-07-30 | 2016-04-12 | Emerson Climate Technologies, Inc. | Portable method and apparatus for monitoring refrigerant-cycle systems |
US9551504B2 (en) | 2013-03-15 | 2017-01-24 | Emerson Electric Co. | HVAC system remote monitoring and diagnosis |
US9638436B2 (en) | 2013-03-15 | 2017-05-02 | Emerson Electric Co. | HVAC system remote monitoring and diagnosis |
US9765979B2 (en) | 2013-04-05 | 2017-09-19 | Emerson Climate Technologies, Inc. | Heat-pump system with refrigerant charge diagnostics |
US9803902B2 (en) | 2013-03-15 | 2017-10-31 | Emerson Climate Technologies, Inc. | System for refrigerant charge verification using two condenser coil temperatures |
US9823632B2 (en) | 2006-09-07 | 2017-11-21 | Emerson Climate Technologies, Inc. | Compressor data module |
US9885507B2 (en) | 2006-07-19 | 2018-02-06 | Emerson Climate Technologies, Inc. | Protection and diagnostic module for a refrigeration system |
US10333696B2 (en) | 2015-01-12 | 2019-06-25 | X-Prime, Inc. | Systems and methods for implementing an efficient, scalable homomorphic transformation of encrypted data with minimal data expansion and improved processing efficiency |
US10361802B1 (en) | 1999-02-01 | 2019-07-23 | Blanding Hovenweep, Llc | Adaptive pattern recognition based control system and method |
US10762750B2 (en) * | 2016-05-26 | 2020-09-01 | Organisation Mecanographique Et Comptable Gervais Oms Gervais | Method for triggering additional actions carried out by an electronic device cooperating with a peripheral |
US11449485B1 (en) * | 2017-03-30 | 2022-09-20 | Pure Storage, Inc. | Sequence invalidation consolidation in a storage system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BG49592A1 (en) * | 1988-11-17 | 1991-12-16 | Inst Mikroelektronika | Electronic scheme for processing knowledge |
US5303332A (en) * | 1990-07-30 | 1994-04-12 | Digital Equipment Corporation | Language for economically building complex, large-scale, efficient, rule-based systems and sub-systems |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4286330A (en) * | 1976-04-07 | 1981-08-25 | Isaacson Joel D | Autonomic string-manipulation system |
US4558413A (en) * | 1983-11-21 | 1985-12-10 | Xerox Corporation | Software version management system |
US4591983A (en) * | 1984-07-09 | 1986-05-27 | Teknowledge, Inc. | Hierarchical knowledge system |
US4595982A (en) * | 1983-09-02 | 1986-06-17 | Burt Frank N | Expert system and method for making decisions in accordance with the decisions of a mentor |
US4644479A (en) * | 1984-07-31 | 1987-02-17 | Westinghouse Electric Corp. | Diagnostic apparatus |
US4648044A (en) * | 1984-06-06 | 1987-03-03 | Teknowledge, Inc. | Basic expert system tool |
US4649515A (en) * | 1984-04-30 | 1987-03-10 | Westinghouse Electric Corp. | Methods and apparatus for system fault diagnosis and control |
US4658370A (en) * | 1984-06-07 | 1987-04-14 | Teknowledge, Inc. | Knowledge engineering tool |
-
1986
- 1986-03-06 US US06/837,098 patent/US4783752A/en not_active Expired - Lifetime
-
1987
- 1987-03-06 EP EP19870301975 patent/EP0245925A3/en not_active Ceased
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4286330A (en) * | 1976-04-07 | 1981-08-25 | Isaacson Joel D | Autonomic string-manipulation system |
US4595982A (en) * | 1983-09-02 | 1986-06-17 | Burt Frank N | Expert system and method for making decisions in accordance with the decisions of a mentor |
US4558413A (en) * | 1983-11-21 | 1985-12-10 | Xerox Corporation | Software version management system |
US4649515A (en) * | 1984-04-30 | 1987-03-10 | Westinghouse Electric Corp. | Methods and apparatus for system fault diagnosis and control |
US4648044A (en) * | 1984-06-06 | 1987-03-03 | Teknowledge, Inc. | Basic expert system tool |
US4658370A (en) * | 1984-06-07 | 1987-04-14 | Teknowledge, Inc. | Knowledge engineering tool |
US4591983A (en) * | 1984-07-09 | 1986-05-27 | Teknowledge, Inc. | Hierarchical knowledge system |
US4644479A (en) * | 1984-07-31 | 1987-02-17 | Westinghouse Electric Corp. | Diagnostic apparatus |
Non-Patent Citations (14)
Title |
---|
Abelson et al., Structure and Interpretation of Computer Programs, MIT Press (1985) pp. xi xiv. * |
Abelson et al., Structure and Interpretation of Computer Programs, MIT Press (1985) pp. xi-xiv. |
Avron Barr & Edward A. Fiegenbaum, The Handbook of Artificial Intelligence, vol. II, Ch. VI, (1982) pp. 1 76. * |
Avron Barr & Edward A. Fiegenbaum, The Handbook of Artificial Intelligence, vol. II, Ch. VI, (1982) pp. 1-76. |
Erman et al., U.S. Pat. App. Ser. No. 618,038 filed Jun. 7, 1984. * |
Hardy U.S. Pat. Appl. Ser. 617,791 filed Jun. 6, 1984. * |
R. Anderson, J. Gillogly, "RAND Intelligent Terminal Agent (RITA): Design Philosophy". RAND R-1809-ARPA, 1976. |
R. Anderson, J. Gillogly, RAND Intelligent Terminal Agent (RITA): Design Philosophy . RAND R 1809 ARPA, 1976. * |
Rosen ed., Programming Systems and Languages, pp. 490 492 (Apr., 1964). * |
Rosen ed., Programming Systems and Languages, pp. 490-492 (Apr., 1964). |
Sloman et al., "POPLOG: a Multilanguage Program Development Environment," Info. Tech.: Res. & Dev. 2 (1983) pp. 109-122. |
Sloman et al., POPLOG: a Multilanguage Program Development Environment, Info. Tech.: Res. & Dev. 2 (1983) pp. 109 122. * |
W. Van Melle et al., The Emycin Manual, Stanford University Report No. STAN CS 81 885, Stanford, California (Oct. 1981). * |
W. Van Melle et al., The Emycin Manual, Stanford University Report No. STAN-CS-81-885, Stanford, California (Oct. 1981). |
Cited By (122)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5201042A (en) * | 1986-04-30 | 1993-04-06 | Hewlett-Packard Company | Software process and tools for development of local language translations of text portions of computer source code |
US5065338A (en) * | 1986-05-23 | 1991-11-12 | Active English Information Systems, Inc. | Expert information system and method for decision record generation |
US5006992A (en) * | 1987-09-30 | 1991-04-09 | Du Pont De Nemours And Company | Process control system with reconfigurable expert rules and control modules |
US5218669A (en) * | 1988-03-11 | 1993-06-08 | International Chip Corporation | VLSI hardware implemented rule-based expert system apparatus and method |
US5063522A (en) * | 1988-03-15 | 1991-11-05 | Intellisystems, Inc. | Multi-user, artificial intelligent expert system |
US5047951A (en) * | 1988-05-12 | 1991-09-10 | Kabushiki Kaisha Toshiba | Inference processor using meta knowledge |
US5245699A (en) * | 1988-05-12 | 1993-09-14 | Kabushiki Kaisha Toshiba | Inference processor using metal knowledge |
US4918620A (en) * | 1988-06-16 | 1990-04-17 | General Electric Company | Expert system method and architecture |
US5228116A (en) * | 1988-07-15 | 1993-07-13 | Aicorp., Inc. | Knowledge base management system |
US4924408A (en) * | 1988-08-19 | 1990-05-08 | International Business Machines Corporation | Technique for compilation of knowledge bases |
US6438591B1 (en) | 1988-09-14 | 2002-08-20 | Compaq Information Technologies Group L.P. | Entity management system |
US5832224A (en) * | 1988-09-14 | 1998-11-03 | Digital Equipment Corporation | Entity management system |
US5475838A (en) * | 1988-09-14 | 1995-12-12 | Digital Equipment Corporation | Extensible entity management system including rule-based alarms |
US5608907A (en) * | 1988-09-14 | 1997-03-04 | Digital Equipment Corp. | Extensible entity management system including an information manager for obtaining, storing and retrieving information from entities |
US5345587A (en) * | 1988-09-14 | 1994-09-06 | Digital Equipment Corporation | Extensible entity management system including a dispatching kernel and modules which independently interpret and execute commands |
US5557796A (en) * | 1988-09-14 | 1996-09-17 | Digital Equipment Corp. | Extensible entity management system including a dispatching kernel and modules which independently interpret and execute commands |
US5161211A (en) * | 1988-10-19 | 1992-11-03 | Hitachi, Ltd. | Method and system of specification processing |
US5129086A (en) * | 1988-11-29 | 1992-07-07 | International Business Machines Corporation | System and method for intercommunicating between applications and a database manager |
US6067607A (en) * | 1988-12-14 | 2000-05-23 | Sony Corporation | Data control system for a computer's main memory for efficiently realizing virtualization of list structure data lying across a real memory space and a virtual memory space |
US5694599A (en) * | 1988-12-14 | 1997-12-02 | Sony Corporation | Data control system for a computer's main memory for efficiently realizing virtualization of list structure data living across a real memory space and a virtual memory space |
US5829002A (en) * | 1989-02-15 | 1998-10-27 | Priest; W. Curtiss | System for coordinating information transfer and retrieval |
US4970658A (en) * | 1989-02-16 | 1990-11-13 | Tesseract Corporation | Knowledge engineering tool |
US5058043A (en) * | 1989-04-05 | 1991-10-15 | E. I. Du Pont De Nemours & Co. (Inc.) | Batch process control using expert systems |
US5119318A (en) * | 1989-04-17 | 1992-06-02 | Del Partners L.P. | Expert control system for real time management of automated factory equipment |
US5396632A (en) * | 1989-08-14 | 1995-03-07 | International Business Machines Corporation | Prolog interrupt processing |
US5412802A (en) * | 1990-05-11 | 1995-05-02 | Hitachi, Ltd. | Reasoning method and fault diagnosis method and system implementing the same |
US5544281A (en) * | 1990-05-11 | 1996-08-06 | Hitachi, Ltd. | Method of supporting decision-making for predicting future time-series data using measured values of time-series data stored in a storage and knowledge stored in a knowledge base |
US5271091A (en) * | 1990-07-13 | 1993-12-14 | International Business Machines Corporation | Asynchronous architecture for knowledge-based systems |
US5226110A (en) * | 1991-03-29 | 1993-07-06 | The United States Of America As Represened By The Administrator Of The National Aeronautics And Space Administration | Parallel inferencing method and apparatus for rule-based expert systems |
US8892495B2 (en) | 1991-12-23 | 2014-11-18 | Blanding Hovenweep, Llc | Adaptive pattern recognition based controller apparatus and method and human-interface therefore |
US6418424B1 (en) | 1991-12-23 | 2002-07-09 | Steven M. Hoffberg | Ergonomic man-machine interface incorporating adaptive pattern recognition based control system |
US8046313B2 (en) | 1991-12-23 | 2011-10-25 | Hoffberg Steven M | Ergonomic man-machine interface incorporating adaptive pattern recognition based control system |
US7242988B1 (en) | 1991-12-23 | 2007-07-10 | Linda Irene Hoffberg | Adaptive pattern recognition based controller apparatus and method and human-factored interface therefore |
US5442792A (en) * | 1992-08-07 | 1995-08-15 | Hughes Aircraft Company | Expert system compilation method |
US5263126A (en) * | 1992-09-10 | 1993-11-16 | Chang Hou Mei H | Automatic expert system |
US5598511A (en) * | 1992-12-28 | 1997-01-28 | Intel Corporation | Method and apparatus for interpreting data and accessing on-line documentation in a computer system |
US5737739A (en) * | 1995-12-19 | 1998-04-07 | Xerox Corporation | System that accesses a knowledge base by markup language tags |
US6067414A (en) * | 1996-05-31 | 2000-05-23 | International Business Machines Corporation | Generating a common gateway interface adaptor customized for a stored procedure |
US5875332A (en) * | 1996-05-31 | 1999-02-23 | International Business Machines Corporation | Generating a common gateway interface adapter customized for a stored procedure |
US8583263B2 (en) | 1999-02-01 | 2013-11-12 | Steven M. Hoffberg | Internet appliance system and method |
US8369967B2 (en) | 1999-02-01 | 2013-02-05 | Hoffberg Steven M | Alarm system controller and a method for controlling an alarm system |
US6640145B2 (en) | 1999-02-01 | 2003-10-28 | Steven Hoffberg | Media recording device with packet data interface |
US6400996B1 (en) | 1999-02-01 | 2002-06-04 | Steven M. Hoffberg | Adaptive pattern recognition based control system and method |
US9535563B2 (en) | 1999-02-01 | 2017-01-03 | Blanding Hovenweep, Llc | Internet appliance system and method |
US10361802B1 (en) | 1999-02-01 | 2019-07-23 | Blanding Hovenweep, Llc | Adaptive pattern recognition based control system and method |
US20020133382A1 (en) * | 1999-02-04 | 2002-09-19 | Ita Software, Inc. | Method and apparatus for providing availability of airline seats |
US8239219B2 (en) | 1999-02-04 | 2012-08-07 | Google Inc. | Method and apparatus for providing availability of airline seats |
US8560356B2 (en) * | 1999-02-04 | 2013-10-15 | Google Inc. | Method and apparatus for providing availability of airline seats |
US20080312977A1 (en) * | 1999-02-04 | 2008-12-18 | Ita Software, Inc. | Method and apparatus for providing availability of airline seats |
US6502084B1 (en) | 1999-06-22 | 2002-12-31 | General Electric Company | Method of electronic knowledge extraction, transfer and use |
US6397202B1 (en) * | 1999-07-01 | 2002-05-28 | The United States Of America As Represented By The Secretary Of The Navy | System and method for monitoring risk in a system development program |
US7974714B2 (en) | 1999-10-05 | 2011-07-05 | Steven Mark Hoffberg | Intelligent electronic appliance system and method |
US20100153143A1 (en) * | 1999-11-01 | 2010-06-17 | David Baggett | Availability processing in a travel planning system |
US20090234682A1 (en) * | 1999-11-01 | 2009-09-17 | Ita Software, Inc., A Delaware Corporation | Method and apparatus for providing availability of airline seats |
US6725218B1 (en) | 2000-04-28 | 2004-04-20 | Cisco Technology, Inc. | Computerized database system and method |
US20110191127A1 (en) * | 2000-07-13 | 2011-08-04 | Ita Software, Inc., A Massachusetts Corporation | Competitive Availability Tools |
US8543432B2 (en) | 2000-07-13 | 2013-09-24 | Google Inc. | Competitive availability tools |
US7320016B2 (en) * | 2002-03-25 | 2008-01-15 | Data Quality Solutions, Inc. | Method for visually programming instruction set for process |
US20050197880A1 (en) * | 2002-03-25 | 2005-09-08 | Walsh John G. | Method for visually programming instruction set for process |
US7043722B2 (en) * | 2002-07-31 | 2006-05-09 | Bea Systems, Inc. | Mixed language expression loading and execution methods and apparatuses |
US20040025147A1 (en) * | 2002-07-31 | 2004-02-05 | David Bau | Mixed language expression loading and execution methods and apparatuses |
US7337157B2 (en) * | 2003-02-19 | 2008-02-26 | Kurzweil Technologies, Inc. | System, method, and product of manufacture for implementing an EAIL (enhanced artificial intelligence language) engine |
US20040162797A1 (en) * | 2003-02-19 | 2004-08-19 | Matthew Bridges | Enhanced artificial intelligence language |
US20100205140A1 (en) * | 2003-03-04 | 2010-08-12 | Kurzweil Technologies, Inc., a Massachusetts corporation | Enhanced Artificial Intelligence Language |
US7984005B2 (en) | 2003-03-04 | 2011-07-19 | Kurzweil Technologies, Inc. | Enhanced artificial intelligence language |
US20040181753A1 (en) * | 2003-03-10 | 2004-09-16 | Michaelides Phyllis J. | Generic software adapter |
US20050125677A1 (en) * | 2003-12-09 | 2005-06-09 | Michaelides Phyllis J. | Generic token-based authentication system |
US7454429B2 (en) | 2004-02-14 | 2008-11-18 | Alan S Rojer | Declarative Dispatch |
US20050182752A1 (en) * | 2004-02-14 | 2005-08-18 | Rojer Alan S. | Method of processing databases |
US9121407B2 (en) | 2004-04-27 | 2015-09-01 | Emerson Climate Technologies, Inc. | Compressor diagnostic and protection system and method |
US10335906B2 (en) | 2004-04-27 | 2019-07-02 | Emerson Climate Technologies, Inc. | Compressor diagnostic and protection system and method |
US9669498B2 (en) | 2004-04-27 | 2017-06-06 | Emerson Climate Technologies, Inc. | Compressor diagnostic and protection system and method |
US9021819B2 (en) | 2004-08-11 | 2015-05-05 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US9690307B2 (en) | 2004-08-11 | 2017-06-27 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring refrigeration-cycle systems |
US8974573B2 (en) | 2004-08-11 | 2015-03-10 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US9017461B2 (en) | 2004-08-11 | 2015-04-28 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US10558229B2 (en) | 2004-08-11 | 2020-02-11 | Emerson Climate Technologies Inc. | Method and apparatus for monitoring refrigeration-cycle systems |
US9023136B2 (en) | 2004-08-11 | 2015-05-05 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US9304521B2 (en) | 2004-08-11 | 2016-04-05 | Emerson Climate Technologies, Inc. | Air filter monitoring system |
US9046900B2 (en) | 2004-08-11 | 2015-06-02 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring refrigeration-cycle systems |
US9081394B2 (en) | 2004-08-11 | 2015-07-14 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US9086704B2 (en) | 2004-08-11 | 2015-07-21 | Emerson Climate Technologies, Inc. | Method and apparatus for monitoring a refrigeration-cycle system |
US20060075224A1 (en) * | 2004-09-24 | 2006-04-06 | David Tao | System for activating multiple applications for concurrent operation |
US9885507B2 (en) | 2006-07-19 | 2018-02-06 | Emerson Climate Technologies, Inc. | Protection and diagnostic module for a refrigeration system |
US9823632B2 (en) | 2006-09-07 | 2017-11-21 | Emerson Climate Technologies, Inc. | Compressor data module |
US9310094B2 (en) | 2007-07-30 | 2016-04-12 | Emerson Climate Technologies, Inc. | Portable method and apparatus for monitoring refrigerant-cycle systems |
US10352602B2 (en) | 2007-07-30 | 2019-07-16 | Emerson Climate Technologies, Inc. | Portable method and apparatus for monitoring refrigerant-cycle systems |
US9140728B2 (en) | 2007-11-02 | 2015-09-22 | Emerson Climate Technologies, Inc. | Compressor sensor module |
US10458404B2 (en) | 2007-11-02 | 2019-10-29 | Emerson Climate Technologies, Inc. | Compressor sensor module |
US9194894B2 (en) | 2007-11-02 | 2015-11-24 | Emerson Climate Technologies, Inc. | Compressor sensor module |
US8010477B2 (en) | 2008-03-14 | 2011-08-30 | Caterpillar Inc. | Integrated problem solving system |
US20090234787A1 (en) * | 2008-03-14 | 2009-09-17 | Caterpillar Inc. | Integrated problem solving system |
WO2010025390A3 (en) * | 2008-08-29 | 2010-06-17 | The Administrators Of The Tulane Educational Fund | Copyright status determination system and method |
RU2550532C2 (en) * | 2008-08-29 | 2015-05-10 | Дзе Администрейторс Оф Дзе Тьюлейн Эдьюкейшнл Фанд | System and method of determining copyright status |
WO2010025390A2 (en) * | 2008-08-29 | 2010-03-04 | The Administrators Of The Tulane Educational Fund | Copyright status determination system and method |
CN102224504A (en) * | 2008-08-29 | 2011-10-19 | 图兰恩教育基金管理人 | Copyright status determination system and method |
US20120233079A1 (en) * | 2008-08-29 | 2012-09-13 | The Administrators Of The Tulane Educational Fund | Copyright Status Determination System and Method |
CN102224504B (en) * | 2008-08-29 | 2015-07-22 | 图兰恩教育基金管理人 | Copyright status determination system and method |
US10884403B2 (en) | 2011-02-28 | 2021-01-05 | Emerson Electric Co. | Remote HVAC monitoring and diagnosis |
US9285802B2 (en) | 2011-02-28 | 2016-03-15 | Emerson Electric Co. | Residential solutions HVAC monitoring and diagnosis |
US9703287B2 (en) | 2011-02-28 | 2017-07-11 | Emerson Electric Co. | Remote HVAC monitoring and diagnosis |
US10234854B2 (en) | 2011-02-28 | 2019-03-19 | Emerson Electric Co. | Remote HVAC monitoring and diagnosis |
US20120330875A1 (en) * | 2011-06-24 | 2012-12-27 | Angele Juergen | Structure index |
US9590413B2 (en) | 2012-01-11 | 2017-03-07 | Emerson Climate Technologies, Inc. | System and method for compressor motor protection |
US8964338B2 (en) | 2012-01-11 | 2015-02-24 | Emerson Climate Technologies, Inc. | System and method for compressor motor protection |
US9876346B2 (en) | 2012-01-11 | 2018-01-23 | Emerson Climate Technologies, Inc. | System and method for compressor motor protection |
US9762168B2 (en) | 2012-09-25 | 2017-09-12 | Emerson Climate Technologies, Inc. | Compressor having a control and diagnostic module |
US9310439B2 (en) | 2012-09-25 | 2016-04-12 | Emerson Climate Technologies, Inc. | Compressor having a control and diagnostic module |
RU2520390C1 (en) * | 2013-01-11 | 2014-06-27 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Российский государственный торгово-экономический университет" | Apparatus for quantitative estimation of quality indicator |
US10274945B2 (en) | 2013-03-15 | 2019-04-30 | Emerson Electric Co. | HVAC system remote monitoring and diagnosis |
US10775084B2 (en) | 2013-03-15 | 2020-09-15 | Emerson Climate Technologies, Inc. | System for refrigerant charge verification |
US9803902B2 (en) | 2013-03-15 | 2017-10-31 | Emerson Climate Technologies, Inc. | System for refrigerant charge verification using two condenser coil temperatures |
US10488090B2 (en) | 2013-03-15 | 2019-11-26 | Emerson Climate Technologies, Inc. | System for refrigerant charge verification |
US9638436B2 (en) | 2013-03-15 | 2017-05-02 | Emerson Electric Co. | HVAC system remote monitoring and diagnosis |
US9551504B2 (en) | 2013-03-15 | 2017-01-24 | Emerson Electric Co. | HVAC system remote monitoring and diagnosis |
US10060636B2 (en) | 2013-04-05 | 2018-08-28 | Emerson Climate Technologies, Inc. | Heat pump system with refrigerant charge diagnostics |
US10443863B2 (en) | 2013-04-05 | 2019-10-15 | Emerson Climate Technologies, Inc. | Method of monitoring charge condition of heat pump system |
US9765979B2 (en) | 2013-04-05 | 2017-09-19 | Emerson Climate Technologies, Inc. | Heat-pump system with refrigerant charge diagnostics |
US9158599B2 (en) | 2013-06-27 | 2015-10-13 | Sap Se | Programming framework for applications |
US10333696B2 (en) | 2015-01-12 | 2019-06-25 | X-Prime, Inc. | Systems and methods for implementing an efficient, scalable homomorphic transformation of encrypted data with minimal data expansion and improved processing efficiency |
US10762750B2 (en) * | 2016-05-26 | 2020-09-01 | Organisation Mecanographique Et Comptable Gervais Oms Gervais | Method for triggering additional actions carried out by an electronic device cooperating with a peripheral |
US11449485B1 (en) * | 2017-03-30 | 2022-09-20 | Pure Storage, Inc. | Sequence invalidation consolidation in a storage system |
Also Published As
Publication number | Publication date |
---|---|
EP0245925A3 (en) | 1992-03-04 |
EP0245925A2 (en) | 1987-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4783752A (en) | Knowledge based processor for application programs using conventional data processing capabilities | |
US4658370A (en) | Knowledge engineering tool | |
US5418888A (en) | System for revelance criteria management of actions and values in a rete network | |
Détienne | Software design–cognitive aspect | |
Adeli | Expert systems in construction and structural engineering | |
Petrick | On natural language based computer systems | |
Motta | Reusable components for knowledge modelling | |
Miller | Natural language programming: Styles, strategies, and contrasts | |
Stylianou et al. | Selection criteria for expert system shells: a socio-technical framework | |
Siler et al. | Fuzzy expert systems and fuzzy reasoning | |
US4803641A (en) | Basic expert system tool | |
WO1985005711A1 (en) | Basic expert system tool | |
Barrett et al. | UCPOP user's manual | |
Griffioen et al. | A comparison of PVS and Isabelle/HOL | |
Nichols | Inventing Software: The Rise of Computer-Related Patents | |
Walker | Prolog/Ex 1, An Inference Engine Which Explains Both Yes and No Answers. | |
Craig | Formal techniques in the development of blackboard systems | |
Settle Jr et al. | Expert system development tools for chemists | |
Osyk et al. | INTEGRATING EXPERT SYSTEMS AND NEURAL NETS Exploring the Boundaries of AI | |
Covington et al. | PROLOG programming in depth | |
Lange | Practical machine learning with R: tutorials and case studies | |
Constant et al. | LEW: learning by watching | |
Quant | NL2Py: A Natural Language Interface for Processing Data with Python/eingereicht von Simeon David Quant | |
Mackerle | A review of expert systems development tools | |
Jafar | A tool for interactive verification and validation of rule-based expert systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: TEKNOWLEDGE INCORPORATED, PALO ALTO, CA. 94301 A C Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNORS:KAPLAN, SAMUEL J.;KING, JONATHAN J.;SAGALOWICZ, DANIEL;REEL/FRAME:004644/0858 Effective date: 19860304 Owner name: TEKNOWLEDGE INCORPORATED, A CORP. OF CA., CALIFOR Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAPLAN, SAMUEL J.;KING, JONATHAN J.;SAGALOWICZ, DANIEL;REEL/FRAME:004644/0858 Effective date: 19860304 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
REMI | Maintenance fee reminder mailed | ||
FPAY | Fee payment |
Year of fee payment: 12 |
|
SULP | Surcharge for late payment | ||
AS | Assignment |
Owner name: MERRILL LYNCH BUSINESS FINANCIAL SERVICES, INC., I Free format text: SECURITY AGREEMENT;ASSIGNOR:TEKNOWLEDGE CORPORATION;REEL/FRAME:011958/0436 Effective date: 20010614 |
|
AS | Assignment |
Owner name: BRIDGE BANK, NA, CALIFORNIA Free format text: SECURITY INTEREST;ASSIGNOR:TEKNOWLEDGE, INC.;REEL/FRAME:014015/0298 Effective date: 20030328 |
|
AS | Assignment |
Owner name: TEKNOWLEDGE CORPORATION, CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:MERRILL LYNCH BUSINESS FINANCIAL SERVICES, INC.;REEL/FRAME:021590/0575 Effective date: 20080926 |
|
AS | Assignment |
Owner name: TEKNOWLEDGE CORPORATION, CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:BRIDGE BANK NA;REEL/FRAME:021617/0520 Effective date: 20080929 |