This Article 
 Bibliographic References 
 Add to: 
Algorithms for Constructing Minimal Deduction Graphs
June 1989 (vol. 15 no. 6)
pp. 760-770

Two algorithms for constructing minimal deduction graphs (MDG) for inferring rules and facts in an extended version of the Horn clause logic are described. A deduction graph (DG) is minimal if the number of arcs in the graph is minimized. Horn clauses (HC) are extended to Horn formulas (HF), such that the head or the body of an HF can be a conjunction of positive literals or a disjunction of the bodies of some rule instances, respectively. Each algorithm constructs an MDG from its source to its sink, whose arcs infer the HF 'if source then sink'. The construction of an MDG is based on a sound and complete set of inference rules of reflexivity, transitivity, and conjunction for HFs which proceeds by expanding a tree rooted at its sink until its source has a successful backtracking to the root. Then the MDG is extracted from the tree. The nodes being expanded in such a tree are classified into seven types, which are assigned by different priorities for their growing into subtrees or for their pruning to reduce the tree space.

[1] G. Ausielloet al., "Graph algorithms for functional dependency manipulation,"J. ACM, vol. 30. no. 4. pp. 752-766, Oct. 1983.
[2] L. Brownston et al.,Programming Expert Systems in OPS5, An Introduction to Rule-Based Programming, Addison Wesley, Reading, Mass., 1985, Chapter 4, pp. 161- 164.
[3] B. G. Buchanan and E. H. Shortliffe,Rule-Based Expert Systems: The MYCIN Experiments of the Stanford Heuristic Programming Project. Reading, MA: Addison-Wesley, 1984.
[4] W. F. Clocksin and C. S. Mellish,Programming in Prolog. New York: Springer-Verlag, 1984.
[5] R. Fagin, "Horn clauses and database dependencies,"J. ACM, vol. 29, no. 3, pp. 952-985, Oct. 1982.
[6] F. Hayes-Roth, "Rule-based systems,"Commun. ACM, vol. 28, no. 9, pp. 921-932, Sept. 1985.
[7] R. Kowalski,Logic for Problem Solving. New York: North-Holland, 1979.
[8] G. Li, C. C. Yang, and P. A. Ng, "An efficient unification algorithm for finding a most general unifier of simple expressions," submitted for publication.
[9] J. W. Lloyd,Foundations of Logic Programming, New York: Springer, 1984.
[10] J. McDermott, "RI: A rule-based configurer of computer systems,"Artificial Intell., vol. 19, pp. 39-80, 1982.
[11] A. Salah and C. C. Yang, "Rule-Based systems: A set-theoretic approach," presented at the Third Annu. Computer Science Symp. Knowledge-Based Systems: Theory and Applications, Columbia, SC, Mar. 31-Apr. 1, 1986.
[12] E. H. Shortliffe,Computer-Based Medical Consultations: MYCIN. New York: Elsevier, 1976.
[13] J. T. Tou, "Knowledge engineering revisited,"IJCIS, vol. 14, no. 3, pp. 123-133, 1985.
[14] J. D. Ullman, "Implementation of logical query languages for databases,"ACM TODS, vol. 10, no. 3, pp. 289-321, 1985.
[15] C. C. Yang,Relational Databases, Englewood Cliffs. NJ, Prentice-Halt, 1986.
[16] C. C. Yang, "A polynomial algorithm for logically deducing Horn clauses and processing queries,"Int. J. Pattern Recognition Artificial Intell., vol. 1, no. 1, pp. 157-168, Apr. 1987.
[17] C. C. Yang, "Deduction graphs: An algorithm and applications,"IEEE Trans. Software Eng., vol. 15, no. 1, pp. 60-67, Jan. 1989.
[18] C. C. Yang, "Extending deduction graphs for inferring and redundancychecking function-free rules," presented at the Colloquia Int. Symp. Methodologies for Intelligent Systems, Charlotte, NC, Oct. 14-17, 1987.

Index Terms:
MDG construction algorithms; Hern clauses; minimal deduction graphs; Horn clause logic; DG; arcs; Horn formulas; HF; positive literals; rule instances; sink; inference rules; reflexivity; transitivity; backtracking; subtrees; tree space; expert systems; graphs; inference mechanisms; logic programming
C.-C. Yang, J.J.-Y. Chen, H.L. Chau, "Algorithms for Constructing Minimal Deduction Graphs," IEEE Transactions on Software Engineering, vol. 15, no. 6, pp. 760-770, June 1989, doi:10.1109/32.24729
Usage of this product signifies your acceptance of the Terms of Use.