what is the {end time} for {Sharon Stone} has {spouse} as {Michael Greenburg} ?
What year did Sharon Stone receive a divorce from Michael Greenburg?
When did Sharon Stone divorce from Michael Greenburg?
SELECT ?d WHERE { ?s property:spouse resource:Michael_Greenburg . resource:Sharon_Stone property:spouse ?s . ?s property:end_time ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q62975> .
?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/Q6830777> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q62975 p:P26 ?s . ?s ps:P26 wd:Q6830777 . ?s pq:P582 ?value}