Boundedness of Conjunctive Regular Path Queries

Abstract : 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 Pi^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.
Complete list of metadatas

https://hal.archives-ouvertes.fr/hal-02056388
Contributor : Diego Figueira <>
Submitted on : Thursday, April 25, 2019 - 10:19:09 AM
Last modification on : Monday, June 17, 2019 - 10:32:02 AM

File

main-hal.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-02056388, version 2

Collections

Citation

Pablo Barceló, Diego Figueira, Miguel Romero. Boundedness of Conjunctive Regular Path Queries. International Colloquium on Automata, Languages, and Programming (ICALP), Jul 2019, Patras, Greece. ⟨hal-02056388v2⟩

Share

Metrics

Record views

48

Files downloads

32