Question: When did William III end his time working in The Hague?
Paraphrase: William III stopped working in The Hague in which year?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q129987 p:P937 ?s . ?s ps:P937 wd:Q36600 . ?s pq:P582 ?value}