What is {spouse} of {Doris Day} that is {start time} is {1946-3-30} ?
In 1946, who was Doris Day married to?
Who was Doris Day's husband in the year 1946?
SELECT ?f WHERE { FILTER ( CONTAINS ( YEAR ( ?f ) , '1946' ) ) . ?l property:spouse ?f . resource:Doris_Day property:spouse ?l . ?l property:start_time ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q104372> .
?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> <1946-3-30>
} 

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