what is the {end cause} for {Ian Paisley} has {position held} as {Member of the 45th Parliament of the United Kingdom} ?
Why did Ian Paisley decide to leave his position as a member of the 45th Parliament of Great Britain?
What caused Ian Paisley to end his position as a member of the 45th Parliament of the United Kingdom?
SELECT ?c WHERE { ?f property:position_held resource:Member_of_the_45th_Parliament_of_the_United_Kingdom . ?f property:end_cause ?c . resource:Ian_Paisley property:position_held ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q296597> .
?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/Q41582612> .
?statement <http://www.wikidata.org/entity/P1534> ?value. 
} 

SELECT ?value WHERE { wd:Q296597 p:P39 ?s . ?s ps:P39 wd:Q41582612 . ?s pq:P1534 ?value}