what is the {end time} for {Anaïs Nin} has {spouse} as {Rupert Pole} ?
When did the matrimony of Anais Nin and Rupert Pole terminate?
When did the marriage of Anaïs Nin and Rupert Pole end?
SELECT ?u WHERE { ?h property:end_time ?u . ?h property:spouse resource:Rupert_Pole . resource:Anaïs_Nin property:spouse ?h }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q220018> .
?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/Q7380347> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q220018 p:P26 ?s . ?s ps:P26 wd:Q7380347 . ?s pq:P582 ?value}