what is the {end time} for {John Hume} has {position held} as {Member of the Parliament of Northern Ireland} ?
What was the last date of John Hume's reign as Member of the Parliament of Northern Ireland?
When did John Hume end his position held as Member of the Parliament of Norther Ireland?
SELECT ?h WHERE { ?y property:end_time ?h . ?y property:position_held resource:Member_of_the_Parliament_of_Northern_Ireland . resource:John_Hume property:position_held ?y }
select distinct ?value  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/Q19462434> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q193630 p:P39 ?s . ?s ps:P39 wd:Q19462434 . ?s pq:P582 ?value}