Abstract
Traditionally, rule-based forward-chaining systems are considered to be standalone, working on a volatile memory. This paper focuses on the integration of forward-chaining rules with command-driven programming paradigms in the context of permanent, integrated knowledge bases. A system architecture is proposed that integrates the data management functions of large computerized knowledge bases into a module called a knowledge base management system (KBMS). Experiences we had in integrating rules with operations into a prototype KBMS called DALI are surveyed. For this integration, a new form of production rule, called the activation pattern controlled rule, is introduced, which augments traditional forward-chaining rules by a second, additional left-hand side, which allows making rules sensitive to calls of particular operations. Activation pattern controlled rules play an important role in DALI's system architecture, because they facilitate the storage of knowledge that has been specified relying on mixed programming, a combination of data-driven, command-driven, and preventive programming. The general problems of implementing permanent knowledge bases that contain rules and operations are discussed, and an algorithm for implementating activation pattern controlled rules, called IPTREAT, a generalization of the TREAT algorithm, is provided. Furthermore, the paper intends to clarify the differences between traditional, volatile rule-based systems and rule-based systems that are geared toward knowledge integration by supporting a permanent knowledge base.
Similar content being viewed by others
References
C. Eick, J. Liu, and P. Werstein, “Integration of rules into a knowledge base management system,” inProc. 1st Int. IEEE Conf. on Systems Integration, Morristown, NJ, pp. 86–95, April 1990.
L. Browston, R. Farrell, E. Kant, and N. Mantin,Programming Expert Systems in OPS5—An Introduction to Rule-Based Programming, Reading, MA: Addison-Wesley, 1985.
Inference Corporation,ART Reference Manual, Los Angeles: Inference Corp., 1986.
J. Giarratano and G. Riley,Expert System—Principles and Programming, Boston: PWS-KENT, 1989.
B. Buchanan and E. Shortliffe,Rule-Based Expert Systems: The MYCIN Experiments of the Stanford Heuristic Programming Project, Reading, MA: Addison-Wesley, 1984.
W. Clocksin and C. Mellish,Programming in PROLOG, 2nd ed., New York: Springer-Verlag, 1984.
IntelliCorp, KEE Primer KEE Version 3.1. IntelliCorp publication number K3.1-P-1, 1988.
C. Forgy, “RETE: A fast algorithm for the many patterns/many objects pattern matching problem,”Artificial Intell., vol. 33, no. 1, pp. 17–37, 1982.
D. Miranker, “TREAT—A better match algorithm for AI production systems”, inProc. 6th Nat. Conf. on Artificial Intelligence, Seattle, WA, pp. 42–47, July 1987.
S. Zdonik and D. Maier (eds.),Readings in Object-Oriented Database Systems, San Mateo, CA: Kaufmann, 1990.
A. Alashur, S. Su, and H. Lam, “A rule-based language for deductive object-oriented databases,” inProc. Sixth Int. Conference on Data Engineering, Los Angeles, CA, pp. 58–67, 1990.
H. Decker, “Integrity enforcement on deductive databases,” in L. Kerschberg (ed.),Proc. 1st Int. Conf. on Expert Data Base Systems, Menlo Park, CA: Benjamin/Cummings, pp. 381–396, 1987.
R. Kowalski, F. Sadri, and P. Soper, “Integrity checking in deductive databases,” inProc. Int. Conf. on Very Large Databases, Brighton, England, pp. 61–69, 1989.
B. Martens and M. Bruynooghe, “Integrity constraint checking in deductive databases,” in L. Kerschberg (ed.),Proc. 2nd Int. Conf. on Expert Database Systems, Menlo Park, CA: Benjamin/Cummings, pp. 297–310, 1988.
P. Sheu and W. Sull, “Knowledge management in deductive object bases,”Data & Knowledge Eng., vol. 5, no. 1, pp. 29–58, 1990.
D. McCarthy and U. Dayal, “The architecture of an active data base management system,” inProc. ACM-SIGMOD Conf. on Management of Data, Portland, OR, pp. 215–224, 1989.
M. Stonebraker and L. Rowe, “The design of POSTGRES,” inProc. ACM-SIGMOD Conf. on Management of Data, Washington, D.C., pp. 340–355, 1986.
K. P. Eswaran et al., “The notations of consistency and predicate locks in a database system,”CACM, vol. 19, no. 11, pp. 624–633, 1976.
D.D. Chamberlin et al., “SEQUEL 2: A unified approach to data definition, data manipulation, manipulation and control,”IBM J. Research and Development, pp. 561–575, 1976.
M. Stonebraker, “Triggers and inference in database systems,” in M.L. Brodie et al. (eds.),Knowledge Base Management Systems, Berlin: Springer-Verlag, pp. 297–314, 1986.
M. Stonebraker, H. Hanson, and S. Potomianos, “The POSTGRES rule manager,”Trans. Software Eng., vol. 14, no. 7, pp. 897–906, 1988.
L. Raschid, “Management of disk resident rules,” Technical Report, University of Maryland, 1990.
D. Cohen, “Compiling complex database transition triggers,” inProc. ACM-SIGMOD Conf. Management of Data, Portland, OR, pp. 365–374, 1989.
T. Sellis, C. Lin, and L. Raschid, “Implementing large production systems in a DMBS-environment: Concepts and algorithms,” inProc. ACM-SIGMOD Conf. on the Management of Data, Chicago, IL, pp. 404–412, 1988.
J. Tan, M. Maheshwari, and J. Srivastava, “Gridmatch: A basis for integrating productions systems with relational databases,” Technical Report TR 90-14, University of Minnesota, Feb. 1990.
M.L. Brodie et al. (eds.),On Knowledge Base Management Systems, Berlin: Springer-Verlag, 1986.
J. Liu, “Efficient access to knowledge bases,” Master's thesis, University of Houston, May 1989.
P. Werstein, “Speeding up rules in integrated knowledge bases,” Master's thesis, University of Houston, April 1990.
C. Eick and P. Lockemann, “Acquisition of terminological knowledge using database design techniques,” inProc. ACM-SIGMOD Conf. on Management of Data, Austin, TX, pp. 84–94, 1985.
C. Eick, R. Kochhar, and S. Kumar, “DALI—A knowledge base management system,” inProc. 1st Int. Conf. on Industrial and Engineering Applications of Expert Systems and Artificial Intelligence, Tullahoma, pp. 837–846, 1988.
C. Eick and T. Raupp, “Towards a formal semantics and inference rules for conceptual data models,” to appear inData & Knowledge Engineering, vol. 6, no. 4, pp. 297–318, July 1991.
C. Eick and P. Werstein, “Rule-based consistency enforcement for knowledge-based systems,” accepted for publication inIEEE Trans. Knowledge and Data Eng., in 1992.
A. Gupta, C. Forgy, and A. Newell, “High speed implementation of rule-based systems,”ACM Trans. Computer Syst., vol. 7, no. 2, pp. 119–146, 1989
P. Nayak, A. Gupta, and P. Rosenbloom, “Comparison of the RETE And TREAT production matchers for SOAR,” inProc. AAAI Conf., St. Paul, MN, pp. 693–698, 1988.
M. Perlin and J. Debaud, “Matchbox: Fine-grained parallelism at the match level,” inProc. IEEE Int. Workshop on Tools in AI, Fairfax, VA, pp. 428–434, 1989.
D. Miranker and D. Brant, “An algorithmic basis for integrating production systems and large databases”, inProc. 6th Int. Conf. on Data Engineering, Los Angeles, CA, pp. 353–360, 1990.
B. Czejdo, C. Eick, and M. Taylor, “Methods and tools for integrating databases, object-oriented languages and rule-based systems,”J. Artificial Intell. in Education, vol. 2, no. 3, pp. 51–62, Spring 1991.
Author information
Authors and Affiliations
Additional information
This paper is an extended and significantly revised version of a paper entitled “Integrating Rules into a Knowledge Base Management System,” which was presented at the First International Conference on Systems Integration, April 1990 [1].
Rights and permissions
About this article
Cite this article
Eick, C.F., Liu, JL. & Werstein, P. Integrating forward-chaining rules with operations and permanent knowledge bases. Journal of Systems Integration 2, 263–290 (1992). https://doi.org/10.1007/BF02265078
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02265078