Deductive and Object-Oriented Databases

It is desirable to answer queries posed to deductive databases by computing fix-points because such computations are directly amenable to set-oriented fact processing. However, the classical fixpoint procedures based on bottom-up reasoning-the naive and semi-naive methods-are rather primitive and often inefficient. In this article, we rely on bottom-up meta-interpretation for formalizing a new fixpoint procedure that performs a different kind of reasoning: We specify a top-down query answering method, which we call the Backward Fix-point Procedure. Then, we reconsider query evaluation methods for recursive databases. First, we show that the methods based on rewriting on the one hand, and on resolution on the other hand, implement the Backward Fixpoint Procedure. Second, we interpret the rewriting of the Alexander and Magic Set methods as a specialization of the Backward Fixpoint Procedure. Finally, we argue that this rewriting is also needed for implementing efficiently the resolution-based methods. Thus, the methods based on rewriting and the methods based on resolution implement the same top-down evaluation of the original database rules by means of auxiliary rules processed bottom-up.

[1]  Suzanne W. Dietrich,et al.  Extension Tables: Memo Relations in Logic Programming , 1987, SLP.

[2]  Catriel Beeri,et al.  On the power of magic , 1987, J. Log. Program..

[3]  Hirohisa Seki,et al.  On the power of Alexander templates , 1989, PODS.

[4]  Peter Sestoft,et al.  A bibliography on partial evaluation , 1988, SIGP.

[5]  D. Prowe Berlin , 1855, Journal of public health, and sanitary review.

[6]  Jeffrey D. Ullman,et al.  Bottom-up beats top-down for datalog , 1989, PODS '89.

[7]  Jeffrey D. Ullman,et al.  Implementation of logical query languages for databases , 1985, TODS.

[8]  A. Tarski A LATTICE-THEORETICAL FIXPOINT THEOREM AND ITS APPLICATIONS , 1955 .

[9]  Laurent Vieille,et al.  Recursive Query Processing: The Power of Logic , 1989, Theor. Comput. Sci..

[10]  Werner Kießling,et al.  Compiling Exploratory and Goal-Directed Deduction into Sloppy Delta-Iteration , 1987, SLP.

[11]  Hisao Tamaki,et al.  OLD Resolution with Tabulation , 1986, ICLP.

[12]  Wolfgang Nejdl,et al.  Recursive Strategies for Answering Recursive Queries - The RQA/FQI Strategy , 1987, VLDB.

[13]  François Bry,et al.  Query Evaluation in Recursive Databases , 1990 .

[14]  Laurent Vieille,et al.  Recursive Axioms in Deductive Databases: The Query/Subquery Approach , 1986, Expert Database Conf..

[15]  Robert A. Kowalski,et al.  The Semantics of Predicate Logic as a Programming Language , 1976, JACM.

[16]  Raghu Ramakrishnan,et al.  Magic Templates: A Spellbinding Approach To Logic Programs , 1991, J. Log. Program..

[17]  Laurent Vieille,et al.  A Database-Complete Proof Procedure Based on SLD-Resolution , 1987, ICLP.

[18]  François Bry,et al.  SATCHMO: A Theorem Prover Implemented in Prolog , 1988, CADE.

[19]  Laurent Vieille,et al.  On Deductive Query Evaluation in the DedGin* System , 1989, DOOD.