What is the {public office} for {office held by head of government} of {Khyber Pakhtunkhwa}
Khyber Pakhtunkhwa is in charge of which open office ?
Khyber Pakhtunkhwa is in charge of which public office ?
SELECT DISTINCT ?j WHERE { resource:Khyber_Pakhtunkhwa property:office_held_by_head_of_government ?j . ?j rdf:type ontology:public_office }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q183314> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1313> . ?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:Q183314 wdt:P1313 ?obj . ?obj wdt:P31 wd:Q294414 } 
Chief Minister of Khyber Pakhtunkhwa