Adding regular expressions to graph reachability and pattern queries

Wenfei Fan, Jianzhong Li, Shuai Ma, Nan Tang, Yinghui Wu
<span title="">2012</span> <i title="Springer Science and Business Media LLC"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/mea4bx5mifbxdbgjmmfhl6qbhq" style="color: black;">Frontiers of Computer Science</a> </i> &nbsp;
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
more &raquo; ... etworks, 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.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1007/s11704-012-1312-y">doi:10.1007/s11704-012-1312-y</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/nbgfluc3cfdkvjrqkkdbh3d7wi">fatcat:nbgfluc3cfdkvjrqkkdbh3d7wi</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20170425152001/http://eecs.wsu.edu/%7Eyinghui//mat/papers/Adding%20regular%20expressions%20to%20graph%20reachability%20and%20pattern%20queries-journal-fcs.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/61/77/617713a392c6d0da8d772b9131874df12ed24d36.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1007/s11704-012-1312-y"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> springer.com </button> </a>