Small changes to the query

Just to make sure that URIs are correctly written