what is the {end time} for {Lucille Ball} has {spouse} as {Gary Morton} ?
What date did Gary Morton and Lucille Ball get divorced?
When did Lucille Ball and Gary Morton get divorced?
SELECT ?b WHERE { resource:Lucille_Ball property:spouse ?m . ?m property:spouse resource:Gary_Morton . ?m property:end_time ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q209662> .
?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/Q5525629> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q209662 p:P26 ?s . ?s ps:P26 wd:Q5525629 . ?s pq:P582 ?value}