what is the {end time} for {Mia Farrow} has {partner} as {Woody Allen} ?
When did Mia Farrow split with Woody Allen?
When did Mia Farrow break up with Woody Allen?
SELECT ?o WHERE { ?s property:end_time ?o . ?s property:unmarried_partner resource:Woody_Allen . resource:Mia_Farrow property:unmarried_partner ?s }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q202725> .
?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/Q25089> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q202725 p:P451 ?s . ?s ps:P451 wd:Q25089 . ?s pq:P582 ?value}