Integrating Connection Search in Graph Queries
Angelos-Christos G. Anadiotis, Ioana Manolescu, Madhulika Mohanty
Abstract
Graph data management and querying has many practical applications. When graphs are very heterogeneous and/or users are unfamiliar with their structure, they may need to find how two or more groups of nodes are connected in a graph, even when users are not able to describe the connections. This is only partially supported by existing query languages, which allow searching for paths, but not for trees connecting three or more node groups. The latter is related to the NP-hard Group Steiner Tree problem, and has been previously considered for keyword search in databases.
In this work, we formally show how to integrate connecting tree patterns (CTPs, in short) within a graph query language such as SPARQL or Cypher, leading to an Extended Query Language (or EQL, in short). We then study a set of algorithms for evaluating CTPs; we generalize prior keyword search work, most importantly by (𝑖) considering bidirectional edge traversal and (𝑖𝑖) allowing users to select any score function for ranking CTP results. To cope with very large search spaces, we propose an efficient pruning technique and formally establish a large set of cases where our algorithm, MoLESP, is complete even with pruning. Our experiments validate the performance of our CTP and EQL evaluation algorithms on a large set of synthetic and real-world workloads.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext db33762d-c7eb-4af0-99b3-4a186f78586eBuilds on3
- Finding Group Steiner Trees in Graphs with both Vertex and Edge WeightsYahui Sun, Xiaokui Xiao, Bin Cui, Saman K. Halgamuge et al.VLDB 2021 · 21 citations
- Efficient Computation of Semantically Cohesive Subgraphs for Keyword-Based Knowledge Graph ExplorationYuxuan Shi, Gong Cheng, Trung-Kien Tran, Evgeny Kharlamov et al.WWW 2021 · 17 citations
- 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
Related papers
- A Fast Hop-Biased Approximation Algorithm for the Quadratic Group Steiner Tree ProblemXiaoqing Wang, Gong ChengWWW 2024 · 1 citation
- Keyword Search over Knowledge Graphs via Static and Dynamic Hub LabelingsYuxuan Shi, Gong Cheng, Evgeny KharlamovWWW 2020 · 39 citations
- Efficient Approximation Algorithms for the Diameter-Bounded Max-Coverage Group Steiner Tree ProblemKe Zhang, Xiaoqing Wang, Gong ChengWWW 2023 · 6 citations
- Fast Optimal Group Steiner Tree Search using GPUsJiayu Li, Yahui Sun, Bojing Ma, Libang Chen et al.SIGMOD 2026 · 1 citation
- Dangers of List Processing in Querying Property GraphsAmélie Gheerbrant, Leonid Libkin, Alexandra RogovaSIGMOD 2025 · 4 citations
