Query Transformation for Processing Streams in Decision-making Agents

Authors

  • Simon Schiff University of Lübeck https://orcid.org/0000-0002-1986-3119
  • Mena Leemhuis University of Lübeck
  • Özgür Özcep University of Lübeck
  • Ralf Möller University of Lübeck

DOI:

https://doi.org/10.32473/flairs.36.133104

Keywords:

streams, continuous queries, ontology based data access

Abstract

An agent in pursuit of a task repeatedly perceives its environment through sensors, updates its state based on observations, and then decides which action to take, given the current state of the environment. Observations have in common that they are made at a given time point and thus referred to as temporal data. Usually, such temporal data is provided as stream data if the agent continuously receives the data, or it is provided as historic data if the stream data is stored in, for instance, a database the agent has access to. DBMSs are especially designed to process static data (i.e. non-temporal data) given a declarative query language such as SQL. However, if the aim is to exploit temporal data as required in time series analysis, SQL has its limits because it does not provide useful abstractions such as a window operator. Hence high-level declarative stream query languages, equipped with time-based window operators were designed. A challenge of those abstractions is the additional overhead of the algorithms that automatically transform high-level queries into low-level queries executable over DBMSs. If not handled properly those transformation algorithms may result in low-level queries with processing times too long for agents to make decisions. We describe a robust and optimized transformation algorithm for a high-level declarative stream query language and show that it leads to low-level queries with feasible processing times on real-world data.

Downloads

Published

08-05-2023

How to Cite

Schiff, S., Leemhuis, M., Özcep, Özgür, & Möller, R. (2023). Query Transformation for Processing Streams in Decision-making Agents. The International FLAIRS Conference Proceedings, 36(1). https://doi.org/10.32473/flairs.36.133104

Issue

Section

Main Track Proceedings