SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/headquarters> <http://dbpedia.org/resource/Klang_Valley> . ?x <http://dbpedia.org/property/country> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Company>}
What are some countries where companies headquartered in the Klang Valley operate?
SELECT DISTINCT ?a WHERE { ?q rdf:type ontology:Company . ?q property:country ?a . ?q property:headquarters resource:Klang_Valley }
Singapore, Malaysia, Italy, Taiwan, Hong Kong, South Korea, Thailand, Japan
The countries with companies headquartered in Klang Valley are [Singapore, Malaysia, Italy, Taiwan, Hong Kong, South Korea, Thailand, Japan].
The countries headquartered in Cambridge are Singapore, Malaysia, Italy, Taiwan, Hong Kong, South Korea, Thailand, and Japan.