What is {elected in} and {end cause} of {{John Hume} has {position held} as {Member of the 49th Parliament of the United Kingdom}}
When was John Hume chosen as Part of the 49th Parliament of the Joined together Kingdom and what ceased the position?
When was John Hume elected as Member of the 49th Parliament of the United Kingdom and what ceased the position?
SELECT ?c ?w WHERE { ?a property:position_held resource:Member_of_the_49th_Parliament_of_the_United_Kingdom . ?a property:elected_in ?c . resource:John_Hume property:position_held ?a . ?a 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/Q193630> . ?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/Q41582621>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q193630 p:P39 ?s . ?s ps:P39 wd:Q41582621 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }