Extending Graph Patterns with Conditions
Grace Fan, Wenfei Fan, Yuanhao Li, Ping Lu, Chao Tian, Jingren Zhou
Abstract
We propose an extension of graph patterns, referred to as conditional graph patterns and denoted as CGPs. In a CGP,one can specify a simple condition on each edge such that the edge exists if and only if the condition is satisfied. We show that CGPs allow us to catch missing links, increase the expressivity of graph functional dependencies, and provide a succinct representation of graph patterns. We settle the complexity of their consistency, matching, incremental matching and containment problems, in linear time,NP-complete,NP-complete and p2-complete, respectively. These tell us that despite the increased expressive power of CGPs, the matching and incremental matching problems for CGPs are no harder than their counterparts for conventional patterns. We develop algorithms for matching and incremental matching of CGPs, and for (incremental) multi-CGP matching and optimization. Using real-life and synthetic graphs, we empirically verify the efficiency and effectiveness of our algorithms.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 7009f005-1645-4fa4-aa09-fed937d8d720Cited by top-tier papers5
- Symmetric Continuous Subgraph Matching with Bidirectional Dynamic ProgrammingSeunghwan Min, Sung Gwan Park, Kunsoo Park, Dora Giammarresi et al.VLDB 2021 · 36 citations
- Explaining Missing Data in Graphs: A Constraint-based ApproachQi Song, Peng Lin, Hanchao Ma, Yinghui WuICDE 2021 · 7 citations
- A Framework for Privacy Preserving Localized Graph Pattern Query ProcessingLyu Xu, Byron Choi, Yun Peng, Jianliang Xu et al.SIGMOD 2023 · 6 citations
- Language-aware Indexing for Conjunctive Path QueriesYuya Sasaki, George Fletcher, Makoto OnizukaICDE 2022 · 1 citation
- Extending Graph Rules with OraclesXueli Liu, Bowen Dong, Wenzhi Fu, Nannan Wu et al.VLDB 2024 · 1 citation
Related papers
- Consistent Subgraph Matching over Large GraphsYe Yuan, Delong Ma, Aoqian Zhang, Guoren WangICDE 2022 · 4 citations
- Ontology-Mediated Query Answering Using Graph Patterns with ConditionsPing Lu, Ting Deng, Haoyuan Zhang, Yufeng Jin et al.ICDE 2024
- Capturing Associations in GraphsWenfei Fan, Ruochun Jin, Muyang Liu, Ping Lu et al.VLDB 2020 · 33 citations
- Inconsistency Detection with Temporal Graph Functional DependenciesMorteza Alipour Langouri, Adam Mansfield, Fei Chiang, Yinghui WuICDE 2023 · 4 citations
- An In-Depth Study of Continuous Subgraph MatchingXibo Sun, Shixuan Sun, Qiong Luo, Bingsheng HeVLDB 2022 · 31 citations
