What is {member of sports team} of {Ricardo Zamora} that is {end time} is {1936-1-1} ?
The team Ricardo Zamora left in 1936?
What sports team was Ricardo Zamora a member of when he finished in the year 1936?
SELECT ?r WHERE { resource:Ricardo_Zamora property:member_of_sports_team ?o . ?o property:member_of_sports_team ?r . ?o property:end_time ?w . FILTER ( CONTAINS ( YEAR ( ?w ) , '1936' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q296337> .
?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> <1936-1-1>
} 

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