Smart city concept emerged as a technology supported response to challenges posed by growing cities. To provide ambient intelligence smart cities rely on ubiquitous and context-aware computing. Given the ubiquity of computing devices, the ability to connect objects and people into a smart context-aware system is one contemporary challenge. Our early research proposed a novel approach for dynamic integration of devices into a system with context-aware behavior inspired by concepts used in role theory. The idea behind our model is to embed the predefined internal structure of a system given the context into a mobile device to allow it owing a certain role in that system. The objective of the present paper is to prepare the ground for further prototyping of the model. We present ontology-based use-case scenarios utilizing the model to demonstrate the capabilities of the model.