What is {end cause} and {elected in} of {{John Stuart Mill} has {position held} as {Member of the 19th Parliament of the United Kingdom}}
John Stuart Mill, who has a position as a member of the 19th UK parliament, faced an election. What happened at the end?
Who was the final cause of the election at John Stuart Mill who has a position as a member of the 19th UK Parliament?
SELECT ?w ?o WHERE { resource:John_Stuart_Mill property:position_held ?i . ?i property:elected_in ?o . ?i property:position_held resource:Member_of_the_19th_Parliament_of_the_United_Kingdom . ?i property:end_cause ?w }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q50020> . ?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/Q41582559>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q50020 p:P39 ?s . ?s ps:P39 wd:Q41582559 . ?s pq:P1534 ?value1 . ?s pq:P2715 ?value2 }