What is {spouse} of {Meghan, Duchess of Sussex} that is {end cause} is {divorce} ?
Tell me the name of the ex-husband of Meghan, Duchess of Sussex.
Who is Meghan, Duchess of Sussex, ex-husband?
SELECT ?u WHERE { resource:Meghan_Markle property:spouse ?d . ?d property:end_cause resource:divorce . ?d property:spouse ?u }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3304418> .
?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:Q3304418 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P1534 wd:Q93190 }