What is {spouse} of {Salma Hayek} that is {start time} is {2009-0-0} ?
Who has Salma Hayek been married to since 2009?
Who is the spouse of Salma Hayek since 2009?
SELECT ?u WHERE { FILTER ( CONTAINS ( YEAR ( ?r ) , '2009' ) ) . resource:Salma_Hayek property:spouse ?f . ?f property:start_time ?r . ?f property:spouse ?u }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q125106> .
?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> <2009-0-0>
} 

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