Regular path queries on graphs with data: A rigid approach
Zhilin Wu

TL;DR
This paper introduces rigid regular path queries with data (RRDPQ) for graph databases, using a novel automata model called nondeterministic rigid register automata (NRRA), and analyzes their expressive power and computational complexity.
Contribution
It proposes RRDPQ and NRRAs, establishing their expressiveness and showing that containment problems are decidable in 2EXPSPACE, advancing the theoretical understanding of data-aware graph queries.
Findings
NRRAs are robust with equivalent variants and extensions.
Every RDPQ can be transformed into an RRDPQ over a modified graph.
Containment of CRRDPQs and RRDPQs is decidable in 2EXPSPACE.
Abstract
Regular path queries (RPQ) is a classical navigational query formalism for graph databases to specify constraints on labeled paths. Recently, RPQs have been extended by Libkin and Vrgo to incorporate data value comparisons among different nodes on paths, called regular path queries with data (RDPQ). It has been shown that the evaluation problem of RDPQs is PSPACE-complete and NLOGSPACE-complete in data complexity. On the other hand, the containment problem of RDPQs is in general undecidable. In this paper, we propose a novel approach to extend regular path queries with data value comparisons, called rigid regular path queries with data (RRDPQ). The main ingredient of this approach is an automata model called nondeterministic rigid register automata (NRRA), in which the data value comparisons are \emph{rigid}, in the sense that if the data value in the current position …
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 Database Systems and Queries · Algorithms and Data Compression · Network Packet Processing and Optimization
