Graph Pattern Matching Preserving Label-Repetition Constraints

04/12/2018
by   Houari Mahfoud, et al.
0

Graph pattern matching is a routine process for a wide variety of applications such as social network analysis. It is typically defined in terms of subgraph isomorphism which is NP-Complete. To lower its complexity, many extensions of graph simulation have been proposed which focus on some topological constraints of pattern graphs that can be preserved in polynomial-time over data graphs. We discuss in this paper the satisfaction of a new topological constraint, called Label-Repetition constraint. To the best of our knowledge, existing polynomial approaches fail to preserve this constraint, and moreover, one can adopt only subgraph isomorphism for this end which is cost-prohibitive. We present first a necessary and sufficient condition that a data subgraph must satisfy to preserve the Label-Repetition constraints of the pattern graph. Furthermore, we define matching based on a notion of triple simulation, an extension of graph simulation by considering the new topological constraint. We show that with this extension, graph pattern matching can be performed in polynomial-time, by providing such an algorithm. Our algorithm is sub-quadratic in the size of data graphs only, and quartic in general. We show that our results can be combined with orthogonal approaches for more expressive graph pattern matching.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/25/2022

Complexity Framework for Forbidden Subgraphs: When Hardness Is Not Preserved under Edge Subdivision

A graph G is H-subgraph-free if G does not contain H as a (not necessari...
research
04/14/2022

On The Complexity of Matching Cut for Graphs of Bounded Radius and H-Free Graphs

For a connected graph G=(V,E), a matching M⊆ E is a matching cut of G if...
research
07/26/2022

Revisited Containment for Graph Patterns

We consider the class of conditional graph patterns (CGPs) that allow us...
research
09/15/2022

Efficient Subgraph Isomorphism using Graph Topology

Subgraph isomorphism or subgraph matching is generally considered as an ...
research
10/22/2018

Fast Dual Simulation Processing of Graph Database Queries (Supplement)

Graph database query languages feature expressive, yet computationally e...
research
03/02/2022

Graph Rewriting and Relabeling with PBPO+: A Unifying Theory for Quasitoposes

We extend the powerful Pullback-Pushout (PBPO) approach for graph rewrit...
research
09/14/2021

Construction of k-matchings and k-regular subgraphs in graph products

A k-matching M of a graph G=(V,E) is a subset M⊆ E such that each connec...

Please sign up or login with your details

Forgot password? Click here to reset