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 country that borders Spain is where Vila Real is located? 
Knowledge Triplets: Province of Segovia, location.administrative_division.country, Spain
Vila Real District, location.location.contains, Vila Pouca de Aguiar
Province of Lleida, location.administrative_division.country, Spain
Province of Burgos, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Córdoba
Spain, location.country.currency_used, Euro
Spain, location.country.second_level_divisions, Province of Cáceres
Spain, location.country.second_level_divisions, Province of Santa Cruz de Tenerife
Spain, location.statistical_region.net_migration, g.1q5jxqzwr
Spain, location.location.partiallycontains, m.0wg90xz
Asturias, location.administrative_division.country, Spain
Vila Pouca de Aguiar, location.location.containedby, Vila Real District
Spain, location.country.languages_spoken, Spanish Language
Vila Real District, location.statistical_region.population, g.11bymk015c
Spain, location.country.administrative_divisions, Province of Badajoz
Spain, location.statistical_region.gender_balance_members_of_parliament, g.1hhc4469w
Spain, location.location.partiallycontains, m.0wkxjl9
Spain, location.country.second_level_divisions, Province of Guadalajara
Extremadura, location.location.containedby, Spain
Flag of Vila Real, common.image.appears_in_topic_gallery, Vila Real
Spain, location.location.partiallycontains, m.0wg90_0
Spain, sports.sports_team_location.teams, Real Madrid Baloncesto
Barcelona, base.biblioness.bibs_location.country, Spain
Spain, location.country.administrative_divisions, Province of Ciudad Real
Spain, location.country.internet_tld, cat
Spain, location.country.administrative_divisions, Province of Barcelona
Vila Real, common.topic.notable_for, g.1257psnn3
Limia, geography.river.basin_countries, Portugal
Spain, location.country.administrative_divisions, Cuenca Minera
Santiago, location.administrative_division.country, Spain
Province of León, location.administrative_division.country, Spain
Boticas, location.location.containedby, Vila Real District
Spain, location.statistical_region.net_migration, g.1q5k274gn
Spain, location.location.partially_contains, Guadiana
Spain, location.location.partially_contained_by, m.0wg9fvt
Spain, location.country.first_level_divisions, Asturias
Cuenca Minera, location.administrative_division.country, Spain
Vila Real, common.topic.image, Flag of Vila Real
Spain, location.country.second_level_divisions, Province of Almería
Luís Vaz Pereira Pinto Guedes, people.person.place_of_birth, Vila Real
Basque Country, location.location.contains, Gipuzkoa
Valencian Community, location.administrative_division.country, Spain
Sabrosa, location.location.containedby, Vila Real District
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.11b71qgk2l
Spain, location.country.administrative_divisions, Andalusia
Spain, location.statistical_region.gender_balance_members_of_parliament, g.1hhc4wphw
Vila Real, location.location.people_born_here, Tiago Rodrigues
Spain, location.country.second_level_divisions, Province of Cádiz
Vila Real, location.location.people_born_here, Luisa Dacosta
Galicia, base.biblioness.bibs_location.country, Spain
m.03z95_p, location.location.adjoin_s, Portugal
Spain, location.country.second_level_divisions, Province of Toledo
Suances, location.administrative_division.country, Spain
Spain, location.country.first_level_divisions, Peñón de Alhucemas
Aragon, location.administrative_division.country, Spain
Pico Carris, location.location.partially_contains, Portugal
Vila Real District, location.location.contains, Boticas
Spain, location.country.first_level_divisions, Aragon
Extremadura, location.administrative_division.country, Spain
Spain, location.location.partiallycontains, m.0wg910k
Spain, location.country.administrative_divisions, Álava
Vila Real, location.country.administrative_divisions, Portugal
Spain, location.country.second_level_divisions, Province of Huesca
Portugal, location.country.second_level_divisions, Vila Real District
Spain, location.location.partiallycontains, m.0wg90zw
Spain, location.country.languages_spoken, Catalan language
Spain, location.country.second_level_divisions, Biscay
Vila Flor, location.location.containedby, Douro
Castile and León, location.location.containedby, Spain
Begoña, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Province of Soria
Spain, location.country.first_level_divisions, Valencian Community
Spain, location.location.partially_contains, Águeda
Balearic Islands, location.administrative_division.country, Spain
Spain, location.location.partially_contains, Tâmega
Spain, location.country.second_level_divisions, Balearic Islands
Spain, location.location.partially_contains, Pyrenees
Spain, location.country.second_level_divisions, Province of Castellón
Spain, location.country.first_level_divisions, Extremadura
Spain, location.country.second_level_divisions, Asturias
Spain, location.location.partiallycontains, m.0wg90y3
Spain, location.location.partially_contains, Pic Schrader
Province of Badajoz, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Navarre
Spain, location.country.second_level_divisions, Cantabria
Spain, location.country.administrative_divisions, Basque Country
Spain, location.country.administrative_divisions, Biscay
Province of Huelva, location.administrative_division.country, Spain
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc3gq48
Spain, location.location.partially_contained_by, m.0wg9g88
Spain, location.country.administrative_divisions, Province of Alicante
Flag of Vila Real, common.image.size, m.04p95k5
Spain, location.location.partially_contained_by, m.0wg921f
Spain, location.location.partially_contains, Puigpedrós
m.0r5vdhh, location.administrative_division_capital_relationship.administrative_division, Vila Real District
Vila Real District, location.administrative_division.second_level_division_of, Portugal
Spain, location.location.geolocation, m.046vxlt
Basque Country, location.administrative_division.first_level_division_of, Spain
Spain, location.location.partially_contains, Pica d'Estats
Asturias, location.location.containedby, Spain
Spain, location.country.official_language, Spanish Language
Location of Spain, common.image.size, m.03t4500
Spain, location.country.first_level_divisions, Canary Islands
Spain, location.country.first_level_divisions, Community of Madrid
Spain, biology.animal_breed.place_of_origin, Estrela Mountain Dog
Southern Europe, location.location.partially_containedby, Portugal
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc4sh90
Spain, location.location.contains_major_portion_of, Iberian Peninsula
Spain, base.aareas.schema.administrative_area.administrative_parent, Earth
Spain, location.country.administrative_divisions, Province of Jaén
Spain, location.country.second_level_divisions, Province of Pontevedra
Spain, location.country.administrative_divisions, Province of Soria
Province of Seville, location.administrative_division.country, Spain
Province of Ciudad Real, common.topic.notable_types, Spanish province
Águeda, location.location.partially_containedby, Portugal
Spain, location.location.partiallycontains, m.0wkj7mj
Spain, location.country.second_level_divisions, Province of Burgos
Spain, location.location.containedby, Europe
Portugal, location.country.administrative_divisions, Vila Real
Spain, location.location.partially_containedby, Iberian Peninsula
Douro, location.location.contains, Vila Real
Basque Country, location.location.contains, Biscay
Spain, location.country.second_level_divisions, Province of Alicante
Province of Ourense, location.administrative_division.country, Spain
Spain, location.location.partially_contains, Balaïtous
m.0r5vdhh, location.administrative_division_capital_relationship.capital, Vila Real
Spain, location.country.languages_spoken, Occitan language
Spain, location.location.partially_contained_by, m.0wg9g8l
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc3g2y4
Province of Palencia, location.administrative_division.country, Spain
Spain, olympics.olympic_participating_country.olympics_participated_in, 2008 Summer Olympics
Spain, location.country.languages_spoken, Basque Language
Spain, location.country.first_level_divisions, Balearic Islands
Vila Real District, location.location.adjoin_s, m.04h_z0f
Euro, finance.currency.countries_used, Portugal
Spain, location.country.second_level_divisions, Province of Lleida
Spain, location.country.second_level_divisions, Gipuzkoa
Spain, location.country.second_level_divisions, Province of Girona
Spain, location.country.administrative_divisions, Province of Palencia
Spain, location.location.time_zones, Western European Time Zone
m.03lcm6n, common.webpage.topic, Vila Real
Western Europe, location.location.primarily_containedby, Portugal
World Trade Organization, organization.organization_founder.organizations_founded, Portugal
Spain, location.country.first_level_divisions, Melilla
Spain, location.country.second_level_divisions, Province of Las Palmas
Serranía de Ronda, location.administrative_division.country, Spain
Tâmega, location.location.partially_containedby, Portugal
Cantabria, location.administrative_division.country, Spain
Province of Córdoba, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Castellón
Province of Pontevedra, location.administrative_division.country, Spain
Diogo Cão, people.person.place_of_birth, Vila Real
Spain, location.location.partiallycontains, m.0wg90zd
Spain, location.country.administrative_divisions, Province of Las Palmas
Spain, location.country.administrative_divisions, Province of León
Spain, location.country.administrative_divisions, Galicia
Vila Real, common.topic.image, Coat of arms of Vila Real
Spain, location.location.adjoin_s, m.03w5dqt
Spain, location.location.adjoin_s, m.0z22q_t
Vila Real District, common.topic.notable_types, Administrative Division
Spain, location.country.first_level_divisions, Castilla-La Mancha
Vila Real, location.location.containedby, Douro
Spain, base.aareas.schema.administrative_area.administrative_children, Basque Country
Spain, location.country.administrative_divisions, Community of Madrid
Spain, location.country.internet_tld, eu
Spain, location.country.second_level_divisions, Province of Badajoz
Spain, location.country.administrative_divisions, Suances
Tagus, location.location.partially_contains, Portugal
Province of Alicante, location.location.containedby, Spain
Province of Albacete, location.administrative_division.country, Spain
Spain, location.location.partially_containedby, Minho
Spain, location.location.containedby, Western Europe
Province of Tarragona, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Toledo
Spain, location.country.administrative_divisions, Las Vegas
Spain, location.country.administrative_divisions, Ruiloba
Spain, location.statistical_region.net_migration, g.1q5jlcr3k
Portugal, base.aareas.schema.administrative_area.administrative_children, Vila Real District
Province of Lugo, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of A Coruña
Spain, location.location.partiallycontains, m.0wg90z1
Province of Cádiz, location.administrative_division.country, Spain
Spain, olympics.olympic_games.participating_countries, 2010 Winter Olympics
Vila Real, common.topic.webpage, m.03lcm6n
Spain, location.country.form_of_government, Monarchy
Spain, location.location.partially_containedby, Mediterranean Sea
Spain, location.country.administrative_divisions, Province of Tarragona
Spain, location.country.first_level_divisions, Basque Country
Region of Murcia, location.administrative_division.country, Spain
Province of A Coruña, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Lugo
San Antolín, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Balearic Islands
Spain, location.country.administrative_divisions, Province of Seville
Vila Nova de Foz Côa, location.location.containedby, Douro
Spain, location.location.partially_contains, Vignemale
Spain, location.country.second_level_divisions, Province of Jaén
Spain, location.country.administrative_divisions, Province of Salamanca
Spain, location.statistical_region.gender_balance_members_of_parliament, g.1hhc3hbm0
Spain, location.country.second_level_divisions, La Rioja
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc3msk9
Spain, location.country.administrative_divisions, Gipuzkoa
Spain, location.country.second_level_divisions, Province of Albacete
Spain, location.statistical_region.net_migration, g.1s065jf_z
La Rioja, location.administrative_division.country, Spain
Spain, geography.river.basin_countries, Guadiana
Spain, location.country.first_level_divisions, Peñón de Vélez de la Gomera
Spain, location.country.second_level_divisions, Province of Seville
Spain, base.locations.continents.countries_within, Europe
Spain, location.location.partiallycontains, m.0wg90yr
Basque Country, location.administrative_division.country, Spain
Spain, location.adjoining_relationship.adjoins, m.03z95_p
Province of Cáceres, location.administrative_division.country, Spain
Iberian Peninsula, location.location.partially_contains, Spain
Spain, location.location.partially_contains, Limia
Location of Spain, common.image.appears_in_topic_gallery, Spain
Western European Time Zone, location.location.time_zones, Portugal
Spain, location.country.administrative_divisions, Santiago
Province of Ciudad Real, location.location.containedby, Spain
Spain, location.location.partially_containedby, Tâmega
Spain, location.country.administrative_divisions, Province of Valencia
Spain, location.location.partiallycontains, m.0wg90yf
Vila Real District, location.location.contains, Vila Real
Spain, location.location.partially_contains, Caia
Province of Ciudad Real, location.location.containedby, Castilla-La Mancha
Vila Real, common.topic.article, m.01qwyp
Atlantic Ocean, location.location.partially_containedby, Portugal
Spain, location.location.adjoin_s, m.03q9tk0
Basque Country, location.location.containedby, Spain
Province of Soria, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Province of Córdoba
Spain, location.country.second_level_divisions, Province of Málaga
Spain, location.country.first_level_divisions, Region of Murcia
Spain, location.location.partially_contains, Perdiguero
Spain, location.country.administrative_divisions, Begoña
Vila Real District, common.topic.notable_for, g.125fl6tgt
Barcelona, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Province of Palencia
Spain, location.location.partially_containedby, Caia
Spain, location.statistical_region.net_migration, g.1q5jfl0w4
Spain, location.location.partiallycontains, m.0wg90_q
Castilla-La Mancha, location.location.contains, Province of Ciudad Real
Earth, base.aareas.schema.administrative_area.administrative_parent, Portugal
Iberian Peninsula, location.location.contains, Vila Real District
Spain, location.country.administrative_divisions, San Antolín
Province of Almería, location.administrative_division.country, Spain
Douro, location.location.contains, Vila Flor
Spain, location.location.partiallycontains, m.0wg90_5
Spain, location.location.partiallycontains, m.0wg90y8
Spain, location.country.form_of_government, Constitutional monarchy
Community of Madrid, location.administrative_division.country, Spain
Iberian Peninsula, location.location.partially_containedby, Portugal
Spain, location.country.administrative_divisions, Catalonia
1952 Summer Olympics, olympics.olympic_games.participating_countries, Portugal
Spain, location.country.national_anthem, m.03z95_9
Spain, location.country.second_level_divisions, Álava
Spain, location.country.administrative_divisions, La Jara
Vila Real, location.location.people_born_here, Luís Vaz Pereira Pinto Guedes
Spain, location.statistical_region.net_migration, g.1q5jsykxg
Vila Real District, location.location.geolocation, m.0wmx094
Castilla-La Mancha, location.administrative_division.country, Spain
Guadiana, location.location.partially_contains, Portugal
Spain, location.location.partially_contains, g.122p30g8
Real Madrid Baloncesto, sports.sports_team.location, Spain
Vila Real, location.location.people_born_here, Jaime Miguel Linares
Vila Real, location.administrative_division.country, Portugal
Spain, location.location.partiallycontains, m.0wg910q
Spain, location.country.administrative_divisions, Ceuta
Spain, location.country.first_level_divisions, Castile and León
Spain, location.location.partially_containedby, Southern Europe
Spain, location.country.second_level_divisions, Province of Zamora
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Spain, location.country.internet_tld, es
Vila Real District, location.location.contains, Sabrosa
Biscay, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Barcelona
Spain, location.country.second_level_divisions, Province of Tarragona
Spain, location.location.partially_contains, Batoua SW
Bunnik Tours, travel.tour_operator.travel_destinations, Portugal
Spain, location.country.first_level_divisions, Ceuta
Province of Ciudad Real, location.administrative_division.country, Spain
Spain, location.location.adjoin_s, m.03z9605
Spain, location.country.administrative_divisions, Province of Santa Cruz de Tenerife
Province of Huesca, location.administrative_division.country, Spain
Spain, location.location.adjoin_s, m.0h28xql
Spain, geography.river.basin_countries, Douro
Spain, location.country.administrative_divisions, Province of Albacete
Spain, location.country.administrative_divisions, Province of Málaga
Spain, location.country.administrative_divisions, Aragon
Spain, location.location.partiallycontains, m.0wg90_w
La Jara, location.administrative_division.country, Spain
Spain, location.location.partiallycontains, m.0wg90z7
Spain, location.country.second_level_divisions, Province of Valladolid
Spain, location.country.first_level_divisions, Catalonia
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Portugal
Basque Country, location.location.contains, Álava
Spain, location.country.administrative_divisions, Province of Lleida
Spain, location.country.second_level_divisions, Province of Salamanca
Spain, location.country.second_level_divisions, Province of Ciudad Real
Vila Real District, location.location.contains, Jou
Spain, location.country.administrative_divisions, Province of Ávila
Jou, location.location.containedby, Vila Real District
Catalonia, location.location.containedby, Spain
Spain, location.country.form_of_government, Parliamentary system
Spain, location.location.adjoin_s, m.043w88_
Spain, location.country.languages_spoken, Galician Language
Spain, location.country.administrative_divisions, Province of Cáceres
Spanish autonomous city, base.aareas.schema.administrative_area_type.iso_country, Spain
Spain, location.country.second_level_divisions, Zaragoza
Ruiloba, location.administrative_division.country, Spain
Spain, location.statistical_region.net_migration, g.1s067zrh5
Spain, location.location.partially_containedby, Pico Carris
Spain, travel.tour_operator.travel_destinations, Bunnik Tours
Spain, location.location.partially_contains, Pico Carris
Vila Real District, location.location.contains, g.11h1tb1kg
La Venta, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Castile and León
Spain, location.country.administrative_divisions, Province of Granada
Spain, location.country.administrative_divisions, Melilla
Spain, location.statistical_region.net_migration, g.1s063c6kv
Province of Las Palmas, location.administrative_division.country, Spain
Iberian Peninsula, location.location.contains, Basque Country
Spain, geography.river.basin_countries, Águeda
Spain, finance.currency.countries_used, Euro
Spain, location.country.second_level_divisions, Province of Huelva
Western Europe, location.location.contains, Spain
Spain, location.location.partially_contains, Roca Entravessada
Spain, location.country.first_level_divisions, Cantabria
Spain, location.country.first_level_divisions, Galicia
Spain, location.location.partiallycontains, m.0wjpnvt
Vila Real District, location.location.containedby, Portugal
Spain, location.location.partiallycontains, m.0wjpnx3
Spain, location.location.partially_contains, Tagus
Spain, location.location.partiallycontains, m.0wkyk6f
g.122p30g8, location.location.partially_contains, Portugal
Ceuta, location.administrative_division.country, Spain
Basque Country, location.location.containedby, Iberian Peninsula
Catalonia, base.biblioness.bibs_location.country, Spain
Spain, location.country.administrative_divisions, La Venta
Jaime Miguel Linares, people.person.place_of_birth, Vila Real
Spain, organization.organization.founders, World Trade Organization
Parliamentary system, government.form_of_government.countries, Portugal
Montalegre, location.location.containedby, Vila Real District
Vila Real District, base.aareas.schema.administrative_area.administrative_parent, Portugal
2014 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Spain, olympics.olympic_participating_country.olympics_participated_in, 1952 Summer Olympics
Basque Country, base.aareas.schema.administrative_area.administrative_parent, Spain
Province of Teruel, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Cádiz
Spain, location.country.administrative_divisions, Valencian Community
Spain, location.country.form_of_government, Unitary state
Catalonia, location.administrative_division.country, Spain
Spain, location.location.partially_contains, Limia
Spain, location.country.administrative_divisions, Province of Cuenca
Spain, location.country.administrative_divisions, Province of Burgos
Melilla, location.administrative_division.country, Spain
Europe, location.location.contains_major_portion_of, Portugal
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc4j5bj
m.0hm_86z, location.mailing_address.citytown, Vila Real
Vila Real, location.location.contains, University of Trás-os-Montes and Alto Douro
Spain, location.statistical_region.gender_balance_members_of_parliament, g.1hhc469m8
Spain, location.country.currency_formerly_used, Peseta
Andalusia, location.location.containedby, Spain
Spain, location.location.partiallycontains, m.0wg90zk
Spain, location.country.administrative_divisions, Province of Huelva
Caia, location.location.partially_contains, Portugal
Spain, location.country.second_level_divisions, Province of Teruel
Spain, location.location.partiallycontains, m.0wg90xt
Galicia, location.administrative_division.country, Spain
Spain, location.location.contains, Western Europe
Vila Real District, location.administrative_division.capital, m.0r5vdhh
Coat of arms of Vila Real, common.image.size, m.0292yzm
Spain, location.location.partially_containedby, North Africa
Spain, location.location.partiallycontains, m.0wg90zq
Spain, location.country.form_of_government, Unitary state
Minho, location.location.partially_contains, Portugal
Spain, location.location.partially_containedby, Southern Europe
Province of Barcelona, base.biblioness.bibs_location.country, Spain
Vila Real, location.location.containedby, Vila Real District
Vila Pouca de Aguiar, location.location.containedby, Portugal
Province of Granada, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Ourense
Province of Salamanca, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Community of Madrid
Spain, location.country.second_level_divisions, Province of Valencia
Province of Ciudad Real, location.administrative_division.second_level_division_of, Spain
Spain, common.topic.notable_types, Country
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc45qd2
Province of Ávila, location.administrative_division.country, Spain
Estrela Mountain Dog, biology.animal_breed.place_of_origin, Portugal
Southern Europe, location.location.partially_contains, Spain
Spain, location.country.administrative_divisions, Province of Pontevedra
Spain, location.location.adjoin_s, m.0z22rjw
Province of Ciudad Real, base.aareas.schema.administrative_area.administrative_area_type, Spanish province
Spain, location.country.second_level_divisions, Province of Ávila
Spain, location.country.second_level_divisions, Province of León
Spain, location.country.administrative_divisions, Province of Segovia
Spain, location.country.administrative_divisions, Province of Huesca
Spain, location.location.partiallycontains, m.0wg9117
Spain, location.location.partiallycontains, m.0wzky6w
Spain, location.country.second_level_divisions, Region of Murcia
Spain, location.country.administrative_divisions, La Rioja
Spain, location.country.administrative_divisions, Province of Guadalajara
Spain, location.location.partially_contained_by, m.0wg97vq
Spain, location.country.administrative_divisions, Province of Teruel
Spain, location.location.partially_contains, Puigmal
Spain, location.country.administrative_divisions, Region of Murcia
Province of Valladolid, location.administrative_division.country, Spain
Álava, location.administrative_division.country, Spain
Vila Real District, location.location.contains, g.11h1tbpxf
Unitary state, location.country.form_of_government, Portugal
Spain, location.location.partially_containedby, Atlantic Ocean
Andalusia, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Almería
Gipuzkoa, location.administrative_division.country, Spain
Vila Real District, common.topic.article, m.05xmmx
Vila Real District, base.aareas.schema.administrative_area.administrative_area_type, Portuguese district
Vila Real, location.capital_of_administrative_division.capital_of, m.0r5vdhh
Province of Alicante, location.administrative_division.country, Spain
Tiago Rodrigues, people.person.place_of_birth, Vila Real
Spain, location.statistical_region.foreign_direct_investment_net_inflows, g.1hhc3vh93
Spain, location.location.partiallycontains, m.0wg90yl
Canary Islands, location.administrative_division.country, Spain
Douro, geography.river.basin_countries, Portugal
Spain, location.country.second_level_divisions, Province of Barcelona
Province of Málaga, location.administrative_division.country, Spain
Spain, location.location.adjoin_s, m.03z95_p
Navarre, location.administrative_division.country, Spain
Vila Real, common.topic.notable_types, City/Town/Village
2010 Winter Olympics, olympics.olympic_games.participating_countries, Portugal
Vila Real District, location.location.containedby, Iberian Peninsula
Spain, location.country.form_of_government, Parliamentary system
Spain, location.location.partiallycontains, m.0wg910d
Spain, location.country.administrative_divisions, Canary Islands
Spain, base.aareas.schema.administrative_area.administrative_area_type, Sovereign state
Spain, location.country.administrative_divisions, Province of Zamora
Spain, location.country.second_level_divisions, Province of A Coruña
Spain, location.country.second_level_divisions, Province of Ourense
Spain, location.country.administrative_divisions, Asturias
Spain, location.country.administrative_divisions, Castilla-La Mancha
Vila Real, location.location.people_born_here, Diogo Cão
Spain, location.location.partially_contains, Segre
Spain, location.country.administrative_divisions, Cantabria
Spain, location.location.partially_contains, Minho
Spain, location.country.administrative_divisions, Extremadura
Vila Real District, location.location.contains, Montalegre
Coat of arms of Vila Real, common.image.appears_in_topic_gallery, Vila Real
University of Trás-os-Montes and Alto Douro, location.location.containedby, Vila Real
Mondim de Basto, location.location.containedby, Vila Real District
Province of Girona, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, Province of Granada
Spain, location.country.administrative_divisions, Province of Girona
Spain, location.location.partially_contains, g.122p30g8
Madrid, base.biblioness.bibs_location.country, Spain
Spain, location.country.administrative_divisions, Serranía de Ronda
m.04h_z0f, location.adjoining_relationship.adjoins, Vila Real District
Spain, location.country.first_level_divisions, Andalusia
Vila Nova de Foz Côa, location.location.containedby, Portugal
Spain, location.location.primarily_containedby, Iberian Peninsula
Spain, location.country.first_level_divisions, La Rioja
Spain, location.country.administrative_divisions, Navarre
Province of Castellón, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Valladolid
Country, common.topic.notable_types, Portugal
Province of Cuenca, location.administrative_division.country, Spain
Spain, location.location.partially_contains, Tagus
Spain, location.location.partially_contained_by, m.0wg9fph
Vila Real, location.location.containedby, Portugal
Spain, location.location.partially_contains, Gran Valira
Vila Flor, location.location.containedby, Portugal
Spain, location.location.partiallycontains, m.0wg90yx
Spain, location.statistical_region.net_migration, g.1q5k1j13q
Zaragoza, location.administrative_division.country, Spain
Vila Real District, location.location.contains, g.11h1t1qx8
Spain, location.country.administrative_divisions, Zaragoza
Spain, common.topic.image, Location of Spain
Navarre, base.biblioness.bibs_location.country, Spain
Spain, location.country.second_level_divisions, Province of Cuenca
Castile and León, location.administrative_division.country, Spain
Spain, location.country.first_level_divisions, Navarre
Spain, location.country.second_level_divisions, Province of Segovia
Spain, location.statistical_region.net_migration, g.1s067rrp4
Luisa Dacosta, people.person.place_of_birth, Vila Real
Spain, location.country.second_level_divisions, Province of Lugo
Province of Barcelona, location.administrative_division.country, Spain
Vila Real District, location.location.contains, Mondim de Basto
Spain, location.country.capital, Madrid
Spain, location.location.primarily_containedby, Europe
Spain, olympics.olympic_participating_country.olympics_participated_in, 2014 Winter Olympics

Answer: Portugal