Skip to main content

Semantic Complex Event Reasoning—Beyond Complex Event Processing

  • Chapter
Foundations for the Web of Information and Services

Abstract

Complex event processing is about processing huge amounts of information in real time, in a rather complex way. The degree of complexity is determined by the level of the interdependencies between information to be processed. There are several more or less traditional operators for defining these interdependencies, which are supported by existing approaches and the main competition is around the speed (throughput) of processing. However, novel application domains like Future Internet are challenging complex event processing for a more comprehensive approach: from how to create complex event patterns over the heterogeneous event sources (including textual data), to how to efficiently detect them in a distributed setting, including the usage of background knowledge. In this chapter we present an approach for intelligent CEP (iCEP) based on the usage of semantic technologies. It represents an end-to-end solution for iCEP starting from the definition of complex event patterns, through intelligent detection, to advanced 3-D visualization of complex events. At the center of the approach is the semantic model of complex events that alleviates the process of creating and maintaining complex event patterns. The approach utilizes logic-based processing for including domain knowledge in the complex event detection process, leading to complex event reasoning. This approach has been implemented in the web-based framework called iCEP Studio.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    iCEP Website http://icep.fzi.de/ for more details.

  2. 2.

    Twitter is a micro-blogging service which enables users to send messages of up to 140 characters to a set of users, the so-called followers: http://twitter.com/.

  3. 3.

    Google Finance: http://google.com/finance.

  4. 4.

    Such information does not strictly need to be taken from Twitter. Other sources also provide real-time updates e.g., the Wall Street Journal blog: http://blogs.wsj.com/.

  5. 5.

    Named entities extraction is out of scope of this chapter. For this task, in our example, we used the OpenCalais service http://opencalais.com. OpenCalais uses natural language processing, machine learning and other methods to analyze text (in our case, tweets) and finds named entities within it.

  6. 6.

    There are several reasons for using ontologies for information integration. As the most advanced knowledge representation model available today, ontologies can include essentially all currently used data structures. They also can accommodate complexity because the inclusion of deductive logic extends existing mapping and business logic capabilities. Further, ontologies provide shared conceptualization and agreed upon understanding of a domain, both prerequisites for (semi-)automatic integration.

  7. 7.

    A more descriptive definition of pattern is given in Sect. 5.

  8. 8.

    Depending on the nature of an application some phases can be skipped.

  9. 9.

    The CEP gears logo is ©IBM Haifa.

  10. 10.

    We call the middle stage “detection” instead of “matching” in order to include a wider field of event operations such as reasoning which goes beyond pattern matching.

  11. 11.

    Pattern and complex event pattern are used synonymously in this article.

  12. 12.

    For the sake of convenience the pattern is represented in a pseudocode form.

  13. 13.

    Acronym for Generation Refinement Usage eVolution of complex (e)vent patterns.

  14. 14.

    RDF Schema (RDFS) is an extensible knowledge representation language providing basic elements for the description of ontologies.

  15. 15.

    The phenomenon of out-of-order events meaning delayed notification about events that have happened earlier, is outside the focus of this chapter.

  16. 16.

    Our prototype, ETALIS, is an open source project, available at: http://code.google.com/p/etalis.

  17. 17.

    Note that also comparison operators like =, < and > can be seen as boolean-typed binary functions and, hence, fit well into the framework.

  18. 18.

    More precisely, by “an event a” is meant an instance of the event a.

  19. 19.

    That is, if no parentheses are given, we assume all operators to be left-associative. While in some cases, like seq sequences, this is irrelevant, other operators such as par are not associative, whence the precedence matters.

  20. 20.

    This holds even if patterns with negated events are added.

  21. 21.

    Later on, we will introduce the rules implementing the for each loop.

  22. 22.

    Apart from the timestamp, an event may carry other data parameters. They are omitted here for the sake of readability.

  23. 23.

    Removal of “consumed” goals is often needed for space reasons but might be omitted if events are required in a log for further processing or analyzing.

  24. 24.

    If a request is represented as a query (what is a usual case).

  25. 25.

    CLIPS: http://clipsrules.sourceforge.net/.

  26. 26.

    TIBCO BusinessEvents: http://www.tibco.com/software/complex-event-processing/businessevents/businessevents.jsp.

  27. 27.

    Jess: http://jessrules.com/.

  28. 28.

    Drools: http://jboss.org/drools/.

  29. 29.

    BizTalk Rules Engine: http://msdn.microsoft.com/en-us/library/dd879260%28BTS.10%29.aspx.

