what is the {end time} for {Mickey Rourke} has {spouse} as {Carré Otis} ?
When was the marriage between Mickey Rourke and Carre Otis dissolved?
When did Mickey Rourke divorce Carré Otis?
SELECT ?a WHERE { ?i property:end_time ?a . resource:Mickey_Rourke property:spouse ?i . ?i property:spouse resource:Carré_Otis }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q178552> .
?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/Q508366> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q178552 p:P26 ?s . ?s ps:P26 wd:Q508366 . ?s pq:P582 ?value}