A query learning routing approach based on semantic clusters