English

Time- and Space-Efficient Regular Path Queries on Graphs

Databases 2021-11-09 v1 Data Structures and Algorithms

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. 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).

Keywords

Cite

@article{arxiv.2111.04556,
  title  = {Time- and Space-Efficient Regular Path Queries on Graphs},
  author = {Diego Arroyuelo and Aidan Hogan and Gonzalo Navarro and Javiel Rojas-Ledesma},
  journal= {arXiv preprint arXiv:2111.04556},
  year   = {2021}
}
R2 v1 2026-06-24T07:30:43.214Z