Question: How many things are produced by companies located in Tehran?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:location <http://dbpedia.org/resource/Tehran> . ?x onto:product ?uri . }