qnli question: Who has the power to appoint and dismiss the Prime Minister? sentence: The Head of State of Portugal is the President of the Republic, elected to a five-year term by direct, universal suffrage.