What is {member of sports team} of {Mircea Lucescu} that is {end time} is {1977-1-1} ?
Who did Mircea Lucescu play for in January of 1977?
What sports team did Mircea Lucescu play for on 1-1-1977?
SELECT ?f WHERE { ?m property:end_time ?j . resource:Mircea_Lucescu property:member_of_sports_team ?m . ?m property:member_of_sports_team ?f . FILTER ( CONTAINS ( YEAR ( ?j ) , '1977' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q342698> .
?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> <1977-1-1>
} 

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