Question: When did Stephen Báthory end his reign as King of Poland?
Paraphrase: In what year did Stephen Báthory stop being King of Poland?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q54030 p:P39 ?s . ?s ps:P39 wd:Q3273712 . ?s pq:P582 ?value}