HackerPapers

arXiv:1904.11653cs.DB

Regular Expression Matching on billion-nodes Graphs

Hongzhi Wang, Jiabao Han, Bin Shao, Jianzhong Li

Abstract

In many applications, it is necessary to retrieve pairs of vertices with the path between them satisfying certain constraints, since regular expression is a powerful tool to describe patterns of a sequence. To meet such requirements, in this paper, we define regular expression (RE) query on graphs to use regular expression to represent the constraints between vertices. To process RE queries on large graphs such as social networks, we propose the RE query processing method with the index size sublinear to the graph size. Considering that large graphs may be randomly distributed in multiple machines, the parallel RE processing algorithms are presented without the assumption of graph distribution. To achieve high efficiency for complex RE query processing, we develop cost-based query optimization strategies with only a small size statistical information which is suitable for querying large graphs. Comprehensive experimental results show that this approach works scale well for large graphs.

arXiv comments
Journal reference
DOI
Subjects
cs.DBDatabases

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 1 thread, from Jun 2020 to Jun 2020.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. Formal Systems in Biology 2 comments
    • This stuff got me thinking, if RegExp comes from graphs, why not use it to process graph databases. This paper is about a year old https://arxiv.org/pdf/1904.11653.pdf Can anyone point to open source implementations?

      jchrisaView on HNParent context

    • Reminder: please link to arXiv abstract pages, not directly to PDF. Wang, Han, Shao, and Li - Regular expression matching on billion-node graphs; https://arxiv.org/abs/1904.11653

      JadeNBView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.