Reasoning over Streaming Data in Metric Temporal Datalog

We study stream reasoning in datalogMTL—an extension of Datalog with metric temporal operators. We propose a sound and complete stream reasoning algorithm that is applicable to a fragment datalogMTLFP of datalogMTL, in which propagation of derived information towards past time points is precluded. Memory consumption in our algorithm depends both on the properties of the rule set and the input data stream; in particular, it depends on the distances between timestamps occurring in data. This is undesirable since these distances can be very small, in which case the algorithm may require large amounts of memory. To address this issue, we propose a second algorithm, where the size of the required memory becomes independent on the timestamps in the data at the expense of disallowing punctual intervals in the rule set. Finally, we provide tight bounds to the data complexity of standard query answering in datalogMTLFP without punctual intervals in rules, which yield a new PSPACE lower bound to the data complexity of the full datalogMTL.

[1]  Thomas Eiter,et al.  LARS: A Logic-Based Framework for Analyzing Reasoning over Streams , 2015, AAAI.

[2]  Joël Ouaknine,et al.  Online Monitoring of Metric Temporal Logic , 2014, RV.

[3]  Jan Chomicki,et al.  Efficient checking of temporal integrity constraints using bounded history encoding , 1995, TODS.

[4]  Felix Klaedtke,et al.  Algorithms for monitoring real-time properties , 2011, Acta Informatica.

[5]  Carlo Zaniolo,et al.  Logical Foundations of Continuous Query Languages for Data Streams , 2012, Datalog.

[6]  Daniele Braga,et al.  C-SPARQL: SPARQL for continuous querying , 2009, WWW '09.

[7]  Dejan Nickovic,et al.  From Mtl to Deterministic Timed Automata , 2010, FORMATS.

[8]  Boris Motik,et al.  Stream Reasoning in Temporal Datalog , 2017, AAAI.

[9]  Ian Horrocks,et al.  The Window Validity Problem in Rule-Based Stream Reasoning , 2018, KR.

[10]  Óscar Corcho,et al.  RSP-QL Semantics: A Unifying Query Model to Explain Heterogeneity of RDF Stream Processing Systems , 2014, Int. J. Semantic Web Inf. Syst..

[11]  Frank van Harmelen,et al.  Streaming the Web: Reasoning over dynamic data , 2014, J. Web Semant..

[12]  Stanislav Kikot,et al.  On the Data Complexity of Ontology-Mediated Queries with MTL Operators over Timed Words , 2018, Description Logics.

[13]  Grigore Rosu,et al.  Monitoring Algorithms for Metric Temporal Logic Specifications , 2004, RV@ETAPS.

[14]  Freddy Lécué,et al.  Deep Dive on Smart Cities by Scaling Reasoning and Interpreting the Semantics of IoT , 2017, EGC.

[15]  Ralf Möller,et al.  A Stream-Temporal Query Language for Ontology Based Data Access , 2014, Description Logics.

[16]  Sebastian Rudolph,et al.  EP-SPARQL: a unified language for event processing and stream reasoning , 2011, WWW.

[17]  Giuseppe Nuti,et al.  Algorithmic Trading , 2011, Computer.

[18]  Thomas A. Henzinger,et al.  Real-Time Logics: Complexity and Expressiveness , 1993, Inf. Comput..

[19]  D. Dell'Aglio A Unifying Query Model to Explain Heterogeneity of RDF Stream Processing Systems , 2020 .

[20]  Patrick Doherty,et al.  DyKnow: An approach to middleware for knowledge processing , 2004, J. Intell. Fuzzy Syst..

[21]  Jianwei Niu,et al.  Monitoring Dense-Time, Continuous-Semantics, Metric Temporal Logic , 2012, RV.

[22]  Patrick Doherty,et al.  A temporal logic-based planning and execution monitoring framework for unmanned aircraft systems , 2009, Autonomous Agents and Multi-Agent Systems.

[23]  Michael Zakharyaschev,et al.  Querying Log Data with Metric Temporal Logic , 2017, J. Artif. Intell. Res..

[24]  Georg Carle,et al.  Real-time Analysis of Flow Data for Network Attack Detection , 2007, 2007 10th IFIP/IEEE International Symposium on Integrated Network Management.

[25]  Thomas A. Henzinger,et al.  The benefits of relaxing punctuality , 1991, PODC '91.