Relative expressive power of navigational querying on graphs using transitive closure

D. Surinx, G.H.L. Fletcher, M. Gyssens, D. Leinders, J. Van den Bussche, D. Van Gucht, S. Vansummeren, Y. Wu

Research output: Contribution to journalArticleAcademicpeer-review

13 Citations (Scopus)

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 article, 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. Keywords: Databases; relational algebra; query languages
Original languageEnglish
Pages (from-to)759-788
JournalLogic Journal of the IGPL
Volume23
Issue number5
DOIs
Publication statusPublished - 2015

Fingerprint Dive into the research topics of 'Relative expressive power of navigational querying on graphs using transitive closure'. Together they form a unique fingerprint.

Cite this