Question: Where was the place of death of Pedro Afonso, Count Of Barcelos's father?

Knowledge 1: Pedro Afonso, Count of Barcelos
Pedro Afonso, Count of Barcelos (before 1289 - May 1350), was an illegitimate son of King Denis of Portugal and Grácia Frois.He was made the 3rd Count of Barcelos on 1 May 1314. [SEP] Knowledge 2: Denis of Portugal
Denis (9 October 1261 – 7 January 1325 in Santarém), called the Farmer King ("Rei Lavrador") and the Poet King ("Rei Poeta"), was King of Portugal.The eldest son of Afonso III of Portugal by his second wife, Beatrice of Castile, and grandson of king Alfonso X of Castile (known as the Wise), Denis succeeded his father in 1279.His marriage to Elizabeth of Aragon, who was later canonised as a saint of the Roman Catholic Church, was arranged in 1281 when she was 10 years old.
Denis ruled Portugal for over 46 years.He worked to reorganise his country's economy and gave an impetus to Portuguese agriculture.He ordered the planting of a large pine forest (that still exists today) near Leiria to prevent the soil degradation that threatened the region and as a source of raw materials for the construction of the royal ships.He was also known for his poetry, which constitutes an important contribution to the development of Portuguese as a literary language.
Knowledge 1: Pedro Afonso, Prince Imperial of Brazil
Dom Pedro Afonso (19 July 1848 – 10 January 1850) was the Prince Imperial and heir apparent to the throne of the Empire of Brazil.Born at the Palace of São Cristóvão in Rio de Janeiro, he was the second son and youngest child of Emperor Dom Pedro II and Dona Teresa Cristina of the Two Sicilies, and thus a member of the Brazilian branch of the House of Braganza.Pedro Afonso was seen as vital to the future viability of the monarchy, which had been put in jeopardy by the death of his older brother Dom Afonso almost three years earlier.Pedro Afonso's death from fever at the age of one devastated the Emperor, and the imperial couple had no further children.Pedro Afonso's older sister Dona Isabel became heiress, but Pedro II was unconvinced that a woman could ever be accepted as monarch by the ruling elite.He excluded Isabel from matters of state and failed to provide training for her possible role as empress.With no surviving male children, the Emperor started to believe that the imperial line was destined to end with his own death. [SEP] Knowledge 2: Pedro Afonso, Prince Imperial of Brazil
Dom Pedro Afonso (19 July 1848 – 10 January 1850) was the Prince Imperial and heir apparent to the throne of the Empire of Brazil.Born at the Palace of São Cristóvão in Rio de Janeiro, he was the second son and youngest child of Emperor Dom Pedro II and Dona Teresa Cristina of the Two Sicilies, and thus a member of the Brazilian branch of the House of Braganza.Pedro Afonso was seen as vital to the future viability of the monarchy, which had been put in jeopardy by the death of his older brother Dom Afonso almost three years earlier.Pedro Afonso's death from fever at the age of one devastated the Emperor, and the imperial couple had no further children.Pedro Afonso's older sister Dona Isabel became heiress, but Pedro II was unconvinced that a woman could ever be accepted as monarch by the ruling elite.He excluded Isabel from matters of state and failed to provide training for her possible role as empress.With no surviving male children, the Emperor started to believe that the imperial line was destined to end with his own death.
Knowledge 1: Denis of Portugal
Denis (9 October 1261 – 7 January 1325 in Santarém), called the Farmer King ("Rei Lavrador") and the Poet King ("Rei Poeta"), was King of Portugal.The eldest son of Afonso III of Portugal by his second wife, Beatrice of Castile, and grandson of king Alfonso X of Castile (known as the Wise), Denis succeeded his father in 1279.His marriage to Elizabeth of Aragon, who was later canonised as a saint of the Roman Catholic Church, was arranged in 1281 when she was 10 years old.
Denis ruled Portugal for over 46 years.He worked to reorganise his country's economy and gave an impetus to Portuguese agriculture.He ordered the planting of a large pine forest (that still exists today) near Leiria to prevent the soil degradation that threatened the region and as a source of raw materials for the construction of the royal ships.He was also known for his poetry, which constitutes an important contribution to the development of Portuguese as a literary language. [SEP] Knowledge 2: Pedro Afonso
Pedro Afonso is a municipality in the state of Tocantins in the Northern region of Brazil.

Answer: Santarém