A Unified Query Planning Framework for Conjunctive Regular Path Queries
Yue Pang, Lei Zou, Angela Bonifati, M. Tamer Özsu, Xiaofang Zhou
摘要
Conjunctive regular path queries (CRPQs) form a critical backbone of modern graph query languages, integrating subgraph matching with regular path queries (RPQs). Despite their ubiquity in applications like social networks, finance, and scientific data analysis, CRPQ optimization lacks a unified framework, relying instead on heuristic combinations of disjoint techniques for subgraph matching and RPQs. This paper bridges this gap by introducing a novel algebraic optimization framework for CRPQs. We propose a hypergraph query model that enables composability, addressing a longstanding challenge in graph query languages including GQL and SQL/PGQ, and define six core operators (TI, KC, SJ, UNION, INV, and SCAN) to abstract CRPQ semantics. Leveraging algebraic transformation rules, we enumerate a rich space of equivalent query plans and devise a cost-based optimizer to select near-optimal plans for execution. Implemented based on MillenniumDB and Neo4j, our framework achieves significant speedups on CRPQs extracted from the WDBench and LDBC SNB benchmarks.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper5
- Versatile Equivalences: Speeding up Subgraph Query Processing and Subgraph MatchingHyunjoon Kim, Yunyoung Choi, Kunsoo Park, Xuemin Lin 等SIGMOD 2021 · 被引用 75 次
- A Comprehensive Survey and Experimental Study of Subgraph Matching: Trends, Unbiasedness, and InteractionZhijie Zhang, Yujie Lu, Weiguo Zheng, Xuemin LinSIGMOD 2024 · 被引用 35 次
- Fast Continuous Subgraph Matching over Streaming Graphs via Backtracking ReductionRongjian Yang, Zhijie Zhang, Weiguo Zheng, Jeffrey Xu YuSIGMOD 2023 · 被引用 31 次
- GQL and SQL/PGQ: Theoretical Models and Expressive PowerAmélie Gheerbrant, Leonid Libkin, Liat Peterfreund, Alexandra RogovaVLDB 2025 · 被引用 16 次
- Materialized View Selection & View-Based Query Planning for Regular Path QueriesYue Pang, Lei Zou, Jeffrey Xu Yu, Linglin YangSIGMOD 2024 · 被引用 7 次
相关 Paper
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 被引用 1 次
- Towards a Converged Relational-Graph Optimization FrameworkYunkai Lou, Longbin Lai, Bingqing Lyu, Yufan Yang 等SIGMOD 2025 · 被引用 4 次
- On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 被引用 31 次
- MGQL: An Executable, Small-Step Semantics of GQLAditya Thimmaiah, Tong-Nong Lin, Milos GligoricOOPSLA 2026
- Temporal Regular Path QueriesMarcelo Arenas, Pedro Bahamondes, Amir Aghasadeghi, Julia StoyanovichICDE 2022 · 被引用 11 次
