A Context Model for Personal Data Streams

Fausto Giunchiglia, Xiaoyue Li, Matteo Busso, Marcelo Dario Rodas BritezAPWeb/WAIM 2022

Introduction

Modern life is increasingly mediated by digital devices. Smartphones, wearables, and IoT sensors generate a continuous stream of heterogeneous personal data, ranging from GPS coordinates to physiological metrics. However, this raw data often lacks the "situational context" necessary for AI systems to provide truly person-centric services. Traditionally, personal data is stored in flat formats and analyzed retrospectively, failing to capture the subjective perspective of the individual. This paper proposes a semantic framework to transform these "messy" data streams into a structured, human-understandable "Knowledge Level" representation using Knowledge Graphs (KGs).

The Situational Context Model

The core of the proposed framework is a formal model for situational context, structured across three primary layers:

1. Abstract Conceptualization

The authors define context as a synthesis of Locations (endurants that persist over time) and Events (perdurants composed of temporal segments). A person's life is represented as a chronological sequence of these discrete situational contexts.

2. Entity Type Graph (ETG)

The ETG serves as the schema for the context model, utilizing an Enhanced Entity-Relationship (EER) approach. It categorizes entities into Locations, Events, and Generic Objects (including the user, designated as "me").

The Entity Type Graph (ETG) schema defines the relationships between locations, events, and objects.

The model further distinguishes between various property types to capture the nuances of human experience, as detailed in the taxonomy below:

Classification of property types across different entity categories.
  • Internal vs. External: Distinguishing between subjective states (mood, stress) and objective attributes (gender, name).
  • Spatial vs. Temporal: Mapping where and when entities exist.
  • Functions and Actions: Defining the roles objects play and how they evolve.

3. Data Stream Population

Raw sensor logs and user annotations are used to populate the ETG. Each time slot in an individual's life becomes a specific instance of a Knowledge Graph, bridging the gap between low-level data (e.g., WiFi SSIDs) and high-level concepts (e.g., "studying at the library").

Validation and Datasets

The model was validated using the Smart University (SU) dataset, which includes data from 158 students collected over four weeks. Using the iLog application, researchers gathered over 139,000 manual annotations alongside 1 terabyte of sensor data. This allowed for a qualitative mapping of complex real-world behaviors into the ETG structure.

Key Insights

  • Subjective Perspective: Context is treated as an individual's "theory of the world" rather than an objective state.
  • Life as a Sequence: By modeling life as discrete contexts, the system can group non-adjacent events (e.g., all "coffee breaks") to identify long-term habits.
  • The "Me" Entity: Centering the model on the user allows for a clear distinction between internal states and the external environment.

Conclusion and Future Work

The proposed framework successfully demonstrates how raw personal data can be elevated to a knowledge level. While the current work focuses on the structural mapping of data, future research will explore machine learning algorithms to automate the classification of sensor data without manual intervention. This context-aware representation is a critical step toward developing "human-in-the-loop" AI systems capable of natural, proactive interaction.

Summary updated

BibTeX
@inproceedings{giunchiglia2022context,
  author = {Fausto Giunchiglia and Xiaoyue Li and Matteo Busso and Marcelo Dario Rodas Britez},
  title = {{A Context Model for Personal Data Streams}},
  booktitle = {APWeb/WAIM},
  year = {2022},
  doi = {10.1007/978-3-031-25158-0\_4},
}
Figure