What is {elected in} and {end cause} of {{Henry Campbell-Bannerman} has {position held} as {Member of the 20th Parliament of the United Kingdom}}
How long was UK 20th Parliament member Henry Campbell - Bannerman?
How long was Henry Campbell-Bannerman a member of the 20th Parliament of the UK?
SELECT ?d ?r WHERE { ?e property:end_cause ?r . resource:Henry_Campbell-Bannerman property:position_held ?e . ?e property:position_held resource:Member_of_the_20th_Parliament_of_the_United_Kingdom . ?e property:elected_in ?d }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q106618> . ?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/Q41582560>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q106618 p:P39 ?s . ?s ps:P39 wd:Q41582560 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }