SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/locationCity> <http://dbpedia.org/resource/Toronto> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
What companies are located in toronto?
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Company . ?q property:location_city resource:Toronto }
answer
The companies located in Toronto are [answer].
Toronto-based companies are [the answer].