What is {spouse} of {Mary McCarthy} that is {end time} is {1946-12-10} ?
Who did Mary McCarthy divorce in 1946?
SELECT ?obj WHERE { wd:Q268147 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1946')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q268147> .
?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> <1946-12-10>
} 

Which was the person that Mary McCarthy divorced from in 1946?