What is {member of sports team} of {Alan Shearer} that is {end time} is {1992-1-1} ?
Who did Alan Shearer play for in the year 1992
Which sports team was Alan Shearer last a member of in the year 1992?
SELECT ?z WHERE { ?m property:end_time ?f . resource:Alan_Shearer property:member_of_sports_team ?m . FILTER ( CONTAINS ( YEAR ( ?f ) , '1992' ) ) . ?m property:member_of_sports_team ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q483583> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1992-1-1>
} 

SELECT ?obj WHERE { wd:Q483583 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1992')) }