What is {position held} of {Philip Noel-Baker, Baron Noel-Baker} that is {end time} is {1964-9-25} ?
Philip Noel-Baker, Baron Noel-Baker's position as what ended in 1964?
What position did Philip Noel-Baker, Baron Noel-Baker, hold that ended in 1964?
SELECT ?w WHERE { resource:Philip_Noel-Baker,_Baron_Noel-Baker property:position_held ?u . FILTER ( CONTAINS ( YEAR ( ?s ) , '1964' ) ) . ?u property:position_held ?w . ?u property:end_time ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q211856> .
?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> <1964-9-25>
} 

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