What is {elected in} and {end cause} of {{Jeremy Corbyn} has {position held} as {Member of the 56th Parliament of the United Kingdom}}
Why did Jeremy Corbyn end his function as Member of the 56th Parliament of the United Kingdom and when was he elected in?
Why did Jeremy Corbyn end his position as Member of the 56th Parliament of the United Kingdom and when was he elected in?
SELECT ?k ?r WHERE { ?s property:end_cause ?r . ?s property:position_held resource:Member_of_the_56th_Parliament_of_the_United_Kingdom . resource:Jeremy_Corbyn property:position_held ?s . ?s 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/Q291169> . ?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/Q30524718>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q291169 p:P39 ?s . ?s ps:P39 wd:Q30524718 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }