JOURNAL ARTICLE

Disjunctive datalog

Thomas EiterGeorg GottlobHeikki Mannila

Year: 1997 Journal:   ACM Transactions on Database Systems Vol: 22 (3)Pages: 364-418   Publisher: Association for Computing Machinery

Abstract

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.

Keywords:
Datalog Stable model semantics Computer science Logic programming Negation Programming language Semantics (computer science) Well-founded semantics Disjunctive normal form Theoretical computer science Rotation formalisms in three dimensions Operational semantics Mathematics Denotational semantics

Metrics

485
Cited By
16.57
FWCI (Field Weighted Citation Impact)
108
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Algebra and Logic
Physical Sciences →  Computer Science →  Computational Theory and Mathematics

Related Documents

JOURNAL ARTICLE

More on tractable disjunctive Datalog

Rachel Ben‐Eliyahu‐ZoharyLuigi PalopoliVictoria Zemlyanker

Journal:   The Journal of Logic Programming Year: 2000 Vol: 46 (1-2)Pages: 61-101
JOURNAL ARTICLE

Enhancing Disjunctive Datalog by constraints

Francesco BuccafurriNicola LeonePasquale Rullo

Journal:   IEEE Transactions on Knowledge and Data Engineering Year: 2000 Vol: 12 (5)Pages: 845-860
JOURNAL ARTICLE

Datalog rewritability of Disjunctive Datalog programs and non-Horn ontologies

Mark KaminskiYavor NenovBernardo Cuenca Grau

Journal:   Artificial Intelligence Year: 2016 Vol: 236 Pages: 90-118
JOURNAL ARTICLE

Magic Sets for disjunctive Datalog programs

Mario AlvianoWolfgang FaberGianluigi GrecoNicola Leone

Journal:   Artificial Intelligence Year: 2012 Vol: 187-188 Pages: 156-192
© 2026 ScienceGate Book Chapters — All rights reserved.