Certified Graph View Maintenance with Regular Datalog

04/27/2018
by   Angela Bonifati, et al.
0

We employ the Coq proof assistant to develop a mechanically-certified framework for evaluating graph queries and incrementally maintaining materialized graph instances, also called views. The language we use for defining queries and views is Regular Datalog (RD) -- a notable fragment of non-recursive Datalog that can express complex navigational queries, with transitive closure as native operator. We first design and encode the theory of RD and then mechanize a RD-specific evaluation algorithm capable of fine-grained, incremental graph view computation, which we prove sound with respect to the declarative RD semantics. By using the Coq extraction mechanism, we test an Ocaml version of the verified engine on a set of preliminary benchmarks. Our development is particularly focused on leveraging existing verification and notational techniques to: a) define mechanized properties that can be easily understood by logicians and database researchers and b) attain formal verification with limited effort. Our work is the first step towards a unified, machine-verified, formal framework for dynamic graph query languages and their evaluation engines. This paper is under consideration for acceptance in TPLP.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/12/2017

Incremental View Maintenance for Property Graph Queries

This paper discusses the challenges of incremental view maintenance for ...
research
03/01/2019

A Trichotomy for Regular Trail Queries

Regular path queries (RPQs) are an essential component of graph query la...
research
06/19/2018

Reducing Property Graph Queries to Relational Algebra for Incremental View Maintenance

The property graph data model of modern graph database systems is increa...
research
03/30/2022

DBSP: Automatic Incremental View Maintenance for Rich Query Languages

Incremental view maintenance has been for a long time a central problem ...
research
03/12/2020

On monotonic determinacy and rewritability for recursive queries and views

A query Q is monotonically determined over a set of views if Q can be ex...
research
11/12/2021

Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph Reduction

Regular path queries (RPQs) find pairs of vertices of paths satisfying g...
research
01/13/2018

The Problem of Correlation and Substitution in SPARQL -- Extended Version

Implementations of a standard language are expected to give same outputs...

Please sign up or login with your details

Forgot password? Click here to reset