what is the {end cause} for {John Walter} has {position held} as {Member of the 15th Parliament of the United Kingdom} ?
Which were the causes for which John Walter held a position while being a member of the 15th Parliament of the United Kingdom?
What causes did John Walter held position on as the Member of the 15th Parliament of the United Kingdom?
SELECT ?j WHERE { ?k property:end_cause ?j . resource:John_Walter property:position_held ?k . ?k property:position_held resource:Member_of_the_15th_Parliament_of_the_United_Kingdom }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1702099> .
?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/Q41582555> .
?statement <http://www.wikidata.org/entity/P1534> ?value. 
} 

SELECT ?value WHERE { wd:Q1702099 p:P39 ?s . ?s ps:P39 wd:Q41582555 . ?s pq:P1534 ?value}