[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]

Find the name of the airport in the city of Goroka.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}

What are the names of the airports in the city of Goroka?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}

Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}

What is the name, city, country, and elevation for every airport in the city of New York?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}

What is the maximum elevation of all airports in the country of Iceland?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}

What is the highest elevation of an airport in the country of Iceland?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}

Which country is the airport that has the highest altitude located in?

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

What is the country of the airport with the highest elevation?

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

How many different cities do have some airport in the country of Greenland?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}

In how many cities are there airports in the country of Greenland?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}

Find the name, city, and country of the airport that has the lowest altitude.

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

What is the name, city, and country of the airport with the lowest altitude?

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

Find the name, city, and country of the airport that has the highest latitude.

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

What is the name, city, and country of the airport with the highest elevation?

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

Find the average elevation of all airports for each country.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}

For each country, what is the average elevation of that country's airports?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}