Relative expressive power of navigational querying on graphs using transitive closure

Abstract

Motivated by both established and new applications, we study navigational query languages for graphs (binary relations). The simplest language has only the two operators union and composition, together with the identity relation. We make more powerful languages by adding any of the following operators: intersection; set difference; projection; coprojection; converse; transitive closure; and the diversity relation. All these operators map binary relations to binary relations. We compare the expressive power of all resulting languages, both for binary-relation queries as well as for boolean queries. In the absence of transitive closure, a complete Hasse diagram of relative expressiveness has already been established [8]. Moreover, it has already been shown that for boolean queries over a single edge label, transitive closure does not add any expressive power when only projection and diversity may be present [11]. In the present paper, we now complete the Hasse diagram in the presence of transitive closure, both for the case of a single edge label, as well as for the case of at least two edge labels. The main technical results are the following: 1. In contrast to the above-stated result [11] transitive closure does add expressive power when coprojection is present. 2. Transitive closure also adds expressive power as soon as converse is present. 3. Conversely, converse adds expressive power in the presence of transitive closure. In particular, the converse elimination result from [8] no longer works in the presence of transitive closure. 4. As a corollary, we show that the converse elimination result from [8] necessitates an exponential blow-up in the degree of the expressions.

DOI: 10.1093/jigpal/jzv028

Extracted Key Phrases

10 Figures and Tables

Cite this paper

@article{Surinx2015RelativeEP, title={Relative expressive power of navigational querying on graphs using transitive closure}, author={Dimitri Surinx and George H. L. Fletcher and Marc Gyssens and Dirk Leinders and Jan Van den Bussche and Dirk Van Gucht and Stijn Vansummeren and Yuqing Wu}, journal={Logic Journal of the IGPL}, year={2015}, volume={23}, pages={759-788} }