What is {end cause} and {elected in} of {{David Cameron} has {position held} as {Member of the 55th Parliament of the United Kingdom}}
David Cameron is an elected member of the 55th Parliament in the UK. In which county was he elected, and why did his term end?
In what county was David Cameron elected as Member of the 55th Parliament of the United Kingdom, and why did it end?
SELECT ?w ?q WHERE { resource:David_Cameron property:position_held ?t . ?t property:elected_in ?q . ?t property:end_cause ?w . ?t property:position_held resource:Member_of_the_55th_Parliament_of_the_United_Kingdom }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q192> . ?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/Q35494253>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q192 p:P39 ?s . ?s ps:P39 wd:Q35494253 . ?s pq:P1534 ?value1 . ?s pq:P2715 ?value2 }