SlideShare a Scribd company logo
1 of 19
A Rule-Based Language for Complex
Event Processing and Reasoning
Darko Anicic, Paul Fodor, Sebastian Rudolph, Roland Stühmer,
Nenad Stojanovic, Rudi Studer
The 4th International Conference on Web Reasoning and Rule Systems,
Bressanone/Brixen, Italy
Agenda

 Introduction, Motivation

 ETALIS Language for Events
   • Syntax;
   • Semantics;
   • Experimental Results;
 Conclusion.
Complex Event Processing

 How to capture events from event sources; and
  transform, combine, interpret and consume them?




                                      Figure source: Opher Etzion & Tali Yatzkar, IBM Research


  • Financial services (high frequency trading);
  • Sensor networks (wireless and mobile networks);
  • Real-Time Web (click stream analysis, processing updates from social
  Web apps, on-line advertising).
Motivation

        Efficient Complex Event Processing
        (timeliness & large volume of data are dimensions
            of concern)

 J. Agrawal, Y. Diao, D. Gyllstrom, and N. Immerman. Efficient pattern matching
 over event streams. In SIGMOD (2008).
 Y. Mei and S. Madden. Zstream: a cost-based query processor for adaptively
 detecting composite events. In SIGMOD (2010)
 A. J. Demers, J. Gehrke. Cayuga: A general purpose event monitoring system.
 In CIDR, 2007.
 N. H. Gehani, Narain H. Composite event specification in active databases:
 Model & implementation. In VLDB, 1992.


Current CEP systems, based on DSMS provide on the-fly analysis of
data streams, but cannot combine streams with evolving knowledge, and
they cannot perform reasoning tasks.
Motivation
      Formal & knowledge-based processing of events
         (detect events, context, situation and reason about them)


F. Bry and M. Eckert. Rule-based composite event queries: The language
XChangeEQ and its semantics (2007);
A. Paschke, A. Kozlenkov, and H. Boley. A homogenous reaction rules
language for complex event processing (2007);
G. Lausen, B. Ludäscher, W. May. On Active Deductive Databases: The
Statelog Approach (1996);
E. Behrends, O. Fritzen, W. May, and F. Schenk. Combining ECA rules with
process algebras for the Semantic Web. (2006);
Incremental Reasoning on Streams and Rich Background Knowledge, D. F.
Barbieri, D. Braga, S. Ceri, E. Della Valle, and M. Grossniklaus (2010).


Detection of complex events based on an event-driven and event-
at-a-time (incremental) evaluation remains a challenge.
Our Approach

                  ETALIS
             Efficient CEP
             w.r.t timeliness
                                  Knowledge-
                                  based
                   based on: Event-
             and data             processing of
             volumedriven Backwardevents
                  Chaining Rules
• ETALIS is an inference system for Complex Event Processing;
• Formal semantics to guarantee well defined behaviour;
• Deductive rules to express complex relationships between events,
    matching certain temporal, relational or causal conditions;
•   Reasoning over streaming events w.r.t contextual (background)
    knowledge, a current state etc.;
•   ETALIS suitable for: enrichment of events with background
    information; detection of more complex situations and intelligent
    recommendations in real-time; or for accomplishing complex event
    classifications, clustering, and filtering.
Agenda

 Introduction, Motivation

 ETALIS Language for Events
   • 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: Declarative Semantics
ETALIS: Declarative Semantics
ETALIS: Declarative 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 → ie1                 3. Binarization
ie1 SEQ c → ce1

                              4. Event-driven backward
                              chaining rules



                              action   action       action
                              1                     3                action   action   action
                                       2
                                                                     1        2        3

                               ⊗ e2⊗ e3⊗
                              e1                                   e1⊗ e2⊗ e3⊗
                                                                      e5
                                                                  ⊗
                                                                 e4    ⊗

                          a        b            c            d   a        b        c        d
Evaluation Tests I
                                      Test patterns:




                                      Intel Core Quad CPU Q9400 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
                                                                                                                           Throughput vs. Predicate Selectivity (Sequence)

                                       Throughput vs. Stream Size (Sequence)                                                         Esper 3.3.0         P-SWI     P-YAP
                                                                                                                                                                                                       Throughput vs. Workload Change (Sequence)
                                                                                                                     500
                                             Esper 3.3.0      P-SWI         P-YAP                                                                                                                                Esper 3.3.0    P-SWI         P-YAP
                                                                                                                     450
                                                                                    Throughput (1000 x Events/Sec)
Throughput (1000 x Events/Sec)




                                 35                                                                                                                                                               30
                                                                                                                     400




                                                                                                                                                                             Throughput (1000 x
                                 30                                                                                  350                                                                          25




                                                                                                                                                                                Events/Sec)
                                 25                                                                                  300                                                                          20

                                 20                                                                                  250
                                                                                                                                                                                                  15
                                                                                                                     200
                                 15
                                                                                                                                                                                                  10
                                                                                                                     150
                                 10
                                                                                                                     100                                                                          5
                                 5
                                                                                                                     50                                                                           0
                                 0                                                                                                                                                                          25           50         75          100
                                                                                                                      0
                                        25             50       75          100
                                                                                                                            10%                    50%                100%                                         Event stream size x 1000
                                                 Event stream size x 1000                                                                  Predicate selectivity




                                      Figure 3: Sequence - (a) Throughput (b) Throughput vs. Predicate
                                      Selectivity (c) Throughput vs. Workload Change
Evaluation Tests II




                          Throughput vs. Negation Selectivity                              Throughput vs. Workload Change (Negation)                              Throughput vs. Workload Change (Conjunction)

                                                                                                   Esper 3.3.0      P-SWI       P-Yap                                 Esper 3.3.0       Etalis - SWI    Etalis - Yap
                                 Esper 3.3.0         P-SWI   P-Yap

                                                                                           50                                                                40
                     45

                                                                      Throughput (1000 x
Throughput (1000 x




                                                                                           45




                                                                                                                                        Throughput (1000 x
                     40                                                                                                                                      35
                                                                                           40
                                                                         Events/Sec)
   Events/Sec)




                     35                                                                                                                                      30




                                                                                                                                           Events/Sec)
                                                                                           35
                     30                                                                                                                                      25
                                                                                           30
                     25                                                                    25                                                                20
                     20                                                                    20                                                                15
                     15                                                                    15
                     10
                                                                                                                                                             10
                                                                                           10
                     5                                                                      5                                                                5
                     0                                                                      0                                                                0
                          10%                  50%             100%                              25K         50K      75K     100K                                    25K           50K        75K        100K
                                Selectivity of negated events                                             Event stream size                                                         Event stream size




                Figure 4: Negation - (a) Throughput vs. Selectivity (b) Throughput vs.
                Workload Change (c) Conjunction - Throughput
Evaluation Tests III




                                                                                                                                                                                Computation Sharing (Sequence)
                          Throughput vs. Workload Change (Disjunction)                                        Throughput for Transitive Closure
                                                                                                                                                                                   Esper 3.3.0     P-SWI      P-Yap
                            Esper 3.3.0         P-SWI         P-Yap      Throughput (100 x Events/Sec)          Esper 3.3.0      P-SWI        P-Yap
                     30                                                                   100
                                                                                                                                                                           30




                                                                                                                                                      Throughput (1000 x
                     25                                                                                                                                                    25
                                                                                                         80
Throughput (1000 x




                                                                                                                                                         Events/Sec)
                     20                                                                                                                                                    20
   Events/Sec)




                                                                                                         60
                     15                                                                                                                                                    15
                                                                                                         40
                     10                                                                                                                                                    10
                                                                                                         20
                     5                                                                                                                                                     5
                     0                                                                                   0                                                                 0
                             25K          50K      75K       100K                                             2500      5000       7500      10000                                 1            8             16
                                      Event stream size                                                                  Event stream size                                                Number of queries




                          Figure 5: (a) Disjunction-Throughput (b) Transitive Closure (c) Plan
                          Sharing
Agenda

 Introduction, Motivation

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




                               ETALIS
               A                      Reasoning
                        Integration
           deductive                     over         A general
                          with the
              rule                    streaming          and
                          domain
          framework                     data to      extensible
                        knowledge
          with event-                   detect       framework
                            and
            at-time                    complex         for CEP
                        databases
          processing                  situations


              ETALIS: A Common Framework for Event Processing

