Question: When did Riga become the capital of Latvia?
Paraphrase: November 18, 1918
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1773 p:P17 ?s . ?s ps:P17 wd:Q211 . ?s pq:P580 ?value}