SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/headquarters> <http://dbpedia.org/resource/Klang_Valley> . ?x <http://dbpedia.org/property/country> ?uri . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Country>}
From how many coutries do companies come, which are headquartered in the Klang Valley?
SELECT DISTINCT COUNT ( ?c ) WHERE { ?j property:headquarters resource:Klang_Valley . ?c rdf:type ontology:Country . ?j property:country ?c }
8
There are [8] nations from which companies are headquartered in the Klang Valley.
There are [8] countries where companies have their headquarters in Klang Valley.
There are [8] nation are there, of the companies whose headquarters is location .
There are [8] countries from which companies are headquartered.