2015arXiv (Cornell University)Open access

Combining Rewriting and Incremental Materialisation Maintenance for\n Datalog Programs with Equality

Boris Motik, Yavor Nenov, Robert Piro, Ian Horrocks

Open full text 0 citations

Abstract

Materialisation precomputes all consequences of a set of facts and a datalog\nprogram so that queries can be evaluated directly (i.e., independently from the\nprogram). Rewriting optimises materialisation for datalog programs with\nequality by replacing all equal constants with a single representative; and\nincremental maintenance algorithms can efficiently update a materialisation for\nsmall changes in the input facts. Both techniques are critical to practical\napplicability of datalog systems; however, we are unaware of an approach that\ncombines rewriting and incremental maintenance. In this paper we present the\nfirst such combination, and we show empirically that it can speed up updates by\nseveral orders of magnitude compared to using either rewriting or incremental\nmaintenance in isolation.\n

Open-access reader

About this research paper

What this paper is about

Materialisation precomputes all consequences of a set of facts and a datalog\nprogram so that queries can be evaluated directly (i.e., independently from the\nprogram). Rewriting optimises materialisation for datalog programs with\nequality by replacing all equal constants with a single representative; and\nincremental maintenance algorithms can efficiently update a materialisation for\nsmall changes in the input facts. Both techniques are critical to practical\napplicability of datalog systems; however, we are unaware of an approach that\ncombines rewriting and incremental maintenance. In this paper we present the\nfirst such combination, and we show empirically that it can speed up updates by\nseveral orders of magnitude compared to using either rewriting or incremental\nmaintenance in isolation.\n

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Materialisation precomputes all consequences of a set of facts and a datalog\nprogram so that queries can be evaluated directly (i.e., independently from the\nprogram). Rewriting optimises materialisation for datalog programs with\nequality by replacing all equal constants with a single representative; and\nincremental maintenance algorithms can efficiently update a materialisation for\nsmall changes in the input facts. Both techniques are critical to practical\napplicability of datalog systems; however, we are unaware of an approach that\ncombines rewriting and incremental maintenance. In this paper we present the\nfirst such combination, and we show empirically that it can speed up updates by\nseveral orders of magnitude compared to using either rewriting or incremental\nmaintenance in isolation.\n

Key concepts: Datalog, Rewriting, Computer science, Set (abstract data type), Programming language, Isolation (microbiology), Theoretical computer science, Microbiology

Related papers

Back to paper searchBrowse research topicsOriginal source
Combining Rewriting and Incremental Materialisation Maintenance for\n Datalog Programs with Equality — Research Paper | ScholarLens