query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
What city has the highest population? | highest population refers to MAX(Population); | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; |
What city has the highest population? | highest population refers to MAX(Population); | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; |
What city has the highest population? | highest population refers to MAX(Population); | English refers to Language = 'English'; Australia is a name of country; |
What city has the highest population? | highest population refers to MAX(Population); | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); |
What city has the highest population? | highest population refers to MAX(Population); | largest population refers to MAX(Population); |
What city has the highest population? | highest population refers to MAX(Population); | capital city refers to Capital; official language refers to IsOfficial = 'T'; highest life expectancy refers to MAX(LifeExpectancy); |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | shortest life expectancy refers to MIN(LifeExpectancy); |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | English refers to Language = 'English'; Australia is a name of country; |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | Belize is a name of country; |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | Europe refers to Continent = 'Europe'; |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | official language refers to IsOfficial = 'T'; Antarctica refers to Continent = 'Antarctica'; |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | English speaking refers to Language = 'English' ; difference = SUBTRACT(COUNT(Language = 'English' WHERE GovernmentForm = 'Republic'), COUNT(Language = 'English' WHERE GovernmentForm = 'ConstitutionalMonarchy')); |
List down the country names of countries that have a GNP lower than 1000 and have Dutch as their language. | GNP lower than 1000 refers to GNP < 1000; Dutch as their language refers to `Language` = 'Dutch'; | smallest population refers to MIN(Population); |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | largest population refers to MAX(Population); |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | GNP growth rate = DIVIDE(SUBTRACT(GNP, GNPOld), GNPOld); Shanghai is a name of city; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | uses Japanese as their language refers to `Language` = 'Japanese'; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | English speaking refers to Language = 'English' ; difference = SUBTRACT(COUNT(Language = 'English' WHERE GovernmentForm = 'Republic'), COUNT(Language = 'English' WHERE GovernmentForm = 'ConstitutionalMonarchy')); |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | official language refers to IsOfficial = 'T'; China is a name of country; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | use English as unofficial language refers to Language = 'English' WHERE IsOfficial = 'F'; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | average life expectancy = AVG(LifeExpectancy); speak Arabic refers to `Language` = 'Arabic'; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | average population = AVG(Population); |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | GNP greater than 1500 refers to GNP > 1500 ; percentage = MULTIPLY(DIVIDE(SUM(Code WHERE GNP > 1500 AND Language = 'English'), COUNT(Code WHERE GNP > 1500)) 1.0); English as its language refers to Language = 'English'; |
Among the countries that officially use the English language, what country has the highest capital? | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); | English refers to Language = 'English'; Australia is a name of country; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | smallest population refers to MIN(Population); |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | Socialistic Republic form of government refers to GovernmentForm = 'Socialistic Republic'; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | official language refers to IsOfficial = 'T'; Antarctica refers to Continent = 'Antarctica'; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | Belize is a name of country; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | GNP greater than 1500 refers to GNP > 1500 ; percentage = MULTIPLY(DIVIDE(SUM(Code WHERE GNP > 1500 AND Language = 'English'), COUNT(Code WHERE GNP > 1500)) 1.0); English as its language refers to Language = 'English'; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | independence year between 1980 to 1995 refers to IndepYear BETWEEN 1980 AND 1995; |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | constitutional monarchy refers to GovernmentForm = 'Constitutional Monarchy'; percentage = MULTIPLY(DIVIDE(SUM(GovernmentForm = 'Constitutional Monarchy' WHERE District = 'England'), COUNT(GovernmentForm = 'Constitutional Monarchy')), 100) |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | shortest life expectancy refers to MIN(LifeExpectancy); |
Within the 5 most crowded cities in the world, which country has the most languages used? | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); | highest population refers to MAX(Population); |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | form of government refers to GovernmentForm; |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | official language refers to IsOfficial = 'T'; Antarctica refers to Continent = 'Antarctica'; |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | smallest surface area refers to MIN(smallest surface area); |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | high life expectancy at birth refers to MAX(LifeExpectancy); |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | Zaanstad is a name of city; |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | English speaking refers to Language = 'English' ; difference = SUBTRACT(COUNT(Language = 'English' WHERE GovernmentForm = 'Republic'), COUNT(Language = 'English' WHERE GovernmentForm = 'ConstitutionalMonarchy')); |
How many unofficial languages are used in Italy? | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; | no GNP refers to GNP = 0; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | Portuguese refers to `Language` = 'Portuguese'; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | smallest surface area refers to MIN(smallest surface area); |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | officially use the English language refers to `Language` = 'English' AND IsOfficial = 'T'; highest capital refers to MAX(Capital); |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | constitutional monarchy refers to GovernmentForm = 'Constitutional Monarchy'; percentage = MULTIPLY(DIVIDE(SUM(GovernmentForm = 'Constitutional Monarchy' WHERE District = 'England'), COUNT(GovernmentForm = 'Constitutional Monarchy')), 100) |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | independence year between 1980 to 1995 refers to IndepYear BETWEEN 1980 AND 1995; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | average population = AVG(Population); |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | average life expectancy = AVG(LifeExpectancy); speak Arabic refers to `Language` = 'Arabic'; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | GNP growth rate = DIVIDE(SUBTRACT(GNP, GNPOld), GNPOld); Shanghai is a name of city; |
List down the name of countries whereby English is their official language. | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; | no GNP refers to GNP = 0; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | average population = AVG(Population); |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | unofficial languages refers to IsOfficial = 'F'; Italy is a name of country; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | constitutional monarchy refers to GovernmentForm = 'Constitutional Monarchy'; percentage = MULTIPLY(DIVIDE(SUM(GovernmentForm = 'Constitutional Monarchy' WHERE District = 'England'), COUNT(GovernmentForm = 'Constitutional Monarchy')), 100) |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | English as an official language refers to `Language` = 'English' AND IsOfficial = 'T'; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | Malaysia is a name of country; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | most crowded city refers to MAX(Population); |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | English is the official language refers to Language = 'English' AND IsOfficial = 'T'; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | official language refers to IsOfficial = 'T'; China is a name of country; |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | largest population refers to MAX(Population); |
How many cities are there in the country ruled by Kostis Stefanopoulos? | ruled by Kostis Stefanopoulos refers to HeadOfState = 'Kostis Stefanopoulos'; | English speaking refers to Language = 'English' ; difference = SUBTRACT(COUNT(Language = 'English' WHERE GovernmentForm = 'Republic'), COUNT(Language = 'English' WHERE GovernmentForm = 'ConstitutionalMonarchy')); |
How many cities are there in England? | England refers to District = 'England'; | English speaking refers to Language = 'English' ; difference = SUBTRACT(COUNT(Language = 'English' WHERE GovernmentForm = 'Republic'), COUNT(Language = 'English' WHERE GovernmentForm = 'ConstitutionalMonarchy')); |
How many cities are there in England? | England refers to District = 'England'; | smallest surface area refers to MIN(smallest surface area); most crowded city refers to MAX(Population); |
How many cities are there in England? | England refers to District = 'England'; | smallest surface area refers to MIN(smallest surface area); |
How many cities are there in England? | England refers to District = 'England'; | declared independence in 1994 refers to IndepYear = 1994; |
How many cities are there in England? | England refers to District = 'England'; | largest population refers to MAX(Population); |
How many cities are there in England? | England refers to District = 'England'; | Zaanstad is a name of city; |
How many cities are there in England? | England refers to District = 'England'; | Portuguese refers to `Language` = 'Portuguese'; |
How many cities are there in England? | England refers to District = 'England'; | shortest life expectancy refers to MIN(LifeExpectancy); |
How many cities are there in England? | England refers to District = 'England'; | no GNP refers to GNP = 0; |
How many cities are there in England? | England refers to District = 'England'; | Europe refers to Continent = 'Europe'; |
Provide the language used by the people of Belize. | Belize is a name of country; | official language refers to IsOfficial = 'T'; Greece is a name of country; |
Provide the language used by the people of Belize. | Belize is a name of country; | Zaanstad is a name of city; |
Provide the language used by the people of Belize. | Belize is a name of country; | high life expectancy at birth refers to MAX(LifeExpectancy); |
Provide the language used by the people of Belize. | Belize is a name of country; | capital city refers to Capital; official language refers to IsOfficial = 'T'; smallest surface area refers to MIN(SurfaceArea); |
Provide the language used by the people of Belize. | Belize is a name of country; | most crowded cities refers to MAX(Population); has the most languages used refers to MAX(COUNT(Language)); |
Provide the language used by the people of Belize. | Belize is a name of country; | English refers to Language = 'English'; Australia is a name of country; |
Provide the language used by the people of Belize. | Belize is a name of country; | independence year between 1980 to 1995 refers to IndepYear BETWEEN 1980 AND 1995; |
Provide the language used by the people of Belize. | Belize is a name of country; | ruled by Pierre Buyoya refers to HeadOfState = 'Pierre Buyoya'; |
Provide the language used by the people of Belize. | Belize is a name of country; | headed by Adolf Ogi refers to HeadOfState = 'Adolf Ogi'; |
Provide the language used by the people of Belize. | Belize is a name of country; | capital city refers to Capital; official language refers to IsOfficial = 'T'; highest life expectancy refers to MAX(LifeExpectancy); |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | Year = 2005; private expenditure on health refers to IndicatorName = 'Out-of-pocket health expenditure (% of private expenditure on health)'; the highest refers to MAX(Value); source refers to Description; |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | narratives is Description; The Bahamas is the name of the country where Country = 'The Bahamas' |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | Latin American & Carribbean is the name of the region; poor countries refers to IncomeGroup = 'Low income'; |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | indicator Stocks traded, turnover ratio of domestic shares refers to IndicatorName = 'Stocks traded, turnover ratio of domestic shares (%)' |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | the latest trade data refers to LatestTradeData = '2013'; with a series code of "SP.DYN.CDRT.IN
" refers to indicatorcode = 'SP.DYN.CDRT.IN' |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | Latin American & Caribbean countries is the name of the region where Region in ('Latin America' , 'Caribbean'); CO2 emissions from gaseous fuel consumption (kt) is the name of indicator where IndicatorName = 'CO2 emissions from gaseous fuel consumption (kt)'; average value in CO2 emissions (kt) = DIVIDE(SUM(Value), SUM(IndicatorName = 'CO2 emissions from gaseous fuel consumption (kt)')); Year > 1965 |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | percentage = divide(count(countrycode where ExternalDebtReportingStatus = 'Actual' ), count(countrycode))*100%; in the Middle East and North Africa refers to region = 'Middle East & North Africa'; have finished reporting on their real external debt refers to ExternalDebtReportingStatus = 'Actual' |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | agricultural land area in sq. km refers value where indicatorname = 'Agricultural land (sq. km)'; Italy refers to countryname = 'Italy'; in 1968 refers to year = '1968' |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | ratio = divide(max(value where indicatorname = 'Number of infant deaths' and year = '1971'), min(value where indicatorname = 'Number of infant deaths' and year = '1971')); the highest number of infant deaths in 1971 refers to max(value where indicatorname = 'Number of infant deaths' and year = '1971'); the lowest number of infant deaths in 1971 refers to min(value where indicatorname = 'Number of infant deaths' and year = '1971') |
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100; | in Sub-Saharan Africa refers to Region = 'Sub-Saharan Africa'; the higest number of female out-of-school children of primary school age refers to max(value where IndicatorName = 'Out-of-school children of primary school age, female (number)') |
List the long name of countries with indicator name in 1980. | with any indicator name implies IndicatorName is not NULL; Year = '1980'; | IncomeGroup = 'Middle income'; Year = 1960; urban population refers to IndicatorName; |
List the long name of countries with indicator name in 1980. | with any indicator name implies IndicatorName is not NULL; Year = '1980'; | CurrencyUnit = 'Euro'; |
List the long name of countries with indicator name in 1980. | with any indicator name implies IndicatorName is not NULL; Year = '1980'; | completed its external debt reporting refers to ExternalDebtReportingStatus = 'Actual'; in 1980 refers to year = 1980; Land under cereal production value of 3018500 refers to value = 3018500 |
List the long name of countries with indicator name in 1980. | with any indicator name implies IndicatorName is not NULL; Year = '1980'; | year 1980 refers to Year = 'YR1980'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.