What is the {public office} for {position held} of {Joko Widodo}
What was Joko Widodo's job position?
What position in public office did Joko Widodo hold?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:public_office . resource:Joko_Widodo property:position_held ?t }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3318231> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q294414> } 
 select distinct ?obj where { wd:Q3318231 wdt:P39 ?obj . ?obj wdt:P31 wd:Q294414 } 
President of Indonesia