What is {position held} of {Tancredo Neves} that is {start time} is {1962-3-23} ?
Give me the name of the position held by Tancredo Neves on 3-23-1962?
What position was held by Tancredo Neves on 3-23-1962?
SELECT ?w WHERE { resource:Tancredo_Neves property:position_held ?e . ?e property:position_held ?w . ?e property:start_time ?a . FILTER ( CONTAINS ( YEAR ( ?a ) , '1962' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q273264> .
?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/P580> <1962-3-23>
} 

SELECT ?obj WHERE { wd:Q273264 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1962')) }