What is {spouse} of {Ryan Reynolds} that is {end time} is {2011-1-1} ?
Ryan Reynolds divorced who in 2011?
Who is divorced by Ryan Reynolds in 2011?
SELECT ?o WHERE { resource:Ryan_Reynolds property:spouse ?p . ?p property:spouse ?o . FILTER ( CONTAINS ( YEAR ( ?o ) , '2011' ) ) . ?p property:end_time ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q192682> .
?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> <2011-1-1>
} 

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