user: You are a structured reasoning expert tasked with solving problems step by step. 
You first think about the reasoning process in the mind and then provide the answer. The reasoning process and answer should be enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>. 
Given a question and the associated knowledge graph triplets (entity, relation, entity), you are asked to answer the question with these triplets and your own knowledge. 
You can break down the original question into several sub-questions and explore the given knowledge graph to solve them step-by-step. If there are multiple possible answers, choose one as the final answer. 
After thinking, when you finally reach a conclusion, clearly state the answer within <answer> </answer> tags, i.e., <answer> answer here </answer>. 
Question: What location that appointed John V of Portugal to govermental position did the Habsburg family control? 
Knowledge Triplets: Portugal, location.country.second_level_divisions, Santarém District
Kingdom of Portugal, location.location.people_born_here, Fernando I, 2nd Duke of Braganza
Kingdom of Portugal, common.topic.image, Location of Portugal
Kingdom of Portugal, location.location.people_born_here, Mafalda of Portugal
John IV of Portugal, royalty.monarch.royal_line, House of Braganza
Kingdom of Portugal, location.location.people_born_here, Luís de Vasconcelos e Sousa, 3rd Count of Castelo Melhor
John II of Portugal, people.person.gender, Male
Manuel, Prince of Portugal, people.person.parents, John III of Portugal
Archduchess Maria Anna Josepha of Austria, people.family_member.family, House of Habsburg
Maria Isabel of Portugal, people.person.parents, John VI of Portugal
Maria I of Portugal, people.person.children, John VI of Portugal
Catherine of Habsburg, people.family_member.family, House of Habsburg
Maria of Aragon, Queen of Portugal, people.person.children, John III of Portugal
Location of Portugal, common.image.appears_in_topic_gallery, Kingdom of Portugal
John VI of Portugal, people.deceased_person.place_of_death, Lisbon
John IV of Portugal, people.person.children, Afonso VI of Portugal
Portugal, location.country.administrative_divisions, Guarda District
Claudia Felicitas of Austria, people.family_member.family, House of Habsburg
Archduke Ferdinand of Austria-Este, Duke of Breisgau, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.containedby, Iberian Peninsula
John V of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
John I of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
Rheinfelden, location.location.people_born_here, Judith of Habsburg
Portugal, location.location.primarily_containedby, Europe
John I of Portugal, people.person.children, Isabella of Portugal, Duchess of Burgundy
John V of Portugal, common.topic.image, Joao V Portugal
John V of Portugal, common.image.size, m.02b_0wg
Philip Prospero, Prince of Asturias, people.family_member.family, House of Habsburg
Archduke Maximilian Francis of Austria, people.family_member.family, House of Habsburg
Albert VII, Archduke of Austria, people.family_member.family, House of Habsburg
Charles VI, Holy Roman Emperor, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Gonçalo de Sintra
Ferdinand, Prince of Asturias, people.family_member.family, House of Habsburg
John I of Portugal, people.person.children, Afonso, Duke of Braganza
Archduke Leopold Joseph of Austria, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Braga District
John I of Portugal, people.person.nationality, Portugal
Philip, Prince of Portugal, people.person.parents, John III of Portugal
Archduke Anton Victor of Austria, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Álvaro Vaz de Almada, 1st Count of Avranches
Rudolph I of Habsburg, common.topic.article, m.0cb2k
Ferdinand Charles, Archduke of Austria, people.family_member.family, House of Habsburg
Maximilian II, Holy Roman Emperor, people.family_member.family, House of Habsburg
m.0c0mthz, government.government_position_held.appointed_by, Afonso VI of Portugal
Agnes of Habsburg, people.family_member.family, House of Habsburg
Charles II of Spain, people.family_member.family, House of Habsburg
Coat of arms of the House of Habsburg, common.image.appears_in_topic_gallery, House of Habsburg
Location of Portugal, common.image.appears_in_topic_gallery, Portugal
m.09dv0vq, royalty.noble_title_tenure.noble_person, John V of Portugal
Werner I, Count of Habsburg, people.family_member.family, House of Habsburg
Ferdinand II of Portugal, people.family_member.family, House of Braganza-Saxe-Coburg and Gotha
Portugal, royalty.kingdom.rulers, John I of Portugal
John V of Portugal, common.topic.notable_for, g.1258nrj0_
John IV of Portugal, people.person.parents, Ana de Velasco y Girón
Portugal, location.country.second_level_divisions, Setúbal District
John VI of Portugal, people.person.children, Infanta Ana de Jesus Maria of Portugal
Archduke Louis of Austria, people.family_member.family, House of Habsburg
John I of Portugal, people.person.children, Ferdinand the Holy Prince
John IV of Portugal, people.person.nationality, Portugal
Archduke Otto of Austria, people.family_member.family, House of Habsburg
John IV of Portugal, people.person.gender, Male
Peter II of Portugal, people.person.parents, John IV of Portugal
Robert, Archduke of Austria-Este, people.family_member.family, House of Habsburg
House of Braganza, people.family.members, John V of Portugal
Kingdom of Portugal, location.location.people_born_here, Tristão Vaz Teixeira
Ferdinand III, Holy Roman Emperor, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Martim Moniz
Clemence of Austria, people.family_member.family, House of Habsburg
Ferdinand II, Holy Roman Emperor, people.family_member.family, House of Habsburg
John I of Portugal, people.person.place_of_birth, Lisbon
Ribeira Palace, location.location.people_born_here, Peter II of Portugal
Infanta Isabel Maria of Portugal, people.person.parents, John VI of Portugal
John VI of Portugal, people.person.children, Maria Teresa, Princess of Beira
House of Braganza, royalty.royal_line.monarchs_from_this_line, John IV of Portugal
House of Habsburg, people.family.founder, Otto II, Count of Habsburg
John VI of Portugal, people.person.parents, Maria I of Portugal
Portugal, location.country.administrative_divisions, Aveiro District
Archduke Carl Ludwig of Austria, people.family_member.family, House of Habsburg
John I of Portugal, common.topic.notable_types, Monarch
Otto von Habsburg, people.family_member.family, House of Lorraine
John III of Portugal, people.person.children, Manuel, Prince of Portugal
John IV of Portugal, freebase.valuenotation.is_reviewed, Place of burial
m.0c0mv4q, government.government_position_held.appointed_by, John V of Portugal
Albert II, Duke of Austria, people.family_member.family, House of Habsburg
Charles I of Austria, people.family_member.family, House of Habsburg
John V of Portugal, people.person.children, Joseph I of Portugal
John V of Portugal, people.person.children, Pedro, Prince of Brazil
Afonso, Duke of Braganza, people.person.parents, John I of Portugal
Portugal, location.country.second_level_divisions, Castelo Branco District
Kingdom of Portugal, location.country.form_of_government, Popular monarchy
Peter II of Portugal, people.person.children, John V of Portugal
John V of Portugal, freebase.valuenotation.is_reviewed, Place of burial
Archduke John of Austria, common.topic.notable_types, Noble person
Portugal, location.country.administrative_divisions, Lisbon District
John VI of Portugal, people.person.children, Maria Isabel of Portugal
John V of Portugal, common.topic.article, m.01367z
Manuel I of Portugal, people.person.children, John III of Portugal
Philip I of Castile, people.family_member.family, House of Habsburg
John VI of Portugal, common.topic.notable_types, Monarch
John VI of Portugal, people.person.children, Infanta Maria Francisca of Portugal
Kingdom of Portugal, location.location.people_born_here, Gaspar Correia
House of Aviz, royalty.royal_line.monarchs_from_this_line, John III of Portugal
John III of Portugal, people.family_member.family, House of Aviz
House of Habsburg, people.family.country, German Empire
House of Habsburg, people.family.country, Kingdom of Sicily
Kingdom of Portugal, location.location.people_born_here, Nuno da Cunha
Philip IV of Spain, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Setúbal District
Kingdom of Portugal, location.location.people_born_here, Jerónimo de Azevedo
Rudolf IV, Duke of Austria, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Madeira
Portugal, location.country.second_level_divisions, Braga District
John V of Portugal, people.person.children, Infante Alexandre of Portugal
Otto, Duke of Austria, people.family_member.family, House of Habsburg
House of Habsburg, people.family.country, Kingdom of Bohemia
Portugal, royalty.kingdom.rulers, John II of Portugal
John III of Portugal, royalty.monarch.royal_line, House of Aviz
John I of Portugal, royalty.monarch.royal_line, House of Aviz
John V of Portugal, people.deceased_person.place_of_burial, Royal Pantheon of the House of Braganza
Kingdom of Portugal, location.country.capital, Coimbra
House of Habsburg, people.family.country, Slovenia
John V of Portugal, people.person.religion, Catholicism
Kingdom of Portugal, location.location.people_born_here, Fernando, Lord of Serpa
Catherine of Braganza, people.person.parents, John IV of Portugal
m.0c0mv1m, government.government_position_held.appointed_by, John V of Portugal
Portugal, location.country.second_level_divisions, Beja District
m.0910gvr, architecture.ownership.owner, House of Habsburg
Rudolph I of Habsburg, people.person.children, Clemence of Austria
John IV of Portugal, people.deceased_person.place_of_death, Ribeira Palace
Portugal, location.country.administrative_divisions, Évora District
John IV of Portugal, common.topic.notable_types, Monarch
House of Habsburg, people.family.country, Holy Roman Empire
Kingdom of Portugal, location.location.people_born_here, Duarte de Puy
John V of Portugal, people.deceased_person.place_of_death, Ribeira Palace
Teodósio II, Duke of Braganza, people.person.children, John IV of Portugal
Portugal, location.country.second_level_divisions, Évora District
John, Constable of Portugal, people.person.gender, Male
Portugal, location.country.administrative_divisions, Viseu District
Rudolph I of Habsburg, people.person.parents, Albert IV, Count of Habsburg
Kingdom of Portugal, location.location.people_born_here, Bartolomeu Perestrello
Peter, Duke of Coimbra, people.person.parents, John I of Portugal
John V of Portugal, common.topic.notable_types, Monarch
John IV of Portugal, people.family_member.family, House of Braganza
John VI of Portugal, people.person.parents, Peter III of Portugal
Portugal, location.country.administrative_divisions, Portalegre District
John, Constable of Portugal, people.person.parents, Philippa of Lancaster
House of Braganza, royalty.royal_line.monarchs_from_this_line, John VI of Portugal
John V of Portugal, royalty.noble_person.titles, m.09dv0vq
Kingdom of Portugal, location.location.people_born_here, Fernando II, 3rd Duke of Braganza
House of Habsburg, people.family.country, Kingdom of Naples
John VI of Portugal, people.person.religion, Catholicism
Coat of arms of the House of Habsburg, common.image.size, m.0kms2p
Kingdom of Portugal, location.country.capital, Rio de Janeiro
Franz Joseph I of Austria, people.family_member.family, House of Habsburg
House of Braganza, people.family.members, John IV of Portugal
Afonso V of Portugal, people.family_member.family, House of Aviz
John II of Portugal, common.topic.notable_types, Monarch
John III of Portugal, people.person.children, Philip, Prince of Portugal
m.0c0mlz1, military.military_command.military_commander, John I of Portugal
Kingdom of Portugal, location.location.people_born_here, Martim Lourenço da Cunha
Infante Alexandre of Portugal, people.person.parents, John V of Portugal
Kingdom of Portugal, location.country.capital, Lisbon
Peter I of Portugal, people.person.children, John I of Portugal
Albert IV, Duke of Austria, people.family_member.family, House of Habsburg
Ribeira Palace, location.location.people_born_here, Afonso VI of Portugal
John I of Portugal, people.family_member.family, House of Aviz
John IV of Portugal, common.topic.image, JoaoIVPortugal
John V of Portugal, people.person.parents, Maria Sofia of Neuburg
Kingdom of Portugal, military.military_service.military_person, John I of Portugal
m.0j4l9zx, people.marriage.spouse, John V of Portugal
John IV of Portugal, royalty.monarch.kingdom, Portugal
Franz Joseph I of Austria, base.kwebbase.kwtopic.has_sentences, This crisis for the Habsburg monarchy resulted in revolution, which spread to the capitals of the Austrian Empire.
Portugal, location.country.second_level_divisions, Aveiro District
Portugal, location.location.events, Portuguese Restoration War
Edward, King of Portugal, people.person.parents, John I of Portugal
Portugal, location.location.containedby, Europe
John VI of Portugal, people.family_member.family, House of Braganza
House of Habsburg, royalty.royal_line.succeeded_by, House of Bonaparte
Archduke Leopold Wilhelm of Austria, people.family_member.family, House of Habsburg
House of Habsburg, people.family.country, Kingdom of Portugal
Archduke Charles, Duke of Teschen, people.family_member.family, House of Habsburg
Afonso V of Portugal, royalty.monarch.kingdom, Portugal
Portugal, location.country.second_level_divisions, Viseu District
Cecilia Renata of Austria, people.family_member.family, House of Habsburg
Mariana of Austria, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Bragança District
Philip II of Spain, people.family_member.family, House of Habsburg
John, Constable of Portugal, people.family_member.family, House of Aviz
John V of Portugal, people.person.spouse_s, m.0j4l9zx
John V of Portugal, people.person.nationality, Portugal
John III of Portugal, people.person.parents, Maria of Aragon, Queen of Portugal
Portugal, location.country.second_level_divisions, Porto District
Portugal, location.country.administrative_divisions, Santarém District
John II of Portugal, people.family_member.family, House of Aviz
John V of Portugal, people.person.gender, Male
John IV of Portugal, people.person.religion, Catholicism
Portugal, royalty.kingdom.rulers, John III of Portugal
Barbara of Portugal, people.person.parents, John V of Portugal
John V of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
Maria Theresa of Naples and Sicily, people.family_member.family, House of Habsburg
Judith of Habsburg, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Afonso Pires Gato
Kingdom of Portugal, location.location.people_born_here, Martim de Freitas
Portuguese Restoration War, base.culturalevent.event.entity_involved, John of Austria the Younger
House of Aviz, people.family.members, John, Constable of Portugal
House of Habsburg, people.family.country, Kingdom of Hungary
Ribeira Palace, location.location.people_born_here, John V of Portugal
Iberian Peninsula, location.location.contains, Kingdom of Portugal
House of Aviz, people.family.members, John I of Portugal
Kingdom of Portugal, location.location.events, Portuguese Restoration War
25- Rei D, common.image.appears_in_topic_gallery, John V of Portugal
John V of Portugal, government.political_appointer.appointees, m.0c0mv1m
Rudolf II, Duke of Austria, people.family_member.family, House of Habsburg
John V of Portugal, common.topic.image, John V of Portugal
House of Aviz, people.family.members, John III of Portugal
Portugal, location.country.second_level_divisions, Portalegre District
John III of Portugal, people.person.gender, Male
Peter III of Portugal, people.person.parents, John V of Portugal
Kingdom of Portugal, location.location.people_born_here, Sancho Manoel de Vilhena
Napoleonic Wars, base.culturalevent.event.entity_involved, Archduke John of Austria
House of Aviz, royalty.royal_line.monarchs_from_this_line, John I of Portugal
Portugal, location.country.second_level_divisions, Leiria District
John V of Portugal, royalty.monarch.kingdom, Portugal
John V of Portugal, people.person.children, Peter III of Portugal
Portugal, location.country.second_level_divisions, Faro District
John II of Portugal, people.person.nationality, Portugal
House of Habsburg, common.topic.notable_for, g.1255cy4p0
John III of Portugal, common.topic.notable_types, Monarch
Portugal, royalty.kingdom.rulers, John V of Portugal
Portugal, location.country.administrative_divisions, Leiria District
John II of Portugal, people.person.parents, Afonso V of Portugal
Archduke John of Austria, people.person.parents, Leopold II, Holy Roman Emperor
John I of Portugal, royalty.monarch.kingdom, Portugal
Ferdinand II, Archduke of Austria, people.family_member.family, House of Habsburg
Peter III of Portugal, people.person.children, John VI of Portugal
John I of Portugal, people.person.parents, Peter I of Portugal
Otto von Habsburg, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.geolocation, m.0wmvb77
Archduke Rudolf of Austria, people.family_member.family, House of Habsburg
Joseph I of Portugal, people.person.parents, John V of Portugal
John IV of Portugal, people.person.children, Catherine of Braganza
House of Habsburg, common.topic.image, Coat of arms of the House of Habsburg
Portugal, location.country.capital, Lisbon
John IV of Portugal, people.person.children, Joana, Princess of Beira
John I of Portugal, military.military_commander.military_commands, m.0c0mlz1
Archduchess Maria Amalia of Austria, people.family_member.family, House of Habsburg
John V of Portugal, government.political_appointer.appointees, m.0c0mv4q
Archduchess Barbara of Austria, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Porto District
Kingdom of Portugal, location.location.people_born_here, Francisco de Mascarenhas
John I of Portugal, people.person.religion, Catholicism
m.0c0mt_c, government.government_position_held.appointed_by, John V of Portugal
House of Habsburg, royalty.royal_line.succeeded_by, House of Braganza
John V of Portugal, royalty.monarch.royal_line, House of Braganza
Kingdom of Portugal, location.location.people_born_here, Nuno Martins da Silveira
Kingdom of Portugal, location.location.people_born_here, Sancha, Lady of Alenquer
John VI of Portugal, people.person.gender, Male
Portugal, royalty.kingdom.rulers, John IV of Portugal
John I of Portugal, people.person.children, Peter, Duke of Coimbra
Rudolf I of Bohemia, royalty.monarch.royal_line, House of Habsburg
Schönbrunn Palace, location.location.people_born_here, Archduke Felix of Austria
John III of Portugal, people.person.children, Afonso, Prince of Portugal
Archduke John of Austria, people.family_member.family, House of Habsburg
Anna de' Medici, Archduchess of Austria, people.family_member.family, House of Habsburg
John I of Portugal, freebase.valuenotation.is_reviewed, Children
John VI of Portugal, people.person.nationality, Portugal
Southern Europe, location.location.partially_contains, Portugal
Coimbra, location.location.people_born_here, Ferdinand I of Portugal
House of Aviz, people.family.founder, John I of Portugal
House of Habsburg, people.family.country, Kingdom of England
John IV of Portugal, people.person.children, Peter II of Portugal
Kingdom of Portugal, location.location.people_born_here, Duarte Lobo
Royal Pantheon of the House of Braganza, people.place_of_interment.interred_here, John IV of Portugal
Archduchess Anna of Austria, people.family_member.family, House of Habsburg
Maximilian III, Archduke of Austria, people.family_member.family, House of Habsburg
Portugal, location.country.administrative_divisions, Coimbra District
Maria Sofia of Neuburg, people.person.children, John V of Portugal
Infanta Maria Francisca of Portugal, people.person.parents, John VI of Portugal
House of Braganza, people.family.members, John VI of Portugal
John III of Portugal, people.person.nationality, Portugal
Anne of Austria, Landgravine of Thuringia, people.family_member.family, House of Habsburg
Pedro V of Portugal, people.family_member.family, House of Braganza-Saxe-Coburg and Gotha
John IV of Portugal, people.person.parents, Teodósio II, Duke of Braganza
John VI of Portugal, people.person.children, Miguel I of Portugal
John III of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
Portuguese Restoration War, base.culturalevent.event.entity_involved, John IV of Portugal
John I of Portugal, people.person.gender, Male
Archduke John of Austria, people.person.gender, Male
John VI of Portugal, royalty.monarch.kingdom, Portugal
John VI of Portugal, people.person.place_of_birth, Lisbon
John, Constable of Portugal, common.topic.notable_types, Noble person
John, Constable of Portugal, people.person.children, Beatrice, Duchess of Viseu
Maria Manuela, Princess of Portugal, people.person.parents, John III of Portugal
Kingdom of Portugal, location.location.people_born_here, John, Duke of Viseu
Matilda of Habsburg, people.family_member.family, House of Habsburg
Afonso VI of Portugal, people.person.parents, John IV of Portugal
House of Habsburg, people.family.country, Croatia
John III of Portugal, people.person.parents, Manuel I of Portugal
Rudolf I of Bohemia, people.family_member.family, House of Habsburg
Philip III of Spain, people.family_member.family, House of Habsburg
Otto II, Count of Habsburg, people.family_member.family, House of Habsburg
Portugal, location.location.partially_containedby, Iberian Peninsula
Kingdom of Portugal, location.location.people_born_here, Pêro de Ataíde
Royal Pantheon of the House of Braganza, people.place_of_interment.interred_here, John V of Portugal
Archduke Ernest of Austria, people.family_member.family, House of Habsburg
Joanna of Austria, Princess of Portugal, people.family_member.family, House of Habsburg
Werner II, Count of Habsburg, people.family_member.family, House of Habsburg
John II of Portugal, people.person.children, Afonso, Prince of Portugal
m.0c0mv6d, government.government_position_held.appointed_by, Joseph I of Portugal
John III of Portugal, people.person.children, João Manuel, Prince of Portugal
Miguel I of Portugal, people.person.parents, John VI of Portugal
Otto II, Count of Habsburg, common.topic.article, m.0f0n3h
Ana de Velasco y Girón, people.person.children, John IV of Portugal
Rudolph I of Habsburg, people.family_member.family, House of Habsburg
Portugal, location.location.partially_containedby, Southern Europe
Ferdinand II of Portugal, people.person.place_of_birth, Vienna
Portugal, location.country.second_level_divisions, Coimbra District
Portugal, location.location.primarily_containedby, Iberian Peninsula
Kingdom of Portugal, royalty.kingdom.rulers, John I of Portugal
John IV of Portugal, people.person.children, Teodósio, Prince of Brazil
Maria Josepha of Austria, people.family_member.family, House of Habsburg
John, Constable of Portugal, people.person.parents, John I of Portugal
John II of Portugal, royalty.monarch.royal_line, House of Aviz
Kingdom of Portugal, royalty.kingdom.rulers, John III of Portugal
John III of Portugal, people.person.children, Maria Manuela, Princess of Portugal
John I of Portugal, people.person.children, Edward, King of Portugal
Kingdom of Portugal, location.location.people_born_here, g.1237dcmc
Portugal, royalty.kingdom.rulers, John VI of Portugal
Ferdinand I, Holy Roman Emperor, people.family_member.family, House of Habsburg
Rheinfelden, location.location.people_born_here, Catherine of Habsburg
Pedro I of Brazil, people.person.parents, John VI of Portugal
Afonso VI of Portugal, government.political_appointer.appointees, m.0c0mthz
Joao V Portugal, common.image.appears_in_topic_gallery, John V of Portugal
Albert II of Germany, people.family_member.family, House of Habsburg
John V of Portugal, common.topic.image, 25- Rei D
John V of Portugal, people.family_member.family, House of Braganza
Rudolf I of Bohemia, common.topic.image, Rudolf I of Habsburg
Archduke Joseph, Palatine of Hungary, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Constance of Portugal
Portugal, base.locations.countries.continent, Europe
John V of Portugal, common.image.appears_in_topic_gallery, John V of Portugal
Portugal, location.country.second_level_divisions, Bragança District
House of Braganza, royalty.royal_line.monarchs_from_this_line, John V of Portugal
Kingdom of Portugal, location.location.people_born_here, Infante Diogo, Duke of Viseu
Infanta Ana de Jesus Maria of Portugal, people.person.parents, John VI of Portugal
Kingdom of Portugal, royalty.kingdom.rulers, John IV of Portugal
João Manuel, Prince of Portugal, people.person.parents, John III of Portugal
House of Aviz, people.family.members, John II of Portugal
Matilda of Habsburg, people.family_member.family, House of Wittelsbach
John, Constable of Portugal, people.person.nationality, Portugal
Portugal, location.country.administrative_divisions, Faro District
John VI of Portugal, royalty.monarch.royal_line, House of Braganza
Pedro, Prince of Brazil, people.person.parents, John V of Portugal
John V of Portugal, people.person.place_of_birth, Ribeira Palace
Archduke John of Austria, people.person.nationality, Austria
Archduke Felix of Austria, people.family_member.family, House of Habsburg
Francis V, Duke of Modena, royalty.monarch.royal_line, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Constantino of Braganza
Rheinfelden, location.location.people_born_here, Matilda of Habsburg
John II of Portugal, royalty.monarch.kingdom, Portugal
Kingdom of Portugal, location.country.form_of_government, Monarchy
Breisgau, location.location.people_born_here, Rudolph I of Habsburg
Archduke Franz Karl of Austria, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, g.121r_b9t
Kingdom of Portugal, location.location.people_born_here, Henrique de Meneses, 4th Count of Viana
Charles V, Holy Roman Emperor, people.family_member.family, House of Habsburg
John I of Portugal, people.person.children, John, Constable of Portugal
Kingdom of Portugal, royalty.kingdom.rulers, John II of Portugal
Portugal, location.country.administrative_divisions, Coimbra
Portugal, common.topic.image, Location of Portugal
Kingdom of Portugal, location.location.people_born_here, Cristóvão da Gama
Charles II, Archduke of Austria, people.family_member.family, House of Habsburg
Afonso V of Portugal, military.military_commander.military_commands, m.0gm81z8
Afonso, Prince of Portugal, people.person.parents, John II of Portugal
John V of Portugal, people.person.children, Barbara of Portugal
Archduke Alexander Leopold of Austria, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Leonel de Lima
John III of Portugal, royalty.monarch.kingdom, Portugal
Kingdom of Portugal, location.location.people_born_here, Álvaro da Cunha
John I of Portugal, military.military_person.service, Kingdom of Portugal
Archduchess Maria Clementina of Austria, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Gomes Eanes de Zurara
Maria Teresa, Princess of Beira, people.person.parents, John VI of Portugal
Portugal, location.country.second_level_divisions, Lisbon District
John V of Portugal, people.person.parents, Peter II of Portugal
Kingdom of Portugal, location.location.people_born_here, Duarte de Menezes
John II of Portugal, people.person.children, Jorge de Lencastre, Duke of Coimbra
John VI of Portugal, people.person.children, Infanta Isabel Maria of Portugal
John III of Portugal, people.deceased_person.place_of_death, Ribeira Palace
Joseph I of Portugal, government.political_appointer.appointees, m.0c0mv6d
House of Aviz, royalty.royal_line.monarchs_from_this_line, John II of Portugal
Archduke John of Austria, people.deceased_person.place_of_death, Graz
Kingdom of Portugal, location.location.people_born_here, Estêvão da Gama
House of Habsburg, people.family.country, Kingdom of Portugal
Kingdom of Portugal, location.location.people_born_here, g.122wbmv4
Archduke Charles Joseph of Austria, people.family_member.family, House of Habsburg
Kingdom of Portugal, location.location.people_born_here, Pedro Gomes de Abreu, 3rd Lord of Regalados
Kingdom of Portugal, location.location.people_born_here, Sancha of Portugal
John II of Portugal, people.person.religion, Catholicism
John VI of Portugal, people.person.children, Pedro I of Brazil
Portugal, location.country.administrative_divisions, Beja District
John II of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
Kingdom of Portugal, royalty.kingdom.rulers, John V of Portugal
Charles V, Holy Roman Emperor, royalty.monarch.royal_line, House of Habsburg
House of Habsburg, common.topic.image, Habsburgų giminės herbas
Eleonor Magdalene of Neuburg, people.family_member.family, House of Habsburg
Portugal, location.country.second_level_divisions, Guarda District
House of Habsburg, common.topic.article, m.03lj3
Leopold V, Archduke of Austria, people.family_member.family, House of Habsburg
Archduke John of Austria, people.family_member.family, House of Lorraine
Kingdom of Portugal, location.location.people_born_here, Lopo Gomes de Abreu
Albert IV, Count of Habsburg, people.family_member.family, House of Habsburg
John V of Portugal, government.political_appointer.appointees, m.0c0mt_c
John, Constable of Portugal, people.person.religion, Catholicism
Kingdom of Portugal, location.location.people_born_here, Urraca Afonso
John IV of Portugal, royalty.monarch.kingdom, Kingdom of Portugal
House of Habsburg, people.family.country, Austria
John III of Portugal, freebase.valuenotation.is_reviewed, Place of burial
John VI of Portugal, people.person.children, Infanta Maria da Assunção of Portugal
House of Habsburg, people.family.country, Kingdom of Ireland
John VI of Portugal, people.person.children, Francisco António, Prince of Beira
John I of Portugal, people.deceased_person.place_of_death, Lisbon
Afonso, Prince of Portugal, people.person.parents, John III of Portugal
Kingdom of Portugal, location.location.people_born_here, Gil Cabral
John IV of Portugal, people.deceased_person.place_of_burial, Royal Pantheon of the House of Braganza
Napoleonic Wars, base.culturalevent.event.entity_involved, John VI of Portugal
Afonso V of Portugal, people.person.children, John II of Portugal
John III of Portugal, people.person.religion, Catholicism
Portugal, location.country.administrative_divisions, Castelo Branco District
Archduke Rainer Joseph of Austria, people.family_member.family, House of Habsburg

Answer: Kingdom of Portugal
Kingdom of Portugal
Kingdom of Portugal