what is the {end time} for {Reinhold Messner} has {partner} as {Sabine Stehle} ?
When did Sabine Stehle and Reinhold Messner split?
When did Reinhold Messner stop being Sabine Stehle`s partner?
SELECT ?l WHERE { resource:Reinhold_Messner property:unmarried_partner ?g . ?g property:unmarried_partner resource:Sabine_Stehle . ?g property:end_time ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q189307> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q28053617> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q189307 p:P451 ?s . ?s ps:P451 wd:Q28053617 . ?s pq:P582 ?value}