AINov 15, 2025

Incremental Maintenance of DatalogMTL Materialisations

arXiv:2511.12169v2h-index: 2
Originality Incremental advance
AI Analysis

This addresses the need for dynamic updates in real-world applications with frequent data changes, though it is incremental as it builds upon the classical DRed algorithm.

The paper tackles the problem of efficiently updating materialisations in DatalogMTL, a temporal extension of Datalog, by proposing DRedMTL, an incremental reasoning algorithm that often significantly outperforms rematerialisation, sometimes by orders of magnitude.

DatalogMTL extends the classical Datalog language with metric temporal logic (MTL), enabling expressive reasoning over temporal data. While existing reasoning approaches, such as materialisation based and automata based methods, offer soundness and completeness, they lack support for handling efficient dynamic updates, a crucial requirement for real-world applications that involve frequent data updates. In this work, we propose DRedMTL, an incremental reasoning algorithm for DatalogMTL with bounded intervals. Our algorithm builds upon the classical DRed algorithm, which incrementally updates the materialisation of a Datalog program. Unlike a Datalog materialisation which is in essence a finite set of facts, a DatalogMTL materialisation has to be represented as a finite set of facts plus periodic intervals indicating how the full materialisation can be constructed through unfolding. To cope with this, our algorithm is equipped with specifically designed operators to efficiently handle such periodic representations of DatalogMTL materialisations. We have implemented this approach and tested it on several publicly available datasets. Experimental results show that DRedMTL often significantly outperforms rematerialisation, sometimes by orders of magnitude.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes