Disjunctive datalog

被引:279
作者
Eiter, T
Gottlob, G
Mannila, H
机构
[1] VIENNA TECH UNIV, DEPT INFORMAT SYST, A-1040 VIENNA, AUSTRIA
[2] UNIV HELSINKI, DEPT COMP SCI, FIN-00014 HELSINKI, FINLAND
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1997年 / 22卷 / 03期
关键词
languages; theory;
D O I
10.1145/261124.261126
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We consider disjunctive Datalog, a powerful database query language based on disjunctive gic 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 Sigma(2)(p). Thus, unless the Polynomial Hierarchy collapses, disjunctive Datalog is more expressive than 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.
引用
收藏
页码:364 / 418
页数:55
相关论文
共 91 条
[1]  
ABITEBOUL A, 1990, P PODS 90, P218
[2]  
Abiteboul S., 1995, Foundations of databases, V1st
[3]  
[Anonymous], 1992, FDN DISJUNCTIVE LOGI
[4]  
BALCAZAR JL, 1992, COMPUTER SCIENCE, P351
[5]  
BARAL C, 1994, J LOGIC PROGRAM, V19, P73
[6]  
Baral C. R., 1992, Journal of Automated Reasoning, V8, P345, DOI 10.1007/BF02341854
[7]   Implementing deductive databases by mixed integer programming [J].
Bell, C ;
Nerode, A ;
Ng, RT ;
Subrahmanian, VS .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1996, 21 (02) :238-269
[8]   MIXED-INTEGER PROGRAMMING METHODS FOR COMPUTING NONMONOTONIC DEDUCTIVE DATABASES [J].
BELL, C ;
NERODE, A ;
NG, RT ;
SUBRAHMANIAN, VS .
JOURNAL OF THE ACM, 1994, 41 (06) :1178-1215
[9]  
Ben-Eliyahu R., 1994, Annals of Mathematics and Artificial Intelligence, V12, P53, DOI 10.1007/BF01530761
[10]  
BENELIYAHU R, 1994, MOR KAUF R, P39