Abstract
Reasoning over structured data often requires handling both temporal dynamics and incomplete information. This paper presents DatalogMTL$^{\exists}$, a framework that extends Metric Temporal Datalog with existential rules for "value invention." To overcome the inherent undecidability of temporal existential reasoning under standard interpretations, the authors introduce uniform semantics. This approach ensures that invented entities remain consistent over time intervals, rendering the reasoning process decidable for key program classes. Theoretical analysis establishes complexity bounds, and empirical evaluations demonstrate that the system scales effectively to large temporal datasets.
Introduction
In knowledge representation, Datalog is a standard for recursive reasoning. However, real-world applications frequently encounter two challenges: time-varying facts and missing information. For instance, in traffic monitoring, we might know a vehicle is moving and infer the existence of a driver, even if the driver's identity is unknown. DatalogMTL$^{\exists}$ addresses this by combining Metric Temporal Logic (MTL) with existential quantification.
The Challenge of Temporal Existentials
Standard existential Datalog (Datalog$^{\exists}$) allows for the creation of "anonymous" individuals. In a temporal context, a "natural" interpretation of these rules can be problematic. In a dense timeline, an existential rule might imply a distinct new entity for every infinitesimal point in time, leading to an infinite set of values and making reasoning undecidable even for highly restricted program fragments.
Uniform Semantics and Decidability
The authors' primary contribution is the introduction of uniform semantics. Unlike natural semantics, which evaluates existential rules independently at every time point, uniform semantics assumes that an invented value persists consistently across the relevant temporal interval. For example, a "driver" entity remains the same throughout a continuous driving event.
This shift in perspective is both computationally beneficial and intuitively aligned with human reasoning. By applying Skolemization and a temporal chase procedure, the authors prove that reasoning under uniform semantics becomes decidable for weakly-acyclic programs.
As shown in the table above, while natural semantics remains undecidable across the board, uniform semantics provides a path to decidability, with complexity ranging from ExpSpace-complete to 2-ExpSpace-complete depending on the assumptions (Closed vs. Open World) and program structure.
Experimental Evaluation
To validate the practical utility of DatalogMTL$^{\exists}$, the authors implemented a prototype extending the Vadalog system. They tested it against two benchmarks: SUMO, featuring real-world traffic data, and iTemporal, a synthetic benchmark for large-scale stress testing.
The experimental results indicate that the system handles complex temporal reasoning efficiently. For the SUMO datasets, reasoning times remained under 400ms. Even with the massive iTemporal datasets containing 500,000 facts, the system successfully terminated in an average of 17 seconds for recursive programs, demonstrating that the high theoretical complexity does not preclude practical performance.
Conclusion
DatalogMTL$^{\exists}$ bridges the gap between temporal reasoning and incomplete information. By introducing uniform semantics, the authors have tamed the undecidability of temporal existential rules, providing a robust theoretical foundation and a high-performance implementation. Future work will focus on further optimizing the chase procedure and exploring applications in high-speed data streaming.
Summary updated