18
Thank you! Questions…

               ETALIS

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

         See also our live DEMO at:
http://krake26.perimeter.fzi.de:8080/etalis


                                Darko.Anicic@fzi.de

More Related Content

Viewers also liked

What ails journalism in India today?
What ails journalism in India today?What ails journalism in India today?
What ails journalism in India today?BG Mahesh
 
Entertainment Marketing and Brand building for movies
Entertainment Marketing and Brand building for moviesEntertainment Marketing and Brand building for movies
Entertainment Marketing and Brand building for moviesJatin Ghritlahre
 
Social Media Case Study: Ankur Arora Murder Case
Social Media Case Study: Ankur Arora Murder CaseSocial Media Case Study: Ankur Arora Murder Case
Social Media Case Study: Ankur Arora Murder CaseSocial Samosa
 
Energy drink market and new offerings
Energy drink market and new offeringsEnergy drink market and new offerings
Energy drink market and new offeringsDushyant Bheda
 
Entertainment industry in india
Entertainment industry in indiaEntertainment industry in india
Entertainment industry in indiaDp Singh
 
Event industry in India
Event industry  in IndiaEvent industry  in India
Event industry in IndiaUllas Naidu
 
Indian Hotel Industry - Emerging Concepts
Indian Hotel Industry - Emerging ConceptsIndian Hotel Industry - Emerging Concepts
Indian Hotel Industry - Emerging ConceptsUtpal Parekh
 
HR Strategy: It's Easier Than You Think
HR Strategy: It's Easier Than You ThinkHR Strategy: It's Easier Than You Think
HR Strategy: It's Easier Than You ThinkBen Eubanks
 
Films are corrupting the indian youth
Films are corrupting the indian youthFilms are corrupting the indian youth
Films are corrupting the indian youthRachit Dixit
 
Swot analysis of media & entertainment industry by sruthi
Swot analysis of media & entertainment industry by sruthiSwot analysis of media & entertainment industry by sruthi
Swot analysis of media & entertainment industry by sruthiSruthi Tangirala
 
Swot analysis of media and entertainment industry
Swot analysis of media and entertainment industrySwot analysis of media and entertainment industry
Swot analysis of media and entertainment industryjudygan
 
Red Bull Cola Case Study
Red Bull Cola Case StudyRed Bull Cola Case Study
Red Bull Cola Case Studyjtaylorireland
 
Event management the way forward
Event management the way forward Event management the way forward
Event management the way forward Mayank Dixit
 
Cinema and its impact on society
Cinema and its impact on societyCinema and its impact on society
Cinema and its impact on societyNigma Lama
 
Wedding Presentation
Wedding PresentationWedding Presentation
Wedding Presentationjordan052505
 
The Indian Media & Entertainment Industry 2016
The Indian Media & Entertainment Industry 2016The Indian Media & Entertainment Industry 2016
The Indian Media & Entertainment Industry 2016Chaitanya Chinchlikar
 
Entertainment Industry ppt
Entertainment Industry pptEntertainment Industry ppt
Entertainment Industry pptapeksha24
 

Viewers also liked (20)

What ails journalism in India today?
What ails journalism in India today?What ails journalism in India today?
What ails journalism in India today?
 
Entertainment Marketing and Brand building for movies
Entertainment Marketing and Brand building for moviesEntertainment Marketing and Brand building for movies
Entertainment Marketing and Brand building for movies
 
Cloud 9 ppt ketan
Cloud 9 ppt ketanCloud 9 ppt ketan
Cloud 9 ppt ketan
 
Social Media Case Study: Ankur Arora Murder Case
Social Media Case Study: Ankur Arora Murder CaseSocial Media Case Study: Ankur Arora Murder Case
Social Media Case Study: Ankur Arora Murder Case
 
Energy drink market and new offerings
Energy drink market and new offeringsEnergy drink market and new offerings
Energy drink market and new offerings
 
bad n good influence of movies
 bad n good influence of movies bad n good influence of movies
bad n good influence of movies
 
Entertainment industry in india
Entertainment industry in indiaEntertainment industry in india
Entertainment industry in india
 
