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 country that borders Spain is Lisbon the capital of? 
Knowledge Triplets: Spain, location.location.partially_contains, Pico Carris
Spain, location.country.first_level_divisions, Asturias
Spain, location.country.second_level_divisions, Zaragoza
Country, common.topic.notable_types, Portugal
Kingdom of Portugal, location.country.capital, Lisbon
Lisbon, periodicals.newspaper_circulation_area.newspapers, A Bola
Spanish autonomous city, base.aareas.schema.administrative_area_type.iso_country, Spain
Minho, geography.river.basin_countries, Portugal
Lisbon, travel.travel_destination.tourist_attractions, Castle of Almourol
Spain, location.country.administrative_divisions, Province of Toledo
Parliamentary system, government.form_of_government.countries, Portugal
Limia, geography.river.basin_countries, Portugal
Lisbon, film.film_location.featured_in_films, Aqui na Terra
Portugal, location.location.partially_containedby, Iberian Peninsula
Lisbon, location.statistical_region.population, g.1jmcbj0px
Lisbon, location.location.events, 2011 IndieLisboa
Spain, location.country.currency_formerly_used, Peseta
Spain, location.country.administrative_divisions, Province of Lugo
Lisbon District, base.biblioness.bibs_location.country, Portugal
Spain, location.country.second_level_divisions, Province of Segovia
Lisbon, location.location.events, 2003 Queer Lisboa
Lisbon, location.location.events, 2012 MOTELx Film Festival
Spain, location.country.first_level_divisions, Extremadura
Spain, location.country.administrative_divisions, Andalusia
1983 Turkish embassy attack in Lisbon, time.event.locations, Lisbon
Lisbon, location.location.events, 2009 Queer Lisboa
Spain, location.country.administrative_divisions, Province of Salamanca
Spain, location.country.administrative_divisions, Province of Albacete
Spain, location.country.administrative_divisions, Province of Santa Cruz de Tenerife
Zaragoza, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Catalonia
Lisbon, travel.travel_destination.tourist_attractions, Mafra National Palace
Lisbon, location.location.events, 2013 IndieLisboa
Lisbon, location.location.events, 2004 DocLisboa Film Festival
Lisbon, travel.travel_destination.tourist_attractions, National Coach Museum
Spain, location.country.first_level_divisions, Catalonia
Spain, location.country.administrative_divisions, Aragon
Spain, location.country.first_level_divisions, La Rioja
Spain, location.country.second_level_divisions, Province of Ciudad Real
Lisbon, location.location.events, 2014 DocLisboa Film Festival
Spain, location.country.administrative_divisions, Province of Girona
2013 CineFiesta, time.event.locations, Lisbon
Spain, location.country.second_level_divisions, Province of Ávila
Spain, location.country.administrative_divisions, Melilla
Spain, common.topic.notable_types, Country
Spain, location.country.administrative_divisions, Álava
Lisbon, location.location.events, 2009 Indielisboa
Spain, common.topic.webpage, m.09wkgx5
Spain, location.country.administrative_divisions, Castilla-La Mancha
Lisbon, location.location.events, Blockade of the Tagus, 1808
Lisbon, common.topic.webpage, m.09w2zcz
Lisbon, travel.travel_destination.tourist_attractions, Berardo Collection Museum
Spain, location.country.second_level_divisions, Province of León
Portugal, base.aareas.schema.administrative_area.administrative_children, Lisbon District
Spain, location.country.second_level_divisions, Province of Badajoz
Lisbon, location.location.events, 2006 IndieLisboa
Spain, location.country.second_level_divisions, Province of Toledo
Grande Lisboa, location.location.contains, Lisbon
Lisbon, location.location.events, 2014 Arquiteturas Film Festival
Spain, location.country.second_level_divisions, Province of Burgos
Portugal, location.country.capital, Lisbon
Lisbon, location.location.events, 2007 IndieLisboa
Spain, location.country.second_level_divisions, Province of Valladolid
Spain, base.aareas.schema.administrative_area.administrative_parent, Earth
Spain, location.country.national_anthem, m.03z95_9
Guadiana, location.location.partially_contains, Portugal
Spain, location.country.second_level_divisions, Province of Málaga
m.07t43w6, government.government_position_held.jurisdiction_of_office, Lisbon
English Armada, time.event.locations, Lisbon
Lisbon, common.topic.image, Padrao Descobrimentos - Photo ICEP
Spain, location.country.second_level_divisions, Province of Seville
Spain, location.country.administrative_divisions, Province of Málaga
Spain, location.country.administrative_divisions, Biscay
Lisbon, location.location.time_zones, Greenwich Mean Time Zone
Spain, location.country.second_level_divisions, Province of Almería
Lisbon, common.topic.notable_for, g.125bn84zj
Lisbon, travel.travel_destination.tourist_attractions, Árpád Szenes-Vieira da Silva Fundation
Lisbon, location.location.events, Municipal Library Elevator Coup
Basque Country, location.administrative_division.first_level_division_of, Spain
Unitary state, government.form_of_government.countries, Portugal
Spain, location.location.partially_containedby, Águeda
Spain, base.locations.continents.countries_within, Europe
Extremadura, location.administrative_division.country, Spain
Lisbon, base.aubreymaturin.place.mentions, m.04ln5h4
Lisbon, location.location.nearby_airports, Lisbon Portela Airport
Mafra National Palace, travel.tourist_attraction.near_travel_destination, Lisbon
Lisbon, periodicals.newspaper_circulation_area.newspapers, A Capital
Catalonia, base.biblioness.bibs_location.country, Spain
Spain, location.location.adjoin_s, m.03z95_p
Lisbon, sports.sports_team_location.teams, Sporting Club of Portugal
Lisbon, travel.travel_destination.tourist_attractions, Lisbon Oceanarium
Lisbon, location.location.events, 2013 Queer Lisboa
Lisbon, common.topic.notable_types, City/Town/Village
Spain, common.topic.webpage, m.09ym47f
Lisbon, location.location.events, 2013 DocLisboa Film Festival
Spain, location.country.second_level_divisions, Asturias
Lisbon, location.location.events, 2001 Queer Lisboa
m.0652yjv, location.adjoining_relationship.adjoins, Lisbon
Lisbon, location.location.events, 2007 DocLisboa Film Festival
Oeiras, Portugal, location.location.containedby, Lisbon District
Arena, film.film.country, Portugal
Spain, location.country.administrative_divisions, Province of Almería
Lisbon, location.location.events, 2013 Festa do Cinema Italiano
Lisbon, periodicals.newspaper_circulation_area.newspapers, Avante!
Spain, location.country.first_level_divisions, Castile and León
m.03z95_p, location.location.adjoin_s, Portugal
Spain, location.location.contains, Western Europe
Spain, location.location.partially_contains, Tagus
Spain, common.topic.webpage, m.09x0hjr
Spain, location.country.second_level_divisions, Province of Alicante
Lisbon, location.location.events, 2014 IndieLisboa
Lisbon, location.location.events, 2000 Queer Lisboa
Lisbon, common.topic.webpage, m.09w2r2b
Lisbon, common.topic.webpage, m.0dfgfwc
Siege of Lisbon, base.culturalevent.event.entity_involved, Kingdom of Portugal
Atlantic Ocean, location.location.partially_containedby, Portugal
Portugal, base.locations.countries.continent, Europe
Spain, location.country.second_level_divisions, Álava
Lisbon, location.location.events, 2013\tFesta do Cinema Frances
Barcelona, location.administrative_division.country, Spain
Iberian Peninsula, location.location.contains, Lisbon District
Spain, location.country.first_level_divisions, Peñón de Alhucemas
Lisbon District, location.location.containedby, Portugal
1952 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Lisbon District, location.administrative_division.capital, m.0r5vdj7
Spain, location.country.second_level_divisions, Province of Cádiz
Spain, location.location.partially_contains, Tâmega
Spain, common.topic.webpage, m.09y4hr_
World Trade Organization, organization.organization_founder.organizations_founded, Portugal
Lisbon, location.location.events, Treaty of 14 July, 1831
Lisbon, location.location.events, Action of 11 November 1779
Spain, government.form_of_government.countries, Parliamentary system
Spain, location.country.administrative_divisions, Province of Alicante
Lisbon, travel.travel_destination.tourist_attractions, Museu Calouste Gulbenkian
Spain, location.country.administrative_divisions, Extremadura
Spain, common.topic.webpage, m.09x4wj7
Spain, location.country.administrative_divisions, Barcelona
Spain, location.country.administrative_divisions, Province of León
Lisbon, location.location.events, 2010 Queer Lisboa
Spain, location.country.second_level_divisions, Province of Lleida
m.0dfgfwc, common.webpage.topic, Lisbon
Spain, location.country.second_level_divisions, Province of Pontevedra
Lisbon, location.statistical_region.population, g.1jmcbhfjb
Lisbon, location.location.events, 2005 DocLisboa Film Festival
Basque Country, location.location.containedby, Spain
Lisbon, location.location.events, 2010 Indielisboa
Kingdom of Portugal, location.country.capital, Coimbra
Lisbon, location.statistical_region.population, g.11btt5bz20
Lisbon, travel.travel_destination.tourist_attractions, Seteais Palace
Signing of the Treaty of Lisbon, common.topic.article, m.09g9dxy
Spain, location.country.administrative_divisions, Navarre
Spain, location.country.administrative_divisions, Gipuzkoa
Lisbon, location.location.events, 2008 Queer Lisboa
Lisbon, location.location.events, 2012 DocLisboa Film Festival
m.07n929d, government.government_position_held.jurisdiction_of_office, Lisbon
Europe, location.location.contains_major_portion_of, Portugal
Spain, common.topic.webpage, m.09yggjx
Spain, location.country.administrative_divisions, Province of Huelva
Lisbon, location.statistical_region.population, g.1jmcbf92n
Lisbon, location.location.events, 2013 CineFiesta
Lisbon, location.location.events, 2005 IndieLisboa
Spain, location.country.administrative_divisions, Castile and León
Province of Ciudad Real, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of A Coruña
Lisbon, location.location.adjoin_s, m.0652yjp
Lisbon, location.location.events, 1997 Queer Lisboa
Tagus, location.location.partially_containedby, Portugal
Spain, location.location.partially_containedby, Caia
Spain, olympics.olympic_participating_country.olympics_participated_in, 1952 Summer Olympics
Spain, location.country.administrative_divisions, Province of Lleida
Spain, common.topic.image, Location of Spain
Spain, location.country.first_level_divisions, Peñón de Vélez de la Gomera
Lisbon, location.statistical_region.religions, m.0652ynp
Lisbon, location.statistical_region.population, g.1jmcbdzmg
Spain, location.country.second_level_divisions, Province of Albacete
Lisbon, travel.travel_destination.tourist_attractions, Lisbon Zoo
m.03z95_9, government.national_anthem_of_a_country.country, Spain
Spain, location.country.administrative_divisions, Province of Palencia
Lisbon, location.location.events, French battleship Suffren
Lisbon, location.location.events, 2012 CineFiesta
Lisbon, location.location.events, 2007 Queer Lisboa
Spain, location.location.partially_containedby, Minho
Spain, location.country.second_level_divisions, Cantabria
Spain, location.country.administrative_divisions, Province of Valencia
Lisbon, travel.travel_destination.tourist_attractions, Belém Tower
Spain, common.topic.webpage, m.09ygs93
Portugal, location.country.administrative_divisions, Coimbra
Electricity Museum, travel.tourist_attraction.near_travel_destination, Lisbon
Lisbon, government.governmental_jurisdiction.governing_officials, m.07n929d
Euro, finance.currency.countries_used, Portugal
Lisbon, location.location.geolocation, m.02_hkfb
Siege of Lisbon, base.culturalevent.event.entity_involved, Fernando Sánchez de Tovar
m.09w2zcz, common.webpage.topic, Lisbon
Lisbon, location.statistical_region.population, g.1jmcbhr03
Spain, location.country.administrative_divisions, Santiago
Treaty of 14 July, 1831, time.event.locations, Lisbon
Lisbon, location.location.adjoin_s, m.0652ykr
Spain, organization.organization.founders, World Trade Organization
Earth, base.aareas.schema.administrative_area.administrative_parent, Portugal
Crown of Castile, location.country.capital, Madrid
Lisbon, symbols.name_source.namesakes, Lisbon Falls
Spain, common.topic.webpage, m.09ypy5w
Spain, common.topic.webpage, m.09y2ysq
Mafra, Portugal, location.location.containedby, Lisbon District
Spain, location.country.administrative_divisions, La Rioja
Lisbon, base.biblioness.bibs_location.country, Portugal
Spain, location.country.second_level_divisions, Biscay
Queluz National Palace, travel.tourist_attraction.near_travel_destination, Lisbon
Lisbon, location.location.events, 2014 MOTELx Film Festival
Lisbon, travel.travel_destination.tourist_attractions, Carmo Convent
Portugal, location.country.administrative_divisions, Lisbon District
Lisbon, travel.travel_destination.tourist_attractions, Queluz National Palace
Spain, location.country.administrative_divisions, San Antolín
Lisbon, location.location.events, Singeing the King of Spain's Beard
Spain, location.country.capital, Madrid
Spain, location.country.administrative_divisions, La Jara
m.09w7w45, common.webpage.topic, Lisbon
Siege of Lisbon, time.event.locations, Lisbon
Spain, common.topic.webpage, m.09yr599
Action of 20 November 1779, time.event.locations, Lisbon
Lisbon District, location.location.containedby, Iberian Peninsula
Lisbon, location.location.events, 2014 Queer Lisboa
m.09w2r2b, common.webpage.topic, Lisbon
Lisbon District, location.administrative_division.country, Portugal
Spain, location.country.administrative_divisions, Province of Segovia
m.0652yjj, location.adjoining_relationship.adjoins, Lisbon
Spanish place of sovereignty, base.aareas.schema.administrative_area_type.iso_country, Spain
Lisbon, location.location.events, Naval Battle of the Tejo
Spain, location.country.administrative_divisions, Province of Teruel
Spain, location.country.administrative_divisions, Province of Cáceres
Spain, common.topic.webpage, m.0b6rps3
Spain, location.location.partially_containedby, Limia
Expo '98, time.event.locations, Lisbon
Western European Time Zone, location.location.time_zones, Portugal
Lisbon, location.location.events, 2011 MOTELx Film Festival
Spain, location.country.second_level_divisions, Community of Madrid
Lisbon, location.location.events, 2006 Queer Lisboa
Spain, location.country.second_level_divisions, Province of Ourense
Lisbon, travel.travel_destination.tourist_attractions, Electricity Museum
Kingdom of Portugal, location.location.containedby, Iberian Peninsula
Spain, location.country.first_level_divisions, Ceuta
Andalusia, location.administrative_division.country, Spain
Sporting Club of Portugal, sports.sports_team.location, Lisbon
Signing of the Treaty of Lisbon, time.event.locations, Lisbon
Lisbon, base.aubreymaturin.place.mentions, m.04ln5k1
Spain, location.country.administrative_divisions, Province of Pontevedra
The Last Kabbalist of Lisbon, book.written_work.subjects, Lisbon
Lisbon, location.location.events, 2011 Queer Lisboa
Spain, location.country.second_level_divisions, Province of Soria
Portugal, location.country.form_of_government, Unitary state
1983 Turkish embassy attack in Lisbon, common.topic.notable_for, g.1258hl0w5
Spain, location.country.administrative_divisions, Province of Badajoz
Spain, location.country.administrative_divisions, Galicia
Portugal, location.location.primarily_containedby, Europe
Lisbon, film.film_location.featured_in_films, Tabu
Águeda, geography.river.basin_countries, Portugal
2012 CineFiesta, time.event.locations, Lisbon
1983 Turkish embassy attack in Lisbon, base.culturalevent.event.entity_involved, Turkey
The Last Kabbalist of Lisbon, book.written_work.subjects, Portugal
Lisbon, location.location.containedby, Lisbon District
Aqui na Terra, film.film.country, Portugal
Spain, location.country.internet_tld, es
Lisbon, common.topic.image, Vasco da Gama Mall - Photo ICEP
Southern Europe, location.location.partially_containedby, Portugal
Spain, common.topic.webpage, m.0fwm0pg
Spain, biology.animal_breed.place_of_origin, Estrela Mountain Dog
Lisbon, location.location.events, 2004 Queer Lisboa
Lisbon, location.location.containedby, Iberian Peninsula
Lisbon, location.location.containedby, Portugal
Spain, location.country.administrative_divisions, Begoña
Spain, location.country.currency_used, Euro
Lisbon, location.location.events, 2004 IndieLisboa
Estrela Mountain Dog, biology.animal_breed.place_of_origin, Portugal
g.122p30g8, location.location.partially_contains, Portugal
Spain, location.location.partially_containedby, Guadiana
Portugal, location.country.administrative_divisions, Faro
2008 Summer Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Lisbon, common.topic.webpage, m.0b6rw7t
Portugal, location.country.second_level_divisions, Lisbon District
m.0b6rw7t, common.webpage.topic, Lisbon
Suances, location.administrative_division.country, Spain
m.04ln5h4, base.aubreymaturin.place_mention.place, Lisbon
m.04ln5k1, base.aubreymaturin.place_mention.place, Lisbon
Portugal, location.location.primarily_containedby, Western Europe
Basque Country, location.administrative_division.country, Spain
Spain, common.topic.webpage, m.09x8f1v
Spain, location.country.form_of_government, Parliamentary system
Spain, location.country.first_level_divisions, Galicia
Lisbon, travel.travel_destination.tourist_attractions, National Museum of Ancient Art
Lisbon, location.location.containedby, Grande Lisboa
Portugal, location.country.administrative_divisions, Évora
Lisbon, location.location.events, 2011 DocLisboa Film Festival
Spain, location.location.partially_containedby, Southern Europe
Lisbon, location.location.events, 1983 Turkish embassy attack in Lisbon
Spain, location.country.second_level_divisions, Province of Las Palmas
Tâmega, location.location.partially_containedby, Portugal
Lisbon, location.location.events, 1983 Cinemateca Portuguesa
Portugal, book.book_subject.works, The Last Kabbalist of Lisbon
Spain, location.country.administrative_divisions, Ruiloba
A Capital, book.newspaper.circulation_areas, Lisbon
Spain, location.country.official_language, Spanish Language
2013 IndieLisboa, time.event.locations, Lisbon
Spain, location.country.second_level_divisions, Province of Córdoba
Lisbon, location.location.events, 2008 MOTELx Film Festival
Spain, location.country.administrative_divisions, Cuenca Minera
Spain, location.country.administrative_divisions, Province of Ávila
Portugal, location.location.containedby, Western Europe
Spain, common.topic.webpage, m.09x4g8d
Lisbon, government.governmental_jurisdiction.governing_officials, m.07t43w6
Spain, olympics.olympic_participating_country.olympics_participated_in, 2008 Summer Olympics
Spain, location.country.currency_used, Euro
Spain, location.country.form_of_government, Monarchy
Sovereign state, base.aareas.schema.administrative_area.administrative_area_type, Portugal
Spain, location.country.first_level_divisions, Cantabria
Lisbon, location.statistical_region.population, g.1jmcbhfjc
Spain, location.country.form_of_government, Unitary state
Spain, location.country.administrative_divisions, Province of Guadalajara
2010 Winter Olympics, olympics.olympic_games.participating_countries, Portugal
Spain, location.country.administrative_divisions, Zaragoza
Lisbon, location.location.events, Siege of Lisbon
Spain, location.country.administrative_divisions, Province of Las Palmas
Spain, location.country.administrative_divisions, Province of Seville
Spain, location.country.administrative_divisions, Province of Ciudad Real
Spain, location.country.administrative_divisions, Province of Córdoba
Spain, location.country.second_level_divisions, Province of Huesca
Lisbon, location.location.events, 1999 European Road Championships
Spain, location.country.second_level_divisions, Province of Huelva
Aragon, location.administrative_division.country, Spain
Lisbon, location.capital_of_administrative_division.capital_of, m.0r5vdj7
Lisbon Falls, symbols.namesake.named_after, Lisbon
m.0r5vdj7, location.administrative_division_capital_relationship.administrative_division, Lisbon District
Lisbon Portela Airport, location.location.containedby, Portugal
Lisbon, common.topic.webpage, m.09w7w45
Spain, location.country.administrative_divisions, Province of Ourense
Lisbon, location.location.events, 2009 Cinemateca Portuguesa
Lisbon, location.location.events, 2009 MOTELx Film Festival
Lisbon, location.location.events, 1998 Queer Lisboa
Portugal, location.country.form_of_government, Parliamentary system
2014 Winter Olympics, olympics.olympic_participating_country.olympics_participated_in, Portugal
Asturias, location.administrative_division.country, Spain
Portugal, location.location.adjoin_s, m.03z95_p
Lisbon, government.governmental_jurisdiction.governing_officials, m.07t43wd
Spain, common.topic.webpage, m.0j1bzdy
m.03l71d0, common.webpage.topic, Lisbon
Siege of Lisbon, base.culturalevent.event.entity_involved, Crown of Castile
Lisbon, film.film_location.featured_in_films, The Lisboners
m.0652ykr, location.adjoining_relationship.adjoins, Lisbon
Lisbon, location.location.events, Action of 20 November 1779
Lisbon, location.location.events, 2012 IndieLisboa
Spain, common.topic.webpage, m.0b47bft
Spain, location.country.internet_tld, eu
Lisbon Met Office Airport, location.location.containedby, Portugal
Spain, location.country.first_level_divisions, Andalusia
Singeing the King of Spain's Beard, time.event.locations, Lisbon
Spain, location.location.partially_contains, g.122p30g8
Lisbon, location.statistical_region.population, g.1jmcbjmvv
Portugal, location.country.administrative_divisions, Porto
Madrid, base.biblioness.bibs_location.country, Spain
Spain, location.country.form_of_government, Constitutional monarchy
Spain, location.location.contains_major_portion_of, Iberian Peninsula
Spain, location.country.second_level_divisions, Gipuzkoa
Lisbon, location.location.events, 2002 Queer Lisboa
Spain, base.aareas.schema.administrative_area.administrative_area_type, Sovereign state
Lisbon District, location.location.contains, Lisbon
Lisbon, location.location.events, 2012 Queer Lisboa
Spain, location.country.administrative_divisions, Serranía de Ronda
Iberian Peninsula, location.location.contains, Lisbon
Spain, location.country.second_level_divisions, Province of Santa Cruz de Tenerife
Lisbon, location.location.events, 2010 MOTELx Film Festival
Lisbon, location.location.events, 1981 Cinemateca Portuguesa
Spain, common.topic.notable_types, Country
Lisbon, location.location.events, 2010 DocLisboa Film Festival
Lisbon, location.location.events, 2007 MOTELx Film Festival
Lisbon, book.book_subject.works, The Last Kabbalist of Lisbon
Caia, location.location.partially_contains, Portugal
Spain, location.country.administrative_divisions, Canary Islands
Lisbon, base.ontologies.ontology_instance.equivalent_instances, m.09dvp05
Spain, common.topic.webpage, m.0b486m5
Lisbon, location.statistical_region.population, m.0ngbwqz
Lisbon, location.location.events, 2005 Queer Lisboa
Portugal, location.country.currency_used, Euro
Lisbon, location.location.events, Signing of the Treaty of Lisbon
Spain, location.country.first_level_divisions, Aragon
Spain, olympics.olympic_participating_country.olympics_participated_in, 2014 Winter Olympics
Porto, location.administrative_division.country, Portugal
Spain, travel.tour_operator.travel_destinations, Bunnik Tours
Spain, location.country.administrative_divisions, Ceuta
Spain, location.country.administrative_divisions, Community of Madrid
The Lisboners, film.film.country, Portugal
Spain, location.country.administrative_divisions, Province of Soria
Portugal, location.location.partially_containedby, Southern Europe
Lisbon District, location.administrative_division.second_level_division_of, Portugal
Barcelona, base.biblioness.bibs_location.country, Spain
Portugal, location.location.primarily_containedby, Iberian Peninsula
Spain, location.location.partially_containedby, Atlantic Ocean
Lisbon, location.location.events, 2008 DocLisboa Film Festival
m.0652yjp, location.adjoining_relationship.adjoins, Lisbon
Spain, location.country.form_of_government, Unitary state
Spain, location.country.second_level_divisions, Province of Guadalajara
Lisbon, location.statistical_region.population, g.11bcdlbdfm
Catalonia, location.administrative_division.country, Spain
Spain, location.country.administrative_divisions, Province of Burgos
Lisbon District, location.location.contains, Mafra, Portugal
Location of Spain, common.image.appears_in_topic_gallery, Spain
Spain, location.country.administrative_divisions, Province of Valladolid
Spain, geography.river.basin_countries, Douro
Lisbon, location.location.events, 2013 MOTELx Film Festival
Kingdom of Portugal, location.country.form_of_government, Monarchy
Lisbon, common.topic.article, m.04lln
Lisbon, base.biblioness.bibs_location.country, Portugal
Lisbon, location.location.adjoin_s, m.0652yjj
Spain, location.country.administrative_divisions, Suances
Lisbon, location.location.events, 1999 Queer Lisboa
Spain, location.country.administrative_divisions, Province of Jaén
Lisbon District, location.location.contains, Oeiras, Portugal
Spain, location.country.administrative_divisions, Cantabria
Spain, location.country.second_level_divisions, Province of Salamanca
Lisbon, location.location.adjoin_s, m.0652yjv
Lisbon, location.location.events, 2008 Indielisboa
Lisbon, location.location.events, 2013 Judaica: Mostra de Cinema e Cultura
Lisbon, common.topic.image, Coat of arms of Lisboa
Lisbon, location.location.events, Expo '98
Spain, location.country.first_level_divisions, Canary Islands
Kingdom of Portugal, common.topic.notable_types, Country
Spain, location.country.first_level_divisions, Community of Madrid
m.0r5vdj7, location.administrative_division_capital_relationship.capital, Lisbon
Spain, olympics.olympic_games.participating_countries, 2010 Winter Olympics
Community of Madrid, location.administrative_division.country, Spain
Spain, location.country.second_level_divisions, La Rioja
Lisbon, location.location.events, English Armada
Spain, common.topic.webpage, m.09x259h
Lisbon, location.location.events, 2013 Arquiteturas Film Festival
Spain, location.country.administrative_divisions, Asturias
Avante!, book.newspaper.circulation_areas, Lisbon
Spain, location.location.time_zones, Western European Time Zone
Iberian Peninsula, location.location.primarily_containedby, Portugal
Douro, geography.river.basin_countries, Portugal
Lisbon Oceanarium, location.location.containedby, Portugal
Spain, location.country.administrative_divisions, Balearic Islands
Spain, location.country.first_level_divisions, Basque Country
Spain, common.topic.article, m.06mkv
Spain, location.country.second_level_divisions, Province of Valencia
Spain, location.country.second_level_divisions, Province of Barcelona
The Lisboners, film.film.featured_film_locations, Lisbon
Lisbon, location.location.events, 2009 DocLisboa Film Festival
Spain, base.locations.countries.continent, Europe
Pico Carris, location.location.partially_contains, Portugal
Portugal, location.location.containedby, Europe
Lisbon District, location.location.contains, Loures
Lisbon, location.location.events, 2006 DocLisboa Film Festival
Western Europe, location.location.primarily_containedby, Portugal
Lisbon, common.topic.webpage, m.03l71d0
Lisbon, location.statistical_region.population, g.1jmcbjy3y
Lisbon District, base.aareas.schema.administrative_area.administrative_parent, Portugal
Árpád Szenes-Vieira da Silva Fundation, travel.tourist_attraction.near_travel_destination, Lisbon
Spain, location.country.internet_tld, cat
Spain, location.country.administrative_divisions, Province of Cádiz
Spain, location.country.administrative_divisions, La Venta
Lisbon, travel.travel_destination.tourist_attractions, São Jorge Castle
Spain, location.country.second_level_divisions, Province of Palencia
Spain, location.country.administrative_divisions, Province of Huesca
Spain, location.country.administrative_divisions, Basque Country
Faro, location.administrative_division.country, Portugal
Bunnik Tours, travel.tour_operator.travel_destinations, Portugal
A Bola, book.newspaper.circulation_areas, Lisbon
Spain, location.country.administrative_divisions, Province of Barcelona

Answer: Portugal