What is {spouse} of {Joan Collins} that is {start time} is {1972-1-1} ?
Back in 1972, who was Joan Collins wife?
who was the spouse of Joan Collins back in 1972?
SELECT ?u WHERE { ?u property:spouse ?u . FILTER ( CONTAINS ( YEAR ( ?z ) , '1972' ) ) . resource:Joan_Collins property:spouse ?u . ?u property:start_time ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q152843> .
?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> <1972-1-1>
} 

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