What is {spouse} of {Hugh Masekela} that is {start time} is {1964-0-0} ?
In 1964, who did Hugh Masekela marry?
Who did Hugh Masekela marry in 1964?
SELECT ?q WHERE { ?d property:start_time ?s . FILTER ( CONTAINS ( YEAR ( ?s ) , '1964' ) ) . ?d property:spouse ?q . resource:Hugh_Masekela property:spouse ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q246594> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1964-0-0>
} 

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