SlideShare uma empresa Scribd logo
1 de 18
Retractable Complex Event Processing
and Stream Reasoning
Darko Anicic, Sebastian Rudolph, Paul Fodor, Nenad
Stojanovic
RuleML : Proceedings of the 5th International Symposium on Rules,
Barcelona, Spain
Agenda

 Introduction, Motivation

 ETALIS Language for Events
   • Syntax;
   • Semantics;
   • Experimental Results;
 Conclusion.
Logic-based Complex Event
                       Processing in ETALIS
Use background (contextual) knowledge to            CEP with on-the-fly knowledge
explore   semantic   relations   between            evaluation and stream
events, and detect otherwise undetectable           reasoning:
complex situation.
                                                    •   Complex situation based on
  ψ=?
  π ← φ ∨ ¬ ψ.                                          explicit data (events) and
  φ = true.                                             implicit/ explicit knowledge
                                                    •   Classification and filtering
  Event
  Sources                                           •   Context evaluation
                                                    •   Intelligent recommendation
                                       Detected
                                       Situations   •   Predictive analysis

                             CEP




                         Pattern
                         Definitions
Motivation

    Knowledge-based CEP & Stream Reasoning


•   Today’s CEP systems are focused mostly on throughput and
    timeliness;
•   Time critical actions/decisions are supposed to be taken upon detection
    of complex events;
•   These actions additionaly require evaluation of background knowledge;
•   Knowledge captures the domain of interest or context related to
    actions/decisions;
•   The task of reasoning over streaming data (events) and the background
    knowledge constitutes a challenge known as Stream Reasoning.

    Current CEP systems provide on the-fly analysis of data streams, but
    mainly fall short when it comes to combining streams with evolving
    knowledge and performing reasoning tasks.
Motivation

  Non-blocking Event Revision – Transactional Events


• Events in today’s CEP systems are assumed to be immutable and
  therefore always correct;
• In some situations however revisions are required:
     • an event was reported by mistake, but did not happen in reality;
     • an event was triggered and later revoked due to a transaction
       failure.
• As recognised in [Ryvkina et al. ICDE’06], event stream sources may
   issue revision tuples that amend previously issued events.

   Current CEP systems provide on the-fly analysis of data streams, but
   typically don’t take these revision tuples into account and produce
   correct revision outputs.
Related Work
DSMS Approaches for retractions in CEP:
   D. Carney et al. Monitoring streams: a new class of data management
   applications. In VLDB’02
   A. S. Maskey et al. Replay-based approaches to revision processing
   in stream query engines. In SSPS’02.
        based on archives of recent data and replying
        whole recent history is kept archived
    R. S. Barga et al. Consistent streaming through time: A vision for
    event stream processing. In CIDR’07.
        based on blocking, buffering and synchronisation point

Stream Reasoning approaches:
    D. F. Barbieri et al. An execution environment for C-SPARQL queries.
    In EDBT’10.
    A. Bolles et al. Streaming SPARQL – Extending SPARQL to Process
    Data Streams. In ESWC’10.
Agenda

 Introduction, Motivation

 ETALIS: Retractable CEP and Stream Reasoning
   • Syntax;
   • Semantics;
   • Experimental Results;
 Conclusion.
ETALIS: Language Syntax

ETALIS Language for Events is formally defined by:




• pr - a predicate name with arity n;
• t(i) - denote terms;
• t - is a term of type boolean;
• q - is a nonnegative rational number;
• BIN - is one of the binary operators:
SEQ, AND, PAR, OR, EQUALS, MEETS, STARTS, or FINISHES.

Event rule is defined as a formula of the following shape:



where p is an event pattern containing all variables occurring in
ETALIS: Interval-based Semantics
ETALIS: Formal Semantics
ETALIS: Operational Semantics (SEQ)
                          1. Complex pattern (not
a SEQ b SEQ c → ce1
                          event-driven rule)
((a SEQ b) SEQ c) → ce1   2. Decoupling

a SEQ b → ie              3. Binarization
ie SEQ c → ce1

                          4. Event-driven backward
                          chaining rules
ETALIS: Operational Semantics (rSEQ)
Tests I: CEP with Stream Reasoning




                                                                               Throughput Change




                                   Throughput (1000 x Events/Sec)
                                                                    30



                                                                    20



Intel Core Quad CPU Q9400                                           10
2,66GHz, 8GB of RAM, Vista x64;
ETALIS on SWI Prolog 5.6.64 and
YAP Prolog 5.1.3 vs. Esper 3.3.0                                     0
                                                                         100   1000      10000     100000

                                                                               Recursion depth
