Question: when is the {end time} for {Louis XVIII of France} tha has {spouse} as {Marie Joséphine of Savoy} ?
Paraphrase: When did Louis XVIII of France, husband of Marie Josephine of Savoy, die?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q7750 p:P26 ?s . ?s ps:P26 wd:Q231844 . ?s pq:P582 ?value}