Lune

ICDE2024Top-tier venue

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Testing Graph Databases via Transformations Between Fixed-Length and Variable-Length Queries cites Answering Billion-Scale Label-Constrained Reachability Queries within Microsecond
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Testing Graph Databases via Transformations Between Fixed-Length and Variable-Length QueriesJinxin Gui, Yuanhong Lan, Longlong Lu, Yifei Lu et al.VLDB 2026

Builds on2

  1. Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
  2. 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

  1. Worst-Case Optimal BGPs on Temporal GraphsDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. ReutterVLDB 2026
  2. 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
  3. Connectivity-Oriented Property Graph Partitioning for Distributed Graph Pattern Query ProcessingMin Shi, Peng Peng, Xu Zhou, Jiayu Liu et al.SIGMOD 2025 · 3 citations
  4. 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
  5. Temporal Regular Path QueriesMarcelo Arenas, Pedro Bahamondes, Amir Aghasadeghi, Julia StoyanovichICDE 2022 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines