qnli question: Along with Denmark and Sweden, what country was part of the Union of Kalmar? sentence: In Scandinavia, Margaret I of Denmark (r. in Denmark 1387–1412) consolidated Norway, Denmark, and Sweden in the Union of Kalmar, which continued until 1523.