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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d4556218-2649-40dd-b559-b2a91bb5443cBuilds on2
- MeTeoR: Practical Reasoning in Datalog with Metric Temporal OperatorsDingmin Wang, Pan Hu, Przemyslaw Andrzej Walega, Bernardo Cuenca GrauAAAI 2022 · 39 citations
- 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
- Incremental Maintenance of DatalogMTL MaterialisationsKaiyue Zhao, Dingqi Chen, Shaoyu Wang, Pan HuAAAI 2026
- iTemporal: An Extensible Generator of Temporal BenchmarksLuigi Bellomarini, Markus Nissl, Emanuel SallingerICDE 2022 · 7 citations
- Goal-Driven Reasoning in DatalogMTL with Magic SetsShaoyu Wang, Kaiyue Zhao, Dongliang Wei, Przemyslaw Andrzej Walega et al.AAAI 2025 · 2 citations
- Optimised Storage for Datalog ReasoningXinyue Zhang, Pan Hu, Yavor Nenov, Ian HorrocksAAAI 2024
- Early Verification of Legal Compliance via Bounded Satisfiability CheckingNick Feng, Lina Marsso, Mehrdad Sabetzadeh, Marsha ChechikCAV 2023 · 15 citations
