Boundedness of Conjunctive Regular Path Queries

04/01/2019
by   Pablo Barceló, et al.
0

We study the boundedness problem for unions of conjunctive regular path queries with inverses (UC2RPQs). This is the problem of, given a UC2RPQ, checking whether it is equivalent to a union of conjunctive queries (UCQ). We show the problem to be ExpSpace-complete, thus coinciding with the complexity of containment for UC2RPQs. As a corollary, when a UC2RPQ is bounded, it is equivalent to a UCQ of at most triple-exponential size, and in fact we show that this bound is optimal. We also study better behaved classes of UC2RPQs, namely acyclic UC2RPQs of bounded thickness, and strongly connected UCRPQs, whose boundedness problem are, respectively, PSpace-complete and Π^p_2-complete. Most upper bounds exploit results on limitedness for distance automata, in particular extending the model with alternation and two-wayness, which may be of independent interest.

READ FULL TEXT
research
08/22/2018

The First Order Truth behind Undecidability of Regular Path Queries Determinacy

In our paper [GMO18] we have solved an old problem stated in [CGLV02] sh...
research
03/09/2020

Containment of Simple Regular Path Queries

Testing containment of queries is a fundamental reasoning task in knowle...
research
08/14/2018

Evaluating Datalog via Tree Automata and Cycluits

We investigate parameterizations of both database instances and queries ...
research
08/05/2022

Jumping Evaluation of Nested Regular Path Queries

Nested regular path queries are used for querying graph databases and RD...
research
08/17/2023

Simpler Analyses of Union-Find

We analyze union-find using potential functions motivated by continuous ...
research
10/04/2019

A Dichotomy for Homomorphism-Closed Queries on Probabilistic Graphs

We study the problem of probabilistic query evaluation (PQE) over probab...
research
05/13/2020

Bisimulation Finiteness of Pushdown Systems Is Elementary

We show that in case a pushdown system is bisimulation equivalent to a f...

Please sign up or login with your details

Forgot password? Click here to reset