"What is topic of history of South America, that has has wards is Ecuador ?"
SELECT ?answer WHERE { wd:Q912852 wdt:P1269 ?answer . ?answer wdt:P150 wd:Q736}
history of south america: Q912852 ecuador: Q736