Lune

AAAI2023Top-tier venue

Materialisation-Based Reasoning in DatalogMTL with Bounded Intervals

Przemyslaw Andrzej Walega, Michal Zawidzki, Dingmin Wang, Bernardo Cuenca Grau

Abstract

DatalogMTL is a powerful extension of Datalog with operators from metric temporal logic (MTL), which has received significant attention in recent years. In this paper, we investigate materialisation-based reasoning (a.k.a. forward chaining) in the context of DatalogMTL programs and datasets with bounded intervals, where partial representations of the canonical model are obtained through successive rounds of rule applications. Although materialisation does not naturally terminate in this setting, it is known that the structure of canonical models is ultimately periodic. Our first contribution in this paper is a detailed analysis of the periodic structure of canonical models; in particular, we formulate saturation conditions whose satisfaction by a partial materialisation implies an ability to recover the full canonical model via unfolding; this allows us to compute the actual periods describing the repeating parts of the canonical model as well as to establish concrete bounds on the number of rounds of rule applications required to achieve saturation. Based on these theoretical results, we propose a practical reasoning algorithm where saturation can be efficiently detected as materialisation progresses, and where the relevant periods used to evaluate entailment of queries via unfolding are efficiently computed. We have implemented our algorithm and our experiments suggest that our approach is both scalable and robust.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MeTeoR: Practical Reasoning in Datalog with Metric Temporal Operators cites Stratified Negation in Datalog with Metric Temporal Operators
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. MeTeoR: Practical Reasoning in Datalog with Metric Temporal OperatorsDingmin Wang, Pan Hu, Przemyslaw Andrzej Walega, Bernardo Cuenca GrauAAAI 2022 · 39 citations
  2. Stratified Negation in Datalog with Metric Temporal OperatorsDavid J. Tena Cucala, Przemyslaw Andrzej Walega, Bernardo Cuenca Grau, Egor V. KostylevAAAI 2021 · 28 citations

Related papers

  1. Incremental Maintenance of DatalogMTL MaterialisationsKaiyue Zhao, Dingqi Chen, Shaoyu Wang, Pan HuAAAI 2026
  2. iTemporal: An Extensible Generator of Temporal BenchmarksLuigi Bellomarini, Markus Nissl, Emanuel SallingerICDE 2022 · 7 citations
  3. Goal-Driven Reasoning in DatalogMTL with Magic SetsShaoyu Wang, Kaiyue Zhao, Dongliang Wei, Przemyslaw Andrzej Walega et al.AAAI 2025 · 2 citations
  4. Optimised Storage for Datalog ReasoningXinyue Zhang, Pan Hu, Yavor Nenov, Ian HorrocksAAAI 2024
  5. Early Verification of Legal Compliance via Bounded Satisfiability CheckingNick Feng, Lina Marsso, Mehrdad Sabetzadeh, Marsha ChechikCAV 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines