Ticker: A system for incremental ASP-based stream reasoning*

In complex reasoning tasks, as expressible by Answer Set Programming (ASP), problems often permit for multiple solutions. In dynamic environments, where knowledge is continuously changing, the question arises how a given model can be incrementally adjusted relative to new and outdated information. This paper introduces Ticker, a prototypical engine for well-defined logical reasoning over streaming data. Ticker builds on a practical fragment of the recent rule-based language LARS which extends Answer Set Programming for streams by providing flexible expiration control and temporal modalities. We discuss Ticker's reasoning strategies: First, the repeated one-shot solving mode calls Clingo on an ASP encoding. We show how this translation can be incrementally updated when new data is streaming in or time passes by. Based on this, we build on Doyle's classic justification-based truth maintenance system (TMS) to update models of non-stratified programs. Finally, we empirically compare the obtained evaluation mechanisms. This paper is under consideration for acceptance in TPLP.

[1]  Dieter Fensel,et al.  It's a Streaming World! Reasoning upon Rapidly Changing Information , 2009, IEEE Intelligent Systems.

[2]  Martin Gebser,et al.  Reactive Answer Set Programming , 2011, LPNMR.

[3]  Martin Gebser,et al.  Stream Reasoning with Answer Set Programming: Preliminary Report , 2012, KR.

[4]  Thomas Eiter,et al.  Stream reasoning-based control of caching strategies in CCN routers , 2016, 2017 IEEE International Conference on Communications (ICC).

[5]  Jennifer Widom,et al.  Continuous queries over data streams , 2001, SGMD.

[6]  Daniele Braga,et al.  Incremental Reasoning on Streams and Rich Background Knowledge , 2010, ESWC.

[7]  Jon Doyle,et al.  A Truth Maintenance System , 1979, Artif. Intell..

[8]  Martin Gebser,et al.  Ricochet Robots Reloaded: A Case-Study in Multi-shot ASP Solving , 2014, Advances in Knowledge Representation, Logic Programming, and Abstract Argumentation.

[9]  Martin Gebser,et al.  Clingo = ASP + Control: Preliminary Report , 2014, ArXiv.

[10]  Thomas Eiter,et al.  Answer Update for Rule-Based Stream Reasoning , 2015, IJCAI.

[11]  Ratul Mahajan,et al.  Measuring ISP topologies with rocketfuel , 2002, TNET.

[12]  Jeff Z. Pan,et al.  Optimising ontology stream reasoning with truth maintenance system , 2011, CIKM '11.

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

[14]  Fei Liu,et al.  Answer Set Programming for Stream Reasoning , 2011, Canadian Conference on AI.

[15]  Sebastian Rudolph,et al.  Stream reasoning and complex event processing in ETALIS , 2012, Semantic Web.

[16]  Antonius Weinzierl,et al.  OMiGA : An Open Minded Grounding On-The-Fly Answer Set Solver , 2012, JELIA.

[17]  Pascal Nicolas,et al.  The First Version of a New ASP Solver : ASPeRiX , 2009, LPNMR.

[18]  Martin Gebser,et al.  Answer Set Programming for Stream Reasoning , 2013, ArXiv.

[19]  Charles Elkan,et al.  A Rational Reconstruction of Nonmonotonic Truth Maintenance Systems , 1990, Artif. Intell..

[20]  V. S. Subrahmanian,et al.  Maintaining views incrementally , 1993, SIGMOD Conference.

[21]  Mario Alviano,et al.  Anytime Computation of Cautious Consequences in Answer Set Programming , 2014, Theory and Practice of Logic Programming.

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

[23]  Danh Le Phuoc,et al.  A Native and Adaptive Approach for Unified Processing of Linked Streams and Linked Data , 2011, SEMWEB.

[24]  Alessandro Dal Palù,et al.  Answer Set Programming with Constraints Using Lazy Grounding , 2009, ICLP.