An Instance-based Matching Method for Semantic Retrieval