Lune

VLDB2024Top-tier venue

Efficient Regular Simple Path Queries under Transitive Restricted Expressions

Qi Liang, Dian Ouyang, Fan Zhang, Jianye Yang, Xuemin Lin, Zhihong Tian

Abstract

There are two fundamental problems in regular simple path queries (RSPQs). One is the reachability problem which asks whether there exists a simple path between the source and the target vertex matching the given regular expression, and the other is the enumeration problem which aims to find all the matched simple paths. As an important computing component of graph databases, RSPQs are supported in many graph database query languages such as PGQL and openCypher. However, answering RSPQs is known to be NP-hard, making it challenging to design scalable solutions to support a wide range of expressions. In this paper, we first introduce the class of transitive restricted expression , which covers more than 99% of real-world queries. Then, we propose an efficient algorithm framework to support both reachability and enumeration problems under transitive restricted expression constraints. To boost the performance, we develop novel techniques for reachability detection, the search of candidate vertices, and the reduction of redundant path computation. Extensive experiments demonstrate that our exact method can achieve comparable efficiency to the state-of-the-art approximate approach, and outperforms the state-of-the-art exact methods by up to 2 orders of magnitude.

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

  • Efficiently Answering Reachability and Path Queries on Temporal Bipartite Graphs cites Answering Billion-Scale Label-Constrained Reachability Queries within Microsecond
  • Efficient Temporal Simple Path Graph Generation cites Efficiently Answering Reachability and Path Queries on Temporal Bipartite Graphs
  • Efficient Temporal Simple Path Graph Generation 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. Efficient Temporal Simple Path Graph GenerationZhiyang Tang, Yanping Wu, Xiangjun Zai, Chen Chen et al.ICDE 2025 · 1 citation

Builds on10

  1. POIROT: Aligning Attack Behavior with Kernel Audit Records for Cyber Threat HuntingSadegh M. Milajerdi, Birhanu Eshete, Rigel Gjomemo, V. N. VenkatakrishnanCCS 2019 · 313 citations
  2. ATLAS: A Sequence-based Learning Approach for Attack InvestigationAbdulellah Alsaheel, Yuhong Nan, Shiqing Ma, Le Yu et al.USENIX Security 2021 · 256 citations
  3. Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
  4. Efficiently Answering Reachability and Path Queries on Temporal Bipartite GraphsXiaoshuang Chen, Kai Wang, Xuemin Lin, Wenjie Zhang et al.VLDB 2021 · 51 citations
  5. Regular Path Query Evaluation on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuSIGMOD 2020 · 49 citations

Related papers

  1. Answering Regular Path Queries through ExemplarsKomal Chauhan, Kartik Jain, Sayan Ranu, Srikanta Bedathur et al.VLDB 2022 · 7 citations
  2. 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
  3. cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 citation
  4. Representing Paths in Graph Database Pattern MatchingWim Martens, Matthias Niewerth, Tina Popp, Carlos Rojas et al.VLDB 2023 · 32 citations
  5. PEFP: Efficient k-hop Constrained s-t Simple Path Enumeration on FPGAZhengmin Lai, You Peng, Shiyu Yang, Xuemin Lin et al.ICDE 2021 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines