What is {end cause} and {elected in} of {{Park Geun-hye} has {position held} as {president of South Korea}}
Park Geun-hye's role as president ceased at what time?
When did Park Geun-hye's position as president of South Korea end?
SELECT ?t ?k WHERE { ?e property:position_held resource:president_of_South_Korea . resource:Park_Geun-hye property:position_held ?e . ?e property:end_cause ?t . ?e property:elected_in ?k }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q138048> . ?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/Q6296418>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q138048 p:P39 ?s . ?s ps:P39 wd:Q6296418 . ?s pq:P1534 ?value1 . ?s pq:P2715 ?value2 }