An Inexact Matching Method Based on Ontology and Semantic Distance for Resource Discovery and Interaction