Disjunctive datalog
Thomas Eiter, Georg Gottlob, Heikki Mannila · ACM Transactions on Database Systems · 1997
We consider disjunctive Datalog, a powerful database query language based on disjunctive logic programming. Briefly, disjunctive Datalog is a variant of Datalog where disjunctions may appear in the rule heads; advanced versions also allow for negation in the bodies which can be handled according to a semantics for negation in disjunctive logic programming. In particular, we investigate three different semantics for disjunctive Datalog: the minimal model semantics the perfect model semantics, and the stable model semantics. For each of these semantics, the expressive power and complexity are studied. We show that the possibility variants of these semantics express the same set of queries. In fact, they precisely capture the complexity class Σ P 2 . Thus, unless the Polynomial Hierarchy collapses, disjunctive Datalog is more expressive that normal logic programming with negation. These results are not only of theoretical interest; we demonstrate that problems relevant in practice such as computing the optimal tour value in the Traveling Salesman Problem and eigenvector computations can be handled in disjunctive Datalog, but not Datalog with negation (unless the Polynomial Hierarchy collapses). In addition, we study modularity properties of disjunctive Datalog and investigate syntactic restrictions of the formalisms.
Cited by 473 works. doi:10.1145/261124.261126 Open-access PDF
Authors
References
- A logic for default reasoning
- Principles of database and knowledge-base systems
- Foundations of Logic Programming
- The polynomial-time hierarchy
- Principles of database and knowledge-base systems, Vol. I
- Foundations of databases
- The stable model semantics for logic programming
- Applications of circumscription to formalizing common-sense knowledge
- Logical foundations of object-oriented and frame-based languages
- Lanczos Algorithms for Large Symmetric Eigenvalue Computations