Extending Graph Pattern Matching with Regular Expressions

被引:3
|
作者
Wang, Xin [1 ]
Wang, Yang [1 ]
Xu, Yang [2 ]
Zhang, Ji [3 ]
Zhong, Xueyan [1 ]
机构
[1] Southwest Petr Univ, Chengdu, Peoples R China
[2] Southwest Jiaotong Univ, Chengdu, Peoples R China
[3] Univ Southern Queensland, Toowoomba, Qld, Australia
关键词
REACHABILITY;
D O I
10.1007/978-3-030-59051-2_8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Graph pattern matching, which is to compute the set M(Q, G) of matches of Q in G, for the given pattern graph Q and data graph G, has been increasingly used in emerging applications e.g., social network analysis. As the matching semantic is typically defined in terms of subgraph isomorphism, two key issues are hence raised: the semantic is often too rigid to identify meaningful matches, and the problem is intractable, which calls for efficient matching methods. Motivated by these, this paper extends matching semantic with regular expressions, and investigates the top-k graph pattern matching problem. (1) We introduce regular patterns, which revise traditional pattern graphs by incorporating regular expressions; extend traditional matching semantic by allowing edge to regular path mapping. With the extension, more meaningful matches could be captured. (2) We propose a relevance function, that is defined in terms of tightness of connectivity, for ranking matches. Based on the ranking function, we introduce the top-k graph pattern matching problem, denoted by TopK. (3) We show that TopK is intractable. Despite hardness, we develop an algorithm with early termination property, i.e., it finds top-k matches without identifying entire match set. (4) Using real-life and synthetic data, we experimentally verify that our top-k matching algorithms are effective, and outperform traditional counterparts.
引用
收藏
页码:111 / 129
页数:19
相关论文
共 50 条
  • [1] A Memory Efficient Pattern Matching Scheme for Regular Expressions
    Chang, Yeim-Kuan
    Shih, Ching-Hsuan
    [J]. 14TH INTERNATIONAL CONFERENCE ON MOBILE SYSTEMS AND PERVASIVE COMPUTING (MOBISPC 2017) / 12TH INTERNATIONAL CONFERENCE ON FUTURE NETWORKS AND COMMUNICATIONS (FNC 2017) / AFFILIATED WORKSHOPS, 2017, 110 : 250 - 257
  • [2] TREE PATTERN MATCHING FROM REGULAR TREE EXPRESSIONS
    Belabbaci, Ahlem
    Cherroun, Hadda
    Cleophas, Loek
    Ziadi, Djelloul
    [J]. KYBERNETIKA, 2018, 54 (02) : 221 - 242
  • [3] Probabilistic Pattern Matching and the Evolution of Stochastic Regular Expressions
    Brian J. Ross
    [J]. Applied Intelligence, 2000, 13 : 285 - 300
  • [4] Probabilistic pattern matching and the evolution of stochastic regular expressions
    Ross, BJ
    [J]. APPLIED INTELLIGENCE, 2000, 13 (03) : 285 - 300
  • [5] Adding Regular Expressions to Graph Reachability and Pattern Queries
    Fan, Wenfei
    Li, Jianzhong
    Ma, Shuai
    Tang, Nan
    Wu, Yinghui
    [J]. IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 39 - 50
  • [6] Adding regular expressions to graph reachability and pattern queries
    Fan, Wenfei
    Li, Jianzhong
    Ma, Shuai
    Tang, Nan
    Wu, Yinghui
    [J]. FRONTIERS OF COMPUTER SCIENCE, 2012, 6 (03) : 313 - 338
  • [7] Adding regular expressions to graph reachability and pattern queries
    Wenfei Fan
    Jianzhong Li
    Shuai Ma
    Nan Tang
    Yinghui Wu
    [J]. Frontiers of Computer Science, 2012, 6 : 313 - 338
  • [8] SAT-Based Algorithms for Regular Graph Pattern Matching
    Terra-Neves, Miguel
    Amaral, Jose
    Lemos, Alexandre
    Quintino, Rui
    Resende, Pedro
    Alegria, Antonio
    [J]. THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 8, 2024, : 8136 - 8145
  • [9] APPROXIMATE MATCHING OF REGULAR EXPRESSIONS
    MYERS, EW
    MILLER, W
    [J]. BULLETIN OF MATHEMATICAL BIOLOGY, 1989, 51 (01) : 5 - 37
  • [10] EXTENDING REGULAR EXPRESSIONS WITH ITERATED SHUFFLE
    JANTZEN, M
    [J]. THEORETICAL COMPUTER SCIENCE, 1985, 38 (2-3) : 223 - 247