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: Which countries share a border with Spain that were also ruled by Phillip III of Spain? 
Knowledge Triplets: Spain, location.location.contains, Western Europe
Philip IV of Spain, people.deceased_person.place_of_burial, El Escorial
Philip IV of Spain, people.person.nationality, Spain
Spain, common.topic.webpage, m.09y4hr_
Spain, location.country.first_level_divisions, La Rioja
Spain, location.country.second_level_divisions, Province of Cáceres
Philip II of Spain, common.topic.image, Portrait of Philip II, painted by Sánchez Coello
Euro, finance.currency.countries_used, Portugal
Spain, location.location.partially_containedby, Southern Europe
Suances, location.administrative_division.country, Spain
Philip II of Spain, common.topic.image, Alonso SÃ¡nchez Coello 002b
Spain, base.locations.continents.countries_within, Europe
Spain, location.country.administrative_divisions, Province of Ourense
Europe, base.locations.continents.countries_within, Spain
Spain, common.topic.webpage, m.0h3_13h
Spain, royalty.kingdom.rulers, Juan Carlos I of Spain
1952 Summer Olympics, olympics.olympic_games.participating_countries, Portugal
Spain, location.country.first_level_divisions, Melilla
Philip IV of Spain, people.person.children, Maria Theresa of Spain
Spain, location.country.first_level_divisions, Catalonia
Spain, location.adjoining_relationship.adjoins, m.03z95_p
Diego, Prince of Asturias, people.person.parents, Philip II of Spain
Spain, location.location.contains_major_portion_of, Iberian Peninsula
m.0w4g8bz, people.sibling_relationship.sibling, Philip IV of Spain
Cardinal-Infante Ferdinand of Austria, people.person.parents, Philip III of Spain
Philip Prospero, Prince of Asturias, people.person.parents, Philip IV of Spain
Spain, common.topic.webpage, m.09y2ysq
Spain, location.country.administrative_divisions, Barcelona
Philip IV of Spain, people.person.spouse_s, m.0j4l9km
Spain, location.country.second_level_divisions, Province of Barcelona
Caia, location.location.partially_contains, Portugal
Spain, location.country.administrative_divisions, Melilla
Spain, location.country.administrative_divisions, Álava
Philip IV of Spain, base.patronage.patron.related_client, m.0c1n9ty
Spain, location.country.administrative_divisions, La Venta
Philip II of Spain, royalty.noble_person.titles, m.0c0lwlv
Philip IV of Spain, symbols.name_source.namesakes, Monument to Philip IV of Spain
Spain, location.country.administrative_divisions, Province of Segovia
m.0113yl60, sports.competitor_country_relationship.country, Spain
m.09ypy5w, common.webpage.topic, Spain
Philip III of Spain, royalty.monarch.kingdom, Portugal
m.0gkjsjv, architecture.ownership.owner, Philip II of Spain
m.0c0lx10, royalty.noble_title_tenure.noble_person, Philip IV of Spain
Philip II of Spain, fictional_universe.fictional_character.based_on, Philip II of Spain
Parliamentary system, government.form_of_government.countries, Spain
Spain, organization.organization.founders, World Trade Organization
Spain, location.country.first_level_divisions, Galicia
Philippe IV espagne, common.image.appears_in_topic_gallery, Philip IV of Spain
Spain, location.country.first_level_divisions, Castile and León
Spain, travel.tour_operator.travel_destinations, Bunnik Tours
Spain, location.country.administrative_divisions, Canary Islands
Spain, location.location.partiallycontains, m.0wg90_0
m.0bj7bbz, sports.competitor_country_relationship.country, Spain
Philip III of Spain, people.person.children, Philip IV of Spain
Philip IV of Spain, royalty.noble_person.titles, m.0c0lx10
m.0wfd2wc, sports.competitor_country_relationship.country, Spain
Spain, location.country.administrative_divisions, Province of Córdoba
Philip IV of Spain, people.person.children, Margaret Theresa of Spain
Charles V, Holy Roman Emperor, people.person.children, Philip II of Spain
m.0c1n9ty, base.patronage.patron_client_relationship.patron, Philip IV of Spain
Spain, common.topic.webpage, m.09x259h
Charles II of Spain, people.person.parents, Philip IV of Spain
Spain, location.country.second_level_divisions, Province of Soria
Maria Theresa of Spain, people.person.parents, Philip IV of Spain
Spain, people.person.nationality, Philip II of Spain
Philip IV of Spain, royalty.monarch.kingdom, Kingdom of Portugal
Spain, royalty.kingdom.rulers, Felipe VI of Spain
Spain, location.country.administrative_divisions, Santiago
Spain, geography.river.basin_countries, Douro
Spain, location.country.administrative_divisions, Basque Country
m.0c0lwmk, royalty.noble_title_tenure.noble_person, Philip II of Spain
Spain, location.location.partially_containedby, Caia
Spain, common.topic.webpage, m.09ygs93
Philip II of Spain, people.person.sibling_s, m.0k6mk3d
Kingdom of Portugal, royalty.kingdom.rulers, Philip III of Spain
Spain, location.country.second_level_divisions, Balearic Islands
Philip II of Spain, people.person.spouse_s, m.03l84wy
Spain, location.country.second_level_divisions, Province of Burgos
Spain, location.country.currency_formerly_used, Peseta
m.0j1bzdy, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Gipuzkoa
Philip IV of Spain, people.person.sibling_s, m.0w4g8bz
Spain, location.country.form_of_government, Unitary state
m.09x4g8d, common.webpage.topic, Spain
Philip IV of Spain, royalty.monarch.kingdom, Portugal
Spain, location.country.administrative_divisions, Province of Cáceres
Philip IV of Spain, common.image.appears_in_topic_gallery, Philip IV of Spain
Philip IV of Spain, symbols.name_source.namesakes, Castillo San Felipe de Barajas
Balthasar Charles, Prince of Asturias, people.person.nationality, Portugal
Philip IV of Spain, common.topic.image, Philip IV of Spain
Spain, common.topic.webpage, m.0fwm0pg
Spain, location.country.first_level_divisions, Basque Country
m.0h3_13h, common.webpage.topic, Spain
Spain, base.aareas.schema.administrative_area.administrative_area_type, Sovereign state
Spain, olympics.olympic_games.participating_countries, 2010 Winter Olympics
Spain, location.country.capital, Madrid
Douro, geography.river.basin_countries, Portugal
m.09wkgx5, common.webpage.topic, Spain
Spain, common.topic.webpage, m.09x0hjr
Spain, location.location.partially_containedby, Pico Carris
Philip IV of Spain, people.person.parents, Margaret of Austria, Queen of Spain
m.09x8f1v, common.webpage.topic, Spain
Portugal, royalty.kingdom.rulers, Philip III of Spain
Philip II of Spain, people.person.spouse_s, m.045yb7c
Philip II of Spain, people.person.spouse_s, m.0j4kz35
Philip III of Spain, common.topic.notable_types, Monarch
Spain, location.location.partiallycontains, m.0wg90zk
Spain, location.country.administrative_divisions, Province of Alicante
Spain, location.country.form_of_government, Parliamentary system
Spain, common.topic.webpage, m.0b47bft
Philip III of Spain, people.person.children, Anne of Austria
Philip IV of Spain, royalty.monarch.royal_line, House of Habsburg
m.0j4l9km, people.marriage.spouse, Philip IV of Spain
Philip III of Spain, common.topic.article, m.012rkz
m.0w_kp2q, sports.competitor_country_relationship.country, Spain
Spain, location.country.administrative_divisions, Province of Valladolid
Tâmega, location.location.partially_containedby, Portugal
Philip III of Spain, people.person.gender, Male
Philip III of Spain, royalty.noble_person.titles, m.0c0lx51
Limia, geography.river.basin_countries, Portugal
House of Habsburg, royalty.royal_line.monarchs_from_this_line, Philip III of Spain
Spain, location.country.administrative_divisions, Ruiloba
Philip II of Spain, people.person.sibling_s, m.0c1gsny
m.0wf78db, sports.competitor_country_relationship.country, Spain
Spain, geography.river.basin_countries, Águeda
Spain, location.country.first_level_divisions, Aragon
m.0c0lx0r, royalty.noble_title_tenure.noble_person, Philip III of Spain
Basque Country, location.administrative_division.country, Spain
Philip IV of Spain, people.family_member.family, House of Habsburg
Government of Spain, government.government.agency, Ministry of Territorial Policy
Spain, common.topic.notable_for, g.1256shf1y
Spain, common.topic.webpage, m.0b486m5
Philip II of Spain, visual_art.art_subject.artwork_on_the_subject, Portrait of Philip II
Spain, location.country.second_level_divisions, Province of Albacete
Spain, location.country.administrative_divisions, Province of Almería
Spain, common.topic.webpage, m.09yr599
m.0wfd2nz, sports.competitor_country_relationship.country, Spain
Bunnik Tours, travel.tour_operator.travel_destinations, Portugal
Philip III of Spain, common.topic.notable_for, g.1259hg9jh
Spain, location.country.administrative_divisions, Province of Toledo
Portrait of Prince Philip of Spain, visual_art.artwork.art_subject, Philip II of Spain
Parliamentary system, government.form_of_government.countries, Portugal
Philip II of Spain, people.person.religion, Catholicism
Philip II of Spain, people.person.sibling_s, m.0c1gsp2
Spain, location.country.form_of_government, Constitutional monarchy
Balthasar Charles, Prince of Asturias, people.person.parents, Philip IV of Spain
Philip II of Spain, people.person.nationality, Spain
Western European Time Zone, location.location.time_zones, Portugal
Philip II of Spain, symbols.name_source.namesakes, County Offaly
Spain, location.country.internet_tld, eu
m.0c0lwmv, royalty.noble_title_tenure.noble_person, Philip II of Spain
Spain, location.location.partiallycontains, m.0wg90xt
m.09y4hr_, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Province of Seville
Philip III of Spain, people.deceased_person.place_of_death, Madrid
Spain, people.person.nationality, Philip III of Spain
m.0wcfrgd, sports.competitor_country_relationship.country, Spain
Philip III of Spain, people.person.nationality, Portugal
Spain, location.country.first_level_divisions, Navarre
m.0wfd2d8, sports.competitor_country_relationship.country, Spain
Spain, location.country.first_level_divisions, Asturias
Philip III of Spain, people.person.religion, Catholicism
Philip II of Spain, fictional_universe.person_in_fiction.representations_in_fiction, Philip II of Spain
Maria Anna of Spain, people.person.parents, Philip III of Spain
Philip IV of Spain, royalty.monarch.kingdom, Portugal
Ferdinand VII of Spain, people.person.nationality, Spain
Spain, location.country.second_level_divisions, Province of León
Spain, common.topic.webpage, m.09x4g8d
Philip II of Spain, book.book_subject.works, The Grand Strategy of Phillip II
Spain, location.country.form_of_government, Parliamentary system
Spain, common.topic.webpage, m.09yggjx
Philip IV of Spain, people.person.children, Charles II of Spain
Spain, location.location.partiallycontains, m.0wg90yx
Spain, common.topic.notable_types, Country
Philip II of Spain, common.topic.notable_for, g.1257sw1jk
Kingdom of Portugal, royalty.kingdom.rulers, Philip IV of Spain
Spain, location.location.partially_contains, Tagus
Iberian Peninsula, location.location.partially_containedby, Portugal
Spain, location.country.second_level_divisions, Province of Lleida
Spain, location.country.administrative_divisions, Province of Ávila
g.122p30g8, location.location.partially_contains, Portugal
Unitary state, government.form_of_government.countries, Spain
Spain, location.location.partially_containedby, Minho
Philip IV of Spain, visual_art.art_subject.artwork_on_the_subject, Las Meninas
Philip II of Spain, people.person.children, Diego, Prince of Asturias
Spain, location.country.second_level_divisions, Province of Castellón
Spain, location.country.second_level_divisions, Province of Pontevedra
Felipe3-Spain, common.image.appears_in_topic_gallery, Philip III of Spain
Spain, location.country.second_level_divisions, Province of Valladolid
Philip III of Spain, people.person.children, Archduke Charles of Austria
Europe, location.location.contains_major_portion_of, Portugal
2010 Winter Olympics, olympics.olympic_games.participating_countries, Portugal
m.0bj7bcd, sports.competitor_country_relationship.country, Spain
House of Habsburg, royalty.royal_line.monarchs_from_this_line, Philip II of Spain
House of Habsburg, royalty.royal_line.monarchs_from_this_line, Philip IV of Spain
Spain, location.country.second_level_divisions, Biscay
Spain, location.country.administrative_divisions, Castilla-La Mancha
Unitary state, location.country.form_of_government, Portugal
Location of Spain, common.image.appears_in_topic_gallery, Spain
m.09ym47f, common.webpage.topic, Spain
Spain, location.country.administrative_divisions, Balearic Islands
El Escorial, location.location.people_born_here, Infante Philip of Spain
Philip II of Spain, organization.organization_founder.organizations_founded, College of Arms
Philip II of Spain, people.person.children, Ferdinand, Prince of Asturias
m.0k6lq0q, people.sibling_relationship.sibling, Philip II of Spain
Spain, geography.river.basin_countries, Guadiana
Philip IV of Spain, people.person.sibling_s, m.0k6lsnp
Spain, location.country.first_level_divisions, Extremadura
Spain, location.country.administrative_divisions, Province of Palencia
Philip IV of Spain, common.topic.image, Philippe IV espagne
Spain, common.topic.webpage, m.09x8f1v
Spain, location.location.partially_containedby, Tâmega
Philip IV of Spain, people.person.children, Balthasar Charles, Prince of Asturias
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Spain, common.topic.webpage, m.0j1bzdy
m.0wcfrkd, sports.competitor_country_relationship.country, Spain
Spain, location.country.currency_used, Euro
Philip Howard, 20th Earl of Arundel, symbols.namesake.named_after, Philip II of Spain
Spain, location.location.partiallycontains, m.0wg90y8
Philip II of Spain, people.person.children, Isabella Clara Eugenia
Spanish place of sovereignty, base.aareas.schema.administrative_area_type.iso_country, Spain
Spain, location.country.administrative_divisions, La Rioja
Philip III of Spain, people.person.children, Cardinal-Infante Ferdinand of Austria
Spain, location.country.administrative_divisions, Region of Murcia
Spain, location.country.administrative_divisions, Province of Albacete
Spain, location.country.administrative_divisions, Catalonia
Philip IV of Spain, visual_art.art_subject.artwork_on_the_subject, Equestrian Portrait of Philip IV
Philip IV in Brown and Silver, visual_art.artwork.art_subject, Philip IV of Spain
John of Austria the Younger, people.person.parents, Philip IV of Spain
Philip II of Spain, symbols.name_source.namesakes, Philipstown
Spain, location.location.partially_contains, Limia
Las Meninas, visual_art.artwork.art_subject, Philip IV of Spain
Spain, common.topic.article, m.06mkv
2014 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Spain, location.country.second_level_divisions, Province of Salamanca
Portugal, royalty.kingdom.rulers, Philip IV of Spain
Spain, location.country.administrative_divisions, Province of Barcelona
m.0k6lpt6, people.sibling_relationship.sibling, Philip IV of Spain
m.0b47bft, common.webpage.topic, Spain
Philip IV of Spain, common.topic.notable_types, Monarch
Spain, location.country.form_of_government, Monarchy
Margaret Theresa of Spain, people.person.parents, Philip IV of Spain
Archduke Charles of Austria, people.person.parents, Philip III of Spain
m.0y56wj1, sports.competitor_country_relationship.country, Spain
Government of Spain, government.government.agency, Instituto Nacional de Estadística
Spain, location.country.form_of_government, Unitary state
Philip II of Spain, royalty.kingdom.rulers, Portugal
Equestrian Portrait of Philip IV, visual_art.artwork.art_subject, Philip IV of Spain
Spain, location.country.administrative_divisions, Asturias
Spain, location.country.administrative_divisions, Province of León
House of Bonaparte, royalty.royal_line.kingdom_s_ruled, Spain
Spain, location.country.administrative_divisions, Gipuzkoa
m.04_9736, government.government_position_held.appointed_by, Philip II of Spain
m.0c1nf9v, base.patronage.patron_client_relationship.patron, Philip II of Spain
Spain, location.country.administrative_divisions, Province of Pontevedra
Philip III of Spain, people.person.children, Maria Anna of Spain
Spain, location.country.administrative_divisions, Province of Ciudad Real
Spain, olympics.olympic_participating_country.olympics_participated_in, 1952 Summer Olympics
Southern Europe, location.location.partially_containedby, Portugal
m.0c1gsp2, people.sibling_relationship.sibling, Philip II of Spain
m.0113yl3f, sports.competitor_country_relationship.country, Spain
Minho, location.location.partially_contains, Portugal
Philip II of Spain, common.topic.image, Alonso SÃ¡nchez Coello 002
Spain, common.topic.notable_types, Country
Philip IV of Spain, people.person.parents, Philip III of Spain
Spain, location.country.administrative_divisions, Community of Madrid
Philip II of Spain, people.person.sibling_s, m.0k6lq0q
Catalonia, base.biblioness.bibs_location.country, Spain
Philip II of Spain, royalty.noble_person.titles, m.0c0lwmv
Spain, location.country.administrative_divisions, Province of Granada
Spain, olympics.olympic_participating_country.olympics_participated_in, 2014 Winter Olympics
Philip IV of Spain, people.person.gender, Male
Daingean, symbols.namesake.named_after, Philip II of Spain
Philip IV of Spain, common.topic.notable_for, g.1257zsptt
m.03l84wy, people.marriage.spouse, Philip II of Spain
Samar, symbols.namesake.named_after, Philip II of Spain
m.045yb7c, people.marriage.spouse, Philip II of Spain
Spain, common.topic.webpage, m.09ypy5w
Spain, location.country.second_level_divisions, Province of Almería
m.0c1gsny, people.sibling_relationship.sibling, Philip II of Spain
Atlantic Ocean, location.location.partially_containedby, Portugal
Spain, base.locations.countries.continent, Europe
Philip II of Spain, people.person.children, Carlos, Prince of Asturias
Philip IV of Spain, fictional_universe.person_in_fiction.representations_in_fiction, King
Guadiana, location.location.partially_contains, Portugal
m.09yr599, common.webpage.topic, Spain
m.09y2ysq, common.webpage.topic, Spain
Philip III of Spain, royalty.monarch.royal_line, House of Habsburg
Spain, location.location.partiallycontains, m.0wg90y3
Spain, location.country.administrative_divisions, Navarre
Philip II of Spain, royalty.monarch.royal_line, House of Habsburg
Isabella of Portugal, people.person.children, Philip II of Spain
Infanta Catherine Michelle of Spain, people.person.parents, Philip II of Spain
Spain, location.country.second_level_divisions, Province of Palencia
Spain, location.country.internet_tld, es
Spain, location.country.administrative_divisions, Province of Seville
Spain, location.country.first_level_divisions, Ceuta
Philip II of Spain, architecture.architectural_structure_owner.structures_owned, m.0gkjsjv
Spain, location.country.administrative_divisions, Cantabria
Spain, olympics.olympic_participating_country.olympics_participated_in, 2008 Summer Olympics
Spain, location.country.administrative_divisions, Province of A Coruña
Spain, location.location.partiallycontains, m.0wg910k
Philip III of Spain, royalty.monarch.kingdom, Kingdom of Portugal
Spain, location.country.first_level_divisions, Peñón de Vélez de la Gomera
Spain, common.topic.webpage, m.0b6rps3
Spain, location.location.partiallycontains, m.0wg910d
Philip III of Spain, people.person.spouse_s, m.0j4ldhq
Philip II of Spain, organization.organization_founder.organizations_founded, Real Colegio de Santa Potenciana
m.03z95_p, location.location.adjoin_s, Portugal
Philip II of Spain, common.topic.article, m.0f6g8
Estrela Mountain Dog, biology.animal_breed.place_of_origin, Portugal
Spain, common.topic.webpage, m.09x4wj7
Philip III of Spain, people.family_member.family, House of Habsburg
Spain, location.location.partiallycontains, m.0wg90z7
Spain, royalty.kingdom.rulers, Alfonso XIII of Spain
Spain, location.location.partiallycontains, m.0wg9117
m.045xsjy, people.marriage.spouse, Philip II of Spain
Spain, common.topic.webpage, m.09ym47f
m.0b6rps3, common.webpage.topic, Spain
Spain, location.country.administrative_divisions, Serranía de Ronda
Spain, people.person.nationality, Philip IV of Spain
m.0k6mk3d, people.sibling_relationship.sibling, Philip II of Spain
Philip II of Spain, royalty.noble_person.titles, m.0c0lwmk
Spain, location.country.administrative_divisions, Suances
Philip III of Spain, common.topic.image, Felipe3-Spain
Philip III of Spain, people.person.place_of_birth, Madrid
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Portugal
Philip III of Spain, people.person.nationality, Spain
Spain, people.person.nationality, Balthasar Charles, Prince of Asturias
Spain, location.country.administrative_divisions, Extremadura
m.09x259h, common.webpage.topic, Spain
Spain, location.location.partiallycontains, m.0wzky6w
Spain, biology.animal_breed.place_of_origin, Estrela Mountain Dog
Águeda, location.location.partially_containedby, Portugal
Spain, location.country.administrative_divisions, Biscay
Philip II of Spain, symbols.name_source.namesakes, Castillo San Felipe del Morro
Spain, location.country.second_level_divisions, Zaragoza
Philip II of Spain, visual_art.art_subject.artwork_on_the_subject, Portrait of Prince Philip of Spain
m.0j4ldhq, people.marriage.spouse, Philip III of Spain
Spain, location.country.administrative_divisions, Province of Soria
Philip II of Spain, people.person.children, Infanta Catherine Michelle of Spain
m.09yggjx, common.webpage.topic, Spain
Philip III of Spain, people.person.places_lived, m.04hdbyn
Spain, location.country.second_level_divisions, Province of Ourense
Spain, location.country.administrative_divisions, Zaragoza
Spain, location.location.partiallycontains, m.0wg90zw
Anne of Austria, people.person.parents, Philip III of Spain
Alfonso XIII of Spain, royalty.monarch.kingdom, Spain
m.0k6lsnp, people.sibling_relationship.sibling, Philip IV of Spain
Philip IV of Spain, visual_art.art_subject.artwork_on_the_subject, Philip IV in Brown and Silver
Spain, location.country.second_level_divisions, Province of A Coruña
Spain, location.country.administrative_divisions, Province of Lleida
m.0c0lwlv, royalty.noble_title_tenure.noble_person, Philip II of Spain
Anna of Austria, Queen of Spain, people.person.children, Philip III of Spain
Philip IV of Spain, people.person.religion, Catholicism
Spain, location.country.administrative_divisions, Galicia
Spain, location.location.time_zones, Western European Time Zone
Country, common.topic.notable_types, Portugal
Philip III of Spain, royalty.noble_person.titles, m.0c0lx0r
Spain, location.country.second_level_divisions, Province of Santa Cruz de Tenerife
Philip II of Spain, base.patronage.patron.related_client, m.0c1nf9v
Philip II of Spain, symbols.name_source.namesakes, Philip III of Spain
Pico Carris, location.location.partially_contains, Portugal
Spain, location.country.second_level_divisions, Province of Ciudad Real
Spain, location.location.containedby, Western Europe
Spain, location.country.second_level_divisions, Province of Granada
Castillo San Felipe del Morro, symbols.namesake.named_after, Philip II of Spain
Spain, location.country.second_level_divisions, Province of Segovia
Spain, location.country.second_level_divisions, Province of Alicante
Kingdom of Portugal, royalty.kingdom.rulers, Philip II of Spain
Philip IV of Spain, people.person.children, John of Austria the Younger
Philip II of Spain, people.person.spouse_s, m.045xsjy
Philip II of Spain, people.deceased_person.place_of_burial, El Escorial
Spain, location.country.administrative_divisions, Castile and León
m.09x4wj7, common.webpage.topic, Spain
m.09klyqr, base.ontologies.ontology_instance_mapping.freebase_topic, Philip II of Spain
Spain, location.location.partially_containedby, Atlantic Ocean
Philippines, symbols.namesake.named_after, Philip II of Spain
Spain, location.country.first_level_divisions, Peñón de Alhucemas
m.0j4kz35, people.marriage.spouse, Philip II of Spain
Ferdinand, Prince of Asturias, people.person.parents, Philip II of Spain
Spain, finance.currency.countries_used, Euro
Philip II of Spain, base.ontologies.ontology_instance.equivalent_instances, m.09klyqr
Equestrian Portrait of Philip IV, base.patronage.patronage_product.resulted_from_this_relationship, m.0c1n9ty
Philip II of Spain, people.person.parents, Charles V, Holy Roman Emperor
Spain, government.governmental_jurisdiction.agencies, Ministry of Territorial Policy
m.09x0hjr, common.webpage.topic, Spain
m.03z95_9, government.national_anthem_of_a_country.country, Spain
Spain, location.country.administrative_divisions, Ceuta
Spain, location.country.second_level_divisions, Province of Huesca
Spain, location.country.first_level_divisions, Cantabria
Spain, location.country.national_anthem, m.03z95_9
Spain, location.country.second_level_divisions, Álava
Philip IV of Spain, people.person.children, Philip Prospero, Prince of Asturias
Spain, location.country.first_level_divisions, Andalusia
Philip II of Spain, symbols.name_source.namesakes, Philip Howard, 20th Earl of Arundel
Spain, location.country.second_level_divisions, Province of Cádiz
Philip IV of Spain, people.person.nationality, Portugal
Philip II of Spain, people.person.place_of_birth, Valladolid
Castillo San Felipe de Barajas, symbols.namesake.named_after, Philip IV of Spain
Portugal, royalty.kingdom.rulers, Philip II of Spain
Philip II of Spain, people.person.education, m.0w590qs
Spain, location.country.internet_tld, cat
Spain, location.country.second_level_divisions, Asturias
Philip II of Spain, people.person.nationality, Portugal
Spain, location.country.second_level_divisions, La Rioja
Spain, location.country.administrative_divisions, Province of Cádiz
Philip IV of Spain, common.topic.article, m.0132mk
Philip II of Spain, royalty.monarch.kingdom, Portugal
Monument to Philip IV of Spain, symbols.namesake.named_after, Philip IV of Spain
Spain, common.topic.image, Location of Spain
Spain, location.country.administrative_divisions, La Jara
Spain, location.location.partially_contains, g.122p30g8
Philip II of Spain, symbols.name_source.namesakes, Philippines
Philip IV of Spain, people.person.spouse_s, m.0j4ldkp
Philip II of Spain, symbols.name_source.namesakes, Daingean
Philip III of Spain, people.person.parents, Anna of Austria, Queen of Spain
Philip II of Spain, people.person.parents, Isabella of Portugal
Spain, location.country.second_level_divisions, Community of Madrid
Spain, location.country.second_level_divisions, Province of Málaga
Spain, location.location.partiallycontains, m.0wg90yf
Spain, location.country.administrative_divisions, Andalusia
Philip II of Spain, royalty.monarch.kingdom, Kingdom of Portugal
Philip IV of Spain, people.deceased_person.place_of_death, Madrid
Philip II of Spain, people.person.gender, Male
King, fictional_universe.fictional_character.based_on, Philip IV of Spain
Philip III of Spain, symbols.namesake.named_after, Philip II of Spain
World Trade Organization, organization.organization_founder.organizations_founded, Portugal
Philip II of Spain, government.political_appointer.appointees, m.04_9736
County Offaly, symbols.namesake.named_after, Philip II of Spain
Philip III of Spain, people.deceased_person.place_of_burial, El Escorial
m.0j4ldkp, people.marriage.spouse, Philip IV of Spain
Spain, location.country.first_level_divisions, Canary Islands
Philip II of Spain, people.deceased_person.place_of_death, El Escorial
Spain, location.country.first_level_divisions, Balearic Islands
Spain, location.country.second_level_divisions, Province of Córdoba
m.0b486m5, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Cantabria
Philip II of Spain, people.family_member.family, House of Habsburg
Spain, common.topic.webpage, m.09wkgx5
Spain, location.country.administrative_divisions, Province of Castellón
Philip II of Spain, symbols.name_source.namesakes, Samar
Tagus, location.location.partially_contains, Portugal
Spain, location.country.administrative_divisions, Aragon
Margaret of Austria, Queen of Spain, people.person.children, Philip IV of Spain
Philip III of Spain, people.person.nationality, Portugal
Earth, base.aareas.schema.administrative_area.administrative_parent, Portugal
Philip II of Spain, common.topic.notable_types, Monarch
Philip IV of Spain, people.person.sibling_s, m.0k6lpt6
Spain, location.location.partially_containedby, Southern Europe
Philip II of Spain, people.person.children, Philip III of Spain
Spain, location.location.containedby, Europe
Spain, location.country.second_level_divisions, Navarre
Spain, base.aareas.schema.administrative_area.administrative_parent, Earth
m.0c0lx51, royalty.noble_title_tenure.noble_person, Philip III of Spain
m.0w590qs, education.education.student, Philip II of Spain
Spain, location.country.administrative_divisions, Begoña
Philip III of Spain, people.person.parents, Philip II of Spain
Western Europe, location.location.primarily_containedby, Portugal
m.09ygs93, common.webpage.topic, Spain
m.04hdbyn, people.place_lived.person, Philip III of Spain
Philip IV of Spain, people.person.place_of_birth, Valladolid
Isabella Clara Eugenia, people.person.parents, Philip II of Spain

Answer: Portugal