What is {position held} of {Zhou Enlai} that is {end time} is {1976-1-8} ?
Which designation was held by Zhou Enlai in the year 1976?
What is {position held} of {Zhou Enlai} where {end time} is {1976-1-8} ?
SELECT ?n WHERE { resource:Zhou_Enlai property:position_held ?j . ?j property:end_time ?s . FILTER ( CONTAINS ( YEAR ( ?s ) , '1976' ) ) . ?j property:position_held ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17410> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1976-1-8>
} 

SELECT ?obj WHERE { wd:Q17410 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1976')) }