What is {electoral district} and {end cause} of {{George Cayley} has {position held} as {Member of the 11th Parliament of the United Kingdom}}
What was the constituent locale that George Cayley held at a part of the 11th Parliament of the UK, and why did he leave?
What was the electoral district that George Cayley held at a member of the 11th Parliament of the UK, and why did he leave?
SELECT ?i ?u WHERE { ?t property:electoral_district ?i . ?t property:end_cause ?u . resource:George_Cayley property:position_held ?t . ?t property:position_held resource:Member_of_the_11th_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/Q319362> . ?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/Q41582546>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q319362 p:P39 ?s . ?s ps:P39 wd:Q41582546 . ?s pq:P768 ?value1 . ?s pq:P1534 ?value2 }