ON THE EXPRESSIVE POWER OF DATALOG - TOOLS AND A CASE-STUDY

被引:58
作者
KOLAITIS, PG [1 ]
VARDI, MY [1 ]
机构
[1] IBM CORP,ALMADEN RES CTR,SAN JOSE,CA 95120
关键词
D O I
10.1006/jcss.1995.1055
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We study here the language Datalog(not equal), which is the query language obtained from Datalog by allowing equalities and inequalities in the bodies of the rules. We view Datalog(not equal) as a fragment of an infinitary logic L(omega) and show that L(omega) can be characterized in terms of certain two-person pebble games. This characterization provides us with tools for investigating the expressive power of Datalog(not equal). As a case study, we classify the expressibility of fixed subgraph homeomorphism queries on directed graphs. S. Fortune, J. Hopcroft, and J. Wyllie (Theoret. Comput. Sci. 10 (1980), 111-121) classified the computational complexity of these queries by establishing two dichotomies, which are proper only if P not equal NP. Without using any complexity-theoretic assumptions, we show here that the two dichotomies are indeed proper in terms of expressibility in Datalog(not equal). (C) 1995 Academic Press, Inc.
引用
收藏
页码:110 / 134
页数:25
相关论文
共 31 条
[1]  
AFRATI F, 1991, 10TH P ACM S PRINC D
[2]  
Aho Alfred V., 1979, 6TH P ACM S PRINC PR, P110
[3]   REACHABILITY IS HARDER FOR DIRECTED THAN FOR UNDIRECTED FINITE GRAPHS [J].
AJTAI, M ;
FAGIN, R .
JOURNAL OF SYMBOLIC LOGIC, 1990, 55 (01) :113-150
[4]  
AJTAI M, 1989, 30 IEEE S FDN COMP S, P142
[5]   MOSCHOVAKIS CLOSURE ORDINALS [J].
BARWISE, J .
JOURNAL OF SYMBOLIC LOGIC, 1977, 42 (02) :292-296
[6]  
Barwise J., 1985, MODEL THEORETIC LOGI
[7]  
BLASS A, 1987, LECT NOTES COMPUT SC, V270, P20
[8]  
Bollobas B, 1979, GRAPH THEORY INTRO C
[9]   STRUCTURE AND COMPLEXITY OF RELATIONAL QUERIES [J].
CHANDRA, A ;
HAREL, D .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1982, 25 (01) :99-128
[10]  
Chandra A., 1985, J LOGIC PROGRAM, V1, P1