What is {holds position} of {position holder} of {Emir of Afghanistan} ?
Who holds position of position holder of emir of afghanistan ?
Who  holds position of position holder of emir of afghanistan ?
SELECT ?s WHERE { resource:Emir_of_Afghanistan property:officeholder ?a . ?a property:position_held ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17323614> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1308>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q17323614 wdt:P1308 ?X . ?X wdt:P39 ?answer}
emir monarch Emir of Afghanistan King of Afghanistan emir monarch emir Ghazi monarch monarch