Semantic Resource Matching for Pervasive Environments: The Approach and its Evaluation