ACM Home Page
Please provide us with feedback. Feedback
Disjunctive datalog
Full text PdfPdf (647 KB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 22 ,  Issue 3  (September 1997) table of contents
Pages: 364 - 418  
Year of Publication: 1997
ISSN:0362-5915
Authors
Thomas Eiter  Univ. of Giessen, Giessen, Germany
Georg Gottlob  Technical Univ. of Vienna, Vienna, Austria
Heikki Mannila  Univ. of Helsinki, Helsinki, Finland
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 18,   Downloads (12 Months): 106,   Citation Count: 74
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/261124.261126
What is a DOI?

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 P2 . 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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
 
4
BARAL, C. AND GELFOND, M. 1994. Logic programming and knowledge representation. J. Logic Program. 19/20, 73-148.
 
5
6
7
 
8
BEN-ELIYAHU, R. AND DECHTER, R. 1994. Propositional semantics for disjunctive logic programs. Ann. Math. Artif. Intell. 12, 53-87.
 
9
BEN-ELIYAHU, R. AND PALOPOLI, L. 1994. Reasoning with minimal models: Efficient algorithms and applications. In Proceedings Fourth International Conference on Principles of Knowledge Representation and Reasoning (KR-94) (Bonn, Germany, May 24-27), 39-50.
 
10
BIDOIT, N. AND FROIDEVAUX, C. 1987. Minimalism subsumes default logic and circumscription in stratified logic programming. In Proceedings of LICS-87 (Ithaca, NY, June 22-25), IEEE CS Press, 89-97.
 
11
 
12
 
13
 
14
BRASS, S. AND DIX, J. 1995. Disjunctive semantics based upon partial and bottom-up evaluation. In Proceedings 12th International Conference on Logic Programming, Leon Sterling, Ed., (Tokyo, June 13-16), 199-213.
 
15
BRASS, S. AND DIX, J. 1997. A general framework for semantics of disjunctive logic programs based on partial evaluation. J. Logic Program. (to appear).
 
16
BRASS, S., DIX, J., NIEMELA, I., AND PRZYMUSINSKI, T. 1996b. A comparison of the static and disjunctive well-founded semantics. University of California at Riverside, (in preparation).
 
17
BRASS, S., DIX, J., AND PRZYMUSINSKI, T. 1996a. Super logic programs. In Proceedings of the International Conference on Principles of Knowledge Representation and Reasoning (KR-96) (Vancouver, Canada), Morgan-Kaufmann, San Mateo, CA, 529-540.
 
18
 
19
 
20
CHANDRA, A. AND HAREL, D. 1982. Structure and complexity of relational queries. J. Comput. Syst. Sci. 25, 99-128.
 
21
CHANDRA, A. AND HAREL, D. 1985. Horn clause queries and generalizations. J. Logic Program. 2, 1-15.
 
22
 
23
 
24
 
25
 
26
 
27
DIx, J. 1992. Classifying semantics of disjunctive logic programs. In Proceedings JIC- SLP-92 (Washington DC, Nov.), 798-812.
 
28
 
29
DIx, J., LOVELAND, D., MINKER, J., AND WARREN, D., EDS. 1996. Disjunctive Logic Programruing and Databases: Nonmonotonic Aspects, Seminar Report 150, Schlog Dagstuhl, Germany.
 
30
 
31
LITER, T. AND GOTTLOB, a. 1995a. Note on the complexity of some eigenvector problems. Tech. Rep. CD-TR 95/89, Christian Doppler Laboratory for Expert Systems, TU Vienna, Dec.
 
32
LITER, T. AND GOTTLOB, G. 1995b. On the computational cost of disjunctive logic programming: Propositional case. Ann. Math. Artif. Intell. 15, 3/4, 289-323.
 
33
LITER, T., GOTTLOB, G., AND GUREVICH, Y. 1996. Normal forms for second-order logic over finite structures, and classification of NP optimization problems. Ann. Pure App. Logic 78, 111-125.
34
 
35
 
36
FAGIN, R. 1974. Generalized first-order spectra and polynomial-time recognizable sets. In Complexity of Computation, R. M. Karp, Ed., AMS, Providence, RI, 43-74.
 
37
GELFOND, M. AND LIFSCHITZ, V. 1988. The stable model semantics for logic programming. In Proceedings of the Fifth Logic Programming Symposium, MIT Press. Cambridge, MA, 1070-1080.
 
38
GELFOND, M. AND LIFSCHITZ, V. 1991. Classical negation in logic programs and disjunctive databases. New Gen. Comput. 9, 365-385.
39
 
40
 
41
GUREVICH, Y. 1988. Logic and the Challenge of Computer Science. In Trends in Theoretical Computer Science, Chapter 1, E. B~rger, Ed., Computer Science Press, New York.
 
42
IMIELINSKI, T. AND LIPSKI, W. 1984. The relational model of data and cylindric algebras. J. Comput. Syst. Sci. 28, 80-102.
 
43
 
44
45
 
46
 
47
 
48
KOLAITIS, P. AND VARDI, M. 1992. Fixpoint logic vs. infinitary logic in finite-model theory. In Proceedings LICS-92 (Santa Cruz, CA, June 22-25), IEEE Computer Science Press, Los Alamitos, CA, 61-71.
 
49
 
50
 
51
LEONE, N., RULLO, P., AND SCARCELLO, F. 1995. Disjunctive stable models: Unfounded sets, fixpoint semantics and computation. Abstract in Proceedings of International Logic Programming Symposium (ILPS-95) (Portland, OR), MIT Press, New York, 399-413.
 
52
 
53
 
54
 
55
56
 
57
 
58
 
59
MINKER, J. 1994. Overview of disjunctive logic programming. Ann. Math. Artif. Intell. 12, 1-24.
 
60
 
61
62
 
63
PAPADIMITRIOU, C.H. 1994. Computational Complexity. Addison-Wesley, Reading, MA.
 
64
 
65
 
66
PRZYMUSINSKI, T. 1991. Stable semantics for disjunctive programs. New Gen. Comput. 9, 401-424.
 
67
 
68
PRZYMUSINSKI, T.C. 1995. Static semantics for normal and disjunctive logic programs. Ann. Math. Artif. Intell. 14, 323-357.
 
69
REITER, R. 1980. A logic for default reasoning. Artif. Intell. 13, 81-132.
70
 
71
72
 
73
 
74
SAKAMA, C. AND INOUE, K. 1994. An alternative approach to the semantics of disjunctive logic programs and deductive databases. J. Autom. Reason. 13, 145-172.
 
75
SAKAMA, C. AND INOUE, K. 1995. Paraconsistent stable semantics for extended disjunctive programs. J. Logic Comput. 5, 3, 265-285.
 
76
SCHLIPF, J. 1987. Decidability and definability with circumscription. Ann. Pure App. Logic 35, 173-191.
 
77
SCHLIPF, J. 1995a. A survey of complexity and undecidability results in logic programming. Ann. Math. Artif. Intell. 15, 3/4, 257-288.
 
78
 
79
SEIPEL, D. 1994. Non-monotonic reasoning based on minimal models and its efficient implementation. In Proceedings of the Thirteenth IFIP World Computer Congress, Workshop F62: Disjunctive Logic Programming and Disjunctive Databases (Hamburg, Aug.), 53-60.
 
80
STEWART, I. 1991. Complete problems involving Boolean labelled structures and projection transactions. J. Logic Comput. 1, 6, 861-882.
 
81
STOCKMEYER, L.J. 1977. The polynomial-time hierarchy. Theor. Comput. Sci. 3, 1-22.
 
82
TURNER, H. 1996. Representing actions in default logic: A situation calculus approach. In Proceedings of Common Sense '96.
 
83
84
85
 
86
VEITH, H. 1994. Logical reducibilities in finite model theory. Master's Thesis, Information Systems Department, TU Vienna, Austria, Sept.
 
87
 
88
WOLFINGER, B. ED. 1994. 13th IFIP World Computer Congress, Proceedings Workshop FG2: Disjunctive Logic Programming and Disjunctive Databases (Hamburg, Aug.), Springer, Berlin.
 
89
YAHYA, A. AND HENSCHEN, L. 1985. Deduction in non-Horn databases. J. Autom. Reason. 1, 2, 141-160.
 
90
You, J.-H. AND YUAN, L.-Y. 1993. Autoepistemic circumscription and logic programming. J. Autom. Reason. 10, 143-160.
 
91

CITED BY  74


REVIEW

"Jaroslav Pokorny : Reviewer"

Disjunctive Datalog is a variant of Datalog in which disjunctions may appear in the rule heads. The authors also allow negations in the rule bodies. This paper studies the properties of disjunctive logic programming in the context of databases  more...

Collaborative Colleagues:
Thomas Eiter: colleagues
Georg Gottlob: colleagues
Heikki Mannila: colleagues