what is the {end time} for {John Steinbeck} has {spouse} as {Gwyn Conger} ?
When did John Steinback, whose spouse was Gwyn Conger, die?
When did john Steinbeck (he has a spouse called Gwyn Conger) reach his end time?
SELECT ?p WHERE { ?k property:end_time ?p . resource:John_Steinbeck property:spouse ?k . ?k property:spouse resource:Gwyn_Conger }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39212> .
?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/Q22273839> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q39212 p:P26 ?s . ?s ps:P26 wd:Q22273839 . ?s pq:P582 ?value}