SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Bangkok> <http://dbpedia.org/ontology/leaderName> ?x . ?x <http://dbpedia.org/property/residence> ?uri . }
Where is the residence of the governor of Bangkok?
SELECT DISTINCT ?i WHERE { ?j property:residence ?i . . resource:Bangkok property:leader_name ?j }
Bangkok
The residence of the leader of Bangkok is [Bangkok].
Head of State's residence is [Bangkok].