Question: The history of Azerbaijan, which contains the Masally District, falls under which topic?
SPARQL (Wikidata): SELECT ?answer WHERE { wd:Q188328 wdt:P1269 ?answer . ?answer wdt:P150 wd:Q476695}