what is the {end time} for {Bob Paisley} has {member of sports team} as {Bishop Auckland F.C.} ?
Between what dates was Bob Paisley a member of Bishop Auckland F.C.?
When was Bob Paisley a member of Bishop Auckland F.C.?
SELECT ?g WHERE { resource:Bob_Paisley property:member_of_sports_team ?o . ?o property:member_of_sports_team resource:Bishop_Auckland_F.C. . ?o property:end_time ?g }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q314436> .
?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/Q4917491> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q314436 p:P54 ?s . ?s ps:P54 wd:Q4917491 . ?s pq:P582 ?value}