1. Subgraph Matching With Effective Matching Order and Indexing
- Author
-
Shixuan Sun and Qiong Luo
- Subjects
Matching (graph theory) ,Computer science ,Search engine indexing ,Bigraph ,02 engineering and technology ,Tree (graph theory) ,Computer Science Applications ,Combinatorics ,Computational Theory and Mathematics ,020204 information systems ,Path (graph theory) ,0202 electrical engineering, electronic engineering, information engineering ,Enumeration ,Graph (abstract data type) ,Limit (mathematics) ,MathematicsofComputing_DISCRETEMATHEMATICS ,Information Systems - Abstract
Subgraph matching finds all embeddings from a data graph that are identical to a query graph. Recent algorithms work by generating a tree-structured index on the data graph based on the query graph, ordering the vertices root-to-leaf path-by-path in the tree, and enumerating the embeddings following the matching order. However, we find such path-based ordering and tree-structured index based enumeration inherently limit the performance due to the lack of consideration on the edges among the vertices across tree paths. To address this problem, we propose an approach that generates the matching order based on a cost model considering both the edges among query vertices and the number of candidates. Furthermore, we create a bigraph index for candidate vertices and their selected neighbors in the data graph, and use this index to perform enumeration along the matching order. Our experiments on both real-world and synthetic datasets show that our method outperforms the state of the art by orders of magnitude.
- Published
- 2022