SELECT DISTINCT COUNT(?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>}
How many companies are located in Toronto?
SELECT DISTINCT COUNT ( ?m ) WHERE { ?m property:location_city resource:Toronto . ?m rdf:type ontology:Company }
213
There are [213] companies located in Toronto.
[213] companies are there in Toronto.
There are [213] companies located in the country.
There are [213] companies in the country.