What is {spouse} of {Aristotle Onassis} that is {start time} is {1946-12-28} ?
who did Aristotle Onassis marry on December 28, 1946
On December 28, 1946, who did Aristotle Onassis marry?
SELECT ?s WHERE { resource:Aristotle_Onassis property:spouse ?h . FILTER ( CONTAINS ( YEAR ( ?s ) , '1946' ) ) . ?h property:start_time ?s . ?h property:spouse ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180455> .
?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-12-28>
} 

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