Using Queries for Semantic-based Service Utilization