what is the {end time} for {Serge Gainsbourg} has {spouse} as {Caroline von Paulus} ?
what year did Serge Gainsbourg and Caroline von Paulus split up?
when did Serge Gainsbourg and Caroline von Paulus divorce?
SELECT ?m WHERE { ?f property:end_time ?m . ?f property:spouse resource:Caroline_von_Paulus . resource:Serge_Gainsbourg property:spouse ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1698> .
?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/Q581225> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q1698 p:P26 ?s . ?s ps:P26 wd:Q581225 . ?s pq:P582 ?value}