[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]

What are the names of all the countries that became independent after 1950?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"IndepYear","operation":">","value":1950}]}}

Give the names of the nations that were founded after 1950.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"IndepYear","operation":">","value":1950}]}}

How many countries have a republic as their form of government?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}

How many countries have governments that are republics?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}

What is the total surface area of the countries in the Caribbean region?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"SurfaceArea","aggregation":"sum"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Caribbean'"}]}}

How much surface area do the countires in the Carribean cover together?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"SurfaceArea","aggregation":"sum"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Caribbean'"}]}}

Which continent is Anguilla in?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Anguilla'"}]}}

What is the continent name which Anguilla belongs to?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Anguilla'"}]}}

What are the population and life expectancies in Brazil?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Brazil'"}]}}

Give me Brazil’s population and life expectancies.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Brazil'"}]}}

What are the region and population of Angola?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Angola'"}]}}

What region does Angola belong to and what is its population?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Angola'"}]}}

What is the average expected life expectancy for countries in the region of Central Africa?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Central Africa'"}]}}

How long is the people’s average life expectancy in Central Africa?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Central Africa'"}]}}

What is the name of country that has the shortest life expectancy in Asia?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}

Give the name of the country in Asia with the lowest life expectancy.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}

What is the total population and maximum GNP in Asia?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"GNP","aggregation":"max"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"}]}}

How many people live in Asia, and what is the largest GNP among them?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"GNP","aggregation":"max"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"}]}}

What is the average life expectancy in African countries that are republics?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}

Give the average life expectancy for countries in Africa which are republics?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}

What is the average GNP and total population in all nations whose government is US territory?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GNP","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}

Give the mean GNP and total population of nations which are considered US territory.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GNP","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}

How many type of governments are in Africa?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GovernmentForm","aggregation":"count"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"}]}}

How many different forms of governments are there in Africa?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GovernmentForm","aggregation":"count"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"}]}}

Find the name, population and expected life length of asian country with the largest area?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}

What are the name, population, and life expectancy of the largest Asian country by land?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}

What are the name, independence year, and surface area of the country with the smallest population?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"ask"}]}}

Give the name, year of independence, and surface area of the country that has the lowest population.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"ask"}]}}

What are the population, name and leader of the country with the largest area?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}

Give the name, population, and head of state for the country that has the largest area.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}

What are the names and areas of countries with the top 5 largest area?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":5,"aggregation":"avg","direction":"desk"}]}}

Return the names and surface areas of the 5 largest countries.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":5,"aggregation":"avg","direction":"desk"}]}}

What are names of countries with the top 3 largest population?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"desk"}]}}

Return the names of the 3 most populated countries.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"desk"}]}}

What are the names of the nations with the 3 lowest populations?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}

Return the names of the 3 countries with the fewest people.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}

how many countries are in Asia?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Asia'"}]}}

Count the number of countries in Asia.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Asia'"}]}}

What are the names of the countries that are in the continent of Europe and have a population of 80000?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"},{"actionType":"ChangeCondition","column":"Population","operation":"=","value":"'80000'"}]}}

Give the names of countries that are in Europe and have a population equal to 80000.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"},{"actionType":"ChangeCondition","column":"Population","operation":"=","value":"'80000'"}]}}

What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"surfacearea","aggregation":"avg"},{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'north america'"},{"actionType":"ChangeCondition","column":"surfacearea","operation":">","value":3000}]}}

Give the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"surfacearea","aggregation":"avg"},{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'north america'"},{"actionType":"ChangeCondition","column":"surfacearea","operation":">","value":3000}]}}