what is the {end time} for {Tom Wills} has {member of sports team} as {Victoria cricket team} ?
Give me the date Tom Wills stopped playing for the Victoria cricket team.
When did Tom Wills stop playing for the Victoria cricket team?
SELECT ?r WHERE { resource:Tom_Wills property:member_of_sports_team ?e . ?e property:end_time ?r . ?e property:member_of_sports_team resource:Victoria_cricket_team }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3530930> .
?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/Q1136066> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q3530930 p:P54 ?s . ?s ps:P54 wd:Q1136066 . ?s pq:P582 ?value}