Abstract
This chapter shows the role of semantic methods in delivering AmI. The smart spaces paradigm applies ontological modeling for representing available IoT resources as shared information. This way, resources are virtualized by local information hubs, which are deployed on existing devices. The virtualization benefits from semantics since relations between resources are also represented, forming a semantic network. In turn, various ranking models can be implemented for information search and knowledge reasoning (e.g., based on such well-known algorithms as PageRank). The structural properties of the semantic network leads to advanced AmI support for constructing proactive services: discovery of certain structures (e.g., cycles) can be interpreted as formation of specific knowledge that initiates service construction and delivery.