Tests II: Throughput Comparison



                                        Revision Flag off   Revision Flag on
                                 35
Throughput (1000 x Events/Sec)




                                                                                                                      Revision Flag off   Revision Flag on




                                                                               Throughput (1000 x Events/Sec)
                                 30
                                                                                                                30
                                 25

                                 20
                                                                                                                20
                                 15

                                 10                                                                             10
                                  5

                                  0                                                                             0
                                      SEQ      AND       PAR            OR                                           5%          10%            20%
                                                 Operator                                                              Percentage of revised events


                                       Figure: Throughput (a) Various operaors (b) Negation
Tests III: Stock price change on a real
                                   data set




• Yahoo Finance: IBM stocks                                               with revision    without revision

  from 1962 up to now                                          18
                              Throughput (1000 x events/sec)
                                                               16
• 5% revision tulples                                          14
  introduced                                                   12
                                                               10
                                                                8
                                                                6
                                                                4
                                                                2
                                                                0
                                                                    0%   0.50%    1%       2%     5%          10%
                                                                                 Price Increase
Agenda

 Introduction, Motivation

 ETALIS Language for Events
   • Syntax;
   • Semantics;
   • Experimental Results;
 Conclusion.
Conclusion: A Common Framework for Event
                         Processing in ETALIS




                              ETALIS
                      Integration    Reasoning     Retractable
                A
                        with the         over          CEP -
          deductive
                        domain        streaming          an
              rule
                      knowledge        data and     extensible
          framework
                          and        background     framework
            for CEP
                       databases     knowledge        for CEP


             ETALIS: A Common Framework for Event Processing

17
Thank you! Questions…

          ETALIS

          Open source:
http://code.google.com/p/etalis




                         Darko.Anicic@fzi.de

Mais conteúdo relacionado

Destaque

Pmp pmi - training - project management certificate programme
Pmp   pmi - training - project management certificate programmePmp   pmi - training - project management certificate programme
Pmp pmi - training - project management certificate programmeYOUSUF KHAN
 
Twister.pps
Twister.ppsTwister.pps
Twister.ppskirdocs
 
Evaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresEvaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresRoger Flores Laura
 
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso
 
Next Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaNext Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaHemat Dwi Nuryanto
 
Eye Caching Photos with Great Quotes
Eye Caching Photos with Great QuotesEye Caching Photos with Great Quotes
Eye Caching Photos with Great Quoteskirdocs
 
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso
 

Destaque (10)

ETALIS at RR 2010
ETALIS at RR 2010ETALIS at RR 2010
ETALIS at RR 2010
 
Pmp pmi - training - project management certificate programme
Pmp   pmi - training - project management certificate programmePmp   pmi - training - project management certificate programme
Pmp pmi - training - project management certificate programme
 
Twister.pps
Twister.ppsTwister.pps
Twister.pps
 
Evaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresEvaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger Flores
 
ETALIS_DEBS_2010
ETALIS_DEBS_2010ETALIS_DEBS_2010
ETALIS_DEBS_2010
 
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
 
Next Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaNext Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis Crayonpedia
 
Eye Caching Photos with Great Quotes
Eye Caching Photos with Great QuotesEye Caching Photos with Great Quotes
Eye Caching Photos with Great Quotes
 
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
 
GAS - Google Analytics on Steroids
GAS - Google Analytics on SteroidsGAS - Google Analytics on Steroids
GAS - Google Analytics on Steroids
 

Semelhante a ETALIS_RuleML_2011_Retractions

Etalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeEtalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeDarko Anicic
 
Autopiloting Realtime Processing in Heron
Autopiloting Realtime Processing in HeronAutopiloting Realtime Processing in Heron
Autopiloting Realtime Processing in HeronStreamlio
 
Advances in Bayesian Learning
Advances in Bayesian LearningAdvances in Bayesian Learning
Advances in Bayesian Learningbutest
 
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Marlon Dumas
 
Data Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantData Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantParis Carbone
 
Evaluating Classification Algorithms Applied To Data Streams Esteban Donato
Evaluating Classification Algorithms Applied To Data Streams   Esteban DonatoEvaluating Classification Algorithms Applied To Data Streams   Esteban Donato
Evaluating Classification Algorithms Applied To Data Streams Esteban DonatoEsteban Donato
 
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Paolo Missier
 
Reactive programming with examples
Reactive programming with examplesReactive programming with examples
Reactive programming with examplesPeter Lawrey
 
