what is the {end time} for {Björn Borg} has {partner} as {Jannike Björling} ?
When is the end for Bjorn Borg and his partner Jannika Bjorling?
what is the end time for Bjorn Borg has partner as Jannika Bjorling?
SELECT ?o WHERE { ?d property:end_time ?o . ?d property:unmarried_partner resource:Jannike_Björling . resource:Björn_Borg property:unmarried_partner ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q104506> .
?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/Q4939352> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q104506 p:P451 ?s . ?s ps:P451 wd:Q4939352 . ?s pq:P582 ?value}