Question: When did the Three Kingdoms period end in Korea?
Paraphrase: When was the last year Three Kingdoms period finish in Korea?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q18097 p:P17 ?s . ?s ps:P17 wd:Q698268 . ?s pq:P582 ?value}