what is the {of} for {Peggy Whitson} has {position held} as {ISS Expedition Commander} ?
As an ISS Expedition Commander, what position did Peggy Whitson hold?
What position did Peggy Whitson hold as an ISS Expedition Commander?
SELECT ?q WHERE { resource:Peggy_Whitson property:position_held ?v . ?v property:of ?q . ?v property:position_held resource:ISS_Expedition_Commander }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q235523> .
?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/Q20113740> .
?statement <http://www.wikidata.org/entity/P642> ?value. 
} 

SELECT ?value WHERE { wd:Q235523 p:P39 ?s . ?s ps:P39 wd:Q20113740 . ?s pq:P642 ?value}