what is the {end time} for {Benjamin Howard Baker} has {member of sports team} as {Everton F.C.} ?
In what year did Benjamin Howard Baker leave the Everton F.C. sports team?
When did Benjamin Howard Baker leave the sports team Everton F.C. ?
SELECT ?q WHERE { resource:Benjamin_Howard_Baker property:member_of_sports_team ?l . ?l property:end_time ?q . ?l property:member_of_sports_team resource:Everton_F.C. }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4140865> .
?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/Q5794> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q4140865 p:P54 ?s . ?s ps:P54 wd:Q5794 . ?s pq:P582 ?value}