Question: When did Cuiaba become part of Mato Grosso ?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q42824 p:P150 ?s . ?s ps:P150 wd:Q170762 . ?s pq:P585 ?value}