Context Ontology Implementation for Smart Home

Tam Van Nguyen, Wontaek Lim, Huy Anh Nguyen, Deokjai Choi, Chilwoo LeearXiv 2010

Abstract

Smart home environments often suffer from data fragmentation due to the heterogeneity of sensors and devices. This paper proposes an ontology-based framework using RDF/OWL to create a unified context model. By implementing a dissimilarity-based filtering algorithm, the system reduces storage requirements by 70x. We demonstrate the framework's effectiveness through automated reasoning and priority-based conflict resolution using SPARQL queries in a real-world experimental setup.

Introduction

In ubiquitous computing, "Smart Homes" must understand "context"—the who, what, where, and when of a situation—to provide meaningful automation. However, four major hurdles persist: data heterogeneity, the lack of shareable knowledge structures, complex querying requirements, and the "data explosion" caused by continuous sensor streams. This research addresses these challenges by treating context as semantic knowledge rather than raw data.

Methodology

The proposed system is built on the UTOPIA (UbiquiTous cOmPutIng Architecture) framework. It employs a multi-stage approach to context management:

Ontology Modeling

Data is represented as RDF triples (Subject-Predicate-Object) using the Web Ontology Language (OWL). This semantic approach allows for a flexible architecture where devices share a common vocabulary. The context is organized into a hierarchical structure consisting of four primary classes: Environment, Activity, Preference, and Person.

Hierarchical structure of the Home Ontology, categorizing context into Environment, Activity, Preference, and Person classes.

Data Filtering and Reasoning

To mitigate storage issues, a dissimilarity formula $D(i, j)$ compares incoming sensor data with the previous state. Data is only committed to the database if the change exceeds a predefined significance threshold. For reasoning, the system utilizes the Jena engine and SPARQL to execute autonomous decisions based on user profiles and priorities.

Results and Discussion

The implementation was evaluated using real-time data from TIP sensors and RFID-based user tracking.

Storage Efficiency

The dissimilarity-based filtering proved highly effective. By excluding redundant data (e.g., minor temperature fluctuations), the daily dataset size was reduced from 115,200 KB to 1,500 KB, representing a 70x reduction in storage overhead without losing critical context history.

Automated Reasoning

The system successfully resolved conflicts using a hasPriority attribute. When multiple users are present, the ontology applies the preferences of the individual with the highest priority.

Example of a SPARQL query and the resulting automation states for a 'Self-study' activity, showing device status and user priority.

As shown in the query results, when the "Son" is engaged in "Self-study," the system automatically toggles the Air Conditioner, Light, and Projector to "True" while ensuring the TV remains "False."

Conclusion

This research demonstrates that an ontology-based approach effectively manages the complexity of smart home contexts. By combining semantic modeling with efficient data filtering, we achieved significant storage savings and robust automation. Future work will explore non-intrusive sensing methods and dynamic thresholding using machine learning to further enhance system scalability and user experience.

Summary updated

BibTeX
@misc{nguyen2010context,
  author = {Tam Van Nguyen and Wontaek Lim and Huy Anh Nguyen and Deokjai Choi and Chilwoo Lee},
  title = {{Context Ontology Implementation for Smart Home}},
  year = {2010},
  eprint = {1007.1273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1007.1273},
}
Figure