What is {spouse} of {Lynn Margulis} that is {start time} is {1957-6-16} ?
Whom did Lynn Margulis marry in June of 1957?
Who was married to Lynn Margulis in June of 1957?
SELECT ?a WHERE { ?i property:spouse ?a . resource:Lynn_Margulis property:spouse ?i . FILTER ( CONTAINS ( YEAR ( ?j ) , '1957' ) ) . ?i property:start_time ?j }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q234583> .
?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> <1957-6-16>
} 

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