What is {position held} of {Chiang Kai-shek} and {elected in}
which function Chiang Kai-shek holds and when did he select?
which position Chiang Kai-shek holds and when did he select?
SELECT ?k ?o WHERE { resource:Chiang_Kai-shek property:position_held ?i . ?i property:elected_in ?k . . ?i property:position_held ?o }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q16574> . ?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 . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q16574 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }