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 countries share borders with spain? 
Knowledge Triplets: Spain, location.country.form_of_government, Constitutional monarchy
Madrid, base.biblioness.bibs_location.country, Spain
Pico Carris, location.location.partially_contains, Portugal
Spain, location.country.languages_spoken, Occitan language
Spain, location.country.second_level_divisions, Province of Ourense
Segre, location.location.partially_contains, France
House of Bourbon, people.family.country, France
Spain, travel.tour_operator.travel_destinations,   Adventures by Disney - 5-Night Mediterranean Magic Cruise
Spain, location.location.time_zones, Western European Time Zone
2010 Winter Olympics, olympics.olympic_games.participating_countries, Portugal
Spain, common.topic.webpage, m.0j1bzdy
Spain, location.country.administrative_divisions, Andalusia
Spain, common.topic.webpage, m.09ym47f
Spain, location.country.form_of_government, Unitary state
Spain, location.location.containedby, Europe
Spain, location.location.partially_contains, Pico Carris
Basque Country, location.administrative_division.country, Spain
m.0fwm0pg, common.webpage.topic, Spain
Spain, geography.river.basin_countries, Douro
Central European Time Zone, location.location.time_zones, Gibraltar
Great Pyrenees, biology.breed_origin.breeds_originating_here, France
Spain, film.film.country, Asterix at the Olympic Games
Spain, location.country.second_level_divisions, Province of Cuenca
Parliamentary system, government.form_of_government.countries, Spain
Spain, location.country.first_level_divisions, La Rioja
m.09yggjx, common.webpage.topic, Spain
Spain, location.country.administrative_divisions, Galicia
m.0b47bft, common.webpage.topic, Spain
Spain, location.location.partially_contains, Pic de Sanfonts
1948 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, France
Europe, base.locations.continents.countries_within, Spain
Spain, location.location.partially_containedby, Minho
m.0z22rjw, location.adjoining_relationship.adjoins, Spain
Spain, common.topic.notable_types, Country
Euro, location.country.currency_used, France
Spain, location.country.languages_spoken, Galician Language
Spain, location.country.administrative_divisions, Province of Albacete
m.03z9605, location.adjoining_relationship.adjoins, Andorra
Spain, location.country.administrative_divisions, Serranía de Ronda
Spain, biology.breed_origin.breeds_originating_here, Basque Shepherd Dog
Roca Entravessada, location.location.partially_containedby, Andorra
Spain, location.country.capital, Madrid
Peseta, finance.currency.countries_formerly_used, Spain
Spain, location.country.administrative_divisions, Álava
Spain, common.topic.webpage, m.09x8f1v
Atlantic Ocean, location.location.partially_containedby, Portugal
Spain, common.topic.webpage, m.0b6rps3
Spain, location.country.administrative_divisions, Cantabria
m.03q9tk0, location.adjoining_relationship.adjoins, France
m.0zd6x5r, location.mailing_address.country, Spain
Spain, location.country.second_level_divisions, Asturias
Tagus, geography.river.basin_countries, Portugal
Spain, freebase.valuenotation.has_no_value, Date dissolved
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, France
Bunnik Tours, travel.travel_destination.tour_operators, Portugal
Papillon, biology.animal_breed.place_of_origin, France
Spain, location.location.partially_containedby, Southern Europe
Spain, location.country.first_level_divisions, Galicia
m.0zfx37b, sports.competitor_competition_relationship.country, Spain
Europe, location.location.primarily_containedby, Portugal
2014 Winter Olympics, olympics.olympic_games.participating_countries, Spain
Unitary state, government.form_of_government.countries, Morocco
Spain, geography.river.basin_countries, Segre
Spain, location.country.administrative_divisions, Begoña
Parliamentary system, government.form_of_government.countries, Gibraltar
Spain, location.country.first_level_divisions, Peñón de Alhucemas
Spain, location.country.administrative_divisions, La Jara
Spain, biology.animal_breed.place_of_origin, Bichon Frise
Europe, location.location.contains_major_portion_of, France
Spain, olympics.olympic_games.participating_countries, 2002 Winter Olympics
Euro, location.country.currency_used, Andorra
Spain, location.country.second_level_divisions, Province of Albacete
Spain, olympics.olympic_participating_country.olympics_participated_in, 1980 Winter Olympics
Spain, common.topic.webpage, m.09x4wj7
Spain, base.aareas.schema.administrative_area.administrative_parent, Earth
Spain, location.country.second_level_divisions, Province of Teruel
Spain, location.country.second_level_divisions, Province of Granada
Phalène, biology.animal_breed.place_of_origin, France
Spain, location.country.first_level_divisions, Catalonia
Spain, location.country.administrative_divisions, Biscay
Suances, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Almería
eu, location.country.internet_tld, France
Spain, language.human_language.countries_spoken_in, Catalan language
Spain, location.location.partially_contains, Pic del Port Vell
Peseta, finance.currency.countries_formerly_used, Andorra
Monarchy, location.country.form_of_government, Morocco
Spain, biology.breed_origin.breeds_originating_here, Pyrenean Shepherd
Basque Country, location.administrative_division.first_level_division_of, Spain
m.0b658lf, sports.competitor_competition_relationship.country, Spain
Spain, location.country.administrative_divisions, Melilla
m.09x0hjr, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Community of Madrid
Spain, location.country.first_level_divisions, Cantabria
m.0b6rps3, common.webpage.topic, Spain
1952 Summer Olympics, olympics.olympic_games.participating_countries, France
Spain, location.location.partially_containedby, Guadiana
m.09y2ysq, common.webpage.topic, Spain
Spain, location.location.partially_contains, Iberian Peninsula
m.09yr599, common.webpage.topic, Spain
Spain, common.topic.webpage, m.0fwm0pg
Spain, location.country.administrative_divisions, Catalonia
Spanish National Research Council, government.government_agency.jurisdiction, Spain
m.0bj7bbz, sports.competitor_country_relationship.country, Spain
1900 Summer Olympics, olympics.olympic_games.participating_countries, France
Pic del Port Vell, location.location.partially_containedby, Andorra
Spain, government.governmental_jurisdiction.agencies, Ministry of Territorial Policy
Spain, location.country.administrative_divisions, Balearic Islands
Location of Spain, common.image.size, m.03t4500
Spain, location.country.administrative_divisions, Province of Córdoba
2014 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, Morocco
Country, common.topic.notable_types, Portugal
Spain, location.country.second_level_divisions, Province of Seville
m.0zlw8r7, sports.competitor_competition_relationship.country, Spain
Central European Time Zone, location.location.time_zones, Andorra
2010 Winter Olympics, olympics.olympic_games.participating_countries, Spain
Spain, location.location.adjoin_s, m.043w88_
Perejil Island, location.location.contains_major_portion_of, Morocco
Spain, location.country.administrative_divisions, Province of Alicante
Garonne, location.location.partially_containedby, France
Spain, base.locations.countries.continent, Europe
Spain, location.country.first_level_divisions, Extremadura
Vignemale Massif, location.location.partially_contains, France
Spain, location.country.second_level_divisions, Province of Castellón
Estrela Mountain Dog, biology.breed_origin.breeds_originating_here, Portugal
Spain, location.country.administrative_divisions, Aragon
Batoua SW, location.location.partially_containedby, France
Europe, location.location.contains_major_portion_of, Spain
m.011nrnb0, sports.competitor_competition_relationship.country, Spain
m.03w5dqt, location.location.adjoin_s, Morocco
Spain, location.country.currency_formerly_used, Peseta
Catalan language, language.human_language.countries_spoken_in, France
Spain, common.topic.webpage, m.09wkgx5
Spain, location.country.second_level_divisions, Province of Barcelona
Spain, location.country.administrative_divisions, Province of Lleida
Western European Time Zone, location.location.time_zones, Morocco
Spain, location.country.second_level_divisions, Province of Lugo
Spain, location.country.second_level_divisions, Province of Segovia
Pyrenean Shepherd, biology.breed_origin.breeds_originating_here, France
Spain, location.location.partially_containedby, Tâmega
Unitary state, government.form_of_government.countries, Spain
Parliamentary system, location.country.form_of_government, Portugal
Spain, location.country.administrative_divisions, Province of Huesca
Bichon Frise, biology.breed_origin.breeds_originating_here, France
Europe, location.location.containedby, Gibraltar
Spain, biology.animal_breed.place_of_origin, Papillon
Spain, location.country.first_level_divisions, Basque Country
Spain, common.topic.webpage, m.0b47bft
m.0j1bzdy, common.webpage.resource, Statoids of Spain
Spain, location.country.internet_tld, eu
Earth, base.aareas.schema.administrative_area.administrative_parent, Andorra
m.043w88_, location.adjoining_relationship.adjoins, Spain
Basque Country, base.aareas.schema.administrative_area.administrative_parent, Spain
Spain, location.country.administrative_divisions, Canary Islands
m.0ch99k8, royalty.system_title_relationship.system, Spain
Spain, location.country.second_level_divisions, Province of Huesca
Catalan Sheepdog, biology.breed_origin.breeds_originating_here, Andorra
Western Europe, location.location.contains, Spain
Spain, common.topic.webpage, m.09ygs93
Spain, location.country.second_level_divisions, Province of Huelva
Spain, location.location.containedby, Perejil Island
Constitutional monarchy, location.country.form_of_government, Gibraltar
Douro, location.location.partially_containedby, Portugal
2002 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, Andorra
Galicia, base.biblioness.bibs_location.country, Spain
m.0j1bzdy, common.webpage.topic, Spain
Navarre, base.biblioness.bibs_location.country, Spain
m.043w88_, location.adjoining_relationship.adjoins, Gibraltar
Spain, location.country.second_level_divisions, Gipuzkoa
World Trade Organization, organization.organization.founders, Portugal
m.0h3_13h, common.webpage.topic, Spain
m.0w_kp2q, sports.competitor_country_relationship.country, Spain
Spain, location.country.second_level_divisions, Álava
Spain, biology.animal_breed.place_of_origin, Phalène
Limia, location.location.partially_containedby, Portugal
cat, location.country.internet_tld, France
Spain, location.country.second_level_divisions, Province of Santa Cruz de Tenerife
Spain, location.location.partially_contains, Vignemale Massif
Perdiguero, location.location.partially_containedby, France
m.09ygs93, common.webpage.topic, Spain
2014 Winter Olympics, olympics.olympic_games.participating_countries, Portugal
Europe, base.locations.continents.countries_within, Andorra
m.09x8f1v, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Province of Lleida
Spain, olympics.olympic_games.participating_countries, 2014 Winter Olympics
m.03q9tk0, location.adjoining_relationship.adjoins, Spain
Spain, location.country.administrative_divisions, Province of A Coruña
m.0zlw6jn, sports.competitor_competition_relationship.country, Spain
Spain, location.country.second_level_divisions, Province of Burgos
Spain, base.aareas.schema.administrative_area.administrative_area_type, Sovereign state
Balaïtous, location.location.partially_containedby, France
m.0z22q_t, location.adjoining_relationship.adjoins, Spain
Spanish Language, language.human_language.main_country, Spain
Spain, location.location.partially_contains, Puigmal
m.0zb23rl, location.mailing_address.country, Spain
1980 Winter Olympics, olympics.olympic_games.participating_countries, Spain
Spain, common.topic.image, Location of Spain
Constitutional monarchy, location.country.form_of_government, Andorra
Spain, location.country.administrative_divisions, Province of Soria
Spain, location.adjoining_relationship.adjoins, m.03z95_p
Western European Time Zone, location.location.time_zones, Portugal
Spain, olympics.olympic_games.participating_countries, 1900 Summer Olympics
Western Europe, location.location.partially_containedby, France
Spanish Language, location.country.languages_spoken, Andorra
Spain, location.location.partially_containedby, Pyrenees
2014 Winter Olympics, olympics.olympic_games.participating_countries, Andorra
Central European Time Zone, location.location.time_zones, France
Parliamentary system, location.country.form_of_government, Andorra
Spain, olympics.olympic_participating_country.olympics_participated_in, 2008 Summer Olympics
Spain, location.location.partially_containedby, Puigpedrós
Spain, location.country.first_level_divisions, Region of Murcia
Lucía y el sexo, film.film.country, France
m.0wf78db, sports.competitor_country_relationship.country, Spain
Spain, location.location.partially_containedby, Mediterranean Sea
Caia, location.location.partially_containedby, Portugal
Ministry of Territorial Policy, organization.organization.geographic_scope, Spain
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Morocco
Spain, location.country.internet_tld, eu
m.0h28xql, location.adjoining_relationship.adjoins, Spain
m.0wcfrgd, sports.competitor_country_relationship.country, Spain
Spain, location.country.second_level_divisions, Province of Valladolid
Spain, location.country.national_anthem, m.03z95_9
m.011nrn7p, sports.competitor_competition_relationship.country, Spain
Spain, common.topic.webpage, m.09ypy5w
Spain, location.country.languages_spoken, Occitan language
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, France
Iberian Peninsula, location.location.contains, Gibraltar
m.0_bwqj5, location.mailing_address.country, Spain
Spain, location.country.administrative_divisions, Basque Country
m.0y56wj1, sports.competitor_country_relationship.country, Spain
Spain, common.topic.webpage, m.09y2ysq
Mediterranean Sea, location.location.partially_containedby, France
Date dissolved, freebase.valuenotation.has_no_value, France
Bunnik Tours, travel.travel_destination.tour_operators, Morocco
Spain, location.country.administrative_divisions, Castile and León
Balearic Islands, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Cantabria
Spain, location.country.administrative_divisions, Province of Santa Cruz de Tenerife
Spain, location.country.form_of_government, Monarchy
Spain, location.location.partially_contains, Batoua SW
Spain, government.governmental_jurisdiction.agencies, Spanish National Research Council
Asterix at the Olympic Games, film.film.country, Spain
Spain, common.topic.webpage, m.09x0hjr
Spain, location.country.administrative_divisions, Ceuta
Spain, travel.travel_destination.tour_operators, Čedok
Spain, location.location.containedby, Chafarinas Islands
Unitary state, government.form_of_government.countries, Andorra
m.03z9605, location.adjoining_relationship.adjoins, Spain
Spain, base.aareas.schema.administrative_area.administrative_children, Basque Country
Spain, location.country.first_level_divisions, Canary Islands
Spain, location.location.partially_contains, g.122p30g8
Spain, location.country.administrative_divisions, Navarre
m.0wcfrkd, sports.competitor_country_relationship.country, Spain
Spain, film.film.country, Lucía y el sexo
Spain, location.country.second_level_divisions, Province of Toledo
Guadiana, geography.river.basin_countries, Portugal
Spain, location.country.administrative_divisions, Ruiloba
Western Europe, location.location.contains_major_portion_of, Portugal
Spain, olympics.olympic_participating_country.olympics_participated_in, 1948 Winter Olympics
m.0wfd2d8, sports.competitor_country_relationship.country, Spain
Puigpedrós, location.location.partially_containedby, France
Spain, location.location.partially_containedby, Perdiguero
Spain, olympics.olympic_games.participating_countries, 2010 Winter Olympics
Spain, location.country.administrative_divisions, La Venta
Spain, location.country.second_level_divisions, Province of Cádiz
Spain, common.topic.webpage, m.09x259h
Spain, location.country.administrative_divisions, Gipuzkoa
Douro, geography.river.basin_countries, Spain
Spain, location.country.second_level_divisions, La Rioja
Águeda, location.location.partially_contains, Portugal
Spain, common.topic.article, m.06mkv
Spanish province, base.aareas.schema.administrative_area_type.iso_country, Spain
Spain, location.adjoining_relationship.adjoins, m.03q9tk0
Spain, location.location.time_zones, Central European Time Zone
Earth, base.aareas.schema.administrative_area.administrative_parent, France
Pic de Médécourbe, location.location.partially_contains, Andorra
Spain, location.country.administrative_divisions, Suances
Spain, location.country.second_level_divisions, Province of Tarragona
Spain, location.location.partially_containedby, Southern Europe
Spain, location.location.partially_contains, Balaïtous
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Morocco
Spain, location.country.administrative_divisions, Barcelona
Pic Schrader, location.location.partially_containedby, France
Pic de Médécourbe, location.location.partially_containedby, France
Spain, location.country.administrative_divisions, Province of Segovia
Segre, geography.river.basin_countries, Andorra
Spain, location.country.administrative_divisions, Province of Valladolid
Spanish Language, location.country.languages_spoken, Gibraltar
Country, common.topic.notable_types, Gibraltar
Spain, location.location.partially_containedby, Vignemale
2014 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, France
Tâmega, geography.river.basin_countries, Portugal
m.0wfd2nz, sports.competitor_country_relationship.country, Spain
m.03z95_9, government.national_anthem_of_a_country.country, Spain
Spanish autonomous community, base.aareas.schema.administrative_area_type.iso_country, Spain
Spain, royalty.royal_line.kingdom_s_ruled, House of Bourbon
Catalonia, base.biblioness.bibs_location.country, Spain
Spain, location.country.second_level_divisions, Province of Zamora
Spain, location.country.second_level_divisions, Province of Málaga
Gran Valira, location.location.partially_contains, Andorra
Spain, location.country.first_level_divisions, Asturias
Spain, location.country.currency_formerly_used, Peseta
Spain, location.country.first_level_divisions, Aragon
Minho, geography.river.basin_countries, Portugal
Spain, freebase.valuenotation.is_reviewed, Official website
Country, common.topic.notable_types, Morocco
Spain, location.country.second_level_divisions, Province of A Coruña
m.0b486m5, common.webpage.topic, Spain
Asturias, location.administrative_division.country, Spain
Date founded, freebase.valuenotation.is_reviewed, France
Asterix at the Olympic Games, film.film.country, France
Spain, location.country.languages_spoken, Spanish Language
Basque Language, location.country.languages_spoken, France
Spain, location.imports_and_exports.imported_from, m.04fj_hj
Spain, olympics.olympic_participating_country.olympics_participated_in, 1952 Summer Olympics
Spain, geography.river.basin_countries, Limia
Spain, location.country.second_level_divisions, Navarre
Spain, geography.river.basin_countries, Tagus
Unitary state, location.country.form_of_government, France
Spain, location.location.partially_containedby, Gran Valira
m.09ypy5w, common.webpage.topic, Spain
Canary Islands, location.administrative_division.country, Spain
Löwchen, biology.breed_origin.breeds_originating_here, France
Spain, travel.travel_destination.tour_operators, Bunnik Tours
Spain, location.country.administrative_divisions, Extremadura
2010 Winter Olympics, olympics.olympic_games.participating_countries, France
Spain, location.country.form_of_government, Monarchy
1980 Winter Olympics, olympics.olympic_games.participating_countries, Andorra
Spain, location.country.internet_tld, es
m.010vf5zr, sports.competitor_competition_relationship.country, Spain
Spain, location.country.languages_spoken, Basque Language
Spain, common.topic.webpage, m.09yr599
Spain, location.country.currency_used, Euro
1952 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Spain, location.country.administrative_divisions, Province of Seville
Southern Europe, location.location.partially_contains, Portugal
Country, common.topic.notable_types, France
Spain, location.country.first_level_divisions, Community of Madrid
Spain, location.country.administrative_divisions, Castilla-La Mancha
Spain, location.country.administrative_divisions, Province of Ourense
Catalan language, location.country.languages_spoken, Andorra
m.09ym47f, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Zaragoza
Bunnik Tours, travel.travel_destination.tour_operators, France
Chafarinas Islands, location.location.contains_major_portion_of, Morocco
Spain, location.country.administrative_divisions, Province of Málaga
Pic de Sanfonts, location.location.partially_contains, Andorra
Spain, location.country.first_level_divisions, Castile and León
Spain, location.location.partially_containedby, Pic de Médécourbe
Spain, location.country.second_level_divisions, Province of Badajoz
m.03z95_p, location.location.adjoin_s, Portugal
Basque Country, location.location.containedby, Spain
Spain, location.country.form_of_government, Unitary state
Spain, location.country.second_level_divisions, Biscay
Spain, location.country.second_level_divisions, Province of Jaén
Spain, location.country.second_level_divisions, Balearic Islands
Spain, location.country.second_level_divisions, Region of Murcia
Spain, government.form_of_government.countries, Parliamentary system
Spain, location.country.second_level_divisions, Province of Ávila
Unitary state, government.form_of_government.countries, Portugal
Spain, location.country.internet_tld, cat
Águeda, geography.river.basin_countries, Spain
Spain, location.country.administrative_divisions, Zaragoza
Constitutional monarchy, location.country.form_of_government, Morocco
Official website, freebase.valuenotation.is_reviewed, France
Spain, location.country.second_level_divisions, Province of Córdoba
Čedok, travel.travel_destination.tour_operators, France
2002 Winter Olympics, olympics.olympic_games.participating_countries, Spain
Spain, freebase.valuenotation.has_value, Date founded
Spain, location.location.partially_contains, Águeda
Andalusia, location.administrative_division.country, Spain
Occitan language, location.country.languages_spoken, France
Spain, common.topic.notable_types, Country
Spain, location.country.form_of_government, Constitutional monarchy
Spain, location.country.first_level_divisions, Andalusia
Spain, location.country.administrative_divisions, Asturias
Spain, location.location.containedby, Western Europe
Basque Country, common.topic.notable_types, Spanish autonomous community
Spain, location.country.second_level_divisions, Province of León
Spain, biology.animal_breed.place_of_origin, Great Pyrenees
Spain, location.country.first_level_divisions, Castilla-La Mancha
Spain, common.topic.webpage, m.09yggjx
m.0fp9_m_, sports.competitor_competition_relationship.country, Spain
Basque Shepherd Dog, biology.breed_origin.breeds_originating_here, France
m.09y4hr_, common.webpage.topic, Spain
Čedok, travel.travel_destination.tour_operators, Morocco
Spain, biology.breed_origin.breeds_originating_here, Estrela Mountain Dog
Spanish place of sovereignty, base.aareas.schema.administrative_area_type.iso_country, Spain
Spain, location.country.administrative_divisions, Santiago
Spain, location.country.internet_tld, cat
Spain, location.country.administrative_divisions, Province of Barcelona
m.0wcfl8s, sports.competitor_competition_relationship.country, Spain
Biscay, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Province of Pontevedra
Extremadura, location.administrative_division.country, Spain
Spain, location.country.languages_spoken, Basque Language
m.0bj7bcd, sports.competitor_country_relationship.country, Spain
Spain, location.country.second_level_divisions, Province of Girona
Spain, location.country.administrative_divisions, La Rioja
World Trade Organization, organization.organization.founders, France
Spain, common.topic.notable_for, g.1256shf1y
Spain, location.adjoining_relationship.adjoins, m.03z9605
m.0b659cg, sports.competitor_competition_relationship.country, Spain
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Portugal
Spain, location.country.official_language, Spanish Language
Spain, location.country.administrative_divisions, Region of Murcia
Spain, location.location.partially_containedby, Caia
Monarchy, location.country.form_of_government, Andorra
Barcelona, base.biblioness.bibs_location.country, Spain
Spain, location.country.first_level_divisions, Balearic Islands
Spain, location.country.second_level_divisions, Province of Soria
Limia, geography.river.basin_countries, Spain
Puigmal, location.location.partially_contains, France
Spain, location.location.partially_containedby, Pic Schrader
World Trade Organization, organization.organization_founder.organizations_founded, Morocco
Spain, location.country.second_level_divisions, Province of Valencia
Spain, biology.animal_breed.place_of_origin, Löwchen
Bay of Biscay, location.location.partially_containedby, France
Spain, organization.organization.founders, World Trade Organization
Spain, common.topic.webpage, m.0h3_13h
Spain, common.topic.webpage, m.09x4g8d
Spain, location.country.second_level_divisions, Province of Almería
Spain, location.location.partially_contains, Pica d'Estats
m.0113yl60, sports.competitor_country_relationship.country, Spain
Guadiana, geography.river.basin_countries, Spain
Spain, location.country.second_level_divisions, Province of Ciudad Real
Earth, base.aareas.schema.administrative_area.administrative_parent, Portugal
Spanish autonomous city, base.aareas.schema.administrative_area_type.iso_country, Spain
Pyrenees, location.location.containedby, Andorra
Spain, location.country.administrative_divisions, Province of Ciudad Real
m.04fj_hj, location.statistical_region.places_imported_from, Andorra
Euro, location.country.currency_used, Portugal
Iberian Peninsula, location.location.primarily_containedby, Portugal
Spain, location.country.second_level_divisions, Province of Salamanca
Spain, location.country.administrative_divisions, Province of Cáceres
Spain, location.country.first_level_divisions, Peñón de Vélez de la Gomera
Vignemale, location.location.partially_contains, France
Spain, location.country.administrative_divisions, Province of Huelva
m.0y56x1r, sports.competitor_competition_relationship.country, Spain
m.0113yl3f, sports.competitor_country_relationship.country, Spain
Parliamentary system, location.country.form_of_government, Morocco
Euro, finance.currency.countries_used, Spain
m.0wfd2wc, sports.competitor_country_relationship.country, Spain
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
g.122p30g8, location.location.partially_contains, Portugal
m.03w5dqt, location.adjoining_relationship.adjoins, Spain
  Adventures by Disney - 5-Night Mediterranean Magic Cruise, travel.tour_operator.travel_destinations, France
