Revisited Containment for Graph Patterns

07/26/2022
by   Houari Mahfoud, et al.
0

We consider the class of conditional graph patterns (CGPs) that allow user to query data graphs with complex patterns that contain negation and predicates. To overcome the prohibitive cost of subgraph isomorphism, we consider matching of CGPs under simulation semantics which can be conducted in quadratic time. In emerging applications, one would like to reduce more this matching time, and the static analysis of patterns may allow ensuring part of this reduction. We study the containment problem of CGPs that aims to check whether the matches of some pattern P_1, over any data graph, are contained in those of another pattern P_2 (written P_1⊑ P_2). The optimization process consists to extract matches of P_1 only from those of P_2 without querying the (possibly large) data graph. We show that the traditional semantics of containment is decidable in quadratic time, but it fails to meet the optimization goal in the presence of negation and predicates. To overcome this limit, we propose a new semantics of containment, called strong containment, that is more suitable for CGPs and allows to reduce their matching time. We show that strong containment can be decided in cubic time by providing such an algorithm. We are planing to use results of this paper to answer CGPs using views. This paper is part of an ongoing project that aims to design a caching system for complex graph patterns.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/06/2020

A Hybrid Approach to Temporal Pattern Matching

The primary objective of graph pattern matching is to find all appearanc...
research
04/12/2018

Graph Pattern Matching Preserving Label-Repetition Constraints

Graph pattern matching is a routine process for a wide variety of applic...
research
12/28/2020

Fast Subgraph Matching by Exploiting Search Failures

Subgraph matching is a compute-intensive problem that asks to enumerate ...
research
10/22/2018

Fast Dual Simulation Processing of Graph Database Queries (Supplement)

Graph database query languages feature expressive, yet computationally e...
research
02/13/2023

The Subgraph Isomorphism Problem for Port Graphs and Quantum Circuits

We study a variant of the subgraph isomorphism problem that is of high i...
research
06/17/2019

Matching Patterns with Variables

A pattern p (i.e., a string of variables and terminals) matches a word w...
research
04/25/2023

Fast Continuous Subgraph Matching over Streaming Graphs via Backtracking Reduction

Streaming graphs are drawing increasing attention in both academic and i...

Please sign up or login with your details

Forgot password? Click here to reset