Adapting application to diverse/dynamic domains is required to enlarge pervasive computing use and to satisfy people demand in terms of continuity of services. In addition, the proliferation of smart devices and ubiquitous services motivate the need for a quick development of applications that support people in dynamic domains. Inappropriately, this quick development is often associated a discard of domain knowledge. Therefore, we target in our research raising the level of adaptation for rapid application development in dynamic domains. In this paper, we present our work to improve the formal definition of domain knowledge/applications to be created by domain experts. We propose our context-based semantic framework (i.e., AmI-DEU) used to create dynamic domain models that are the basis for building applications. In this framework, domain knowledge is described by means of meaningful context that include unambiguous terms and operations, resulting in an enhancement of adaptation of applications. We also present in this paper the applicability of the framework to describe dynamic domains and context-based services, as well as, to develop micro context-aware applications that negotiate and interchange context, and consume services in multiple computational spaces.