Abstract. This paper presents a unified solution to the problem of extending stratified DATALOG to express database complexity classes ranging from P to QH; 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 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. 1
|
1706
|
Foundations of logic programming
– Lloyd
- 1987
|
|
1684
|
Computational Complexity
– Papadimitriou
- 1994
|
|
1172
|
The stable model semantics for logic programming
– Gelfond, Lifschitz
- 1988
|
|
1066
|
Foundations of Databases
– Abiteboul, Hull, et al.
- 1995
|
|
723
|
The Well-Founded Semantics for General Logic Programs
– Gelder, Ross, et al.
- 1991
|
|
585
|
Towards a Theory of Declarative Knowledge
– Apt, Blair, et al.
- 1988
|
|
484
|
The complexity of relational query languages
– Vardi
- 1982
|
|
326
|
A Catalog of Complexity Classes
– Johnson
- 1990
|
|
254
|
Structure and complexity of relational queries
– Chandra, Harel
- 1982
|
|
252
|
Generalized first-order spectra and polynomial-time recognizable sets
– Fagin
- 1974
|
|
247
|
Languages that capture complexity classes
– Immerman
- 1987
|
|
221
|
Principles of Database and
– Ullman
- 1988
|
|
198
|
The alternating fixpoint of logic programs with negation
– Gelder
- 1989
|
|
191
|
Autoepistemic Logic
– Marek, Truszczynski
- 1991
|
|
162
|
A Logical Language for Data and Knowledge Bases
– Naqvi, Tsur
- 1989
|
|
151
|
Datalog Extensions for Database Queries and Updates
– Abiteboul, Vianu
- 1991
|
|
145
|
Disjunctive Datalog
– Eiter, Gottlob, et al.
- 1997
|
|
132
|
Stable models and non-determinism in logic programs with negation
– Sacca, Zaniolo
- 1990
|
|
121
|
Negation as failure using tight derivations for general logic programs
– Gelder
- 1988
|
|
119
|
Elements of Relational Database Theory
– Kanellakis
- 1990
|
|
93
|
A Deductive System for Nonmonotonic Reasoning
– Eiter, Leone, et al.
- 1997
|
|
86
|
Why not Negation by Fixpoint
– Kolaitis, Papadimitriou
- 1988
|
|
79
|
The expressive powers of logic programming semantics
– Schlipf
- 1995
|
|
47
|
Weakly perfect model semantics for logic programs
– Przymusinska, Przymusinski
- 1988
|
|
47
|
Complexity and Undecidability Results in Logic Programming
– SCHLIPF
- 1995
|
|
40
|
Non-deterministic languages to express deterministic transformations
– Abiteboul, Simon, et al.
- 1990
|
|
39
|
Non-Determinism in Deductive Databases
– Giannotti, Pedreschi, et al.
- 1991
|
|
34
|
The expressive Power of Stratified Logic Programs
– Kolaitis
- 1991
|
|
33
|
On Datalog vs. polynomial time
– Afrati, Cosmadakis, et al.
- 1991
|
|
33
|
clause queries and generalizations
– Chandra, Harel, et al.
- 1985
|
|
31
|
A Note on the Expressive Power of Prolog
– Papadimitriou
- 1985
|
|
27
|
Semantics and Expressive Power of Non-Deterministic Constructs in Deductive Databases
– Giannotti, Pedreschi, et al.
- 2001
|
|
24
|
The Expressive Powers of Stable Models for Bound and Unbound DATALOG Queries
– Sacca
- 1997
|
|
18
|
DATALOG queries with stratified negation and choice: from P to D P
– Greco, Sacca, et al.
- 1995
|
|
8
|
Greedy by Choice
– Greco, Zaniolo, et al.
- 1992
|
|
3
|
Possible is Certain” is Desirable and Can Be Expressive
– Greco, Saccà
- 1997
|
|
2
|
D.: Complexity and Expressive Power of Deterministic Semantics for DATALOG
– Greco, Saccá
- 1999
|
|
1
|
DB-N P this paper ∃Q ¬ DB-N P [24] ∀Q ¬ DB-coN P [24, 35] ∃∀Q ¬ DB-D p [31] !Q ¬s,c DB-P this paper ∃Q ¬s,c DB-N P this paper ∀Q ¬s,c DB-coN P this paper ∃∀Q ¬s,c DB-coN P this paper
– unknown authors
|
|
1
|
s,c DB-QH this paper
– unknown authors
|