Temporal Regular Path Queries

07/02/2021
by   Marcelo Arenas, et al.
0

In the last decade, substantial progress has been made towards standardizing the syntax of graph query languages, and towards understanding their semantics and complexity of evaluation. In this paper, we consider temporal property graphs (TPGs) and propose temporal regular path queries (TRPQs) that incorporate time into TPG navigation. Starting with design principles, we propose a natural syntactic extension of the MATCH clause of popular graph query languages. We then formally present the semantics of TRPQs, and study the complexity of their evaluation. We show that TRPQs can be evaluated in polynomial time if TPGs are time-stamped with time points, and identify fragments of the TRPQ language that admit efficient evaluation over a more succinct interval-annotated representation. Finally, we implement a fragment of the language in a state-of-the-art dataflow framework, and experimentally demonstrate that TRPQ can be evaluated efficiently.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/13/2023

Conjunctive Regular Path Queries under Injective Semantics

We introduce injective semantics for Conjunctive Regular Path Queries (C...
research
03/01/2019

A Trichotomy for Regular Trail Queries

Regular path queries (RPQs) are an essential component of graph query la...
research
07/20/2017

An extension of SPARQL for expressing qualitative preferences

In this paper we present SPREFQL, an extension of the SPARQL language th...
research
04/04/2020

Regular Path Query Evaluation on Streaming Graphs

We study persistent query evaluation over streaming graphs, which is bec...
research
07/04/2017

Context-Free Path Querying by Matrix Multiplication

Graph data models are widely used in many areas, for example, bioinforma...
research
11/17/2021

Semantic Foundations of Seraph Continuous Graph Query Language

The scientific community has been studying graph data models for decades...
research
11/23/2022

Run-Based Semantics for RPQs

The formalism of RPQs (regular path queries) is an important building bl...

Please sign up or login with your details

Forgot password? Click here to reset