Temporal Query Answering in DL-Lite

Stefan Borgwardt, Marcel Lippmann, Veronika ThostDescription Logics 2013

In the modern landscape of data management, information is rarely static. From monitoring server fleets to tracking air traffic, data arrives in continuous streams that evolve over time. However, these streams are frequently incomplete due to sensor failures or unobserved events. Traditional database systems, which operate under the Closed World Assumption (treating unobserved facts as false), struggle with such gaps. While Ontology-Based Data Access (OBDA) provides a solution by using Description Logics (DL) to infer missing information, it has historically been limited to static snapshots of data.

In the paper "Temporal Query Answering in $DL\text{-}Lite$," authors Stefan Borgwardt, Marcel Lippmann, and Veronika Thost present a formal framework to extend OBDA into the temporal domain. By combining the $DL\text{-}Lite$ family of ontologies with Linear Temporal Logic (LTL), the authors provide a mechanism for sophisticated, time-aware monitoring under an Open World Assumption.

The Problem: Temporal Reasoning Over Incomplete Data

Standard OBDA allows users to query data through a conceptual lens (the ontology), which fills in missing facts using domain knowledge. For example, if a sensor indicates a server is "HighLoad," the ontology might infer it is "Active." However, traditional OBDA cannot natively process queries that span time, such as: "Find all servers that have been nearly overloaded at least twice in the last ten minutes."

To address this, the authors integrate LTL—a logic used to reason about sequences of events—with $DL\text{-}Lite$, a lightweight DL family designed for efficient query rewriting. The challenge lies in maintaining efficiency when queries look into the future or require tracking a long history of events.

Proposed Methodology

The authors propose a two-step approach to decouple the domain-specific logic from the temporal logic, allowing for a modular and scalable reasoning process.

1. First-Order Rewriting

First, the system leverages a core property of $DL\text{-}Lite$: First-Order (FO) Rewritability. The ontological query is "rewritten" into a standard database query (a Union of Conjunctive Queries). This step effectively incorporates the knowledge from the ontology into the query itself, allowing the ontology to be discarded during the subsequent temporal processing phase.

2. Temporal Query Processing

Once the ontology is removed, the problem becomes one of answering temporal queries over a sequence of standard database interpretations. The authors explore two primary strategies for this:

  • Eliminating Future Operators: Using a "separation theorem," queries that reference future states (e.g., "Eventually $P$") can be rewritten into equivalent queries that only reference the past. This enables bounded history encoding, where the system requires only a fixed amount of memory to answer queries, regardless of the stream's duration.
  • The Iterative Algorithm: Because the separation method can lead to a non-elementary explosion in query size, the authors introduce a new iterative algorithm. This algorithm utilizes "answer formulae"—placeholders that store partial results and "promises" for sub-queries that can only be resolved as new data arrives. This approach manages the trade-off between the complexity of the query and the memory required to store state.

Key Theoretical Results

The paper establishes several foundational proofs for temporal OBDA:

  • Reduction to Standard Interpretations (Theorem 9): The authors prove that answering temporal queries over a $DL\text{-}Lite$ knowledge base can be reduced to answering those queries over a sequence of standard database interpretations, validating the two-step decoupling approach.
  • Bounded History Feasibility (Theorem 11 & Corollary 12): They establish that for any temporal query, there exists an equivalent "past-only" query. This confirms that, theoretically, it is possible to monitor temporal properties using constant memory.
  • Algorithm Correctness (Theorem 18): The authors demonstrate that their iterative algorithm accurately computes answers for infinite sequences of data, providing a robust foundation for real-time monitoring applications.

Discussion: The Memory-Complexity Trade-off

A central insight of the research is the fundamental tension in temporal monitoring. If a system aims for constant memory usage (bounded history), the resulting query can become exponentially large and computationally expensive to execute. Conversely, if the query is kept small, the memory usage may grow over time as the system tracks unfulfilled "future" operators (like "Until" or "Eventually").

While the iterative algorithm introduces simplification rules (such as distributivity and absorption) to mitigate memory growth, the authors acknowledge that space requirements are not independent of history length in all cases.

Conclusion and Future Work

This work provides a rigorous framework for temporal reasoning in $DL\text{-}Lite$, bridging the gap between static ontologies and dynamic data streams. Future research will focus on identifying specific classes of Temporal Conjunctive Queries (TCQs) that strictly guarantee bounded history encoding. Additionally, the authors intend to implement these algorithms to evaluate the practical efficiency of the trade-off between query size and memory consumption in real-world temporal databases.

Summary updated

BibTeX
@inproceedings{borgwardt2013temporal,
  author = {Stefan Borgwardt and Marcel Lippmann and Veronika Thost},
  title = {{Temporal Query Answering in DL-Lite}},
  booktitle = {Description Logics},
  year = {2013},
}
Figure