| gptkbp:instanceOf | gptkb:state_order 
 | 
                        
                            
                                | gptkbp:area | 505,990 km² 
 | 
                        
                            
                                | gptkbp:autonomousCommunity | 17 
 | 
                        
                            
                                | gptkbp:borders | gptkb:Andorra gptkb:France
 gptkb:Gibraltar
 gptkb:Portugal
 gptkb:Morocco_(Ceuta_and_Melilla)
 
 | 
                        
                            
                                | gptkbp:capital | gptkb:Madrid 
 | 
                        
                            
                                | gptkbp:coatOfArms | gptkb:Coat_of_arms_of_Spain 
 | 
                        
                            
                                | gptkbp:continent | gptkb:Europe 
 | 
                        
                            
                                | gptkbp:currency | gptkb:Euro 
 | 
                        
                            
                                | gptkbp:demonym | gptkb:Spanish 
 | 
                        
                            
                                | gptkbp:dialCode | +34 
 | 
                        
                            
                                | gptkbp:drivesOn | gptkb:right 
 | 
                        
                            
                                | gptkbp:established | 1479 (unification of Castile and Aragon) 
 | 
                        
                            
                                | gptkbp:flag | red and yellow horizontal stripes with coat of arms 
 | 
                        
                            
                                | gptkbp:format | dd/mm/yyyy 
 | 
                        
                            
                                | gptkbp:GDP | approx. $1.4 trillion (nominal, 2020) 
 | 
                        
                            
                                | gptkbp:governmentType | parliamentary constitutional monarchy 
 | 
                        
                            
                                | gptkbp:HDI | 0.904 (2020) 
 | 
                        
                            
                                | gptkbp:headOfState | gptkb:Felipe_VI gptkb:Pedro_Sánchez
 
 | 
                        
                            
                                | gptkbp:highestPoint | gptkb:Teide 
 | 
                        
                            
                                | gptkbp:internetTLD | .es 
 | 
                        
                            
                                | gptkbp:ISO_3166-2_code | gptkb:ES 
 | 
                        
                            
                                | gptkbp:largestCity | gptkb:Madrid 
 | 
                        
                            
                                | gptkbp:legislature | gptkb:Cortes_Generales 
 | 
                        
                            
                                | gptkbp:lifeExpectancy | 83 years (2020) 
 | 
                        
                            
                                | gptkbp:lowerAward | gptkb:Congress_of_Deputies 
 | 
                        
                            
                                | gptkbp:lowestPoint | gptkb:Atlantic_Ocean 
 | 
                        
                            
                                | gptkbp:majorCity | gptkb:Barcelona gptkb:Valencia
 gptkb:Zaragoza
 gptkb:Málaga
 gptkb:Seville
 
 | 
                        
                            
                                | gptkbp:memberOf | gptkb:European_Union gptkb:NATO
 gptkb:OECD
 gptkb:Schengen_Area
 gptkb:United_Nations
 
 | 
                        
                            
                                | gptkbp:monarch | gptkb:Felipe_VI 
 | 
                        
                            
                                | gptkbp:motto | gptkb:Plus_Ultra 
 | 
                        
                            
                                | gptkbp:nationalAnthem | gptkb:Marcha_Real 
 | 
                        
                            
                                | gptkbp:officialLanguage | gptkb:Spanish Aranese (in Val d'Aran)
 Basque (in Basque Country, Navarre)
 Catalan (in Catalonia, Balearic Islands, Valencia)
 Galician (in Galicia)
 
 | 
                        
                            
                                | gptkbp:population | approximately 47 million 
 | 
                        
                            
                                | gptkbp:primeMinister | gptkb:Pedro_Sánchez 
 | 
                        
                            
                                | gptkbp:publicHolidayIn | 12 October 
 | 
                        
                            
                                | gptkbp:religion | gptkb:Roman_Catholicism none (secular state)
 
 | 
                        
                            
                                | gptkbp:timezone | CEST CET
 
 | 
                        
                            
                                | gptkbp:upperHouse | gptkb:United_States_Congress 
 | 
                        
                            
                                | gptkbp:bfsParent | gptkb:Aviva_plc 
 | 
                        
                            
                                | gptkbp:bfsLayer | 7 
 | 
                        
                            
                                | https://www.w3.org/2000/01/rdf-schema#label | Spain (until 2021) 
 |