What is {head of state} of {Zambia} that is {start time} is {1964-10-24} ?
Give me the name of the person who has been serving as Zambia head of state since October 1964?
Who started serving as the Zambia head of state on 10-24-1964?
SELECT ?n WHERE { ?i property:start_time ?r . FILTER ( CONTAINS ( YEAR ( ?r ) , '1964' ) ) . resource:Zambia property:head_of_state ?i . ?i property:head_of_state ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q953> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P35> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1964-10-24>
} 

SELECT ?obj WHERE { wd:Q953 p:P35 ?s . ?s ps:P35 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1964')) }