Practical Reasoning in DatalogMTL

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wang, Dingmin, Wałęga, Przemysław A., Hu, Pan, Grau, Bernardo Cuenca
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916786031558656
author Wang, Dingmin
Wałęga, Przemysław A.
Hu, Pan
Grau, Bernardo Cuenca
author_facet Wang, Dingmin
Wałęga, Przemysław A.
Hu, Pan
Grau, Bernardo Cuenca
contents DatalogMTL is an extension of Datalog with metric temporal operators that has found an increasing number of applications in recent years. Reasoning in DatalogMTL is, however, of high computational complexity, which makes reasoning in modern data-intensive applications challenging. In this paper we present a practical reasoning algorithm for the full DatalogMTL language, which we have implemented in a system called MeTeoR. Our approach effectively combines an optimised (but generally non-terminating) materialisation (a.k.a. forward chaining) procedure, which provides scalable behaviour, with an automata-based component that guarantees termination and completeness. To ensure favourable scalability of the materialisation component, we propose a novel seminaïve materialisation procedure for DatalogMTL enjoying the non-repetition property, which ensures that each specific rule application will be considered at most once throughout the entire execution of the algorithm. Moreover, our materialisation procedure is enhanced with additional optimisations which further reduce the number of redundant computations performed during materialisation by disregarding rules as soon as it is certain that they cannot derive new facts in subsequent materialisation steps. Our extensive evaluation supports the practicality of our approach.
format Preprint
id arxiv_https___arxiv_org_abs_2401_02869
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Practical Reasoning in DatalogMTL
Wang, Dingmin
Wałęga, Przemysław A.
Hu, Pan
Grau, Bernardo Cuenca
Logic in Computer Science
DatalogMTL is an extension of Datalog with metric temporal operators that has found an increasing number of applications in recent years. Reasoning in DatalogMTL is, however, of high computational complexity, which makes reasoning in modern data-intensive applications challenging. In this paper we present a practical reasoning algorithm for the full DatalogMTL language, which we have implemented in a system called MeTeoR. Our approach effectively combines an optimised (but generally non-terminating) materialisation (a.k.a. forward chaining) procedure, which provides scalable behaviour, with an automata-based component that guarantees termination and completeness. To ensure favourable scalability of the materialisation component, we propose a novel seminaïve materialisation procedure for DatalogMTL enjoying the non-repetition property, which ensures that each specific rule application will be considered at most once throughout the entire execution of the algorithm. Moreover, our materialisation procedure is enhanced with additional optimisations which further reduce the number of redundant computations performed during materialisation by disregarding rules as soon as it is certain that they cannot derive new facts in subsequent materialisation steps. Our extensive evaluation supports the practicality of our approach.
title Practical Reasoning in DatalogMTL
topic Logic in Computer Science
url https://arxiv.org/abs/2401.02869