Table of Contents
Fetching ...

Hypothetical answers to continuous queries over data streams

Luís Cruz-Filipe, Graça Gaspar, Isabel Nunes

TL;DR

This work addresses the challenge of answering continuous queries on unbounded data streams when input is incomplete or delayed. It introduces hypothetical answers that combine current data with plausible future facts, formalizing this with a declarative semantics in Temporal Datalog and an SLD-resolution-based operational semantics. The authors present a two-stage online algorithm that first pre-processes the program to generate schematic, premise-bearing answers and then incrementally updates them as new stream data arrives, proving soundness and completeness. They extend the framework to Temporal Datalog with negation using a safety- and stratification-based approach, and discuss related work and practical considerations such as memory management and forgetting. Overall, the approach promises timely, informative guidance in prognosis-style applications while providing a principled basis for incremental stream reasoning with potentially unbounded input.

Abstract

Continuous queries over data streams may suffer from blocking operations and/or unbound wait, which may delay answers until some relevant input arrives through the data stream. These delays may turn answers, when they arrive, obsolete to users who sometimes have to make decisions with no help whatsoever. Therefore, it can be useful to provide hypothetical answers - "given the current information, it is possible that X will become true at time t" - instead of no information at all. In this paper we present a semantics for queries and corresponding answers that covers such hypothetical answers, together with an online algorithm for updating the set of facts that are consistent with the currently available information.

Hypothetical answers to continuous queries over data streams

TL;DR

This work addresses the challenge of answering continuous queries on unbounded data streams when input is incomplete or delayed. It introduces hypothetical answers that combine current data with plausible future facts, formalizing this with a declarative semantics in Temporal Datalog and an SLD-resolution-based operational semantics. The authors present a two-stage online algorithm that first pre-processes the program to generate schematic, premise-bearing answers and then incrementally updates them as new stream data arrives, proving soundness and completeness. They extend the framework to Temporal Datalog with negation using a safety- and stratification-based approach, and discuss related work and practical considerations such as memory management and forgetting. Overall, the approach promises timely, informative guidance in prognosis-style applications while providing a principled basis for incremental stream reasoning with potentially unbounded input.

Abstract

Continuous queries over data streams may suffer from blocking operations and/or unbound wait, which may delay answers until some relevant input arrives through the data stream. These delays may turn answers, when they arrive, obsolete to users who sometimes have to make decisions with no help whatsoever. Therefore, it can be useful to provide hypothetical answers - "given the current information, it is possible that X will become true at time t" - instead of no information at all. In this paper we present a semantics for queries and corresponding answers that covers such hypothetical answers, together with an online algorithm for updating the set of facts that are consistent with the currently available information.

Paper Structure

This paper contains 32 sections, 27 theorems, 31 equations.

Key Result

Proposition 1

Let $\Pi$ be a program, $G$ be a goal, and suppose that there is an SLD-refutation of $\Pi\cup\{G\}$ with computed answer $\theta$. Then $\Pi\models\forall(\neg G\theta)$.

Theorems & Definitions (92)

  • Definition 1
  • Example 1
  • Definition 2
  • Definition 3
  • Proposition 1: Soundness
  • Proposition 2: Completeness
  • Proposition 3: Independence of the computation rule
  • Definition 4
  • Definition 5
  • Proposition 4
  • ...and 82 more