What is {position held} of {Robert Peel} and {end cause}
Why did Robert Peel's position conclusion and what was it?
Why did Robert Peel's position end and what was it?
SELECT ?i ?u WHERE { resource:Robert_Peel property:position_held ?h . ?h property:end_cause ?i . . ?h property:position_held ?u }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q181875> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q181875 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1534 ?value1 . }