what is the {end time} for {Pliny the Elder} has {position held} as {Procurator} ?
On what date did the Procurator Pliny the Elder leave his job?
When did Pliny the Elder leave his position as Procurator?
SELECT ?f WHERE { ?x property:end_time ?f . resource:Pliny_the_Elder property:position_held ?x . ?x property:position_held resource:Procurator }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q82778> .
?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/Q499165> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q82778 p:P39 ?s . ?s ps:P39 wd:Q499165 . ?s pq:P582 ?value}