What is {member of sports team} of {Helenio Herrera} that is {end time} is {1942-1-1} ?
For which team, did Helenio Herrera played in 1942?.
What team did Helenio Herrera play for in 1942?
SELECT ?u WHERE { ?b property:member_of_sports_team ?u . ?b property:end_time ?v . FILTER ( CONTAINS ( YEAR ( ?v ) , '1942' ) ) . resource:Helenio_Herrera property:member_of_sports_team ?b }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q310078> .
?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> <1942-1-1>
} 

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