SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/foundationPlace> <http://dbpedia.org/resource/Toronto> . ?x <http://dbpedia.org/property/locations> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
Where can i find companies which were started in Toronto?
SELECT DISTINCT ?z WHERE { ?a rdf:type ontology:Company . ?a property:locations ?z . ?a property:foundation_place resource:Toronto }
answer
The locations of the companies whose foundation place is Toronto are [answer].
The locations of Toronto-based companies are: [answer].