On Querying Connected Components in Large Temporal Graphs
Haoxuan Xie, Yixiang Fang, Yuyang Xia, Wensheng Luo, Chenhao Ma
Abstract
In many real-world applications, the relationships between entities can be modeled as temporal graphs, where each edge is associated with a timestamp representing the interaction time. As a fundamental problem in network science, the connected component (CC) query has received tremendous research attention. Existing works on CC queries in the temporal graph find sets of vertices that are either connected in every timestamp of a time interval, or connected by paths with edges of increasing timestamps. However, these temporal constraints are too strict for applications without needing time-respecting paths. In this paper, we relax the above constraints by introducing a novel CC model, called window-CC, for both the undirected and directed temporal graphs in a given time window. We first propose online algorithms to query the window-CC and further develop efficient index-based query algorithms. Experimental results on real large undirected and directed temporal graphs show that our best index-based query algorithms are up to three and two orders of magnitude faster than the two online algorithms, respectively. Moreover, compared to the baseline indices, our optimized indices cost much less space in both theory and practice. CCS Concepts: • Mathematics of computing → Paths and connectivity problems; Graph algorithms; • Theory of computation → Design and analysis of algorithms.
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.
Cited by top-tier papers10
- Querying Structural Diversity in Streaming GraphsKaiyu Chen, Dong Wen, Wenjie Zhang, Ying Zhang et al.VLDB 2024 · 9 citations
- Evolution Forest Index: Towards Optimal Temporal -Core Component Search via Time-Topology Isomorphic ComputationJunyong Yang, Ming Zhong, Yuanyuan Zhu, Tieyun Qian et al.VLDB 2024 · 7 citations
- Share: Stackelberg-Nash based Data MarketsYuran Bi, Jinfei Liu, Chen Zhao, Junyi Zhao et al.ICDE 2024 · 6 citations
- On More Efficiently and Versatilely Querying Historical k-CoresZhi Wang, Ming Zhong, Yuanyuan Zhu, Tieyun Qian et al.VLDB 2025 · 4 citations
- Accelerating Skyline Path Enumeration with a Core Attribute Index on Multi-attribute GraphsYuanyuan Zeng, Yixiang Fang, Wensheng Luo, Chenhao MaSIGMOD 2025 · 3 citations
Builds on3
- On Querying Historical K-CoresMichael Yu, Dong Wen, Lu Qin, Ying Zhang et al.VLDB 2021 · 48 citations
- Efficiently Answering Span-Reachability Queries in Large Temporal GraphsDong Wen, Yilun Huang, Ying Zhang, Lu Qin et al.ICDE 2020 · 31 citations
- GraphZeppelin: Storage-Friendly Sketching for Connected Components on Dynamic Graph StreamsDavid Tench, Evan West, Victor Zhang, Michael A. Bender et al.SIGMOD 2022 · 5 citations
Related papers
- On Querying Historical Connectivity in Temporal GraphsJingyi Song, Dong Wen, Lantian Xu, Lu Qin et al.SIGMOD 2024 · 11 citations
- Querying Cohesive Subgraphs in Temporal GraphsYinyu Liu, Kaiqiang Yu, Shengxin Liu, Cheng Long et al.SIGMOD 2026
- Efficiently Counting Triangles in Large Temporal GraphsYuyang Xia, Yixiang Fang, Wensheng LuoSIGMOD 2025 · 3 citations
- Incremental Sliding Window Connectivity over Streaming GraphsChao Zhang, Angela Bonifati, M. Tamer ÖzsuVLDB 2024 · 10 citations
- Effective Durable Community Search in Large Temporal GraphYingli Zhou, Yige Jiang, Yixiang Fang, Wensheng Luo et al.VLDB 2026
