What is {spouse} of {Rupert Murdoch} that is {end time} is {1967-0-0} ?
Who divorced Rupert Murdoch in 1967?
Who was divorced to Rupert Murdoch in the year 1967?
SELECT ?k WHERE { ?s property:spouse ?k . FILTER ( CONTAINS ( YEAR ( ?k ) , '1967' ) ) . ?s property:end_time ?k . resource:Rupert_Murdoch property:spouse ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q53944> .
?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> <1967-0-0>
} 

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