The history of Azerbaijan, which contains the Masally District, falls under which topic?
SELECT ?answer WHERE { wd:Q188328 wdt:P1269 ?answer . ?answer wdt:P150 wd:Q476695}
history of azerbaijan: Q188328 masally district: Q476695