Time- and Space-Efficient Regular Path Queries on Graphs

Diego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Javiel Rojas-Ledesma
11/8/2021
cs.DBcs.DS

Official code: darroyue/Ring-RPQ (4 stars, OpenEdge ABL, GPL-3.0, last commit 2022-04-05).

Abstract

We introduce a time- and space-efficient technique to solve regularpath queries over labeled graphs. We combine a bit-parallel simula-tion of the Glushkov automaton of the regular expression with thering index introduced by Arroyuelo et al., exploiting its wavelettree representation of the triples in order to efficiently reach thestates of the product graph that are relevant for the query.

Show full abstract

Ourquery algorithm is able to simultaneously process several automa-ton states, as well as several graph nodes/labels. Our experimentalresults show that our representation uses 3-5 times less space thanthe alternatives in the literature, while generally outperformingthem in query times (1.67 times faster than the next best).

View on arXivView PDF

Code Implementations(1)

darroyue/Ring-RPQOfficial100%
GPL-3.0
43OpenEdge ABL, C++Sep 30, 20214 years agoGPL-3.0

Similar Papers

Cite this paper

@article{arroyuelo2021time,
  title  = {Time- and Space-Efficient Regular Path Queries on Graphs},
  author = {Diego Arroyuelo and Aidan Hogan and Gonzalo Navarro and Javiel Rojas-Ledesma},
  year   = {2021},
  eprint = {2111.04556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.04556}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.04556.svg)](https://codeofpaper.com/paper/2111.04556)

Discussion