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 条
  • [41] Algebraic Optimization for Processing Graph Pattern Queries in the Cloud
    Anyanwu, Kemafor
    Kim, HyeongSik
    Ravindra, Padmashree
    [J]. IEEE INTERNET COMPUTING, 2013, 17 (02) : 52 - 61
  • [42] Scalable Processing of Flexible Graph Pattern Queries on the Cloud
    Ravindra, Padmashree
    Anyanwu, Kemafor
    [J]. PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'13 COMPANION), 2013, : 169 - 170
  • [43] Hybrid Algorithms for Subgraph Pattern Queries in Graph Databases
    Katsarou, Foteini
    Ntarmos, Nikos
    Triantafillou, Peter
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2017, : 656 - 665
  • [44] 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
  • [45] Reachability Queries with Transfer Decay
    Strzheletska, Elena, V
    Tsotras, Vassilis J.
    [J]. 2021 22ND IEEE INTERNATIONAL CONFERENCE ON MOBILE DATA MANAGEMENT (MDM 2021), 2021, : 175 - 180
  • [46] TREE PATTERN MATCHING FROM REGULAR TREE EXPRESSIONS
    Belabbaci, Ahlem
    Cherroun, Hadda
    Cleophas, Loek
    Ziadi, Djelloul
    [J]. KYBERNETIKA, 2018, 54 (02) : 221 - 242
  • [47] Probabilistic Pattern Matching and the Evolution of Stochastic Regular Expressions
    Brian J. Ross
    [J]. Applied Intelligence, 2000, 13 : 285 - 300
  • [48] Probabilistic pattern matching and the evolution of stochastic regular expressions
    Ross, BJ
    [J]. APPLIED INTELLIGENCE, 2000, 13 (03) : 285 - 300
  • [49] A Dynamically Reconfigurable Pattern Matcher for Regular Expressions on FPGA
    Davidson, Tom
    Merlier, Mattias
    Bruneel, Karel
    Stroobandt, Dirk
    [J]. APPLICATIONS, TOOLS AND TECHNIQUES ON THE ROAD TO EXASCALE COMPUTING, 2012, 22 : 611 - 618
  • [50] S-NAR: Generating Narrations of SQL Queries Using Regular Expressions
    Ade-Ibijola, Abejide
    Obaido, George
    [J]. SOUTH AFRICAN INSTITUTE OF COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS (SACSIT 2017), 2017, : 11 - 18