Situation Specification and Realization in Rule-Based Context-Aware Applications

  • Patrícia Dockhorn Costa
  • João Paulo A. Almeida
  • Luís Ferreira Pires
  • Marten van Sinderen
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4531)


Context-aware applications use and manipulate context information to detect high-level situations, which are used to adapt application behavior. This paper discusses the specification of situations in context-aware applications and introduces a rule-based approach to detect situations. Situations are specified using a combination of UML class diagrams and OCL constraints. We support a wide range of situations, which can be composed of more elementary kinds of context. We discuss how to cope with distribution and to exploit it beneficially for context manipulation and situation detection. We employ a generic rule-based platform (DJess [2]) to support the derivation of situations in a distributed fashion.


Situation Fact Context Model Situation Model Situation Type Relational Context 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Almeida, J.P.A., Iacob, M.E., Jonkers, H., Quartel, D.: Model-Driven Development of Context-Aware Services. In: Eliassen, F., Montresor, A. (eds.) DAIS 2006. LNCS, vol. 4025, pp. 213–227. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  2. 2.
    Cabitza, F., Sarini, M., Dal Seno, B.: DJess - a context-sharing middleware to deploy distributed inference systems in pervasive computing domains. In: Proceeding of International Conference on Pervasive Services (ICPS ’05), pp. 229–238. IEEE CS Press, Washington, DC (2005)Google Scholar
  3. 3.
    Dey, A.K., Salber, D., Abowd, G.D.: A Conceptual Framework and a Toolkit for Supporting the Rapid Prototyping of Context-Aware Applications. Human-Computer Interaction 16(2-4), 97–166 (2001)CrossRefGoogle Scholar
  4. 4.
    Chen, H., Finin, T., Joshi, A.: An ontology for context-aware pervasive computing environments, Knowledge Engineering Review. In: Special Issue on Ontologies for Distributed Systems, vol. 18(3), pp. 197–207. Cambridge University Press, Cambridge (2003)Google Scholar
  5. 5.
    Dockhorn Costa, P., Ferreira Pires, L., van Sinderen, M.: Architectural Support for Mobile Context-Aware Applications. In: Handbook of Research on Mobile Multimedia, Idea Group Inc. (2005)Google Scholar
  6. 6.
    Dockhorn Costa, P., Ferreira Pires, L., van Sinderen, M.: Designing a Configurable Services Platform for Mobile Context-Aware Applications, International Journal of Pervasive Computing and Communications (JPCC), vol. 1(1). Troubador Publishing (2005)Google Scholar
  7. 7.
    Dockhorn Costa, P., Guizzardi, G., Almeida, J.P.A., Ferreira Pires, L., van Sinderen, M.: Situations in Conceptual Modeling of Context. In: Workshop on Vocabularies, Ontologies, and Rules for the Enterprise (VORTE 2006) at IEEE EDOC 2006, IEEE CS Press, Washington, DC (2006)Google Scholar
  8. 8.
    Dockhorn Costa, P., Almeida, J.P.A., Ferreira Pires, L., Guizzardi, G., van Sinderen, M.: Towards Conceptual Foundations for Context-Aware Applications. In: Proc. of the Third Int’l Workshop on Modeling and Retrieval of Context (MRC’06), Boston, USA (2006)Google Scholar
  9. 9.
    Etter, R., Dockhorn Costa, P., Broens, T.: A Rule-Based Approach Towards Context-Aware User Notification Services. In: Proc. of the IEEE International Conference on Pervasive Services 2006, Lyon, France (2006)Google Scholar
  10. 10.
  11. 11.
    Friedman-Hill, E.: JESS in Action: Rule-Based Systems in Java. Manning Publications Co., (2003)Google Scholar
  12. 12.
    Hang Wang, X., Qing Zhang, D., Gu, T., Keng Pung, H.: Ontology-Based Context Modeling and Reasoning Using OWL. In: Proc. of the 2nd IEEE Annual Conf. on Pervasive Computing and Communications Workshops (PERCOMW04), USA, pp. 18–22 (2004)Google Scholar
  13. 13.
    Henricksen, K., Indulska, J.: Developing context-aware pervasive computing applications: Models and approach. Journal of Pervasive and Mobile Computing, vol. 2(1), pp. 37–64. Elsevier (2006)Google Scholar
  14. 14.
    McFadden, T., Henricksen, K., Indulska, J., Mascaro, P.: Applying a Disciplined Approach to the Development of a Context-Aware Communication Application. In: 3rd IEEE Conf. on Pervasive Computing and Communications (Percom 2005), IEEE CS Press, Washington, DC (2005)Google Scholar
  15. 15.
    Merriam-Webster, Inc.: Merriam-Webster Online:
  16. 16.
    Mylopoulos, J.: Conceptual modeling and Telos. In: Loucopoulos, P., Zicari, R. (eds.) Conceptual modeling, databases, and CASE, John Wiley and Sons Inc., New York (1992)Google Scholar
  17. 17.
    Object Management Group: Unified Modelling Language: Object Constraint Language version 2.0, ptc/03-10-04 (2003)Google Scholar
  18. 18.
    Object Management Group: UML 2.0 Superstructure, ptc/03-08-02 (2003)Google Scholar
  19. 19.
    Strang, T., Linnhoff-Popien, C., Frank, K.: CoOL: A Context Ontology Language to enable Contextual Interoperability. In: Proc. of the 4th IFIP International Conference on Distributed Applications and Interoperable Systems (DAIS2003), pp. 236–247. Paris (2003)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2007

Authors and Affiliations

  • Patrícia Dockhorn Costa
    • 1
  • João Paulo A. Almeida
    • 1
    • 2
  • Luís Ferreira Pires
    • 1
  • Marten van Sinderen
    • 1
  1. 1.Centre for Telematics and Information Technology, University of Twente, PO Box 217, 7500 AE EnschedeThe Netherlands
  2. 2.Computer Science Department, Federal University of Espírito Santo (UFES), Av. Fernando Ferrari, s/n, Vitória, ESBrazil

Personalised recommendations