Event industry in India
Event industry  in IndiaEvent industry  in India
Event industry in India
 
Indian Hotel Industry - Emerging Concepts
Indian Hotel Industry - Emerging ConceptsIndian Hotel Industry - Emerging Concepts
Indian Hotel Industry - Emerging Concepts
 
HR Strategy: It's Easier Than You Think
HR Strategy: It's Easier Than You ThinkHR Strategy: It's Easier Than You Think
HR Strategy: It's Easier Than You Think
 
Films are corrupting the indian youth
Films are corrupting the indian youthFilms are corrupting the indian youth
Films are corrupting the indian youth
 
Swot analysis of media & entertainment industry by sruthi
Swot analysis of media & entertainment industry by sruthiSwot analysis of media & entertainment industry by sruthi
Swot analysis of media & entertainment industry by sruthi
 
Swot analysis of media and entertainment industry
Swot analysis of media and entertainment industrySwot analysis of media and entertainment industry
Swot analysis of media and entertainment industry
 
Cinema & Its Impact On Society
Cinema & Its Impact On SocietyCinema & Its Impact On Society
Cinema & Its Impact On Society
 
Red Bull Cola Case Study
Red Bull Cola Case StudyRed Bull Cola Case Study
Red Bull Cola Case Study
 
Event management the way forward
Event management the way forward Event management the way forward
Event management the way forward
 
Cinema and its impact on society
Cinema and its impact on societyCinema and its impact on society
Cinema and its impact on society
 
Wedding Presentation
Wedding PresentationWedding Presentation
Wedding Presentation
 
The Indian Media & Entertainment Industry 2016
The Indian Media & Entertainment Industry 2016The Indian Media & Entertainment Industry 2016
The Indian Media & Entertainment Industry 2016
 
Entertainment Industry ppt
Entertainment Industry pptEntertainment Industry ppt
Entertainment Industry ppt
 

Similar to ETALIS at RR 2010

Etalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeEtalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeDarko Anicic
 
ETALIS_RuleML_2011_Retractions
ETALIS_RuleML_2011_RetractionsETALIS_RuleML_2011_Retractions
ETALIS_RuleML_2011_RetractionsDarko Anicic
 
Ontology mapping needs context & approximation
Ontology mapping needs context & approximationOntology mapping needs context & approximation
Ontology mapping needs context & approximationFrank van Harmelen
 
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...Daniele Malitesta
 
A multithreaded method for network alignment
A multithreaded method for network alignmentA multithreaded method for network alignment
A multithreaded method for network alignmentDavid Gleich
 
Introduction to Julia
Introduction to JuliaIntroduction to Julia
Introduction to Julia岳華 杜
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theorySHIMI S L
 
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018Universitat Politècnica de Catalunya
 
Lec09- AI
Lec09- AILec09- AI
Lec09- AIdrmbalu
 
Neural Nets Deconstructed
Neural Nets DeconstructedNeural Nets Deconstructed
Neural Nets DeconstructedPaul Sterk
 
An Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAn Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAngie Miller
 
Kinetic bands versus Bollinger Bands
Kinetic bands versus Bollinger  BandsKinetic bands versus Bollinger  Bands
Kinetic bands versus Bollinger BandsAlexandru Daia
 
WWW 2021report public
WWW 2021report publicWWW 2021report public
WWW 2021report publicTakuma Oda
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix DatasetBen Mabey
 
Protein threading using context specific alignment potential ismb-2013
Protein threading using context specific alignment potential ismb-2013Protein threading using context specific alignment potential ismb-2013
Protein threading using context specific alignment potential ismb-2013Sheng Wang
 

Similar to ETALIS at RR 2010 (20)

Etalis rule ml_2011_itterative
Etalis rule ml_2011_itterativeEtalis rule ml_2011_itterative
Etalis rule ml_2011_itterative
 
ETALIS_RuleML_2011_Retractions
ETALIS_RuleML_2011_RetractionsETALIS_RuleML_2011_Retractions
ETALIS_RuleML_2011_Retractions
 
Ontology mapping needs context & approximation
Ontology mapping needs context & approximationOntology mapping needs context & approximation
Ontology mapping needs context & approximation
 
PS
PSPS
PS
 
Gene's law
Gene's lawGene's law
Gene's law
 
Cascon2011_5_rules+owl
Cascon2011_5_rules+owlCascon2011_5_rules+owl
Cascon2011_5_rules+owl
 
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...
[IRTalks@The University of Glasgow] A Topology-aware Analysis of Graph Collab...
 
Machine Learning 1
Machine Learning 1Machine Learning 1
Machine Learning 1
 
A multithreaded method for network alignment
A multithreaded method for network alignmentA multithreaded method for network alignment
A multithreaded method for network alignment
 
Introduction to Julia
Introduction to JuliaIntroduction to Julia
Introduction to Julia
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theory
 
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018
Towards Set Learning and Prediction - Laura Leal-Taixe - UPC Barcelona 2018
 
Lec09- AI
Lec09- AILec09- AI
Lec09- AI
 
Neural Nets Deconstructed
Neural Nets DeconstructedNeural Nets Deconstructed
Neural Nets Deconstructed
 
An Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAn Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer Design
 
Learning from 6,000 projects mining specifications in the large
Learning from 6,000 projects   mining specifications in the largeLearning from 6,000 projects   mining specifications in the large
Learning from 6,000 projects mining specifications in the large
 
Kinetic bands versus Bollinger Bands
Kinetic bands versus Bollinger  BandsKinetic bands versus Bollinger  Bands
Kinetic bands versus Bollinger Bands
 
WWW 2021report public
WWW 2021report publicWWW 2021report public
WWW 2021report public
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix Dataset
 
Protein threading using context specific alignment potential ismb-2013
Protein threading using context specific alignment potential ismb-2013Protein threading using context specific alignment potential ismb-2013
Protein threading using context specific alignment potential ismb-2013
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

ETALIS at RR 2010

  • 1. A Rule-Based Language for Complex Event Processing and Reasoning Darko Anicic, Paul Fodor, Sebastian Rudolph, Roland Stühmer, Nenad Stojanovic, Rudi Studer The 4th International Conference on Web Reasoning and Rule Systems, Bressanone/Brixen, Italy
  • 2. Agenda  Introduction, Motivation  ETALIS Language for Events • Syntax; • Semantics; • Experimental Results;  Conclusion.
  • 3. Complex Event Processing  How to capture events from event sources; and transform, combine, interpret and consume them? Figure source: Opher Etzion & Tali Yatzkar, IBM Research • Financial services (high frequency trading); • Sensor networks (wireless and mobile networks); • Real-Time Web (click stream analysis, processing updates from social Web apps, on-line advertising).
  • 4. Motivation Efficient Complex Event Processing (timeliness & large volume of data are dimensions of concern) J. Agrawal, Y. Diao, D. Gyllstrom, and N. Immerman. Efficient pattern matching over event streams. In SIGMOD (2008). Y. Mei and S. Madden. Zstream: a cost-based query processor for adaptively detecting composite events. In SIGMOD (2010) A. J. Demers, J. Gehrke. Cayuga: A general purpose event monitoring system. In CIDR, 2007. N. H. Gehani, Narain H. Composite event specification in active databases: Model & implementation. In VLDB, 1992. Current CEP systems, based on DSMS provide on the-fly analysis of data streams, but cannot combine streams with evolving knowledge, and they cannot perform reasoning tasks.
  • 5. Motivation Formal & knowledge-based processing of events (detect events, context, situation and reason about them) F. Bry and M. Eckert. Rule-based composite event queries: The language XChangeEQ and its semantics (2007); A. Paschke, A. Kozlenkov, and H. Boley. A homogenous reaction rules language for complex event processing (2007); G. Lausen, B. Ludäscher, W. May. On Active Deductive Databases: The Statelog Approach (1996); E. Behrends, O. Fritzen, W. May, and F. Schenk. Combining ECA rules with process algebras for the Semantic Web. (2006); Incremental Reasoning on Streams and Rich Background Knowledge, D. F. Barbieri, D. Braga, S. Ceri, E. Della Valle, and M. Grossniklaus (2010). Detection of complex events based on an event-driven and event- at-a-time (incremental) evaluation remains a challenge.
  • 6. Our Approach ETALIS Efficient CEP w.r.t timeliness Knowledge- based based on: Event- and data processing of volumedriven Backwardevents Chaining Rules • ETALIS is an inference system for Complex Event Processing; • Formal semantics to guarantee well defined behaviour; • Deductive rules to express complex relationships between events, matching certain temporal, relational or causal conditions; • Reasoning over streaming events w.r.t contextual (background) knowledge, a current state etc.; • ETALIS suitable for: enrichment of events with background information; detection of more complex situations and intelligent recommendations in real-time; or for accomplishing complex event classifications, clustering, and filtering.
  • 7. Agenda  Introduction, Motivation  ETALIS Language for Events • 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
  • 13. 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 → ie1 3. Binarization ie1 SEQ c → ce1 4. Event-driven backward chaining rules action action action 1 3 action action action 2 1 2 3 ⊗ e2⊗ e3⊗ e1 e1⊗ e2⊗ e3⊗ e5 ⊗ e4 ⊗ a b c d a b c d
  • 14. Evaluation Tests I Test patterns: Intel Core Quad CPU Q9400 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 Throughput vs. Predicate Selectivity (Sequence) Throughput vs. Stream Size (Sequence) Esper 3.3.0 P-SWI P-YAP Throughput vs. Workload Change (Sequence) 500 Esper 3.3.0 P-SWI P-YAP Esper 3.3.0 P-SWI P-YAP 450 Throughput (1000 x Events/Sec) Throughput (1000 x Events/Sec) 35 30 400 Throughput (1000 x 30 350 25 Events/Sec) 25 300 20 20 250 15 200 15 10 150 10 100 5 5 50 0 0 25 50 75 100 0 25 50 75 100 10% 50% 100% Event stream size x 1000 Event stream size x 1000 Predicate selectivity Figure 3: Sequence - (a) Throughput (b) Throughput vs. Predicate Selectivity (c) Throughput vs. Workload Change
  • 15. Evaluation Tests II Throughput vs. Negation Selectivity Throughput vs. Workload Change (Negation) Throughput vs. Workload Change (Conjunction) Esper 3.3.0 P-SWI P-Yap Esper 3.3.0 Etalis - SWI Etalis - Yap Esper 3.3.0 P-SWI P-Yap 50 40 45 Throughput (1000 x Throughput (1000 x 45 Throughput (1000 x 40 35 40 Events/Sec) Events/Sec) 35 30 Events/Sec) 35 30 25 30 25 25 20 20 20 15 15 15 10 10 10 5 5 5 0 0 0 10% 50% 100% 25K 50K 75K 100K 25K 50K 75K 100K Selectivity of negated events Event stream size Event stream size Figure 4: Negation - (a) Throughput vs. Selectivity (b) Throughput vs. Workload Change (c) Conjunction - Throughput
  • 16. Evaluation Tests III Computation Sharing (Sequence) Throughput vs. Workload Change (Disjunction) Throughput for Transitive Closure Esper 3.3.0 P-SWI P-Yap Esper 3.3.0 P-SWI P-Yap Throughput (100 x Events/Sec) Esper 3.3.0 P-SWI P-Yap 30 100 30 Throughput (1000 x 25 25 80 Throughput (1000 x Events/Sec) 20 20 Events/Sec) 60 15 15 40 10 10 20 5 5 0 0 0 25K 50K 75K 100K 2500 5000 7500 10000 1 8 16 Event stream size Event stream size Number of queries Figure 5: (a) Disjunction-Throughput (b) Transitive Closure (c) Plan Sharing
  • 17. Agenda  Introduction, Motivation  ETALIS Language for Events • Syntax; • Semantics; • Experimental Results;  Conclusion.
  • 18. Conclusion: A Common Framework for Event Processing in ETALIS ETALIS A Reasoning Integration deductive over A general with the rule streaming and domain framework data to extensible knowledge with event- detect framework and at-time complex for CEP databases processing situations ETALIS: A Common Framework for Event Processing 18
  • 19. Thank you! Questions… ETALIS Open source: http://code.google.com/p/etalis See also our live DEMO at: http://krake26.perimeter.fzi.de:8080/etalis Darko.Anicic@fzi.de