Can One Escape Red Chains? Regular Path Queries Determinacy is Undecidable
Grzegorz G{\l}uch, Jerzy Marcinkowski, Piotr Ostropolski-Nalewaja

TL;DR
This paper proves that determining whether a set of regular path queries can infer another query's result in graph databases is undecidable, highlighting fundamental limits in query analysis.
Contribution
It establishes the undecidability of the query determinacy problem specifically for regular path queries, a key language in graph database theory.
Findings
Query determinacy is undecidable for regular path queries.
The result resolves a problem posed in 2002.
Highlights limits of query analysis in graph databases.
Abstract
For a given set of queries (which are expressions in some query language) , and for another query we say that determines if -- informally speaking -- for every database , the information contained in the views is sufficient to compute . Query Determinacy Problem is the problem of deciding, for given and , whether determines . 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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Complexity and Algorithms in Graphs · Graph Theory and Algorithms
