what is the {end time} for {Brigham Young} has {spouse} as {Ann Eliza Young} ?
When did Brigham Young divorce Ann Eliza Young?
When was Brigham Young no longer married to Ann Eliza Young?
SELECT ?t WHERE { ?w property:spouse resource:Ann_Eliza_Young . ?w property:end_time ?t . resource:Brigham_Young property:spouse ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q203559> .
?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/Q3617629> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q203559 p:P26 ?s . ?s ps:P26 wd:Q3617629 . ?s pq:P582 ?value}