qnli question: What is the primary purpose of the Portuguese armed forces? sentence: They serve primarily as a self-defense force whose mission is to protect the territorial integrity of the country and provide humanitarian assistance and security at home and abroad.