query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
What was the temperature range of station no.1 on 2012/1/1?
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
sunrise before 5 Am refers to sunrise < time ('5:00:00')
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
snow fell more than 5 inches refers to snowfall > 5
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
most windy station refers to Max(avgspeed)
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
Tell the wet-bulb temperature of the weather station which contained store no.6 on 2012/2/15.
store no.6 refers to store_nbr = 6; on 2012/2/15 refers to date = '2012-02-15'; wet-bulb temperature refers to wetbulb
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
thickest snowfall refers to Max(snowfall); item refers to item_nbr
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
snow fell more than 5 inches refers to snowfall > 5
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
store no.19 refers to store_nbr = 19; on 2013/2/24 refers to date = '2013-02-24'; sea level status refers to sealevel
station number refers to station_nbr; store 17 refers to store_nbr = 17
List out dates when haze is recorded in store 35.
store 35 refers to store_nbr = 35; haze is recorded refers to codesum like '%'||'HZ'||'%'
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
most windy station refers to Max(avgspeed)
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
sunrise before 5 Am refers to sunrise < time ('5:00:00')
thickest snowfall refers to Max(snowfall); item refers to item_nbr
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
What is the ID of the item that sold the best on the day with the highest max temperature in store no.3 in 2012?
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
store 35 refers to store_nbr = 35; haze is recorded refers to codesum like '%'||'HZ'||'%'
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
highest recorded heat refers to Max(heat); station refers to station_nbr
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
station number 1 refers to station_nbr = 1 ; minimum temperature = tmin; maximum temperature = tmax; on 15 January 2012 refers to date = '2012-01-15'
Which station has the highest number of stores? Calculate the said station's average maximum temperature in February 2012.
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
highest recorded heat refers to Max(heat); station refers to station_nbr
sunrise before 5 Am refers to sunrise < time ('5:00:00')
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; with a total precipitation of over 0.05 refers to preciptotal > 0.05
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
thickest snowfall refers to Max(snowfall); item refers to item_nbr
How many units of item no.5 were sold in store no.3 in total on days with a total precipitation of over 0.05?
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; with a total precipitation of over 0.05 refers to preciptotal > 0.05
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
How many days did the show fell more than 5 inches?
snow fell more than 5 inches refers to snowfall > 5
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
How many units of item no.9 were sold in store no.1 on 2012/1/1?
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
minimum dew point refers to Min(dewpoint)
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
in March 2014 refers to substring (date, 1, 4) = '2014' and substring (date, 6, 2) = '03'; temperature is below the 30-year normal refers to depart < 0; highest number of days refers to Max(Count(date))
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
store no.2 refers to store_nbr = 2; on 2012/12/25 refers to date = '2012-12-25'; total precipitation refers to preciptotal
sunrise before 5 Am refers to sunrise < time ('5:00:00')
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
What is the percentage of the units of item no.5 sold among all units of items sold in store no.3 on the day with the highest max temperature in 2012?
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; when the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
snow fell more than 5 inches refers to snowfall > 5
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
highest recorded heat refers to Max(heat); station refers to station_nbr
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
minimum dew point refers to Min(dewpoint)
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
How many units of item no.5 were sold in store no.3 on the day in 2012 when the max temperature was the highest?
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
in March 2014 refers to substring (date, 1, 4) = '2014' and substring (date, 6, 2) = '03'; temperature is below the 30-year normal refers to depart < 0; highest number of days refers to Max(Count(date))
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
What is the minimum dew point?
minimum dew point refers to Min(dewpoint)
station number refers to station_nbr; store 17 refers to store_nbr = 17
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; when the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
snow fell more than 5 inches refers to snowfall > 5
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
Provide the sunrise time recorded by the home weather station of store no.30 on 2014/2/21.
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
How many stores belong to the station with the highest recorded heat of all time?
highest recorded heat refers to Max(heat); station refers to station_nbr
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
snow fell more than 5 inches refers to snowfall > 5
store no.19 refers to store_nbr = 19; on 2013/2/24 refers to date = '2013-02-24'; sea level status refers to sealevel
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
What is the item number of the product with the highest number of units sold in store number 1 on 1/1/2012?
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
store 35 refers to store_nbr = 35; haze is recorded refers to codesum like '%'||'HZ'||'%'
For the weather station has store no.9, what was the increased percentage of the average temperature from 2012/2/2 to 2012/2/3?
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
snow fell more than 5 inches refers to snowfall > 5
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
station number refers to station_nbr; store 17 refers to store_nbr = 17
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
store no.19 refers to store_nbr = 19; on 2013/2/24 refers to date = '2013-02-24'; sea level status refers to sealevel
highest recorded heat refers to Max(heat); station refers to station_nbr
store no.6 refers to store_nbr = 6; on 2012/2/15 refers to date = '2012-02-15'; wet-bulb temperature refers to wetbulb
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
thickest snowfall refers to Max(snowfall); item refers to item_nbr
store no.2 refers to store_nbr = 2; on 2012/12/25 refers to date = '2012-12-25'; total precipitation refers to preciptotal
Provide the code summarization for the weather recorded by the weather station which contained the no.2 store on 2013/2/12.
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
in March 2014 refers to substring (date, 1, 4) = '2014' and substring (date, 6, 2) = '03'; temperature is below the 30-year normal refers to depart < 0; highest number of days refers to Max(Count(date))
store no.6 refers to store_nbr = 6; on 2012/2/15 refers to date = '2012-02-15'; wet-bulb temperature refers to wetbulb
store 35 refers to store_nbr = 35; haze is recorded refers to codesum like '%'||'HZ'||'%'
station number refers to station_nbr; store 17 refers to store_nbr = 17
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
sunrise before 5 Am refers to sunrise < time ('5:00:00')
Give the number of stores which opened on the weather station that recorded the fastest average wind speed.
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
station number refers to station_nbr; store 17 refers to store_nbr = 17
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
snow fell more than 5 inches refers to snowfall > 5
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
How many days did the sun rise before 5 AM?
sunrise before 5 Am refers to sunrise < time ('5:00:00')
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
in February 2012 refers to SUBSTR(date, 1, 7) = '2012-02'; earliest sunrise Min(sunrise);  station with no more than 1 store refers to station_nbr where Count(store_nbr) = 1
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
most windy station refers to Max(avgspeed)
store no.6 refers to store_nbr = 6; on 2012/2/15 refers to date = '2012-02-15'; wet-bulb temperature refers to wetbulb
What is the ID of the item that sold the best on 2012/1/1 in store no.1?
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
most windy station refers to Max(avgspeed)
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
minimum dew point refers to Min(dewpoint)
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
What is the ratio of the highest and lowest temperature in store 11?
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
in February 2012 refers to SUBSTR(date, 1, 7) = '2012-02'; earliest sunrise Min(sunrise);  station with no more than 1 store refers to station_nbr where Count(store_nbr) = 1
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
most windy station refers to Max(avgspeed)
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
snow fell more than 5 inches refers to snowfall > 5
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
What was the average temperature differences during May 2012 for store number 6 and 7?
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
sunrise before 5 Am refers to sunrise < time ('5:00:00')
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
station number 1 refers to station_nbr = 1 ; minimum temperature = tmin; maximum temperature = tmax; on 15 January 2012 refers to date = '2012-01-15'
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
Which items from store 1 have the highest units sold during rainy day?
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
sunrise before 5 Am refers to sunrise < time ('5:00:00')
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; with a total precipitation of over 0.05 refers to preciptotal > 0.05
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
store no.2 refers to store_nbr = 2; on 2012/12/25 refers to date = '2012-12-25'; total precipitation refers to preciptotal
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
station number 1 refers to station_nbr = 1 ; minimum temperature = tmin; maximum temperature = tmax; on 15 January 2012 refers to date = '2012-01-15'
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
Among the days on which over 100 units of item no.5 were sold in store no.3, on which date was the temperature range the biggest?
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
store no.19 refers to store_nbr = 19; on 2013/2/24 refers to date = '2013-02-24'; sea level status refers to sealevel
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
What is the difference between the units sold for item 1 when the sunset was the earliest and the latest?
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
store no.2 refers to store_nbr = 2; on 2012/12/25 refers to date = '2012-12-25'; total precipitation refers to preciptotal
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
What is the lowest minimum temperature recorded in store 16 on January 2012?
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
snow fell more than 5 inches refers to snowfall > 5
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
highest recorded heat refers to Max(heat); station refers to station_nbr
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
store no.6 refers to store_nbr = 6; on 2012/2/15 refers to date = '2012-02-15'; wet-bulb temperature refers to wetbulb
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; when the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
sold on 2012/1/1 refers to date = '2012-01-01'; in store no.1 refers to store_nbr = 1; item sold the best refers to Max(units)
most windy station refers to Max(avgspeed)
How many units of item no.9 were sold in store no.1 in total in January, 2012?
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; in January refers to SUBSTR(date, 1, 4) = '2012' and SUBSTR(date, 6, 2) = '01'
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; with a total precipitation of over 0.05 refers to preciptotal > 0.05
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
most windy station refers to Max(avgspeed)
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
How many stores belong to the most windy station?
most windy station refers to Max(avgspeed)
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
station with highest number of stores refers to station_nbr where Max(Count(store_nbr)); station refers to station_nbr; in February 2012 refers to substring (date, 1, 7) = '2012-02'; average maximum temperature = Divide(Sum(tmax), 29)
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
snow fell more than 5 inches refers to snowfall > 5
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
highest recorded heat refers to Max(heat); station refers to station_nbr
Give the station pressure status recorded by the weather station which contained no.12 store on 2012/5/15.
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
most windy station refers to Max(avgspeed)
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
store 35 refers to store_nbr = 35; haze is recorded refers to codesum like '%'||'HZ'||'%'
store 11 refers to store_nbr = 11; highest temperature refers to Max(tmax); lowest temperature refers to Min(tmin); ration = Divide (Max(tmax), Min(tmin))
store no.7 refers to tore_nbr = 7; on 2014/4/28 refers to date = '2014-04-28'; temperature range refers to Subtract (tmax, tmin)
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
in March 2014 refers to substring (date, 1, 4) = '2014' and substring (date, 6, 2) = '03'; temperature is below the 30-year normal refers to depart < 0; highest number of days refers to Max(Count(date))
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
What was the average temperature difference between store number 18 and 19 on 16 September 2022?
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; with a total precipitation of over 0.05 refers to preciptotal > 0.05
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
store no.9 refers to store_nbr = 9; 2012/2/2 refers to date = '2012-02-02'; 2012/2/3 refers to date = '2012-02-03'; average temperature refers to tavg; increase percentage = Divide (Subtract (tavg where date = '2012-02-03', tavg where date = '2012-02-02'), tavg where date = '2012-02-02') * 100
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
item no.5 refers to item_nbr = 5; store no. 3 refers to store_nbr = 3; when the max temperature was highest refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'
What are the items sold by the store during the day whose station recorded the thickest snowfall?
thickest snowfall refers to Max(snowfall); item refers to item_nbr
store no.19 refers to store_nbr = 19; on 2013/2/24 refers to date = '2013-02-24'; sea level status refers to sealevel
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
item number refers to item_nbr; highest number of units sold refers to Max(units); store no.1 refers to store_nbr = 1; on 1/1/2012 refers to date = '2012-01-01'
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
item 1 refers to item_nbr = 1; when the sunset earliest refers to Min(sunset); latest sunset refers to Max(sunset); difference unit sold refers to Subtract(Sum(units where Min(sunset)), Sum(units where Max(sunset)))
in February 2012 refers to SUBSTR(date, 1, 7) = '2012-02'; earliest sunrise Min(sunrise);  station with no more than 1 store refers to station_nbr where Count(store_nbr) = 1
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
Give the id of the bestsellers of store no.1 on 2012/1/1.
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
most windy station refers to Max(avgspeed)
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
lowest minimum temperature refers to Min(tmin); store 16 refers to store_nbr = 16; on January 2012 refers to Substring (date, 1, 7) = '2012-01'
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
in February 2012 refers to SUBSTR(date, 1, 7) = '2012-02'; earliest sunrise Min(sunrise);  station with no more than 1 store refers to station_nbr where Count(store_nbr) = 1
snow fell more than 5 inches refers to snowfall > 5
store no. 30 refers to store_nbr = 30; on 2014/2/21 refers to date = '2014-02-21'
over 100 units refers to units > 100; item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; the temperature range was the biggest refers to Max(Subtract(tmax, tmin))
How many units are being sold for item 1 when the average temperature is 83?
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
thickest snowfall refers to Max(snowfall); item refers to item_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
highest recorded heat refers to Max(heat); station refers to station_nbr
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
in February 2012 refers to SUBSTR(date, 1, 7) = '2012-02'; earliest sunrise Min(sunrise);  station with no more than 1 store refers to station_nbr where Count(store_nbr) = 1
List out stations number and items sold by store 17.
station number refers to station_nbr; store 17 refers to store_nbr = 17
fastest average wind speed refers to Max(avgspeed); number of store refers to count(store_nbr)
store 1 refers to store_nbr = 1; highest unit sold refers to Max(units); during rainy day refers to codesum like '%'||'RA'||'%'; item refers to item_nbr
on 2012/1/1 refers to date = '2012-01-01'; temperature range refers to Subtract (tmax, tmin); station no.1 refers to station_nbr = 1
during May 2012 refers to SUBSTR(date, 1, 7) = '2012-05'; store number 6 refers to store_nbr = 6; store number 7 refers to store_nbr = 7; average temperature difference = Subtract (Divide (Sum(tavg), Count (date) where the store_nbr = 6), Divide (Sum(tavg), Count(date) where store_nbr = 7))
deepest snowfall refers to Max(snowfall); number of stores refers to store_nbr
most windy station refers to Max(avgspeed)
no.2 store refers to store_nbr = 2; on 2013/2/12 refers to date = '2013-02-12'; code summarization refers to codesum
thickest snowfall refers to Max(snowfall); item refers to item_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3;  when the maximum temperature exceed 90 refers to tmax > 90; average = Divide (Sum(units), Count(date))
Tell the resultant wind speed of station no.9 on 2014/1/15.
station no.9 refers to station_nbr = 9; on 2014/1/15 refers to date = '2014/01/15'; result wind speed refers to resultspeed
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
highest max temperature refers to Max(tmax); store no.3 refers to store_nbr = 3; in 2012 refers to substring (date, 1, 4) = '2012'; sold the best refers to Max(units); ID of the item refers to item_nbr
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
store no. 1 refers to store_nbr = 1; item no. 9 refers to item_nbr = 9; on 2012/1/1 refers to date = '2012-01-01'
store no. 1 refers to store_nbr = 1; on 2012/1/1 refers to date = '2012-01-01'; best seller refers to Max(units); ID refers to item_nbr
no.12 store refers to store_nbr = 12; on 2012/5/15 refers to date = '2012-05-15'; station pressure status refers to stnpressure
store no.2 refers to store_nbr = 2; item weren't sold refers to units = 0; on 1/1/2012 refers to date = '2012-01-01'
station number 1 refers to station_nbr = 1 ; minimum temperature = tmin; maximum temperature = tmax; on 15 January 2012 refers to date = '2012-01-15'
store number 3 refers to store_nbr = 3; average speed refers to avgspeed; store number 4 refers to store_nbr = 4
in March 2014 refers to substring (date, 1, 4) = '2014' and substring (date, 6, 2) = '03'; temperature is below the 30-year normal refers to depart < 0; highest number of days refers to Max(Count(date))
On the day with the highest max temperature in 2012, how many items in store no.3 had no sales?
highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012'; store no.3 refers to store_nbr = 3; had no sale refers to units = 0
most purchased product refers to Max(units); during the rainy day refers to codesum = RA; in June 2013 refers to SUBSTR(date, 1, 7) = '2013-06'; weather station 9 refers to station_nbr = 9; product refers to item_nbr
snow fell more than 5 inches refers to snowfall > 5
item 1 refers to item_nbr = 1; when the average temperature is 83 refers to tavg = 83
highest recorded heat refers to Max(heat); station refers to station_nbr
store number 18 refers to store_nbr = 18; store number 19 refers to store_nbr = 19; on 16 September 2022 refers to date = '2022-09-16'; average temperature difference = Subtract(tavg where store_nbr = 18, tavg where store_nbr = 19)
store no.2 refers to store_nbr = 2; on 2012/12/25 refers to date = '2012-12-25'; total precipitation refers to preciptotal
station number 1 refers to station_nbr = 1 ; minimum temperature = tmin; maximum temperature = tmax; on 15 January 2012 refers to date = '2012-01-15'
thickest snowfall refers to Max(snowfall); item refers to item_nbr
item no. 5 refers to item_nbr = 5; store no.3 refers to store_nbr = 3; highest max temperature refers to Max(tmax); in 2012 refers to SUBSTR(date, 1, 4) = '2012';  Percentage = Divide (Sum(units where item_nbr = 5), Sum(units)) * 100
store no.20 refers to store_nbr = 20; weather station refers to station_nbr
Among paragraphs with paragraph number between 1900 to 1950, list the texts said by a character described as a sea captain, friend to Sebatian.
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
comedic works refers to GenreType = 'comedy'
character name "First Witch" refers to CharName = 'First Witch'
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
Hamlet refers to Title = 'Hamlet'
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
finished before the year 1602 refers to Date < 1602
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
Please name any three comedic works.
comedic works refers to GenreType = 'comedy'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
Sonnets refers to Title = 'Sonnets'
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
servant to Timon refers to characters.Description = 'servant to Timon'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
List down any 5 titles in the history genre.
in the history genre refers to GenreType = 'History'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
poems refers to GenreType = 'Poem'
servant to Timon refers to characters.Description = 'servant to Timon'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
Tragedy refers to GenreType = 'Tragedy'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
finished before the year 1602 refers to Date < 1602
character name "First Witch" refers to CharName = 'First Witch'
In "Florence. Without the walls. A tucket afar off", what is the id of the character that was mentioned in "His name, I pray you."?
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
poems refers to GenreType = 'Poem'
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
most paragraphs refers to max(count(chapter_id))
characters name refers to CharName; most recent work refers to max(Date)
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
highest number of scenes refers to max(count(Scene))
When refers to Date; has 154 scenes refers to count(Scene) = 154
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
What are the character names in paragraph 3?
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
short chapters refers to ParagraphNum < 150
1599 work refers to Date = '1599'; average number refers to divide(count(chapters.id), count(works.id))
Hamlet refers to Title = 'Hamlet'
finished before the year 1602 refers to Date < 1602
"Comedy of Errors" refers to Title = 'Comedy of Errors'
Twelfth Night refers to Title = 'Twelfth Night'
average number = divide(sum(character_id), count(work_id))
What is the description of the chapter where the character whose abrreviated name is 1Play appeared first?
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
When refers to Date; has 154 scenes refers to count(Scene) = 154
Tragedy refers to GenreType = 'Tragedy'
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
highest number of scenes refers to max(count(Scene))
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
average number = divide(sum(character_id), count(work_id))
When did Shakespeare write the first poem?
first poem refers to GenreType = 'Poem' and Date = 'min'
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
"Comedy of Errors" refers to Title = 'Comedy of Errors'
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
average number = divide(sum(character_id), count(work_id))
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
Which chapter has the most paragraphs? Give the description of the chapter.
most paragraphs refers to max(count(chapter_id))
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
character "Shylock" refers to CharName = 'Shylock'
in the history genre refers to GenreType = 'History'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
How many more scenes are there in Act 1 than in Act 5 in Twelfth Night?
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
highest number of scenes refers to max(count(Scene))
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
servant to Timon refers to characters.Description = 'servant to Timon'
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
short chapters refers to ParagraphNum < 150
characters name refers to CharName; most recent work refers to max(Date)
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
most paragraphs refers to max(count(chapter_id))
Twelfth Night refers to Title = 'Twelfth Night'
Which work is the character Lord Abergavenny from? Please give its short or abbreviated title.
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
When refers to Date; has 154 scenes refers to count(Scene) = 154
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
Please name the latest historical work.
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
Twelfth Night refers to Title = 'Twelfth Night'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
characters name refers to CharName; most recent work refers to max(Date)
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Hamlet refers to Title = 'Hamlet'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
Please list all of the character descriptions in paragraph 20.
paragraph 20 refers to ParagraphNum = 20
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
first poem refers to GenreType = 'Poem' and Date = 'min'
Twelfth Night refers to Title = 'Twelfth Night'
Titus Andronicus refers to Title = 'Titus Andronicus'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
servant to Timon refers to characters.Description = 'servant to Timon'
in the history genre refers to GenreType = 'History'
characters name refers to CharName; most recent work refers to max(Date)
What is the name of the character that can be found in paragraph 8 of chapter 18820?
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
highest number of scenes refers to max(count(Scene))
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
comedic works refers to GenreType = 'comedy'
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
first poem refers to GenreType = 'Poem' and Date = 'min'
When refers to Date; has 154 scenes refers to count(Scene) = 154
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Twelfth Night refers to Title = 'Twelfth Night'
How many poems did Shakespeare write?
poems refers to GenreType = 'Poem'
Twelfth Night refers to Title = 'Twelfth Night'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
"Comedy of Errors" refers to Title = 'Comedy of Errors'
1599 work refers to Date = '1599'; average number refers to divide(count(chapters.id), count(works.id))
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
average number = divide(sum(character_id), count(work_id))
highest number of scenes refers to max(count(Scene))
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
List the chapter ID of the works with a year greater than the 89% of average year of all listed works of Shakespeare.
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
highest number of scenes refers to max(count(Scene))
Sonnets refers to Title = 'Sonnets'
finished before the year 1602 refers to Date < 1602
Twelfth Night refers to Title = 'Twelfth Night'
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
character name "First Witch" refers to CharName = 'First Witch'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
in the history genre refers to GenreType = 'History'
How many of the works of Shakespeare are Tragedy?
Tragedy refers to GenreType = 'Tragedy'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
chapter with the longest number of paragraphs refers to max(ParagraphNum)
highest number of scenes refers to max(count(Scene))
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
Twelfth Night refers to Title = 'Twelfth Night'
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
How many "servant to Timon" characters are there?
servant to Timon refers to characters.Description = 'servant to Timon'
poems refers to GenreType = 'Poem'
Sonnets refers to Title = 'Sonnets'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
characters name refers to CharName; most recent work refers to max(Date)
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
average number = divide(sum(character_id), count(work_id))
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
"Comedy of Errors" refers to Title = 'Comedy of Errors'
Twelfth Night refers to Title = 'Twelfth Night'
How many scenes are there on average in one act in Twelfth Night?
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
Titus Andronicus refers to Title = 'Titus Andronicus'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
Sonnets refers to Title = 'Sonnets'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
Twelfth Night refers to Title = 'Twelfth Night'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
Among the comedy works of Shakespeare, what is the percentage of his works with a character named "antonio"?
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
Twelfth Night refers to Title = 'Twelfth Night'
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
first poem refers to GenreType = 'Poem' and Date = 'min'
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
What is the description of the chapter with the longest number of paragraphs?
chapter with the longest number of paragraphs refers to max(ParagraphNum)
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
Tragedy refers to GenreType = 'Tragedy'
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
poems refers to GenreType = 'Poem'
1599 work refers to Date = '1599'; average number refers to divide(count(chapters.id), count(works.id))
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
Twelfth Night refers to Title = 'Twelfth Night'
Give the title of the work that contains the character "Shylock".
character "Shylock" refers to CharName = 'Shylock'
first poem refers to GenreType = 'Poem' and Date = 'min'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
Sonnets refers to Title = 'Sonnets'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
chapter with the longest number of paragraphs refers to max(ParagraphNum)
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
Please list the IDs of the paragraphs in which the character "son to Tamora" appears.
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
poems refers to GenreType = 'Poem'
Tragedy refers to GenreType = 'Tragedy'
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
Twelfth Night refers to Title = 'Twelfth Night'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
When did Shakespeare create his work that has 154 scenes?
When refers to Date; has 154 scenes refers to count(Scene) = 154
Sonnets refers to Title = 'Sonnets'
most paragraphs refers to max(count(chapter_id))
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
servant to Timon refers to characters.Description = 'servant to Timon'
average number = divide(sum(character_id), count(work_id))
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
Tragedy refers to GenreType = 'Tragedy'
What is the chapter description where the paragraph "What, wilt thou hear some music, my sweet love?" belongs?
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
character name "First Witch" refers to CharName = 'First Witch'
characters name refers to CharName; most recent work refers to max(Date)
poems refers to GenreType = 'Poem'
servant to Timon refers to characters.Description = 'servant to Timon'
paragraph 20 refers to ParagraphNum = 20
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
What are the descriptions of the short chapters?
short chapters refers to ParagraphNum < 150
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
character "Shylock" refers to CharName = 'Shylock'
Titus Andronicus refers to Title = 'Titus Andronicus'
first poem refers to GenreType = 'Poem' and Date = 'min'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
How many paragraphs are there in Act 5 Scene 1 of "Comedy of Errors"?
"Comedy of Errors" refers to Title = 'Comedy of Errors'
finished before the year 1602 refers to Date < 1602
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
Twelfth Night refers to Title = 'Twelfth Night'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
Sonnets refers to Title = 'Sonnets'
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
Hamlet refers to Title = 'Hamlet'
What are the work numbers that are related to King Henry?
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
Tragedy refers to GenreType = 'Tragedy'
short chapters refers to ParagraphNum < 150
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
average number = divide(sum(character_id), count(work_id))
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
In the Venus and Adonis, what is the description of the last scene listed?
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
character "Shylock" refers to CharName = 'Shylock'
in the history genre refers to GenreType = 'History'
Titus Andronicus refers to Title = 'Titus Andronicus'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
average number = divide(sum(character_id), count(work_id))
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
Among the history works written by Shakespeare, how many works whose 1st acts have no more than 2 scenes?
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
"Comedy of Errors" refers to Title = 'Comedy of Errors'
finished before the year 1602 refers to Date < 1602
paragraph 20 refers to ParagraphNum = 20
Titus Andronicus refers to Title = 'Titus Andronicus'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
Sonnets refers to Title = 'Sonnets'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
Twelfth Night refers to Title = 'Twelfth Night'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
List the number of acts in Two Gentlemen of Verona.
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
in the history genre refers to GenreType = 'History'
Twelfth Night refers to Title = 'Twelfth Night'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
most paragraphs refers to max(count(chapter_id))
first poem refers to GenreType = 'Poem' and Date = 'min'
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
average number = divide(sum(character_id), count(work_id))
character name "First Witch" refers to CharName = 'First Witch'
What is the character and work ID of the text "Fear not thou, man, thou shalt lose nothing here."?
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
first poem refers to GenreType = 'Poem' and Date = 'min'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
highest number of scenes refers to max(count(Scene))
Sonnets refers to Title = 'Sonnets'
average number = divide(sum(character_id), count(work_id))
Twelfth Night refers to Title = 'Twelfth Night'
When refers to Date; has 154 scenes refers to count(Scene) = 154
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
In "A Lover's Complaint", what is the description of Act 1, Scene 1?
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
character name "First Witch" refers to CharName = 'First Witch'
Sonnets refers to Title = 'Sonnets'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
Titus Andronicus refers to Title = 'Titus Andronicus'
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
Twelfth Night refers to Title = 'Twelfth Night'
servant to Timon refers to characters.Description = 'servant to Timon'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
What are the character names for a senator of Venice?
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
highest number of scenes refers to max(count(Scene))
"Comedy of Errors" refers to Title = 'Comedy of Errors'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
Titus Andronicus refers to Title = 'Titus Andronicus'
Sonnets refers to Title = 'Sonnets'
average number = divide(sum(character_id), count(work_id))
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
In "Twelfth Night, Or What You Will", what is the description of the chapter in 2nd scene, Act 2?
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
comedic works refers to GenreType = 'comedy'
characters name refers to CharName; most recent work refers to max(Date)
Twelfth Night refers to Title = 'Twelfth Night'
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
short chapters refers to ParagraphNum < 150
highest number of scenes refers to max(count(Scene))
Tragedy refers to GenreType = 'Tragedy'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
Other than "stage directions", what is the name of the character that appeared 5 times in "the sea-coast"?
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
When refers to Date; has 154 scenes refers to count(Scene) = 154
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
"Comedy of Errors" refers to Title = 'Comedy of Errors'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
character name "First Witch" refers to CharName = 'First Witch'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
highest number of scenes refers to max(count(Scene))
How many scenes are there in Act 1 in Twelfth Night?
Twelfth Night refers to Title = 'Twelfth Night'
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
most paragraphs refers to max(count(chapter_id))
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
How many paragraphs are there in Act 1, Scene 1 in Twelfth Night?
Twelfth Night refers to Title = 'Twelfth Night'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
average number = divide(sum(character_id), count(work_id))
comedic works refers to GenreType = 'comedy'
servant to Timon refers to characters.Description = 'servant to Timon'
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
poems refers to GenreType = 'Poem'
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
short chapters refers to ParagraphNum < 150
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
In the year 1500s, how many tragedies did Shakespeare write?
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
Sonnets refers to Title = 'Sonnets'
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
Twelfth Night refers to Title = 'Twelfth Night'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
character "Shylock" refers to CharName = 'Shylock'
finished before the year 1602 refers to Date < 1602
average number = divide(sum(character_id), count(work_id))
Who is the daughter of Capulet?
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
servant to Timon refers to characters.Description = 'servant to Timon'
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
Hamlet refers to Title = 'Hamlet'
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
first poem refers to GenreType = 'Poem' and Date = 'min'
Sonnets refers to Title = 'Sonnets'
Twelfth Night refers to Title = 'Twelfth Night'
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
How many "all" character names have the "all" abbreviation?
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
most paragraphs refers to max(count(chapter_id))
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
Titus Andronicus refers to Title = 'Titus Andronicus'
When refers to Date; has 154 scenes refers to count(Scene) = 154
in the history genre refers to GenreType = 'History'
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
How many characters are there in Hamlet?
Hamlet refers to Title = 'Hamlet'
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
character "Shylock" refers to CharName = 'Shylock'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
poems refers to GenreType = 'Poem'
in Twelfth Night refers to Title = 'Twelfth Night'; How many more scenes = subtract(sum(Act = 1), sum(Act = 5))
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
List the paragraph number and paragraphs said by the character named "Sir Andrew Aguecheek".
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
most paragraphs refers to max(count(chapter_id))
Twelfth Night refers to Title = 'Twelfth Night'
in the history genre refers to GenreType = 'History'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Sonnets refers to Title = 'Sonnets'
first poem refers to GenreType = 'Poem' and Date = 'min'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
paragraph 20 refers to ParagraphNum = 20
What is the percentage of historical works that have not fewer than five scenes in the 1500s?
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
average number = divide(sum(character_id), count(work_id))
Tragedy refers to GenreType = 'Tragedy'
first poem refers to GenreType = 'Poem' and Date = 'min'
comedic works refers to GenreType = 'comedy'
most paragraphs refers to max(count(chapter_id))
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
highest number of scenes refers to max(count(Scene))
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
On average, how many scenes are there in each of the comedy works written by Shakespeare?
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Tragedy refers to GenreType = 'Tragedy'
When refers to Date; has 154 scenes refers to count(Scene) = 154
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
poems refers to GenreType = 'Poem'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
Twelfth Night refers to Title = 'Twelfth Night'
How many acts are there in Sonnets?
Sonnets refers to Title = 'Sonnets'
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
characters name refers to CharName; most recent work refers to max(Date)
poems refers to GenreType = 'Poem'
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
servant to Timon refers to characters.Description = 'servant to Timon'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Hamlet refers to Title = 'Hamlet'
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
character names refers to CharName; a senator of Venice refers to characters.Description = 'a senator of Venice'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
What is the long title of the work with the highest number of scenes in act 1?
highest number of scenes refers to max(count(Scene))
characters name refers to CharName; most recent work refers to max(Date)
average number = divide(sum(character_id), count(work_id))
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
character name "First Witch" refers to CharName = 'First Witch'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
Sonnets refers to Title = 'Sonnets'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
Hamlet refers to Title = 'Hamlet'
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
Give the title and the characters name of the most recent work of Shakespeare.
characters name refers to CharName; most recent work refers to max(Date)
short chapters refers to ParagraphNum < 150
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
character name "First Witch" refers to CharName = 'First Witch'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
Hamlet refers to Title = 'Hamlet'
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
List the scenes and descriptions in Act 1 of " Pericles, Prince of Tyre".
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
character "Shylock" refers to CharName = 'Shylock'
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
servant to Timon refers to characters.Description = 'servant to Timon'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
highest number of scenes refers to max(count(Scene))
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
comedic works refers to GenreType = 'comedy'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
What is the description of chapter 18704, where there is a character called Orsino?
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
highest number of scenes refers to max(count(Scene))
paragraph 20 refers to ParagraphNum = 20
finished before the year 1602 refers to Date < 1602
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
Tragedy refers to GenreType = 'Tragedy'
first poem refers to GenreType = 'Poem' and Date = 'min'
Please list any two character names in chapter 18708.
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
abbreviated name is 1Play; appeared first refers to Abbrev = '1Play' and min(chapter_id)
comedic works refers to GenreType = 'comedy'
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
in the history genre refers to GenreType = 'History'
Hamlet refers to Title = 'Hamlet'
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
How many chapters include the character name "First Witch"?
character name "First Witch" refers to CharName = 'First Witch'
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
most paragraphs refers to max(count(chapter_id))
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
characters name refers to CharName; most recent work refers to max(Date)
Twelfth Night refers to Title = 'Twelfth Night'
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
chapter with the longest number of paragraphs refers to max(ParagraphNum)
finished before the year 1602 refers to Date < 1602
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
What is the average number of characters in all the works of Shakespeare?
average number = divide(sum(character_id), count(work_id))
work numbers refers to works.id; related to King Henry refers to Title = '%Henry%'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
Twelfth Night refers to Title = 'Twelfth Night'
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
daughter of Capulet refers to characters.Description = 'Daughter to Capulet'
Tragedy refers to GenreType = 'Tragedy'
Sonnets refers to Title = 'Sonnets'
How many of Shakespeare's works were finished before the year 1602?
finished before the year 1602 refers to Date < 1602
most paragraphs refers to max(count(chapter_id))
Twelfth Night refers to Title = 'Twelfth Night'
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
characters name refers to CharName; most recent work refers to max(Date)
first poem refers to GenreType = 'Poem' and Date = 'min'
Twelfth Night refers to Title = 'Twelfth Night'
Titus Andronicus refers to Title = 'Titus Andronicus'
average number = divide(sum(character_id), count(work_id))
paragraph number refers to ParagraphNum; character named "Sir Andrew Aguecheek" refers to CharName = 'Sir Andrew Aguecheek'
character "son to Tamora"  refers to characters.Description = 'son to Tamora'
How many characters are there in Titus Andronicus?
Titus Andronicus refers to Title = 'Titus Andronicus'
highest number of scenes refers to max(count(Scene))
history refers to GenreType = 'History' ; 1st acts  refers to Act = 1; no more than 2 scenes refers to count(Scene) < 2
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
first poem refers to GenreType = 'Poem' and Date = 'min'
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
poems refers to GenreType = 'Poem'
character names refers to CharName; chapter 18708 refers to chapter_id = 18708
short chapters refers to ParagraphNum < 150
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
Gives the average number of chapters in Shakespeare's 1599 work.
1599 work refers to Date = '1599'; average number refers to divide(count(chapters.id), count(works.id))
paragraph 20 refers to ParagraphNum = 20
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
historical works refers to GenreType = 'history'; have not fewer than five scenes in the 1500s refers to count(Scene) > = 5 and DATE > = 1500 AND DATE < = 1599; percentage = divide(count(works.id) where GenreType = 'history' and count(Scene) > = 5, count(works.id) ) as percentage
poems refers to GenreType = 'Poem'
When refers to Date; has 154 scenes refers to count(Scene) = 154
"Florence. Without the walls. A tucket afar off" refers to chapters.Description = 'Florence. Without the walls. A tucket afar off.'; "His name, I pray you." refers to PlainText = 'His name, I pray you.'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
What percentage of all scenes are tragic scenes in Shakespeare's work in 1594?
tragic scenes refers to GenreType = 'Tragedy'; work in 1594 refers to Date = '1594'; percentage = divide((sum(Scene) when GenreType = 'Tragedy'), count(Scene))as percentage
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
1599 work refers to Date = '1599'; average number refers to divide(count(chapters.id), count(works.id))
chapter 18704 refers to chapters.id = 18704; character called Orsino refers to CharName = 'Orsino'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
first poem refers to GenreType = 'Poem' and Date = 'min'
servant to Timon refers to characters.Description = 'servant to Timon'
highest number of scenes refers to max(count(Scene))
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
What is the description of Act 1, Scene 2 in Twelfth Night?
Twelfth Night refers to Title = 'Twelfth Night'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
chapter with the longest number of paragraphs refers to max(ParagraphNum)
Titus Andronicus refers to Title = 'Titus Andronicus'
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
character names refers to CharName;"all" abbreviation refers to Abbrev = 'all'
most paragraphs refers to max(count(chapter_id))
paragraph 20 refers to ParagraphNum = 20
a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
poems refers to GenreType = 'Poem'
Describe the full title which had the character named Servant to Montague.
full title refers to LongTitle; character named Servant to Montague refers to characters.Description = 'Servant to Montague'
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
Twelfth Night refers to Title = 'Twelfth Night'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
"Twelfth Night, Or What You Will"  refers to LongTitle = 'Twelfth Night, Or What You Will'; 2nd scene refers to Scene = 2
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
most paragraphs refers to max(count(chapter_id))
average number = divide(sum(character_id), count(work_id))
Between Rome and Juliet, which character was mentioned the most in the The Tragedy of Romeo and Juliet? Calculate for Romeo and Juliet's individual amount of appearance in percentage against the overall number of characters that appeared in the said work.
Rome and Juliet refers to CharName = 'Romeo' and CharName = 'Juliet'; The Tragedy of Romeo and Juliet refers to LongTitle = 'The Tragedy of Romeo and Juliet'; percentage = divide(sum(charater.id) when CharName = 'Romeo', sum(charater.id)) as percentage and percentage = divide(sum(charater.id) when CharName = 'Juliet', count(charater.id)) as percentage
name of the character refers to CharName; paragraph 8 refers to ParagraphNum = 8; chapter 18820 refers to chapter_id = 18820
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
When refers to Date; has 154 scenes refers to count(Scene) = 154
Twelfth Night refers to Title = 'Twelfth Night'
characters name refers to CharName; most recent work refers to max(Date)
Twelfth Night refers to Title = 'Twelfth Night'; average scene = divide(sum(Scene), count(Act))
Two Gentlemen of Verona refers to LongTitle = 'Two Gentlemen of Verona'
poems refers to GenreType = 'Poem'
" Pericles, Prince of Tyre" refers to LongTitle = 'Pericles, Prince of Tyre'
"A Lover's Complaint" refers to Title = 'A Lover''s Complaint'
Please list all of the paragraphs that have the character name Aedile.
paragraphs  refers to ParagraphNum; character name Aedile refers to CharName = 'Aedile'
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
name refers to LongTitle; latest historical work refers to GenreType = 'History' and max(Date)
Twelfth Night refers to Title = 'Twelfth Night'
Sonnets refers to Title = 'Sonnets'
comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
Twelfth Night refers to Title = 'Twelfth Night'
paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
character names refers to CharName; paragraph 3 refers to ParagraphNum = 3
Which character was mentioned in the paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."? Give the character name.
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
Twelfth Night refers to Title = 'Twelfth Night'
"Comedy of Errors" refers to Title = 'Comedy of Errors'
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
Tragedy refers to GenreType = 'Tragedy'
most paragraphs refers to max(count(chapter_id))
comedic works refers to GenreType = 'comedy'
average number = divide(sum(character_id), count(work_id))
comedy refers to GenreType = 'Comedy'; average = divide(sum(count(Scene)), count(work.id))
Twelfth Night refers to Title = 'Twelfth Night'
For how many times has the scene "OLIVIA’S house." appeared in Twelfth Night?
"OLIVIA’S house."  refers to chapters.Description = 'OLIVIA’S house.'; Twelfth Night refers to Title = 'Twelfth Night'
Tragedy refers to GenreType = 'Tragedy'
Lord Abergavenny refers to CharName = 'Lord Abergavenny'; short or abbreviated title refers to Title
paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
in the history genre refers to GenreType = 'History'
Twelfth Night refers to Title = 'Twelfth Night'
year 1500s refers to Date between 1500 and 1599; tragedies refers to GenreType = 'Tragedy'
Hamlet refers to Title = 'Hamlet'
Sonnets refers to Title = 'Sonnets'
paragraph "Would he do so, I'ld beg your precious mistress, Which he counts but a trifle."  refers to PlainText = 'Would he do so, I'ld beg your precious mistress, Which he counts but a trifle.'
Other than "stage directions" refers to CharName ! = '(stage directions)'; name of the character refers to CharName; appeared 5 times in "the sea-coast" refers to chapters.Description = 'The sea-coast.' and count(character_id) = 5
Among the shipments done by Sue Newell, how many of them are for S K L Enterprises Inc?
"S K L Enterprises Inc" is the cust_name
"2005" and "2006" are both model_year of truck; difference = Subtract (Count (ship_id where model_year = 2005), Count(ship_id where model_year = 2006))
lightest weight refers to Min(weight); full name refers to first_name, last_name
manufactured in year 2009 refers to model_year = 2009
"Florida" is the state; "Jacksonville" is city_name;
"S K L Enterprises Inc" is the cust_name; in 2017 refers to Cast(ship_date AS DATE) = 2017
on 3/2/2016 refers to ship_date = '2016-02-03'; full name refers to first_name, last_name
"Klett & Sons Repair" is the cust_name
"retailer" is the cust_type;  IDs of shipments refers to ship_id
weight of no more than 1000 pounds refers to weight < 1000; oldest truck refers to Min (model_year)
customer in Florida refers to state = 'FL'
What is the total number of pounds being transported for S K L Enterprises Inc?
"S K L Enterprises Inc" is the cust_name; total number of pounds refers to Sum(weight)
"manufacturer" is the cust_type
"New York" is the city_name; maximum weight refers to Max(weight)
"North Las Vegas" is the city_name
"retailer" is the cust_type; live in California refers to state = 'CA'
shipment no. 1045 refers to ship_id = 1045; headquarter refers to if make = 'Peterbit', then 'Texax(TX)', if make = 'Mack', then 'North Carolina (NC)'; if make = 'Kenworth', then 'Washington (WA)'
live refers to address
"2005" and "2006" are both model_year of truck; difference = Subtract (Count (ship_id where model_year = 2005), Count(ship_id where model_year = 2006))
oldest truck model refers to Min(model_year)
least populated city refers to Min(population); fullname refers to first_name, last_name; most shipment refers to driver_id where Max(Count (ship_id))
"retailer" is the cust_type;  IDs of shipments refers to ship_id
Determine the percentage of manufacturers who are from Texas among all of Lorenzo's customers.
"Texas" refers to state = 'TX'; 'manufacturer' is the cust_type; percentage = Divide (Count(cust_id where state = 'TX'), Count(cust_id)) * 100
shipment id 1003 refers to ship_id = 1003
shipment id 1055 refers to ship_id = 1055; brand refers to make; model refers to model_year
"Klett & Sons Repair" is the cust_name
shipment no. 1045 refers to ship_id = 1045; headquarter refers to if make = 'Peterbit', then 'Texax(TX)', if make = 'Mack', then 'North Carolina (NC)'; if make = 'Kenworth', then 'Washington (WA)'
"South Carolina" refers to state = 'SC'; first shipment refers to Min(ship_date)
weight of no more than 1000 pounds refers to weight < 1000; oldest truck refers to Min (model_year)
weight of less than 65000 pounds refers to weight < 65000; average annual revenue refers to AVG(annual_revenue)
shipment in February 2017 refers to ship_date LIKE '2017-02-%'; name of customer refers to cust_name
live refers to address
first shipment refers to Min(ship_date); pounds refers to weight