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