Question: Which is the country for which Rodrigo Duterte is the head of the government?
Paraphrase: Rodrigo Duterte is the head of government for which country?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P6 wd:Q457786 . ?sbj wdt:P31 wd:Q6256 } 
Answer: Philippines