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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming GraphsSiyuan Zhang, Zhenying He, Yinan Jing, Kai Zhang et al.SIGMOD 2024 · 2 citations
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming GraphsSiyuan Zhang, Kai Zhang, Zhenying He, Yinan Jing et al.SIGMOD 2026
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
- Materialized View Selection & View-Based Query Planning for Regular Path QueriesYue Pang, Lei Zou, Jeffrey Xu Yu, Linglin YangSIGMOD 2024 · 7 citations
