what is the {end time} for {Pierre-Auguste Renoir} has {residence} as {Limoges} ?
On what date did Pierre-Auguste Renoir discontinue his stay in Limoges?
When did Pierre-Auguste Renoir end his residence in Limoges?
SELECT ?i WHERE { ?x property:residence resource:Limoges . ?x property:end_time ?i . resource:Pierre-Auguste_Renoir property:residence ?x }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39931> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q45656> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q39931 p:P551 ?s . ?s ps:P551 wd:Q45656 . ?s pq:P582 ?value}