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
相关论文
共 50 条