qnli question: Why were the Portugese Africa territories' borders formally established? sentence: Even before the turn of the 20th century, railway tracks as the Benguela railway in Angola, and the Beira railway in Mozambique, started to be built to link coastal areas and selected inland regions.