Finite Materialisability of Datalog Programs with Metric Temporal Operators
Wałęga, Przemysław (a:1:{s:5:"en_US";s:20:"University of Oxford";}) | Zawidzki, Michał | Cuenca Grau, Bernardo
–Journal of Artificial Intelligence Research
DatalogMTL is an extension of Datalog with metric temporal operators that has recently found applications in stream reasoning and temporal ontology-based data access. In contrast to plain Datalog, where materialisation (a.k.a. forward chaining) naturally terminates in finitely many steps, reaching a fixpoint in DatalogMTL may require infinitely many rounds of rule applications. As a result, existing reasoning systems resort to other approaches, such as constructing large Büchi automata, whose implementations turn out to be highly inefficient in practice. In this paper, we propose and study finitely materialisable DatalogMTL programs, for which forward chaining reasoning is guaranteed to terminate. We consider a data-dependent notion of finite materialisability of a program, where termination is guaranteed for a given dataset, as well as a data-independent notion, where termination is guaranteed regardless of the dataset. We show that, for bounded programs (a natural DatalogMTL fragment for which reasoning is as hard as in the full language), checking data-dependent finite materialisability is ExpSpace-complete in combined complexity and PSpace-complete in data complexity; furthermore, we propose a practical materialisation-based decision procedure that works in doubly exponential time. We show that checking data-independent finite materialisability for bounded progams is computationally easier, namely ExpTime-complete; moreover, we propose sufficient conditions for data-indenpendent finite materialisability that can be efficiently checked. We provide also the complexity landscape of fact entailment for different classes of finitely materialisable programs; surprisingly, we could identify a large class of finitely materialisable programs, called MTL-acyclic programs, for which fact entailment has exactly the same data and combined complexity as in plain Datalog, which makes this fragment especially well suited for big-scale applications.
Journal of Artificial Intelligence Research
Jan-28-2023
- Country:
- South America
- Chile > Santiago Metropolitan Region
- Santiago Province > Santiago (0.04)
- Brazil > Federal District
- Brasília (0.04)
- Argentina > Pampas
- Buenos Aires F.D. > Buenos Aires (0.04)
- Chile > Santiago Metropolitan Region
- Oceania > New Zealand
- North Island > Auckland Region > Auckland (0.04)
- North America
- United States
- Illinois (0.04)
- Texas > Travis County
- Austin (0.04)
- Tennessee > Davidson County
- Nashville (0.04)
- Oregon > Lane County
- Eugene (0.14)
- New York > New York County
- New York City (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- California
- San Francisco County > San Francisco (0.14)
- Los Angeles County > Pasadena (0.04)
- Arizona > Maricopa County
- Tempe (0.04)
- Canada
- Quebec > Capitale-Nationale Region
- Québec (0.04)
- Quebec City (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Quebec > Capitale-Nationale Region
- United States
- Europe
- Czechia > Prague (0.04)
- Slovenia (0.04)
- Italy (0.04)
- Belgium (0.04)
- Switzerland > Vaud
- Lausanne (0.04)
- Hungary > Budapest
- Budapest (0.04)
- Germany > Saxony
- Dresden (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- Greece > Attica
- Athens (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Norway > Eastern Norway
- Oslo (0.04)
- Netherlands > South Holland
- The Hague (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia
- Africa > South Africa
- Western Cape > Cape Town (0.04)
- South America
- Industry:
- Technology: