Question: When did Dag Hammarskjold end his term as the United Nations Secretary-General?
Paraphrase: When did Dag Hammarskjold quit the UN?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1267 p:P39 ?s . ?s ps:P39 wd:Q81066 . ?s pq:P582 ?value}