What is {spouse} of {Margaret Rutherford} that is {end time} is {1972-1-1} ?
Give me the name of Margaret Rutherford's spouse in 1972
Who was Margaret Rutherford's spouse in 1972?
SELECT ?r WHERE { ?s property:end_time ?c . ?s property:spouse ?r . resource:Margaret_Rutherford property:spouse ?s . FILTER ( CONTAINS ( YEAR ( ?c ) , '1972' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q230143> .
?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> <1972-1-1>
} 

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