what is the {end time} for {Alla Pugacheva} has {spouse} as {Mykolas Orbakas} ?
What is the divorce date for Alla Pugacheva from his wife Mykolas Orbakas
When did Alla Pugacheva divorce his wife, Mykolas Orbakas?
SELECT ?i WHERE { ?m property:spouse resource:Mykolas_Orbakas . resource:Alla_Pugacheva property:spouse ?m . ?m property:end_time ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q80510> .
?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/Q16465149> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q80510 p:P26 ?s . ?s ps:P26 wd:Q16465149 . ?s pq:P582 ?value}