Chinastark/bird_dataset huggingface dataset:
Database: mondial_geo
Question: Which river with its mouth in the Donau River and a length greater than 500 km is located in Slovenia?
SQL: SELECT T2.River FROM country AS T1 INNER JOIN geo_river AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Slovenia' AND T2.River IN ( SELECT NAME FROM river WHERE Length > 500 AND River = 'Donau' )
Database: mondial_geo
Question: In which city is the sea whose depth is 4232 meters less than that of the Bay of Bengal?
SQL: SELECT T2.City FROM sea AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Sea INNER JOIN city AS T3 ON T3.Name = T2.City WHERE ( SELECT Depth FROM sea WHERE Name LIKE '%Bengal%' ) - T1.Depth = 4235
Database: mondial_geo
Question: In which city is the lake located at coordinates longitude -85.35 and latitude 11.6?
SQL: SELECT T2.City FROM lake AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Lake INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN city AS T4 ON T4.Province = T3.Name WHERE T1.Longitude = -85.35 AND T1.Latitude = 11.6
Database: mondial_geo
Question: On which continent is the country with the most erosion of real income?
Evidence: highest inflation rate results in the most erosion of real income
SQL: SELECT T1.Name FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN economy AS T4 ON T4.Country = T3.Code ORDER BY T4.Inflation DESC LIMIT 1
Database: mondial_geo
Question: Which two Asian countries share a border that is 1,782 kilometers long?
SQL: SELECT T4.Country1, T4.Country2 FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN borders AS T4 ON T4.Country1 = T3.Code WHERE T1.Name = 'Asia' AND T4.Length = 1782
Database: mondial_geo
Question: Of all the lakes in Bolivia, which is the deepest?
Evidence: Bolivia is the country
SQL: SELECT T1.Name FROM lake AS T1 INNER JOIN geo_lake AS T2 ON T1.Name = T2.Lake INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T4.Code = T3.Country WHERE T4.Name = 'Bolivia' ORDER BY T1.Depth DESC LIMIT 1
Database: mondial_geo
Question: In which lake flows the river that is, in turn, the mouth of the Manicouagan River?
SQL: SELECT NAME FROM lake WHERE river = ( SELECT river FROM river WHERE NAME = 'Manicouagan' )
Database: mondial_geo
Question: In which group of islands is Rinjani Mountain located?
SQL: SELECT T1.Islands FROM island AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Island INNER JOIN mountain AS T3 ON T3.Name = T2.Mountain WHERE T3.Name = 'Rinjani'
Database: mondial_geo
Question: List all the seas with which the deepest sea merges.
SQL: SELECT T2.Sea2 FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = ( SELECT Name FROM sea ORDER BY Depth DESC LIMIT 1 )
Database: mondial_geo
Question: Of all the countries that share territory with more than one continent, in which of them does the average population not exceed 10 inhabitants per square kilometer?
SQL: SELECT NAME FROM country WHERE CODE IN ( SELECT country FROM encompasses GROUP BY country HAVING COUNT(continent) > 1 ) AND population / Area <= 10
Database: mondial_geo
Question: Of all the countries of the Hindu religion, which has the lowest ratio of people per square meter of surface?
Evidence: ratio of people per square meter of surface = Population / Area
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Hindu' ORDER BY T1.Population / T1.Area ASC LIMIT 1
Database: mondial_geo
Question: On what date did the country have a gross domestic product 400% higher than Saint Kitts and Nevis become independent?
Evidence: GDP refers to gross domestic product
SQL: SELECT Independence FROM politics WHERE country = ( SELECT country FROM economy WHERE GDP = 1100 )
Database: mondial_geo
Question: What is the average population ratio of the countries in which organizations were established in 1947?
Evidence: Average population ratio = Population / Area
SQL: SELECT T1.Population / T1.Area FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE STRFTIME('%Y', T2.Established) = '1947'
Database: mondial_geo
Question: What is the name of Anguilla's capital, and where is it located?
Evidence: Anguilla is a country
SQL: SELECT Capital, Province FROM country WHERE Name = 'Anguilla'
Database: mondial_geo
Question: Which nation has the smallest population, and where is its capital located?
SQL: SELECT Name, Capital FROM country ORDER BY Population ASC LIMIT 1
Database: mondial_geo
Question: How much more space does Asia have than Europe?
Evidence: Asia and Europe are two continents.
SQL: SELECT MAX(Area) - MIN(Area) FROM continent WHERE Name = 'Asia' OR Name = 'Europe'
Database: mondial_geo
Question: What is the geographic location of Aarhus city? Please provide the answer with the coordinates of the location.
Evidence: Longitude, Latitude = coordinates of the location
SQL: SELECT Longitude, Latitude FROM city WHERE Name = 'Aarhus'
Database: mondial_geo
Question: What is the population gap between the United Kingdom and Italy?
Evidence: Population gap = Total population of the United Kingdom - Total population of Italy
SQL: SELECT MAX(Population) - MIN(Population) FROM country WHERE Name = 'United Kingdom' OR Name = 'Italy'
Database: mondial_geo
Question: In which city is the European Bank for Reconstruction and Development's headquarters? Please include the city and province where the headquarters are located in your answer.
SQL: SELECT City, Province FROM organization WHERE Name = 'European Bank for Reconstruction and Development'
Database: mondial_geo
Question: Which lake is the largest in terms of both surface area and depth?
Evidence: Area * Depth can represents the metric in terms of both surface area and depth
SQL: SELECT Name FROM lake ORDER BY Area * Depth DESC LIMIT 1
Database: mondial_geo
Question: Which two nations are separated from one another by the longest border? Please include the entire names of the nations in your answer.
SQL: SELECT Country1, Country2 FROM borders ORDER BY Length DESC LIMIT 1
Database: mondial_geo
Question: Which nation has the highest GDP? Please give the nation's full name.
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.GDP DESC LIMIT 1
Database: mondial_geo
Question: Which nation has the lowest proportion of people who speak an African language? Please state the nation's full name.
Evidence: Nation and country share the same meaning. Proportion refers to percentage
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'African' ORDER BY T2.Percentage ASC LIMIT 1
Database: mondial_geo
Question: Which country has three different religions-Anglicanism, Christianity, and Roman Catholicism and uses 100% English?
SQL: SELECT T2.Country FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country INNER JOIN language AS T3 ON T3.Country = T2.Country WHERE (T2.Name = 'Anglican' OR T2.Name = 'Christian' OR T2.Name = 'Roman Catholic') AND T3.Name = 'English' AND T3.Percentage = 100 GROUP BY T1.Name HAVING COUNT(T1.Name) = 3
Database: mondial_geo
Question: Please list the top 3 countries with the highest inflation rate.
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.Inflation DESC LIMIT 3
Database: mondial_geo
Question: Please provide a list of every nation where English is spoken and utilized entirely.
Evidence: Utilizition entirely means Percentage = 100% uses
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'English' AND T2.Percentage = 100
Database: mondial_geo
Question: How many businesses were founded after 1960 in a nation that wasn't independent?
Evidence: Established means founded; Country means nation; Organization means businesses
SQL: SELECT COUNT(T3.Name) FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country WHERE T2.Independence = NULL AND STRFTIME('%Y', T3.Established) > '1960'
Database: mondial_geo
Question: What province did the river Klaeaelv travel through and how long is the river?
SQL: SELECT T1.Province FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Klaraelv'
Database: mondial_geo
Question: How many Italian regions are bordered by the Mediterranean Sea? How deep is the Mediterranean Sea?
Evidence: Reigion refers to province
SQL: SELECT COUNT(DISTINCT T2.province), T3.Depth FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country INNER JOIN sea AS T3 ON T3.Name = T2.Sea WHERE T1.Code = 'I' AND T3.Name = 'Mediterranean Sea' GROUP BY T3.Depth
Database: mondial_geo
Question: What nations are considered British Overseas Territories?
Evidence: British Overseas Territories is one government form; Nation and country share the same meaning
SQL: SELECT name FROM country WHERE CODE IN ( SELECT country FROM politics WHERE government = 'British Overseas Territories' )
Database: mondial_geo
Question: Which of the top 3 economies by GDP has the lowest proportion of the economy devoted to agriculture?
Evidence: Economies refers to countries
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.GDP DESC, T2.Agriculture ASC LIMIT 1
Database: mondial_geo
Question: How big is Africa, and how many nations make up the continent?
Evidence: Area can measure the size of countries; Country and nation share the same meaning
SQL: SELECT T1.Area, COUNT(T3.Name) FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T1.Name = 'Asia' GROUP BY T1.Name, T1.Area
Database: mondial_geo
Question: Which United States province is home to the greatest number of corporations' corporate headquarters?
Evidence: Organization refers to corporation
SQL: SELECT T1.Province FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'United States' GROUP BY T1.Province ORDER BY COUNT(T1.Name) DESC LIMIT 1
Database: mondial_geo
Question: What are the most recent three independent nations?
Evidence: Larger date of indepedence refers to more recent indepdence; Nation refers to country
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country ORDER BY T2.Independence DESC LIMIT 3
Database: mondial_geo
Question: Please name any three sovereign nations that have been governed by the republic since 1991.
Evidence: Nation refers to country
SQL: SELECT country FROM politics WHERE government = 'republic' AND STRFTIME('%Y', independence) >= '1991' AND country IN ( SELECT country FROM country ) ORDER BY independence LIMIT 3
Database: mondial_geo
Question: Which company falls under the category of an associated member? Please provide the organization's full name.
SQL: SELECT NAME FROM organization WHERE country IN ( SELECT country FROM politics WHERE dependent != '' )
Database: mondial_geo
Question: Which nations have a boundary with the Kalahari Desert?
Evidence: Nation refers to country
SQL: SELECT T3.Name FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T1.Name = 'Kalahari'
Database: mondial_geo
Question: Which desert in Kazakhstan is the largest?
SQL: SELECT T1.Name FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T3.Name = 'Kazakstan' ORDER BY T1.Area DESC LIMIT 1
Database: mondial_geo
Question: What sea does the Baltic Sea converge with, and how deep is the Baltic Sea?
Evidence: Coverage refers to mergesWith
SQL: SELECT T2.Sea2, T1.Depth FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = 'Baltic Sea'
Database: mondial_geo
Question: Which constitutional monarchy nations saw the greatest growth in the number of organizations after 1907?
Evidence: Nation refers to country; Information of growth appears in the column Established
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country WHERE STRFTIME('%Y', T2.Established) > '1907' AND T3.Government = 'constitutional monarchy' GROUP BY T1.Name ORDER BY COUNT(DISTINCT T2.Name) DESC LIMIT 1
Database: mondial_geo
Question: What kind of mountain is Ampato? Which province and nation does this mountain belong to?
Evidence: Nation refers to country
SQL: SELECT T1.Type, T3.Name, T4.Name FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T3.Country = T4.Code WHERE T1.Name = 'Ampato'
Database: mondial_geo
Question: Please provide a list of every volcano mountain in the province of Ecuador.
SQL: SELECT T1.Name FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province WHERE T3.Name = 'Ecuador' AND T1.Type = 'volcano'
Database: mondial_geo
Question: What percentage of nations have achieved independence since 1993 and practice parliamentary democracy? Please include any three parliament-based democracies that attained independence after 1993.
Evidence: Percentage of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100%
SQL: SELECT SUM(IIF(government = 'parliamentary democracy', 1, 0)) , CAST(SUM(IIF(government = 'parliamentary democracy', 1, 0)) AS REAL) * 100 / COUNT(*) FROM politics AS t1 WHERE STRFTIME('%Y', independence) >= '1993'
Database: mondial_geo
Question: What proportion of rivers have a length of more than 3,000 miles? Please provide the name of a Russian river that is more than 3,000 miles long.
Evidence: Proportion of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100%
SQL: SELECT CAST(SUM(CASE WHEN T1.Length > 3000 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.Name) FROM river AS T1 INNER JOIN located AS T2 ON T1.Name = T2.River INNER JOIN country AS T3 ON T3.Code = T2.Country
Database: mondial_geo
Question: What is the full name of ABEDA and when was it established?
SQL: SELECT Name, Established FROM organization WHERE Abbreviation = 'ABEDA'
Database: mondial_geo
Question: Name all the organisations that were established from 1970 to 1980.
SQL: SELECT Name FROM organization WHERE STRFTIME('%Y', Established) BETWEEN '1970' AND '1980'
Database: mondial_geo
Question: Provide a list of all organisations with headquarters in London?
Evidence: London is a city
SQL: SELECT Name FROM organization WHERE City = 'London'
Database: mondial_geo
Question: For each organisations with headquarters in the USA, provide the its full name and the city where the headquarter is located at.
SQL: SELECT Name, City FROM organization WHERE Country = 'USA'
Database: mondial_geo
Question: Name the first organisation established in the Paris city. State its abbreviation, full name and date of establishment.
Evidence: Paris is a city
SQL: SELECT Abbreviation, Name, Established FROM organization WHERE City = 'Paris' ORDER BY Established ASC LIMIT 1
Database: mondial_geo
Question: List all the organisations that where its name contains 'United Nation'. State its full name and its headquarter city.
SQL: SELECT Name, City FROM organization WHERE Name LIKE '%United Nation%'
Database: mondial_geo
Question: Which 2 countries' border span across the longest length? Provide the country's full name.
SQL: SELECT T1.Name, T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 ORDER BY T2.Length DESC LIMIT 1
Database: mondial_geo
Question: Name all countries in which have border with Bulgaria.
Evidence: Bulgaria is a country name
SQL: SELECT T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 WHERE T1.Name = 'Bulgaria'
Database: mondial_geo
Question: State all countries with border greater than 4,000. List the full country name.
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 WHERE T2.Length > 4000
Database: mondial_geo
Question: Among the country member of 'IOC' organization, which country has the most population?
SQL: SELECT T2.Name FROM isMember AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Organization = 'IOC' ORDER BY T2.Population DESC LIMIT 1
Database: mondial_geo
Question: List all members and member type of the Islamic Development Bank.
SQL: SELECT T2.Country, T2.Type FROM organization AS T1 INNER JOIN isMember AS T2 ON T1.Abbreviation = T2.Organization INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T1.Name = 'Islamic Development Bank'
Database: mondial_geo
Question: State the area and population of the country where Asia Pacific Economic Cooperation headquarter is located.
Evidence: Asia Pacific Economic Cooperation is an organization name
SQL: SELECT T2.Name, T2.Population FROM organization AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Name = 'Asia Pacific Economic Cooperation'
Database: mondial_geo
Question: What is the organization(s) that has 'National Society' as member type.
SQL: SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T2.Type = 'National Society'
Database: mondial_geo
Question: Which country has the least organization membership?
SQL: SELECT country FROM organization WHERE country IN ( SELECT Code FROM country ) GROUP BY country ORDER BY COUNT(NAME) LIMIT 1
Database: mondial_geo
Question: List all countries with 'Category III' membership in 'IFAD' organization. Please also provide the capital of the country.
SQL: SELECT Name, Capital FROM country WHERE Code IN ( SELECT Country FROM isMember WHERE type = 'Category III' AND Organization = 'IFAD' )
Database: mondial_geo
Question: Name the organizations with the most members.
SQL: SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code GROUP BY T1.Name ORDER BY COUNT(T3.Name) DESC LIMIT 1
Database: mondial_geo
Question: What is the capital of Australia? Is the capital a headquarter to any organization? Name the organization(s).
SQL: SELECT T2.Capital, T1.Name FROM organization AS T1 INNER JOIN country AS T2 ON T1.City = T2.Capital WHERE T2.Name = 'Australia'
Database: mondial_geo
Question: Among the organizations where headquarters are in the 'USA', what is the percentage of the them are in 'Washington'?
Evidence: percentage can be computed by [count(City = 'Washington') / count(all cities)] * 100%
SQL: SELECT CAST(SUM(CASE WHEN T2.City = 'Washington' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T2.City) FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE T2.Country = 'USA'
Database: mondial_geo
Question: What is the border length between 'USA' and 'MEX'
SQL: SELECT Length FROM borders WHERE Country1 = 'MEX' AND Country2 = 'USA'
Database: mondial_geo
Question: What is the newest established organization where Singapore is a member of?
SQL: SELECT T3.Name FROM country AS T1 INNER JOIN isMember AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country WHERE T1.Name = 'Singapore' ORDER BY T3.Established DESC LIMIT 1
Database: mondial_geo
Question: Provide the population of the city of the 'World Tourism Organization' headquarter.
SQL: SELECT T2.Population FROM organization AS T1 INNER JOIN city AS T2 ON T1.City = T2.Name WHERE T1.Name = 'World Tourism Organization'
Database: mondial_geo
Question: What is the height of mountain Dhaulagiri located and in which province is it located?
SQL: SELECT T1.Height, T2.Province FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T1.Name = 'Dhaulagiri'
Database: mondial_geo
Question: List all the name and height of all mountains in Alaska
Evidence: Alaska is a province
SQL: SELECT T1.Name, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T2.Province = 'Alaska'
Database: mondial_geo
Question: What is the population of the country with the highest infant mortality rate?
SQL: SELECT T1.Population FROM country AS T1 INNER JOIN population AS T2 ON T1.Code = T2.Country ORDER BY T2.Infant_Mortality DESC LIMIT 1
Database: mondial_geo
Question: State the inflation rate of Greece.
SQL: SELECT T2.Inflation FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Greece'
Database: mondial_geo
Question: Find the government type for the country with the highest percentage GDP in Agriculture.
SQL: SELECT T3.Government FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country ORDER BY T2.Agriculture DESC LIMIT 1
Database: mondial_geo
Question: List the full name its capital of all the countries with parliamentary democracy government.
Evidence: Parliamentary democracy is a government form
SQL: SELECT T1.Capital FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T2.Government = 'parliamentary democracy'
Database: mondial_geo
Question: Provide a full list of countries and its population with more than 70% of Chinese.
SQL: SELECT T1.Name, T1.Population * T2.Percentage FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Chinese' AND T2.Percentage > 70
Database: mondial_geo
Question: In which city has the greatest population, what is its percentage to its country population?
SQL: SELECT T3.Name, CAST(T3.Population AS REAL) * 100 / T1.Population FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Country = T2.Country ORDER BY T3.Population DESC LIMIT 1
Database: mondial_geo
Question: When did the United States of America attained it's Independence?
SQL: SELECT T1.Independence FROM politics AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'United States'
Database: mondial_geo
Question: What is the peak height of the highest volcanic type of mountain? Give it's name.
Evidence: peak means the highest
SQL: SELECT Height, Name FROM mountain WHERE Type = 'volcanic' ORDER BY Height DESC LIMIT 1
Database: mondial_geo
Question: What is the name of the most recently founded organization in Saudi Arabia?
Evidence: Saudi Arabia is a country
SQL: SELECT T1.Name FROM organization AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'Saudi Arabia' ORDER BY T1.Established DESC LIMIT 1
Database: mondial_geo
Question: Which country has the 5th highest infant mortality rate?
SQL: SELECT T2.Name FROM population AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Infant_Mortality DESC LIMIT 4, 1
Database: mondial_geo
Question: Which country has the widest range of religious practices?
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country GROUP BY T1.Name ORDER BY COUNT(DISTINCT T2.Name) DESC LIMIT 1
Database: mondial_geo
Question: What river has the 17th-longest length overall? Specify it's length.
SQL: SELECT Name, Length FROM river ORDER BY Length DESC LIMIT 16, 1
Database: mondial_geo
Question: When did the country whose capital is Nouakchott attained it's independence?
SQL: SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Capital = 'Nouakchott'
Database: mondial_geo
Question: What is the name of the country with the smallest population, and what is its gross domestic product?
Evidence: GDP refers to gross domestic product
SQL: SELECT T1.Name, T2.GDP FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T1.Population ASC LIMIT 1