JOURNAL ARTICLE

Finitely Materialisable Datalog Programs with Metric Temporal Operators

Abstract

DatalogMTL is an extension of Datalog with metric temporal operators that has recently received significant attention. In contrast to plain Datalog, where scalable implementations are often based on materialisation (a.k.a. forward chaining), reasoning algorithms for recursive fragments of DatalogMTL are automata-based and not well suited for practice. In this paper we propose the class of finitely materialisable DatalogMTL programs, for which forward chaining reasoning terminates after finitely many rounds of rule application. We show that, for bounded programs (a large fragment of DatalogMTL where temporal intervals are restricted to not mention infinity), checking whether a program is finitely materialisable is feasible in exponential time, and propose sufficient conditions for finite materialisability that can be checked more efficiently. We finally show that fact entailment over finitely materialisable bounded programs is ExpTime-complete, and hence no harder than Datalog reasoning.

Keywords:
Datalog Fragment (logic) Computer science Bounded function Backward chaining Forward chaining Class (philosophy) Decidability Theoretical computer science Programming language Extension (predicate logic) Scalability Discrete mathematics Mathematics Expert system Artificial intelligence Database

Metrics

10
Cited By
1.41
FWCI (Field Weighted Citation Impact)
32
Refs
0.85
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Logic, programming, and type systems
Physical Sciences →  Computer Science →  Artificial Intelligence
Formal Methods in Verification
Physical Sciences →  Computer Science →  Computational Theory and Mathematics

Related Documents

JOURNAL ARTICLE

Stratified Negation in Datalog with Metric Temporal Operators

David J. Tena CucalaPrzemysław Andrzej WałęgaBernardo Cuenca GrauEgor V. Kostylev

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2021 Vol: 35 (7)Pages: 6488-6495
JOURNAL ARTICLE

MeTeoR: Practical Reasoning in Datalog with Metric Temporal Operators

Dingmin WangPan HuPrzemysław Andrzej WałęgaBernardo Cuenca Grau

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2022 Vol: 36 (5)Pages: 5906-5913
JOURNAL ARTICLE

The Stable Model Semantics of Datalog with Metric Temporal Operators

Przemysław Andrzej WałęgaDavid J. Tena CucalaBernardo Cuenca GrauEgor V. Kostylev

Journal:   Theory and Practice of Logic Programming Year: 2023 Vol: 24 (1)Pages: 22-56
© 2026 ScienceGate Book Chapters — All rights reserved.