English

Can One Escape Red Chains? Regular Path Queries Determinacy is Undecidable

Databases 2018-02-06 v1

Abstract

For a given set of queries (which are expressions in some query language) Q={Q1\mathcal{Q}=\{Q_1, Q2,Qk}Q_2, \ldots Q_k\} and for another query Q0Q_0 we say that Q\mathcal{Q} determines Q0Q_0 if -- informally speaking -- for every database D\mathbb D, the information contained in the views Q(D)\mathcal{Q}({\mathbb D}) is sufficient to compute Q0(D)Q_0({\mathbb D}). Query Determinacy Problem is the problem of deciding, for given Q\mathcal{Q} and Q0Q_0, whether Q\mathcal{Q} determines Q0Q_0. Many versions of this problem, for different query languages, were studied in database theory. In this paper we solve a problem stated in [CGLV02] and show that Query Determinacy Problem is undecidable for the Regular Path Queries -- the paradigmatic query language of graph databases.

Cite

@article{arxiv.1802.01554,
  title  = {Can One Escape Red Chains? Regular Path Queries Determinacy is Undecidable},
  author = {Grzegorz Głuch and Jerzy Marcinkowski and Piotr Ostropolski-Nalewaja},
  journal= {arXiv preprint arXiv:1802.01554},
  year   = {2018}
}
R2 v1 2026-06-23T00:11:44.334Z