What is {spouse} of {Frida Kahlo} that is {end time} is {1939-11-6} ?
Who did Frida Kahlo marry on November 11, 1939?
SELECT ?obj WHERE { wd:Q5588 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1939')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5588> .
?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/P582> <1939-11-6>
} 

On November 11, 1939, who married Frida Kahlo?