Government of Spain, government.government.agency, Ministry of Territorial Policy
Spain, location.country.first_level_divisions, Ceuta
Country, common.topic.notable_types, Andorra
Spain, location.location.adjoin_s, m.03w5dqt
m.09x4wj7, common.webpage.topic, Spain
Pica d'Estats, location.location.partially_containedby, France
Spain, common.topic.webpage, m.0b486m5
Spain, location.location.partially_contains, Atlantic Ocean
Spain, common.topic.webpage, m.09y4hr_
m.09x259h, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Province of Alicante
m.09wkgx5, common.webpage.topic, Spain
Spain, location.country.first_level_divisions, Navarre
Catalonia, location.administrative_division.country, Spain
eu, location.country.internet_tld, Gibraltar
Spain, location.country.languages_spoken, Spanish Language
Spain, geography.river.basin_countries, Garonne
Segre, geography.river.basin_countries, Spain
m.0wcflf5, sports.competitor_competition_relationship.country, Spain
Spain, finance.currency.countries_used, Euro
Garonne, geography.river.basin_countries, Spain
Earth, base.aareas.schema.administrative_area.administrative_parent, Morocco
m.03z95_p, location.adjoining_relationship.adjoins, Spain
Pyrenees, location.location.partially_contains, France
Spain, location.country.form_of_government, Parliamentary system
Spain, biology.breed_origin.breeds_originating_here, Catalan Sheepdog
Tagus, geography.river.basin_countries, Spain
Spain, location.location.primarily_containedby, Europe
Spain, location.country.first_level_divisions, Melilla
m.09x4g8d, common.webpage.topic, Spain
Spain, location.country.second_level_divisions, Province of Cáceres
Spain, location.location.partially_containedby, Bay of Biscay
Spain, location.country.administrative_divisions, Community of Madrid
2002 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, France
Galicia, location.administrative_division.country, Spain
Spain, location.location.primarily_containedby, Europe
Spain, location.country.second_level_divisions, Province of Guadalajara
Spain, location.country.second_level_divisions, Province of Palencia
Spain, location.location.partially_containedby, Roca Entravessada
Spain, location.location.containedby, Western Europe
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Andorra
Spain, location.country.administrative_divisions, Province of Palencia
Spain, location.country.second_level_divisions, Province of Las Palmas
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Andorra

Answer: France
Andorra
Gibraltar
Portugal
Morocco