What is the {island nation} for {head of government} of {Joko Widodo}
Joko Widodo is the head of government for which island nation?
Joko Widodo is the head of government for which island nation?
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:island_nation . ?b property:head_of_government resource:Joko_Widodo }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3318231> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q112099> } 
 select distinct ?sbj where { ?sbj wdt:P6 wd:Q3318231 . ?sbj wdt:P31 wd:Q112099 } 
Indonesia