arrow
Return

Adding regular expressions to graph reachability and pattern queries

delete2012-06-05
delete16
PRE
AI
W
Wenfei Fan
李建忠 (Jianzhong Li)
S
Shuai Ma *
N
Nan Tang
Y
Yinghui Wu
DOI:10.1007/s11704-012-1312-ydelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
It is increasingly common to find graphs in which edges are of 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 of 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, as opposed to the NP-completeness of graph pattern matching via subgraph isomorphism. (4) The effectiveness and efficiency of these algorithms are experimentally verified using real-life data and synthetic data.
Keywords:
graph reachability
graph pattern queries
regular expressions
containment
equivalence
minimization

Journal

Frontiers of Computer Science cover
Frontiers of Computer Science
IF:
4.6
Papers:
1.6K
Citations:
2.8K

Organization

H
harbin institute of technology
Scholars:
8.0W
Papers: 6.6W
Citations: 66
B
Beihang University
Scholars:
5.2W
Papers: 4.1W
Citations: 37
Q
qatar foundation (qf)
Scholars:
6.3K
Papers: 7.0K
Citations: 8
U
University of Edinburgh
Scholars:
5.1W
Papers: 4.6W
Citations: 71
researcher View more organizations