what is the {of} for {Imran Khan} has {position held} as {chancellor} ?
Why was Imran Khan voted in as chancellor?
For what reason Imran Khan was elected as chancellor?
SELECT ?o WHERE { ?n property:position_held resource:chancellor . resource:Imran_Khan property:position_held ?n . ?n property:of ?o }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q155164> .
?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> <http://wikidata.dbpedia.org/resource/Q373085> .
?statement <http://www.wikidata.org/entity/P642> ?value. 
} 

SELECT ?value WHERE { wd:Q155164 p:P39 ?s . ?s ps:P39 wd:Q373085 . ?s pq:P642 ?value}