Expressiveness and static analysis of extended conjunctive regular path queries

作者:

Highlights:

摘要

We study the expressiveness and the complexity of static analysis of extended conjunctive regular path queries (ECRPQs), introduced by Barceló et al. (2010) [3]. ECRPQs are an extension of conjunctive regular path queries (CRPQs), a well-studied language for querying graph structured databases. Our first main result shows that query containment and equivalence of a CRPQ in an ECRPQ are undecidable. This settles one of the main open problems posed by Barceló et al. As a second main result, we prove a non-recursive succinctness gap between CRPQs and the CRPQ-expressible fragment of ECRPQs. Apart from this, we develop a tool for proving inexpressibility results for CRPQs and ECRPQs. In particular, this enables us to show that there exist queries definable by regular expressions with backreferencing, but not expressible by ECRPQs.

论文关键词:Graph databases,Conjunctive queries,Regular relations,Regular path queries,Query containment

论文评审过程:Received 12 December 2011, Revised 6 August 2012, Accepted 16 January 2013, Available online 21 January 2013.

论文官网地址:https://doi.org/10.1016/j.jcss.2013.01.008