Question: In what year did Iloilo City become the capital of the Spanish East Indies?
Paraphrase: When was Iloilo City made capital of Spanish East Indies?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q910648 p:P36 ?s . ?s ps:P36 wd:Q459787 . ?s pq:P580 ?value}