What is {spouse} of {Anna Nicole Smith} that is {start time} is {2006-1-1} ?
Who was Anna Nicole Smith's husband after the marriage on 1/1/2006?
Who did Anna Nicole Smith marry in January 1, 2006?
SELECT ?p WHERE { ?s property:spouse ?p . FILTER ( CONTAINS ( YEAR ( ?k ) , '2006' ) ) . ?s property:start_time ?k . resource:Anna_Nicole_Smith property:spouse ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180710> .
?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> <2006-1-1>
} 

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