Skip to main content
Log in

Extending stratified datalog to capture complexity classes ranging from \({\cal P} to {\cal QH}\)

  • Original articles
  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract.

This paper presents a unified solution to the problem of extending stratified DATALOG to express database complexity classes ranging from \({\cal P} to {\cal QH}; {\cal QH}\) is the query hierarchy containing the decision problems that can be solved in polynomial time by a deterministic Turing machine using a constant number of calls to an \({\cal NP}\)-oracle. The solution is based on (i) stratified negation as the core of a simple, declarative semantics for negation, (ii) the use of a “choice” construct to capture the nondeterminism of stable models in a disciplined fashion, (iii) the ability to bind a query to the lowest complexity level that includes the problem at hand, and (iv) a general algorithm that adapts its behavior to the desired level of complexity required by the query so that exponential time computation is only required for hard problems.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: 30 November 1995 / 1 April 2001

Rights and permissions

Reprints and permissions

About this article

Cite this article

Greco, S., Saccà, D. & Zaniolo, C. Extending stratified datalog to capture complexity classes ranging from \({\cal P} to {\cal QH}\) . Acta Informatica 37, 699–725 (2001). https://doi.org/10.1007/PL00013306

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00013306

Keywords