what is the {replaced by} for {Ma Ying-jeou} has {position held} as {Chairperson of the Kuomintang} ?
Who replaced Ma Ying-Jeou as chairperson of the Kuominatnag?
which is  replaced for ma ying-jeou has position held as chairperson of the kuominatnag?
SELECT ?f WHERE { resource:Ma_Ying-jeou property:position_held ?q . ?q property:replaced_by ?f . ?q property:position_held resource:Chairperson_of_the_Kuomintang }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q19216> .
?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/Q16056439> .
?statement <http://www.wikidata.org/entity/P1366> ?value. 
} 

SELECT ?value WHERE { wd:Q19216 p:P39 ?s . ?s ps:P39 wd:Q16056439 . ?s pq:P1366 ?value}