what is the {end time} for {Ulysses S. Grant} has {spouse} as {Julia Grant} ?
When did Ulysses S. Grant's wife Julia Grant die?
SELECT ?value WHERE { wd:Q34836 p:P26 ?s . ?s ps:P26 wd:Q233641 . ?s pq:P582 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34836> .
?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/Q233641> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

On what date did Ulysses S. Grant's wife, Julia Grant, die?