what is the {end time} for {Brian O'Driscoll} has {member of sports team} as {Leinster Rugby} ?
Brian O'Driscoll stop playing with Leinster Rugby on what date?
When did Brian O'Driscoll stop playing with Leinster Rugby?
SELECT ?w WHERE { ?l property:member_of_sports_team resource:Leinster_Rugby . ?l property:end_time ?w . resource:Brian_O'Driscoll property:member_of_sports_team ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q912889> .
?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/Q1473374> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q912889 p:P54 ?s . ?s ps:P54 wd:Q1473374 . ?s pq:P582 ?value}