what is the {end time} for {Wes Craven} has {spouse} as {Bonnie Broecker} ?
When did Wes Craven and  Bonnie Broecker get separated?
When did Wes Craven divorce Bonnie Broecker?
SELECT ?q WHERE { ?r property:spouse resource:Bonnie_Broecker . resource:Wes_Craven property:spouse ?r . ?r property:end_time ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q223992> .
?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> <http://wikidata.dbpedia.org/resource/Q20894422> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q223992 p:P26 ?s . ?s ps:P26 wd:Q20894422 . ?s pq:P582 ?value}