Method for Semantic Logging (tool SemanticLog)

A method for effective logging and integration of events with semantics from various sources.

Institution: Slovak University of Technology
Technologies used: Java, XML, MySQL, Hibernate, Web Services
Inputs: Event ontology, semantic events corresponding to user actions
Outputs: Integrated log of user events in a relational database
Documentation: HTML, doc, JavaDoc
Distribution packages: zip

Addressed Problems

Many practical applications can and do take advantage of information about their users, e.g. to personalize the content or the presentation of information. Various data about users can be acquired and subsequently logged by sever-side tools, which can be further used to determine user characteristics. Simple logs of e.g. URL addresses however provide only limited information about what had actually happened in a system and processing such limited information makes it difficult to infer sensible user characteristics.

If several interacting server-side tools cooperate within a system, creating a comprehensive log of events becomes more difficult while the use of client-side logging tools makes logging and log integration a serious problem. Furthermore, logging the semantics of user actions and their corresponding server events requires a well defined cooperation and support of multiple tools.


The basic principle of the logging with semantics lies in the use of an event ontology that describes the events that might occur as a result of user actions performed while using a system. Various server-side or client-side tools that acquire data can access a common web service interface and store data about events and the associated semantics in a convenient way in one place. Furthermore, events from various sources are integrated into a single stream of semantic events (per user), which then provides simple and effective access to the stored data for different data mining tools (e.g. for user characteristics analysis).

Thus, a semantic logging tool allows client tools to perform the following operations:

figure description

Overview of integration of SemanticLog with other tools.


  1. Tvarožek, M., Barla, M., Bieliková, M. (2007). Personalized Presentation in Web-Based Information Systems. In J. Van Leeuwen, G. F. Italiano, W. van der Hoek, H. Sack, C. Meinel, F. Plášil (Ed.), SOFSEM 2007: Proceedings of the 33rd Conference on Current Trends in Theory and Practice of Computer Science. LNCS 4362, pp. 796-807. Harrachov, Czech Republic: Springer-Verlag, Berlin Heidelberg.
  2. Andrejko, A., Barla, M., Bieliková, M., Tvarožek, M. (2006). Softvérové nástroje pre získavanie charakteristík používatela. In P. Vojtáš & T. Skopal (Ed.), Proceedings of DATAKON '06, (pp. 139-148). Brno, Czech Republic (in Slovak).