References

  1. Abadi, D., Carney, D., Çetintemel, U., Cherniack, M., Convey, C., Erwin, C., Galvez, E., Hatoun, M., Maskey, A., Rasin, A., Singer, A., Stonebraker, M., Tatbul, N., Xing, Y., Yan, R., Zdonik, S.: Aurora: a data stream management system. In: SIGMOD ’03: Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, pp. 666–666. ACM, New York (2003). doi:10.1145/872757.872855

    Chapter  Google Scholar 

  2. Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Reading (1995). 0-201-53771-0

    MATH  Google Scholar 

  3. Adaikkalavan, R., Chakravarthy, S.: Snoopib: interval-based event specification and detection for active databases. In: Data Knowledge Engineering. Elsevier, Amsterdam (2006)

    Google Scholar 

  4. Adi, A., Etzion, O.: Amit—the situation manager. VLDB J. 13(2), 177–203 (2004). doi:10.1007/s00778-003-0108-y

    Article  Google Scholar 

  5. Adi, A., Botzer, D., Etzion, O.: Semantic event model and its implication on situation detection. In: ECIS (2000)

    Google Scholar 

  6. Aguilera, M.K., Strom, R.E., Sturman, D.C., Astley, M., Chandra, T.D.: Matching events in a content-based subscription system. In: PODC ’99: Proceedings of the Eighteenth Annual ACM Symposium on Principles of Distributed Computing, pp. 53–61. ACM, New York (1999). doi:10.1145/301308.301326

    Chapter  Google Scholar 

  7. Allen, J.F.: Maintaining knowledge about temporal intervals. Commun. ACM 26(11), 832–843 (1983)

    Article  MATH  Google Scholar 

  8. Anicic, D., Stojanovic, N.: Expressive logical framework for reasoning about complex events and situations. In: Intelligent Event Processing—AAAI Spring Symposium 2009, Stanford University, California (2009)

    Google Scholar 

  9. Arasu, A., Babcock, B., Babu, S., Cieslewicz, J., Datar, M., Ito, K., Motwani, R., Srivastava, U., Widom, J.: Stream: the Stanford data stream management system. Technical Report 2004-20, Stanford InfoLab (2004). http://ilpubs.stanford.edu:8090/641/

  10. Bancilhon, F., Maier, D., Sagiv, Y., Ullman, J.D.: Magic sets and other strange ways to implement logic programs. In: PODS ’86, Massachusetts, United States. ACM, New York (1986)

    Google Scholar 

  11. Brenna, L., Demers, A., Gehrke, J., Hong, M., Ossher, J., Panda, B., Riedewald, M., Thatte, M., White, W.: Cayuga: a high-performance event processing engine. In: SIGMOD ’07: Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data, pp. 1100–1102. ACM, New York (2007). doi:10.1145/1247480.1247620

    Chapter  Google Scholar 

  12. Bry, F., Eckert, M.: Rule-based composite event queries: the language xchangeeq and its semantics. In: RR. Springer, Berlin (2007)

    Google Scholar 

  13. Carzaniga, A., Rosenblum, D.S., Wolf, A.L.: Design and evaluation of a wide-area event notification service. ACM Trans. Comput. Syst. 19(3), 332–383 (2001). doi:10.1145/380749.380767

    Article  Google Scholar 

  14. Chakravarthy, S., Mishra, D.: Snoop: an expressive event specification language for active databases. Data Knowl. Eng. 14(1), 1–26 (1994)

    Article  Google Scholar 

  15. Chen, W., Warren, D.S.: Tabled evaluation with delaying for general logic programs. J. ACM. 43(1), 20–74 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  16. Esper: Esper Version 3.2.0, Espertech Inc. Online Resource. http://esper.codehaus.org/ (2009). Last visited: January 2010

  17. Etzion, O., Niblett, P.: Event Processing in Action, Manning (2010). 978-1935182214

    Google Scholar 

  18. Forgy, C.L.: Rete: a fast algorithm for the many pattern/many object pattern match problem. Artif. Intell. 19, 17–37 (1982)

    Article  Google Scholar 

  19. Gupta, A., Mumick, I.S.: Magic sets and other strange ways to implement logic programs. IEEE Data Eng. Bull. (1985)

    Google Scholar 

  20. Haley, P.: Data-driven backward chaining. In: International Joint Conferences on Artificial Intelligence. Milan, Italy (1987)

    Google Scholar 

  21. Lausen, G., Ludäscher, B., May, W.: On active deductive databases: the statelog approach. In: ILPS ’97, (1998)

    Google Scholar 

  22. Lloyd, J.W.: Foundations of Logic Programming. Comput. Sci. Press, New York (1989). 0-7167-8162-X

    Google Scholar 

  23. Luckham, D.C.: The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston (2001). 0201727897

    Google Scholar 

  24. Motakis, I., Zaniolo, C.: Composite temporal events in active database rules: a logic-oriented approach. In: Deductive and Object-Oriented Databases. Springer, Berlin (1995)

    Google Scholar 

  25. Paschke, A., Kozlenkov, A., Boley, H.: A homogeneous reaction rules language for complex event processing. In: EDA-PS. ACM, New York (2007)

    Google Scholar 

  26. Paton, N.W., Díaz, O.: Active database systems. ACM Comput. Surv. 31(1), 63–103 (1999)

    Article  Google Scholar 

  27. Pietzuch, P.R., Bacon, J.: Hermes: a distributed event-based middleware architecture. In: ICDCSW ’02: Proceedings of the 22nd International Conference on Distributed Computing Systems, pp. 611–618. IEEE Comput. Soc., Washington (2002)

    Google Scholar 

  28. Rozsnyai, S., Schiefer, J., Schatten, A.: Concepts and models for typing events for event-based systems. In: DEBS ’07: Proceedings of the 2007 Inaugural International Conference on Distributed Event-Based Systems, pp. 62–70. ACM, New York (2007). doi:10.1145/1266894.1266904

    Chapter  Google Scholar 

  29. Sen, S., Stojanovic, N., Stojanovic, L.: GRUVe: a methodology for complex event pattern life cycle management. In: Proceedings of the 22nd International Conference on Advanced Information Systems Engineering (CAiSE), Hammamet, Tunisia, June 7–9, 2010. Lecture Notes in Computer Science, vol. 6051. Springer, Berlin (2010)

    Google Scholar 

  30. Stojanovic, L.: Methods and tools for ontology evolution. Ph.D. Thesis, University of Karlsruhe, Germany (2004)

    Google Scholar 

  31. Stojanovic, N.: Ontology-based information retrieval. Ph.D. Thesis, University of Karlsruhe, Germany (2005)

    Google Scholar 

  32. Technical-Report: A declarative and rule-based language for complex event processing. http://sites.google.com/site/anonymousresearchsite/paper.pdf

  33. Ullman, J.D.: Principles of Database and Knowledge-Base Systems, vols. I and II, 2nd edn. Freeman, New York (1990)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nenad Stojanovic .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Stojanovic, N., Stojanovic, L., Anicic, D., Ma, J., Sen, S., Stühmer, R. (2011). Semantic Complex Event Reasoning—Beyond Complex Event Processing. In: Fensel, D. (eds) Foundations for the Web of Information and Services. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19797-0_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-19797-0_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-19796-3

  • Online ISBN: 978-3-642-19797-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics