what is the {end time} for {Nadine Gordimer} has {spouse} as {Gerald Gavron} ?
which year  Nadine Gordimer dead?
When was Nadine Gordimer no longer the spouse of Gerald Gavron?
SELECT ?l WHERE { ?y property:spouse resource:Gerald_Gavron . resource:Nadine_Gordimer property:spouse ?y . ?y property:end_time ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q47619> .
?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/Q21590407> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q47619 p:P26 ?s . ?s ps:P26 wd:Q21590407 . ?s pq:P582 ?value}