Time- and Space-Efficient Regular Path Queries
Diego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Javiel Rojas-Ledesma
Abstract
We introduce a time-and space-efficient technique to solve regular path queries over labeled graphs. We combine a bit-parallel simulation of the Glushkov automaton of the regular expression with the ring index introduced by Arroyuelo et al., exploiting its wavelet tree representation of the triples in order to efficiently reach the states of the product graph that are relevant for the query. Our query algorithm is able to simultaneously process several automaton states, as well as several graph nodes/labels. Our experimental results show that our representation uses 3-5 times less space than the alternatives in the literature, while generally outperforming them in query times (1.67 times faster than the next best).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming Graphs
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites On the Optimization of Recursive Relational Queries: Application to Graph Queries
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Worst-Case Optimal Graph Joins in Almost No Space
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Regular Path Query Evaluation on Streaming Graphs
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming Graphs cites On the Optimization of Recursive Relational Queries: Application to Graph Queries
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming Graphs cites Worst-Case Optimal Graph Joins in Almost No Space
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming Graphs cites Regular Path Query Evaluation on Streaming Graphs
Cited by top-tier papers2
Builds on3
- Regular Path Query Evaluation on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuSIGMOD 2020 · 49 citations
- Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter et al.SIGMOD 2021 · 34 citations
- On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 31 citations
Related papers
- Language-aware Indexing for Conjunctive Path QueriesYuya Sasaki, George Fletcher, Makoto OnizukaICDE 2022 · 1 citation
- Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph ReductionInju Na, Yang-Sae Moon, Ilyeop Yi, Kyu-Young Whang et al.ICDE 2022 · 10 citations
- LM-SRPQ: Efficiently Answering Regular Path Query in Streaming GraphsXiangyang Gou, Xinyi Ye, Lei Zou, Jeffrey Xu YuVLDB 2024 · 8 citations
- Answering Regular Path Queries through ExemplarsKomal Chauhan, Kartik Jain, Sayan Ranu, Srikanta Bedathur et al.VLDB 2022 · 7 citations
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 citation
