what is the {end time} for {Eugenio Montale} has {position held} as {senatore a vita} ?
When did Eurgenio Montale step down from his position as senatore a vita?
When did Eugenio Montale retire from their position as senatore a vita?
SELECT ?m WHERE { ?v property:position_held resource:senatore_a_vita . resource:Eugenio_Montale property:position_held ?v . ?v property:end_time ?m }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q83174> .
?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/Q826589> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q83174 p:P39 ?s . ?s ps:P39 wd:Q826589 . ?s pq:P582 ?value}