What is {spouse} of {Nicole Kidman} that is {end time} is {2001-1-1} ?
Nicole Kidman divorced who on Jan, 1 2001?
Who did Nicole Kidman divorce on January 1, 2001?
SELECT ?t WHERE { ?s property:end_time ?n . ?s property:spouse ?t . FILTER ( CONTAINS ( YEAR ( ?n ) , '2001' ) ) . resource:Nicole_Kidman property:spouse ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37459> .
?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> <2001-1-1>
} 

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