Abstract This paper is a contribution to semantic data management in P2P systems. It is based on the previous works of the same authors in which a declarative semantics for P2P systems is defined: under this semantics, only facts not making the local databases inconsistent are imported (Weak Models) and the Maximal Weak Models are those in which peers import maximal sets of facts not violating integrity constraints. The proposal, presented in this paper, stems from the following two observations: (i) the Maximal Weak Model Semantics ensures that locally consistent P2P systems always admit a maximal weak model, but fails for locally inconsistent P2P systems; (ii) the self-esteem degree of a peer should impact on the interaction with other peers in the system so that driving the integration process. From the above-mentioned observations a more general framework is presented. Our proposal is able to manage local inconsistencies and allows to model a peer integration process driven by the self-esteem degree of each peer. Different self-esteem degrees could be considered; in this paper we focus our attention on three different scenarios in which a generic peer can declare an high, low or medium self-esteem degree, stating respectively that it trusts its own knowledge more, less or equally with respect to the knowledge that can be provided from the rest of the system. Three different basic semantics are proposed, High, Low, Medium Self-Esteem Semantics and results about the computational complexity of P2P logic queries are investigated by considering brave and cautions reasoning. The paper also presents an extension of the basic framework of the Self-Esteem Semantics that models a finer-grained self-esteem concept and allows each peer to exhibit different levels of self-esteem each of them defined with respect to a subset of its mapping rules.