what is the {end time} for {Miguel Induráin} has {member of sports team} as {Movistar} ?
Miguel Indurain left Movistar when?
When did Miguel Indurain leave Movistar?
SELECT ?m WHERE { ?i property:end_time ?m . ?i property:member_of_sports_team resource:Movistar . resource:Miguel_Induráin property:member_of_sports_team ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105542> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6175> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q105542 p:P54 ?s . ?s ps:P54 wd:Q6175 . ?s pq:P582 ?value}