A previous work has proposed a reflective middleware Architecture for the management of service-oriented applications. Our middleware is designed to be fully distributed through all services of the SOA Application. The architecture uses the model of Autonomic Computing which allow the adaptation of our system, in order to selfhealing. Particularly, one of the main aspects of this architecture is the representation of the knowledge. Our architecture uses different paradigms for the representation of the knowledge. For the diagnosis task, it uses chronicles, and for the reparation task it uses ontologies. In this paper, we present the knowledge representation framework, which represents the knowledge needed to perform the different operations of the middleware. Specifically, we design a distributed knowledge based on distributed chronicles, ontologies and other data structures.