SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/occupation> <http://dbpedia.org/resource/Cricket> . ?x <http://dbpedia.org/ontology/stateOfOrigin> ?uri . }
Cricket is played by which countries' citizens?
SELECT DISTINCT ?k WHERE { ?o property:occupation resource:Cricket . ?o property:state_of_origin ?k . }
India, Gibraltarians, Pakistan, England
The states of origin of the people who play Cricket are [India, Gibraltarians, Pakistan, England].
The countries where cricket is played are India, Pakistan, England.