The establishment of a computational framework of roles contributes effectively to the management of instance models because it provides us with a useful policy for treatment of views and contexts related to roles. In our research, we have developed an ontology building environment, which provides a framework for representation of roles and their characteristics. In this paper, as an extension of the framework, we present a framework for organizing roles according to their context dependencies. We especially focus on defining and organizing compound roles, which depend on several contexts.