In what year did Iloilo City become the capital of the Spanish East Indies?
SELECT ?value WHERE { wd:Q910648 p:P36 ?s . ?s ps:P36 wd:Q459787 . ?s pq:P580 ?value}
spanish east indies: Q910648 iloilo city: Q459787