what is the {end time} for {FC Bayern Munich} has {home venue} as {Olympic Stadium of Munich} ?
When was the last year that FC Bayern Munich had the Munich Olympic Stadium as their center?
What was the last year that FC Bayern Munich used the Olympic Stadium of Munich as its home venue?
SELECT ?c WHERE { ?y property:end_time ?c . ?y property:home_venue resource:Olympic_Stadium_of_Munich . resource:FC_Bayern_Munich property:home_venue ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q15789> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P115> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q131610> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q15789 p:P115 ?s . ?s ps:P115 wd:Q131610 . ?s pq:P582 ?value}