Ontology mapping needs context & approximation
Ontology mapping needs context & approximationOntology mapping needs context & approximation
Ontology mapping needs context & approximationFrank van Harmelen
 
Streaming Model Transformations by Complex Event Processing
Streaming Model Transformations by Complex Event ProcessingStreaming Model Transformations by Complex Event Processing
Streaming Model Transformations by Complex Event ProcessingIstván Dávid
 
Application of online data analytics to a continuous process polybutene unit
Application of online data analytics to a continuous process polybutene unitApplication of online data analytics to a continuous process polybutene unit
Application of online data analytics to a continuous process polybutene unitEmerson Exchange
 
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...confluent
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appNeil Avery
 
Machine Learning with Apache Flink at Stockholm Machine Learning Group
Machine Learning with Apache Flink at Stockholm Machine Learning GroupMachine Learning with Apache Flink at Stockholm Machine Learning Group
Machine Learning with Apache Flink at Stockholm Machine Learning GroupTill Rohrmann
 
The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...confluent
 
Kafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming appKafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming appNeil Avery
 
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Paolo Missier
 
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...Fulvio Corno
 
Change Impact Analysis for Natural Language Requirements
Change Impact Analysis for Natural Language RequirementsChange Impact Analysis for Natural Language Requirements
Change Impact Analysis for Natural Language RequirementsLionel Briand
 

Semelhante a ETALIS_RuleML_2011_Retractions (20)

Etalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeEtalis rule ml_2011_itterative
Etalis rule ml_2011_itterative
 
Ikc 2015
Ikc 2015Ikc 2015
Ikc 2015
 
Autopiloting Realtime Processing in Heron
Autopiloting Realtime Processing in HeronAutopiloting Realtime Processing in Heron
Autopiloting Realtime Processing in Heron
 
Advances in Bayesian Learning
Advances in Bayesian LearningAdvances in Bayesian Learning
Advances in Bayesian Learning
 
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
 
Data Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantData Stream Analytics - Why they are important
Data Stream Analytics - Why they are important
 
Evaluating Classification Algorithms Applied To Data Streams Esteban Donato
Evaluating Classification Algorithms Applied To Data Streams   Esteban DonatoEvaluating Classification Algorithms Applied To Data Streams   Esteban Donato
Evaluating Classification Algorithms Applied To Data Streams Esteban Donato
 
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
 
Reactive programming with examples
Reactive programming with examplesReactive programming with examples
Reactive programming with examples
 
Ontology mapping needs context & approximation
Ontology mapping needs context & approximationOntology mapping needs context & approximation
Ontology mapping needs context & approximation
 
Streaming Model Transformations by Complex Event Processing
Streaming Model Transformations by Complex Event ProcessingStreaming Model Transformations by Complex Event Processing
Streaming Model Transformations by Complex Event Processing
 
Application of online data analytics to a continuous process polybutene unit
Application of online data analytics to a continuous process polybutene unitApplication of online data analytics to a continuous process polybutene unit
Application of online data analytics to a continuous process polybutene unit
 
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming app
 
Machine Learning with Apache Flink at Stockholm Machine Learning Group
Machine Learning with Apache Flink at Stockholm Machine Learning GroupMachine Learning with Apache Flink at Stockholm Machine Learning Group
Machine Learning with Apache Flink at Stockholm Machine Learning Group
 
The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...
 
Kafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming appKafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming app
 
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
Efficient Re-computation of Big Data Analytics Processes in the Presence of C...
 
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
spChains: A Declarative Framework for Data Stream Processing in Pervasive App...
 
Change Impact Analysis for Natural Language Requirements
Change Impact Analysis for Natural Language RequirementsChange Impact Analysis for Natural Language Requirements
Change Impact Analysis for Natural Language Requirements
 

Último

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Último (20)

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

