Adding Regular Expressions to Graph Reachability and Pattern Queries

被引:0
|
作者
Fan, Wenfei [1 ,2 ]
Li, Jianzhong [2 ]
Ma, Shuai [1 ]
Tang, Nan [1 ]
Wu, Yinghui [1 ]
机构
[1] Univ Edinburgh, Edinburgh EH8 9YL, Midlothian, Scotland
[2] Harbin Inst Technol, Harbin, Peoples R China
基金
英国工程与自然科学研究理事会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
It is increasingly common to find graphs in which edges bear different types, indicating a variety of relationships. For such graphs we propose a class of reachability queries and a class of graph patterns, in which an edge is specified with a regular expression of a certain form, expressing the connectivity in a data graph via edges of various types. In addition, we define graph pattern matching based on a revised notion of graph simulation. On graphs in emerging applications such as social networks, we show that these queries are capable of finding more sensible information than their traditional counterparts. Better still, their increased expressive power does not come with extra complexity. Indeed, (1) we investigate their containment and minimization problems, and show that these fundamental problems are in quadratic time for reachability queries and are in cubic time for pattern queries. (2) We develop an algorithm for answering reachability queries, in quadratic time as for their traditional counterpart. (3) We provide two cubic-time algorithms for evaluating graph pattern queries based on extended graph simulation, as opposed to the NP-completeness of graph pattern matching via subgraph isomorphism. (4) The effectiveness, efficiency and scalability of these algorithms are experimentally verified using real-life data and synthetic data.
引用
收藏
页码:39 / 50
页数:12
相关论文
共 50 条
  • [1] 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
  • [2] 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
  • [3] Retaining All the Path Information for Graph Reachability Queries Based on Regular Expressions
    Zhang, Yifei
    Wang, Guoren
    Zhao, Changkuan
    Zhang, Ende
    [J]. 2013 10TH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (FSKD), 2013, : 799 - 804
  • [4] Extending Graph Pattern Matching with Regular Expressions
    Wang, Xin
    Wang, Yang
    Xu, Yang
    Zhang, Ji
    Zhong, Xueyan
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2020, PT II, 2020, 12392 : 111 - 129
  • [5] Graph Indexing for Reachability Queries
    Yildirim, Hilmi
    Zaki, Mohammed J.
    [J]. 2010 IEEE 26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDE 2010), 2010, : 321 - 324
  • [6] Decentralized Graph Processing for Reachability Queries
    Mathys, Joel
    Fritsch, Robin
    Wattenhofer, Roger
    [J]. ADVANCED DATA MINING AND APPLICATIONS (ADMA 2022), PT I, 2022, 13725 : 505 - 519
  • [7] Efficient In-Memory Evaluation of Reachability Graph Pattern Queries on Data Graphs
    Wu, Xiaoying
    Theodoratos, Dimitri
    Skoutas, Dimitrios
    Lan, Michael
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2022, PT I, 2022, : 55 - 71
  • [8] Rewriting of regular expressions and regular path queries
    Calvanese, D
    De Giacomo, G
    Lenzerini, M
    Vardi, MY
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2002, 64 (03) : 443 - 465
  • [9] ADDING REGULAR EXPRESSIONS TO PASCAL
    SHARPE, D
    [J]. SIGPLAN NOTICES, 1988, 23 (12): : 125 - 133
  • [10] Regular Queries on Graph Databases
    Reutter, Juan L.
    Romero, Miguel
    Vardi, Moshe Y.
    [J]. THEORY OF COMPUTING SYSTEMS, 2017, 61 (01) : 31 - 83