What is {spouse} of {Henry IV of France} that is {end cause} is {divorce} ?
Which of Henry IV of France's wives did he divorce?
Which of Henry IV of France's marriages has ended in divorce?
SELECT ?m WHERE { resource:Henry_IV_of_France property:spouse ?a . ?a property:spouse ?m . ?a property:end_cause resource:divorce }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q936976> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P1534> <http://wikidata.dbpedia.org/resource/Q93190>
} 

SELECT ?obj WHERE { wd:Q936976 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P1534 wd:Q93190 }