Locating content efficiently and conveniently is the key issue in P2P systems. In this paper we present SemanticPeer, an Ontology-Based P2P lookup service, to address this problem, which is an extension of Chord protocol. In SemanticPeer, one can easily locate desired data items using the domain knowledge, beyond the keywords scheme. By the separate of share knowledge and private knowledge, SemanticPeer provides a high degree of node autonomy. SemanticPeer clusters the documents according to the domain knowledge, so we can answer a query with a specified characteristic efficiently.