Variable-Length Path Query Evaluation Based on Worst-Case Optimal Joins
Mingdao Li, Peng Peng, Zheyuan Hu, Lei Zou, Zheng Qin
Abstract
Variable-length path queries are essential for finding paths in a graph that adhere to a specified length constraint, utilizing only edges with labels from a restricted subset of the edge labels. These queries play a crucial role in graph analytics and are supported by practical graph query languages like Cypher in property graph systems and SPARQL 1.1 in RDF graph systems. In this paper, we present a novel solution for efficient evaluation of variable-length path queries, based on worstcase optimal joins. Our solution's core relies on a jumping-like worst-case optimal join technique, allowing us to select a query vertex order that differs completely from existing graph systems based on worst-case optimal joins. Furthermore, we introduce a cost-based dynamic programming optimizer that combines traditional and jumping-like worst-case optimal join techniques. We also propose an optimization technique to leverage intraquery parallelism during query evaluation. Through extensive experiments conducted on numerous synthetic and real RDF and property graphs, we demonstrate that the proposed technique achieves excellent performance.
3311
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.
1 top-tier paper has 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
Cited by top-tier papers1
Builds on2
- Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
- Distributed Set Label-Constrained Reachability Queries over Billion-Scale GraphsYuanyuan Zeng, Wangdong Yang, Xu Zhou, Guoqing Xiao et al.ICDE 2022 · 9 citations
Related papers
- Worst-Case Optimal BGPs on Temporal GraphsDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. ReutterVLDB 2026
- APEX: Adaptive Variable-Wise Parallel Execution for Worst-Case Optimal Joins on Graph QueriesYipeng Liu, Yuming Lin, Zhicheng Pan, Chengcheng Yang et al.ICDE 2026
- Connectivity-Oriented Property Graph Partitioning for Distributed Graph Pattern Query ProcessingMin Shi, Peng Peng, Xu Zhou, Jiayu Liu et al.SIGMOD 2025 · 3 citations
- 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
- Temporal Regular Path QueriesMarcelo Arenas, Pedro Bahamondes, Amir Aghasadeghi, Julia StoyanovichICDE 2022 · 11 citations
