On the expressive power of datalog: tools and a case study
On the expressive power of datalog: tools and a case study
复制标题
论数据记录的表达能力:工具和案例研究
DOI:
10.1145/298514.298542
复制
发表时间:
1990
期刊:
影响因子:
--
通讯作者:
Moshe Y. Vardi
中科院分区:
文献类型:
--
作者:
Phokion G. Kolaitis;Moshe Y. Vardi
We study here the language Datalog(≠), which is the query language obtained from Datalog by allowing equalities and inequalities in the bodies of the rules. We view Datalog(≠) as a fragment of an infinitary logic L&ohgr; and show that L&ohgr; can be characterized in terms of certain two-person pebble games. This characterization provides us with tools for investigating the expressive power of Datalog(≠). As a case study, we classify the expressibility of fixed subgraph homeomorphism queries on directed graphs. Fortune et al. [FHW80] classified the computational complexity of these queries by establishing two dichotomies, which are proper only if P ≠ NP. Without using any complexity-theoretic assumptions, we show here that the two dichotomies are indeed proper in terms of expressibility in Datalog(≠).