Skip to main content
Log in

Evaluation of Queries under Closed-World Assumption

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

Abstract

The minimal entailment ⊢Min has been characterized elsewhere by

\(P \vdash _{{\text{Min}}} \varphi {\text{iff }}Cn(P \cup \{ \varphi \} ) \cap Pos \subseteq Cn(P),\)

where Cn is the first-order consequence operation, P is a set of clauses (indefinite deductive data base; in short: a data base), ϕ is a clause (a query), and Pos is the set of positive (that is, bodiless) ground clauses. In this paper, we address the problem of the computational feasibility of criterion (1). Our objective is to find a query evaluation algorithm that decides P ⊢Min ϕ by what we call indefinite modeling, without actually computing all ground positive consequences of P and P ∪ {ϕ}. For this purpose, we introduce the concept of minimal indefinite Herbrand model MP of P, which is defined as the set of subsumption-minimal ground positive clauses provable from P. The algorithm first computes MP by finding the least fixed-point of an indefinite consequence operator μ TIP. Next, the algorithm verifies whether every ground positive clause derivable from MP ∪ {ϕ} by one application of the parallel positive resolution rule (in short: the PPR rule) is subsumed by an element of MP. We prove that the PPR rule, which can derive only positive clauses, is positively complete, that is, every positive clause provable from a data base P is derivable from P by means of subsumption and finitely many applications of PPR. From this we conclude that the presented algorithm is partially correct and that it eventually halts if both P and MP are finite. Moreover, we indicate how the algorithm can be modified to handle data bases with infinite indefinite Herbrand models. This modification leads to a concept of universal model that allows for nonground clauses in its Herbrand base and appears to be a good candidate for representation of indefinite deductive data bases.

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. Apt, Krzysztof R.: Introduction to Logic Programming, Report TR-87-35, University of Texas, Department of Computer Sciences, Austin, Texas 78712, 1988.

    Google Scholar 

  2. Barwise, Jon: Handbook of Mathematical Logic, North-Holland, Amsterdam, 2nd edn, 1978.

    Google Scholar 

  3. Chomicki, Jan and Subrahmanian, V. S.: Generalized closed world assumption is II2 0-complete, Unpublished manuscript, 1989.

  4. Fitting, Melvin: First-Order Logic and Automated Theorem Proving, Springer-Verlag, 1990.

  5. Liu, K. C. and Sunderraman, R.: An extension to the relational model for indefinite databases, in Proceedings of the ACM-IEEE Computer Society Fall Joint Computer Conference, Dallas, TX, ACM-IEEE, 1987, pp. 428–435.

  6. Minker, Jack: On indefinite databases and closed world assumption, in Proceedings of 6th Conference on Automated Deduction, Lecture Notes in Computer Science 138, Springer-Verlag, Berlin, New York, 1982, pp. 292–308.

    Google Scholar 

  7. Rajasekar, Arcot: Semantics for Disjunctive Logic Programs, Report UMIACS-TR-89-122/CSTR-2359, University of Maryland, Computer Science Report Series, College Park, Maryland 20742, 1989.

  8. Rabin, Michael O.: Decidable theories, in Bar78, Chapter C.3, 1978, pp. 595–629.

  9. Reiter, Raymond: On closed world data bases, in Hervé Gallaire and Jack Minker (eds), Logic and Data Bases, Plenum Press, 1978, pp. 55–76.

  10. Shoenfield, Joseph R.: Mathematical Logic, Addison-Wesley Publishing, 1967.

  11. Suchenek, Marek A. and Sunderraman, Rajshekhar: On negative information in deductive data bases, Journal of Database Administration 1(1990), 28–41. An invited paper.

    Google Scholar 

  12. Suchenek, Marek. A.: Forcing versus closed world assumption, in Zbigniew W. Raś and Maria Zemankova (eds), Methodologies for Intelligent Systems, North-Holland, 1987, pp. 453–460.

  13. Suchenek, Marek A.: Incremental models of updating data bases, in Algebraic Logic and Universal Algebra in Computer Science, C. H. Bergman, R. D. Maddux, and D. L. Pigozzi (eds), Lecture Notes in Computer Science 425, Ames, Springer-Verlag, 1988, pp. 243–271.

    Google Scholar 

  14. Suchenek, Marek A.: Applications of Lyndon homomorphism theorems to the theory of minimal models, International Journal of Foundations of Computer Science 1(1) (1990), 49–59.

    Google Scholar 

  15. Suchenek, Marek A.: Alternative computations of minimal consequences in indefinite deductive data bases, in Informal Proceedings of 2nd Workshop on Structural Complexity and Recursiontheoretic Methods in Logic Programming, International Logic Programming Symposium, MSI Cornell University, Vancouver, British Columbia, Canada, 1993, pp. 187–204.

    Google Scholar 

  16. Suchenek, Marek A.: First-order syntactic characterizations of minimal entailment, domain minimal entailment, and Herbrand entailment, Journal of Automated Reasoning 10(1993), 237–263.

    Google Scholar 

  17. Suchenek, Marek A.: Preservation properties in deductive databases, Methods of Logic in Computer Science An International Journal 1(1994), 315–338. An invited paper.

    Google Scholar 

  18. Yahya, A. and Henschen, L.: Deduction in non-Horn databases, Journal of Automated Reasoning 1(1985), 141–160.

    Google Scholar 

  19. Lifschitz, Vladimir: Personal Communication.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Suchenek, M.A. Evaluation of Queries under Closed-World Assumption. Journal of Automated Reasoning 18, 357–398 (1997). https://doi.org/10.1023/A:1005723423016

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1005723423016

Navigation