what is the {end time} for {Alfred, Lord Tennyson} has {position held} as {Poet Laureate of the United Kingdom} ?
When was the position of Alfred, Ruler Tennyson as Writer Laureate of the Joined together Kingdom came to an end?
When was the position of Alfred, Lord Tennyson as Poet Laureate of the United Kingdom came to an end?
SELECT ?r WHERE { ?w property:end_time ?r . resource:Alfred_Tennyson property:position_held ?w . ?w property:position_held resource:Poet_Laureate_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/Q173869> .
?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/Q877838> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q173869 p:P39 ?s . ?s ps:P39 wd:Q877838 . ?s pq:P582 ?value}