SELECT DISTINCT COUNT(?uri) WHERE {?uri <http://dbpedia.org/ontology/hometown> <http://dbpedia.org/resource/London> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Band>}
How many bands are based in London?
SELECT DISTINCT COUNT ( ?t ) WHERE { ?t rdf:type ontology:Band . ?t property:hometown resource:London }
1158
There are [1158] Bands based in London.
[1,158] groups are based in London.