Time- and Space-Efficient Regular Path Queries on Graphs

11/08/2021
by   Diego Arroyuelo, et al.
0

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

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/27/2023

Evaluating Regular Path Queries on Compressed Adjacency Matrices

Regular Path Queries (RPQs), which are essentially regular expressions t...
research
04/26/2019

Regular Expression Matching on billion-nodes Graphs

In many applications, it is necessary to retrieve pairs of vertices with...
research
08/25/2020

Faster Reachability in Static Graphs

One of the most fundamental problems in computer science is the reachabi...
research
07/06/2021

Space Efficient Two-Dimensional Orthogonal Colored Range Counting

In the two-dimensional orthogonal colored range counting problem, we pre...
research
08/05/2022

Jumping Evaluation of Nested Regular Path Queries

Nested regular path queries are used for querying graph databases and RD...
research
07/27/2022

Representing Paths in Graph Database Pattern Matching

Modern graph database query languages such as GQL, SQL/PGQ, and their ac...
research
11/14/2022

Augmented Thresholds for MONI

MONI (Rossi et al., 2022) can store a pangenomic dataset T in small spac...

Please sign up or login with your details

Forgot password? Click here to reset