An Efficient Peer-to-Peer Semantic Overlay Network for Learning Query Routing