what is the {end time} for {Rainer Werner Fassbinder} has {spouse} as {Ingrid Caven} ?
which year Rainer Werner Fassbinder and his ex Ingrid Caven divorce?
When did Rainer Werner Fassbinder and his ex Ingrid Caven divorce?
SELECT ?d WHERE { resource:Rainer_Werner_Fassbinder property:spouse ?t . ?t property:spouse resource:Ingrid_Caven . ?t property:end_time ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44426> .
?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/Q70294> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q44426 p:P26 ?s . ?s ps:P26 wd:Q70294 . ?s pq:P582 ?value}