what is the {end time} for {Diego Rivera} has {spouse} as {Angelina Beloff} ?
Diego Rivera and Angelina Beloff got divorced on what date?
When did Diego Rivera and Angelina Beloff get divorced?
SELECT ?j WHERE { ?s property:end_time ?j . ?s property:spouse resource:Angelina_Beloff . resource:Diego_Rivera property:spouse ?s }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171128> .
?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/Q529975> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q171128 p:P26 ?s . ?s ps:P26 wd:Q529975 . ?s pq:P582 ?value}