What was the center of politics in Rio de Janeiro and in all of Brazil until 1889, when Brazil became a Republic?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'INTERNAL', 'name_': 'Q6173448', 'id': 0, 'label': 'Wikipedia:Vital articles/Level/4'}, {'type': 'INTERNAL', 'name_': 'Q5', 'id': 1, 'label': 'human'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q7270', 'id': 2, 'label': 'republic'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q155', 'id': 3, 'label': 'Brazil'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q8678', 'id': 4, 'label': 'Rio de Janeiro'}, {'type': 'INTERNAL', 'name_': 'Q64214787', 'id': 5, 'label': 'Paço Imperial, ao fundo, o Convento do Carmo'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q3361206', 'id': 6, 'label': 'Paço Imperial'}, {'type': 'INTERNAL', 'name_': 'Q617457', 'id': 7, 'label': 'list of monarchs of Brazil'}], 'links': [{'name_': 'P5008', 'source': 1, 'target': 0, 'label': 'on focus list of Wikimedia project'}, {'name_': 'P5008', 'source': 2, 'target': 0, 'label': 'on focus list of Wikimedia project'}, {'name_': 'P5008', 'source': 3, 'target': 0, 'label': 'on focus list of Wikimedia project'}, {'name_': 'P17', 'source': 3, 'target': 3, 'label': 'country'}, {'name_': 'P36', 'source': 3, 'target': 4, 'label': 'capital'}, {'name_': 'P17', 'source': 5, 'target': 3, 'label': 'country'}, {'name_': 'P1071', 'source': 5, 'target': 4, 'label': 'location of creation'}, {'name_': 'P180', 'source': 5, 'target': 6, 'label': 'depicts'}, {'name_': 'P360', 'source': 7, 'target': 1, 'label': 'is a list of'}, {'name_': 'P263', 'source': 7, 'target': 6, 'label': 'official residence'}]}