ETALIS_RuleML_2011_Retractions

  • 1. Retractable Complex Event Processing and Stream Reasoning Darko Anicic, Sebastian Rudolph, Paul Fodor, Nenad Stojanovic RuleML : Proceedings of the 5th International Symposium on Rules, Barcelona, Spain
  • 2. Agenda  Introduction, Motivation  ETALIS Language for Events • Syntax; • Semantics; • Experimental Results;  Conclusion.
  • 3. Logic-based Complex Event Processing in ETALIS Use background (contextual) knowledge to CEP with on-the-fly knowledge explore semantic relations between evaluation and stream events, and detect otherwise undetectable reasoning: complex situation. • Complex situation based on ψ=? π ← φ ∨ ¬ ψ. explicit data (events) and φ = true. implicit/ explicit knowledge • Classification and filtering Event Sources • Context evaluation • Intelligent recommendation Detected Situations • Predictive analysis CEP Pattern Definitions
  • 4. Motivation Knowledge-based CEP & Stream Reasoning • Today’s CEP systems are focused mostly on throughput and timeliness; • Time critical actions/decisions are supposed to be taken upon detection of complex events; • These actions additionaly require evaluation of background knowledge; • Knowledge captures the domain of interest or context related to actions/decisions; • The task of reasoning over streaming data (events) and the background knowledge constitutes a challenge known as Stream Reasoning. Current CEP systems provide on the-fly analysis of data streams, but mainly fall short when it comes to combining streams with evolving knowledge and performing reasoning tasks.
  • 5. Motivation Non-blocking Event Revision – Transactional Events • Events in today’s CEP systems are assumed to be immutable and therefore always correct; • In some situations however revisions are required: • an event was reported by mistake, but did not happen in reality; • an event was triggered and later revoked due to a transaction failure. • As recognised in [Ryvkina et al. ICDE’06], event stream sources may issue revision tuples that amend previously issued events. Current CEP systems provide on the-fly analysis of data streams, but typically don’t take these revision tuples into account and produce correct revision outputs.
  • 6. Related Work DSMS Approaches for retractions in CEP: D. Carney et al. Monitoring streams: a new class of data management applications. In VLDB’02 A. S. Maskey et al. Replay-based approaches to revision processing in stream query engines. In SSPS’02. based on archives of recent data and replying whole recent history is kept archived R. S. Barga et al. Consistent streaming through time: A vision for event stream processing. In CIDR’07. based on blocking, buffering and synchronisation point Stream Reasoning approaches: D. F. Barbieri et al. An execution environment for C-SPARQL queries. In EDBT’10. A. Bolles et al. Streaming SPARQL – Extending SPARQL to Process Data Streams. In ESWC’10.
  • 7. Agenda  Introduction, Motivation  ETALIS: Retractable CEP and Stream Reasoning • Syntax; • Semantics; • Experimental Results;  Conclusion.
  • 8. ETALIS: Language Syntax ETALIS Language for Events is formally defined by: • pr - a predicate name with arity n; • t(i) - denote terms; • t - is a term of type boolean; • q - is a nonnegative rational number; • BIN - is one of the binary operators: SEQ, AND, PAR, OR, EQUALS, MEETS, STARTS, or FINISHES. Event rule is defined as a formula of the following shape: where p is an event pattern containing all variables occurring in
  • 11. ETALIS: Operational Semantics (SEQ) 1. Complex pattern (not a SEQ b SEQ c → ce1 event-driven rule) ((a SEQ b) SEQ c) → ce1 2. Decoupling a SEQ b → ie 3. Binarization ie SEQ c → ce1 4. Event-driven backward chaining rules
  • 13. Tests I: CEP with Stream Reasoning Throughput Change Throughput (1000 x Events/Sec) 30 20 Intel Core Quad CPU Q9400 10 2,66GHz, 8GB of RAM, Vista x64; ETALIS on SWI Prolog 5.6.64 and YAP Prolog 5.1.3 vs. Esper 3.3.0 0 100 1000 10000 100000 Recursion depth
  • 14. Tests II: Throughput Comparison Revision Flag off Revision Flag on 35 Throughput (1000 x Events/Sec) Revision Flag off Revision Flag on Throughput (1000 x Events/Sec) 30 30 25 20 20 15 10 10 5 0 0 SEQ AND PAR OR 5% 10% 20% Operator Percentage of revised events Figure: Throughput (a) Various operaors (b) Negation
  • 15. Tests III: Stock price change on a real data set • Yahoo Finance: IBM stocks with revision without revision from 1962 up to now 18 Throughput (1000 x events/sec) 16 • 5% revision tulples 14 introduced 12 10 8 6 4 2 0 0% 0.50% 1% 2% 5% 10% Price Increase
  • 16. Agenda  Introduction, Motivation  ETALIS Language for Events • Syntax; • Semantics; • Experimental Results;  Conclusion.
  • 17. Conclusion: A Common Framework for Event Processing in ETALIS ETALIS Integration Reasoning Retractable A with the over CEP - deductive domain streaming an rule knowledge data and extensible framework and background framework for CEP databases knowledge for CEP ETALIS: A Common Framework for Event Processing 17
  • 18. Thank you! Questions… ETALIS Open source: http://code.google.com/p/etalis Darko.Anicic@fzi.de