Skip to main content
Log in

Top-Down Query Processing in First-Order Deductive Databases under the DWFS

  • Published:
Journal of Automated Reasoning Aims and scope Submit manuscript

Abstract

A top-down query-processing method for first-order deductive databases under the disjunctive well-founded semantics (DWFS) is presented. The method is based on a characterization of the DWFS in terms of the Gelfond–Lifschitz transformation and employs a hyperresolution-like operator and quasi-cyclic trees to handle minimal model processing. The method is correct and complete and can be guaranteed to terminate given certain mild constraints on the format of database rules. The efficiency of the method is enhanced by the fact that large parts of the search tree are naturally grounded, even for first-order queries and databases. In the case of a grounded yes/no answer, the search tree becomes nongrounded only if processing enters the definite part of the database. For finite propositional databases the method runs in polynomial space. Efficiency may be enhanced by the application of partial compilation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aravindan, C., Dix, J. and Niemelä, I.: DISLOP: A research project on disjunctive logic programming, AI Comm. 10 (1997), 151-165.

    Google Scholar 

  2. Brass, S., Dix, J., Niemelä, I. and Przymusinski, T. C.: A comparison of the static and disjunctive well-founded semantics, in A. G. Cohn, L. K. Schubert and S. C. Shapiro (eds.), Proceedings of the 6th International Conference on Principles of Knowledge Representation and Reasoning, Morgan Kaufmann, 1998.

  3. Brass, S. and Dix, J.: Characterisations of the disjunctive well-founded semantics: Confluent calculi and iterated GCWA, J. Automated Reasoning 20 (1998), 143-165.

    Google Scholar 

  4. Brass, S. and Dix, J.: Semantics of (disjunctive) logic programs based on partial evaluation, J Logic Programming 40 (1999), 1-46.

    Google Scholar 

  5. Dix, J.: Semantics of logic programs: Their intuitions and formal properties, in A. Fuhrman and H. Rott (eds.), Logic, Action and Information, Essays on Logic in Philosophy and Artificial Intelligence, De Gruyter, 1995, pp. 241-327.

  6. Johnson, C. A.: On computing minimal and perfect model membership, Data and Knowledge Engineering 18 (1996), 225-276.

    Google Scholar 

  7. Johnson, C. A.: Extended deduction trees and query processing, Computer Science technical report TR98-07, Keele University, 1998. Available May 2003: www.tech.plym.ac.uk/soc/staff/chrisjohnson/tr95.html.

  8. Johnson, C. A.: Top-down query processing in indefinite stratified databases, Data and Knowledge Engineering 26 (1998), 1-36 (extracted from [7]).

    Google Scholar 

  9. Johnson, C. A.: On cyclic covers and perfect models, Data and Knowledge Engineering 31 (1999), 25-65.

    Google Scholar 

  10. Johnson, C. A.: On the computation of the disjunctive well-founded semantics, J. Automated Reasoning 26 (2001), 333-356.

    Google Scholar 

  11. Johnson, C. A.: Processing deductive databases under the disjunctive stable model semantics, Fund. Inform. 40 (1999), 31-51.

    Google Scholar 

  12. Niemelä, I.: A tableau calculus for minimal model reasoning, in Proceedings of the 5th Workshop on Theorem Proving with Analytic Tableaux and Related Methods, Terrasini, Italy, Springer, 1996, pp. 278-294.

    Google Scholar 

  13. Rajasekar, A.: Semantics for disjunctive logic programs, Ph.D. thesis, University of Maryland, 1989.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Johnson, C.A. Top-Down Query Processing in First-Order Deductive Databases under the DWFS. Journal of Automated Reasoning 32, 167–184 (2004). https://doi.org/10.1023/B:JARS.0000030010.90643.41

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/B:JARS.0000030010.90643.41

Navigation