What is {position held} of {Henry Morton Stanley} and {end cause}
What was the position of Henry Morton Stanley and what is its end date
What position did Henry Morton Stanley hold and when did it end?
SELECT ?y ?g WHERE { ?n property:position_held ?g . resource:Henry_Morton_Stanley property:position_held ?n . ?n property:end_cause ?y . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171421> . ?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:Q171421 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1534 ?value1 . }