What is {spouse} of {Elle Macpherson} that is {start time} is {1986-5-0} ?
In 1986 Elle Macpherson wed whom?
Who is the spouse of Elle Macpherson, who she married in 1986?
SELECT ?k WHERE { ?f property:start_time ?l . resource:Elle_Macpherson property:spouse ?f . ?f property:spouse ?k . FILTER ( CONTAINS ( YEAR ( ?l ) , '1986' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q224097> .
?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> <1986-5-0>
} 

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