Abstract
It is desirable to answer queries posed to deductive databases by computing fixpoints because such computations are directly amenable to set-oriented fact processing. However, the classical fixpoint procedures based on bottom-up processing — 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 Fixpoint Procedure. Then, we reconsider query evaluation methods for recursive databases. First, we show that the methods based on rewriting on the one hand, and the methods based on resolution on the other hand, implement the Backward Fixpoint Procedure. Second, we interpret the rewritings of the Alexander and Magic Set methods as specializations of the Backward Fixpoint Procedure. Finally, we argue that such a rewriting is also needed in a database context 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.
Dokumententyp: | Zeitschriftenartikel |
---|---|
Keywords: | Deductive databases, Logic programming, Query answering, Recursive queries, Recursive logic programs, Bottom-up reasoning, Top-down reasoning, Meta-interpretation, Partial evaluation |
Fakultät: | Mathematik, Informatik und Statistik > Informatik |
Themengebiete: | 500 Naturwissenschaften und Mathematik > 510 Mathematik |
URN: | urn:nbn:de:bvb:19-epub-8510-4 |
ISSN: | 0169-023X |
Sprache: | Englisch |
Dokumenten ID: | 8510 |
Datum der Veröffentlichung auf Open Access LMU: | 17. Dez. 2008, 15:03 |
Letzte Änderungen: | 13. Aug. 2024, 12:50 |