Question: Treaty of Versailles is the aftermath of which world war?
Paraphrase: Which world war did the Treaty of Versailles take place after?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P828 wd:Q8736 . ?sbj wdt:P31 wd:Q103495 } 
Answer: World War II