| [ |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT count(*) FROM ALBUM", |
| "query_toks": [ |
| "SELECT", |
| "count", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album" |
| ], |
| "question_spider": "How many albums are there?", |
| "question": "有多少张专辑?", |
| "question_cspider": "有多少张专辑?", |
| "Harold": "BLEU = 36.56, 62.5/42.9/33.3/20.0 (BP=1.000, ratio=1.143, hyp_len=8, ref_len=7)", |
| "question_toks": [ |
| "那", |
| "里", |
| "有", |
| "几", |
| "张", |
| "专", |
| "辑", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT count(*) FROM ALBUM", |
| "query_toks": [ |
| "SELECT", |
| "count", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album" |
| ], |
| "question_spider": "Find the number of albums.", |
| "question": "找到专辑的数量。", |
| "question_cspider": "找到专辑的数量。", |
| "Harold": "BLEU = 36.56, 62.5/42.9/33.3/20.0 (BP=1.000, ratio=1.000, hyp_len=8, ref_len=8)", |
| "question_toks": [ |
| "查", |
| "找", |
| "相", |
| "册", |
| "的", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM GENRE", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "GENRE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "genre" |
| ], |
| "question_spider": "List the names of all music genres.", |
| "question": "列出所有音乐流派的名称。", |
| "question_cspider": "列出所有音乐流派的名称。", |
| "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", |
| "question_toks": [ |
| "列", |
| "出", |
| "所", |
| "有", |
| "音", |
| "乐", |
| "流", |
| "派", |
| "的", |
| "名", |
| "称", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM GENRE", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "GENRE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "genre" |
| ], |
| "question_spider": "What are the names of different music genres?", |
| "question": "不同音乐流派的名字是什么?", |
| "question_cspider": "不同音乐流派的名字是什么?", |
| "Harold": "BLEU = 76.12, 92.3/83.3/72.7/60.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "不", |
| "同", |
| "音", |
| "乐", |
| "流", |
| "派", |
| "的", |
| "名", |
| "称", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT * FROM CUSTOMER WHERE State = \"NY\"", |
| "query_toks": [ |
| "SELECT", |
| "*", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "State", |
| "=", |
| "``", |
| "NY", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "*", |
| "from", |
| "customer", |
| "where", |
| "state", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find all the customer information in state NY.", |
| "question": "查找“NY”州所有客户信息。", |
| "question_cspider": "查找“NY”州所有客户信息。", |
| "Harold": "BLEU = 49.49, 76.9/58.3/45.5/40.0 (BP=0.926, ratio=0.929, hyp_len=13, ref_len=14)", |
| "question_toks": [ |
| "查", |
| "找", |
| "纽", |
| "约", |
| "州", |
| "的", |
| "所", |
| "有", |
| "客", |
| "户", |
| "信", |
| "息", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 12, |
| false |
| ], |
| null |
| ], |
| "\"NY\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT * FROM CUSTOMER WHERE State = \"NY\"", |
| "query_toks": [ |
| "SELECT", |
| "*", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "State", |
| "=", |
| "``", |
| "NY", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "*", |
| "from", |
| "customer", |
| "where", |
| "state", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is all the customer information for customers in NY state?", |
| "question": "“NY”州客户的所有客户信息是什么?", |
| "question_cspider": "“NY”州客户的所有客户信息是什么?", |
| "Harold": "BLEU = 76.00, 87.5/86.7/85.7/84.6 (BP=0.882, ratio=0.889, hyp_len=16, ref_len=18)", |
| "question_toks": [ |
| "纽", |
| "约", |
| "州", |
| "客", |
| "户", |
| "的", |
| "所", |
| "有", |
| "客", |
| "户", |
| "信", |
| "息", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 12, |
| false |
| ], |
| null |
| ], |
| "\"NY\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT FirstName , LastName FROM EMPLOYEE WHERE City = \"Calgary\"", |
| "query_toks": [ |
| "SELECT", |
| "FirstName", |
| ",", |
| "LastName", |
| "FROM", |
| "EMPLOYEE", |
| "WHERE", |
| "City", |
| "=", |
| "``", |
| "Calgary", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "firstname", |
| ",", |
| "lastname", |
| "from", |
| "employee", |
| "where", |
| "city", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the first names and last names of the employees who live in Calgary city.", |
| "question": "住在“Calgary”市的员工的名字和姓是什么?", |
| "question_cspider": "住在“Calgary”市的员工的名字和姓是什么?", |
| "Harold": "BLEU = 36.79, 77.8/47.1/31.2/20.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", |
| "question_toks": [ |
| "住", |
| "在", |
| "卡", |
| "尔", |
| "加", |
| "里", |
| "市", |
| "的", |
| "员", |
| "工", |
| "的", |
| "姓", |
| "和", |
| "名", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 21, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 20, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ], |
| "\"Calgary\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT FirstName , LastName FROM EMPLOYEE WHERE City = \"Calgary\"", |
| "query_toks": [ |
| "SELECT", |
| "FirstName", |
| ",", |
| "LastName", |
| "FROM", |
| "EMPLOYEE", |
| "WHERE", |
| "City", |
| "=", |
| "``", |
| "Calgary", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "firstname", |
| ",", |
| "lastname", |
| "from", |
| "employee", |
| "where", |
| "city", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the full names of employees living in the city of Calgary.", |
| "question": "查找居住在“Calgary”市的雇员的全名。", |
| "question_cspider": "查找居住在“Calgary”市的雇员的全名。", |
| "Harold": "BLEU = 22.03, 68.8/40.0/14.3/7.7 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)", |
| "question_toks": [ |
| "查", |
| "找", |
| "住", |
| "在", |
| "卡", |
| "尔", |
| "加", |
| "里", |
| "市", |
| "的", |
| "员", |
| "工", |
| "的", |
| "全", |
| "名", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 21, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 20, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ], |
| "\"Calgary\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT distinct(BillingCountry) FROM INVOICE", |
| "query_toks": [ |
| "SELECT", |
| "distinct", |
| "(", |
| "BillingCountry", |
| ")", |
| "FROM", |
| "INVOICE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "(", |
| "billingcountry", |
| ")", |
| "from", |
| "invoice" |
| ], |
| "question_spider": "What are the distinct billing countries of the invoices?", |
| "question": "不同发票的收费国家有哪些?", |
| "question_cspider": "不同发票的收费国家有哪些?", |
| "Harold": "BLEU = 0.00, 84.6/41.7/9.1/0.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "发", |
| "票", |
| "有", |
| "哪", |
| "些", |
| "不", |
| "同", |
| "的", |
| "开", |
| "票", |
| "国", |
| "家", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 42, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT distinct(BillingCountry) FROM INVOICE", |
| "query_toks": [ |
| "SELECT", |
| "distinct", |
| "(", |
| "BillingCountry", |
| ")", |
| "FROM", |
| "INVOICE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "(", |
| "billingcountry", |
| ")", |
| "from", |
| "invoice" |
| ], |
| "question_spider": "Find the different billing countries for all invoices.", |
| "question": "查找所有发票不同的收费国家。", |
| "question_cspider": "查找所有发票不同的收费国家。", |
| "Harold": "BLEU = 45.72, 71.4/53.8/41.7/27.3 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)", |
| "question_toks": [ |
| "查", |
| "找", |
| "所", |
| "有", |
| "发", |
| "票", |
| "的", |
| "其", |
| "他", |
| "开", |
| "票", |
| "国", |
| "家", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 42, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM ARTIST WHERE Name LIKE \"%a%\"", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "ARTIST", |
| "WHERE", |
| "Name", |
| "LIKE", |
| "``", |
| "%", |
| "a", |
| "%", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "artist", |
| "where", |
| "name", |
| "like", |
| "value" |
| ], |
| "question_spider": "Find the names of all artists that have \"a\" in their names.", |
| "question": "找出所有名字中有“a”的艺术家的名字。", |
| "question_cspider": "找出所有名字中有“a”的艺术家的名字。", |
| "Harold": "BLEU = 41.52, 80.0/47.4/33.3/23.5 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)", |
| "question_toks": [ |
| "查", |
| "找", |
| "名", |
| "称", |
| "中", |
| "带", |
| "有", |
| "“", |
| " ", |
| "a", |
| "”", |
| "的", |
| "所", |
| "有", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "名", |
| "称", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"%a%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM ARTIST WHERE Name LIKE \"%a%\"", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "ARTIST", |
| "WHERE", |
| "Name", |
| "LIKE", |
| "``", |
| "%", |
| "a", |
| "%", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "artist", |
| "where", |
| "name", |
| "like", |
| "value" |
| ], |
| "question_spider": "What are the names of artist who have the letter 'a' in their names?", |
| "question": "名字中有字母“a”的艺术家有哪些?", |
| "question_cspider": "名字中有字母“a”的艺术家有哪些?", |
| "Harold": "BLEU = 48.33, 66.7/50.0/42.1/38.9 (BP=1.000, ratio=1.235, hyp_len=21, ref_len=17)", |
| "question_toks": [ |
| "姓", |
| "名", |
| "中", |
| "带", |
| "有", |
| "字", |
| "母", |
| "“", |
| " ", |
| "a", |
| "”", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "名", |
| "字", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"%a%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = \"AC/DC\"", |
| "query_toks": [ |
| "SELECT", |
| "Title", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T2.Name", |
| "=", |
| "``", |
| "AC/DC", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t2", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the title of all the albums of the artist \"AC/DC\".", |
| "question": "找到“AC/DC”艺术家的所有专辑的标题。", |
| "question_cspider": "找到“AC/DC”艺术家的所有专辑的标题。", |
| "Harold": "BLEU = 47.32, 71.4/50.0/42.1/33.3 (BP=1.000, ratio=1.105, hyp_len=21, ref_len=19)", |
| "question_toks": [ |
| "查", |
| "找", |
| "艺", |
| "术", |
| "家", |
| "“", |
| " ", |
| "A", |
| "C", |
| " ", |
| "/", |
| " ", |
| "D", |
| "C", |
| "”", |
| "的", |
| "所", |
| "有", |
| "专", |
| "辑", |
| "的", |
| "标", |
| "题", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"AC/DC\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = \"AC/DC\"", |
| "query_toks": [ |
| "SELECT", |
| "Title", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T2.Name", |
| "=", |
| "``", |
| "AC/DC", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t2", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the titles of albums by the artist \"AC/DC\"?", |
| "question": "“AC/DC”艺术家的专辑的标题是什么?", |
| "question_cspider": "“AC/DC”艺术家的专辑的标题是什么?", |
| "Harold": "BLEU = 39.52, 73.7/50.0/35.3/18.8 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)", |
| "question_toks": [ |
| "艺", |
| "术", |
| "家", |
| "“", |
| " ", |
| "A", |
| "C", |
| " ", |
| "/", |
| " ", |
| "D", |
| "C", |
| "”", |
| "的", |
| "专", |
| "辑", |
| "标", |
| "题", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"AC/DC\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = \"Metallica\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T2.Name", |
| "=", |
| "``", |
| "Metallica", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t2", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Hom many albums does the artist \"Metallica\" have?", |
| "question": "“Metallica”艺术家有多少张专辑?", |
| "question_cspider": "“Metallica”艺术家有多少张专辑?", |
| "Harold": "BLEU = 18.95, 50.0/26.3/16.7/5.9 (BP=1.000, ratio=1.333, hyp_len=20, ref_len=15)", |
| "question_toks": [ |
| "艺", |
| "术", |
| "家", |
| "“", |
| " ", |
| "M", |
| "e", |
| "t", |
| "a", |
| "l", |
| "l", |
| "i", |
| "c", |
| "a", |
| "”", |
| "有", |
| "几", |
| "张", |
| "专", |
| "辑", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"Metallica\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = \"Metallica\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T2.Name", |
| "=", |
| "``", |
| "Metallica", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t2", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the number of albums by the artist \"Metallica\".", |
| "question": "找到“Metallica”艺术家的专辑数量。", |
| "question_cspider": "找到“Metallica”艺术家的专辑数量。", |
| "Harold": "BLEU = 29.11, 54.5/33.3/25.0/15.8 (BP=1.000, ratio=1.375, hyp_len=22, ref_len=16)", |
| "question_toks": [ |
| "查", |
| "找", |
| "艺", |
| "术", |
| "家", |
| "“", |
| " ", |
| "M", |
| "e", |
| "t", |
| "a", |
| "l", |
| "l", |
| "i", |
| "c", |
| "a", |
| "”", |
| "的", |
| "专", |
| "辑", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ], |
| "\"Metallica\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = \"Balls to the Wall\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T1.Title", |
| "=", |
| "``", |
| "Balls", |
| "to", |
| "the", |
| "Wall", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t1", |
| ".", |
| "title", |
| "=", |
| "value" |
| ], |
| "question_spider": "Which artist does the album \"Balls to the Wall\" belong to?", |
| "question": "“Balls to the Wall”专辑是哪一位艺术家?", |
| "question_cspider": "“Balls to the Wall”专辑是哪一位艺术家?", |
| "Harold": "BLEU = 11.90, 34.6/16.0/8.3/4.3 (BP=1.000, ratio=1.625, hyp_len=26, ref_len=16)", |
| "question_toks": [ |
| "专", |
| "辑", |
| "“", |
| " ", |
| "B", |
| "a", |
| "l", |
| "l", |
| "s", |
| " ", |
| "t", |
| "o", |
| " ", |
| "t", |
| "h", |
| "e", |
| " ", |
| "W", |
| "a", |
| "l", |
| "l", |
| "”", |
| "属", |
| "于", |
| "哪", |
| "个", |
| "艺", |
| "术", |
| "家", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ], |
| "\"Balls to the Wall\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = \"Balls to the Wall\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "WHERE", |
| "T1.Title", |
| "=", |
| "``", |
| "Balls", |
| "to", |
| "the", |
| "Wall", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "where", |
| "t1", |
| ".", |
| "title", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the name of the artist who made the album \"Balls to the Wall\".", |
| "question": "找到制作“Balls to the Wall”专辑艺术家的名字。", |
| "question_cspider": "找到制作“Balls to the Wall”专辑艺术家的名字。", |
| "Harold": "BLEU = 11.86, 43.3/17.2/7.1/3.7 (BP=1.000, ratio=1.579, hyp_len=30, ref_len=19)", |
| "question_toks": [ |
| "查", |
| "找", |
| "制", |
| "作", |
| "专", |
| "辑", |
| "“", |
| " ", |
| "B", |
| "a", |
| "l", |
| "l", |
| "s", |
| " ", |
| "t", |
| "o", |
| " ", |
| "t", |
| "h", |
| "e", |
| " ", |
| "W", |
| "a", |
| "l", |
| "l", |
| "”", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "姓", |
| "名", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ], |
| "\"Balls to the Wall\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "GROUP", |
| "BY", |
| "T2.Name", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "DESC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "name", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "desc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "Which artist has the most albums?", |
| "question": "哪位艺术家的专辑最多?", |
| "question_cspider": "哪位艺术家的专辑最多?", |
| "Harold": "BLEU = 52.61, 80.0/66.7/50.0/42.9 (BP=0.905, ratio=0.909, hyp_len=10, ref_len=11)", |
| "question_toks": [ |
| "哪", |
| "位", |
| "歌", |
| "手", |
| "的", |
| "专", |
| "辑", |
| "最", |
| "多", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 5, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "desc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId", |
| "GROUP", |
| "BY", |
| "T2.Name", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "DESC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "name", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "desc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "What is the name of the artist with the greatest number of albums?", |
| "question": "专辑数量最多的艺人叫什么名字?", |
| "question_cspider": "专辑数量最多的艺人叫什么名字?", |
| "Harold": "BLEU = 72.42, 86.7/78.6/69.2/58.3 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", |
| "question_toks": [ |
| "专", |
| "辑", |
| "数", |
| "量", |
| "最", |
| "多", |
| "的", |
| "歌", |
| "手", |
| "叫", |
| "什", |
| "么", |
| "名", |
| "字", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 5, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "desc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM TRACK WHERE Name LIKE '%you%'", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "TRACK", |
| "WHERE", |
| "Name", |
| "LIKE", |
| "'", |
| "%", |
| "you", |
| "%", |
| "'" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "track", |
| "where", |
| "name", |
| "like", |
| "value" |
| ], |
| "question_spider": "Find the names of all the tracks that contain the word \"you\".", |
| "question": "找出包含“you”这个词的所有曲目的名字。", |
| "question_cspider": "找出包含“you”这个词的所有曲目的名字。", |
| "Harold": "BLEU = 0.00, 60.0/21.1/5.6/0.0 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)", |
| "question_toks": [ |
| "查", |
| "找", |
| "包", |
| "含", |
| "单", |
| "词", |
| "“", |
| " ", |
| "y", |
| "o", |
| "u", |
| "”", |
| "的", |
| "所", |
| "有", |
| "轨", |
| "道", |
| "的", |
| "名", |
| "称", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 57, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 57, |
| false |
| ], |
| null |
| ], |
| "\"%you%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM TRACK WHERE Name LIKE '%you%'", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "TRACK", |
| "WHERE", |
| "Name", |
| "LIKE", |
| "'", |
| "%", |
| "you", |
| "%", |
| "'" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "track", |
| "where", |
| "name", |
| "like", |
| "value" |
| ], |
| "question_spider": "What are the names of tracks that contain the the word you in them?", |
| "question": "包含了“you”这个词的曲目的名字是什么?", |
| "question_cspider": "包含了“you”这个词的曲目的名字是什么?", |
| "Harold": "BLEU = 27.44, 84.6/58.3/36.4/20.0 (BP=0.630, ratio=0.684, hyp_len=13, ref_len=19)", |
| "question_toks": [ |
| "包", |
| "含", |
| "单", |
| "词", |
| "的", |
| "曲", |
| "目", |
| "名", |
| "称", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 57, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 57, |
| false |
| ], |
| null |
| ], |
| "\"%you%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(UnitPrice) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "What is the average unit price of all the tracks?", |
| "question": "所有歌曲的平均单价是多少?", |
| "question_cspider": "所有歌曲的平均单价是多少?", |
| "Harold": "BLEU = 71.70, 92.3/75.0/63.6/60.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "所", |
| "有", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(UnitPrice) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "Find the average unit price for a track.", |
| "question": "找到歌曲的平均单价。", |
| "question_cspider": "找到歌曲的平均单价。", |
| "Harold": "BLEU = 55.55, 80.0/55.6/50.0/42.9 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)", |
| "question_toks": [ |
| "查", |
| "找", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "max", |
| "(", |
| "Milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "max", |
| "(", |
| "milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "What are the durations of the longest and the shortest tracks in milliseconds?", |
| "question": "最长和最短的歌曲的持续时间是多少毫秒?", |
| "question_cspider": "最长和最短的歌曲的持续时间是多少毫秒?", |
| "Harold": "BLEU = 41.68, 68.4/50.0/35.3/25.0 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", |
| "question_toks": [ |
| "最", |
| "长", |
| "和", |
| "最", |
| "短", |
| "轨", |
| "道", |
| "的", |
| "持", |
| "续", |
| "时", |
| "间", |
| "以", |
| "毫", |
| "秒", |
| "为", |
| "单", |
| "位", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 1, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "max", |
| "(", |
| "Milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "max", |
| "(", |
| "milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "Find the maximum and minimum durations of tracks in milliseconds.", |
| "question": "找到毫秒下歌曲的最大和最小持续时间。", |
| "question_cspider": "找到毫秒下歌曲的最大和最小持续时间。", |
| "Harold": "BLEU = 30.70, 59.1/38.1/25.0/15.8 (BP=1.000, ratio=1.222, hyp_len=22, ref_len=18)", |
| "question_toks": [ |
| "查", |
| "找", |
| "最", |
| "大", |
| "和", |
| "最", |
| "小", |
| "轨", |
| "道", |
| "持", |
| "续", |
| "时", |
| "间", |
| "(", |
| "以", |
| "毫", |
| "秒", |
| "为", |
| "单", |
| "位", |
| ")", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 1, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| ",", |
| "T2.AlbumID", |
| ",", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "GROUP", |
| "BY", |
| "T2.AlbumID" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| ",", |
| "t2", |
| ".", |
| "albumid", |
| ",", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "albumid" |
| ], |
| "question_spider": "Show the album names, ids and the number of tracks for each album.", |
| "question": "显示专辑名称、ID和每张专辑的曲目数量。", |
| "question_cspider": "显示专辑名称、ID和每张专辑的曲目数量。", |
| "Harold": "BLEU = 70.77, 90.0/78.9/66.7/52.9 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)", |
| "question_toks": [ |
| "显", |
| "示", |
| "专", |
| "辑", |
| "名", |
| "称", |
| ",", |
| "I", |
| "D", |
| "和", |
| "每", |
| "个", |
| "专", |
| "辑", |
| "的", |
| "曲", |
| "目", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 58, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| ",", |
| "T2.AlbumID", |
| ",", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "GROUP", |
| "BY", |
| "T2.AlbumID" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| ",", |
| "t2", |
| ".", |
| "albumid", |
| ",", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "albumid" |
| ], |
| "question_spider": "What are the names and ids of the different albums, and how many tracks are on each?", |
| "question": "不同专辑的名称和ID是什么?每个专辑有多少首曲目?", |
| "question_cspider": "不同专辑的名称和ID是什么?每个专辑有多少首曲目?", |
| "Harold": "BLEU = 72.27, 88.5/76.0/66.7/60.9 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)", |
| "question_toks": [ |
| "不", |
| "同", |
| "专", |
| "辑", |
| "的", |
| "名", |
| "称", |
| "和", |
| "I", |
| "D", |
| "是", |
| "什", |
| "么", |
| ",", |
| "每", |
| "张", |
| "专", |
| "辑", |
| "上", |
| "有", |
| "多", |
| "少", |
| "首", |
| "曲", |
| "目", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 58, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T1.Name", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "GROUP", |
| "BY", |
| "T2.GenreId", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "DESC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "name", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "genreid", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "desc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "What is the name of the most common genre in all tracks?", |
| "question": "所有曲目中最常见的类型是什么?", |
| "question_cspider": "所有曲目中最常见的类型是什么?", |
| "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", |
| "question_toks": [ |
| "所", |
| "有", |
| "曲", |
| "目", |
| "中", |
| "最", |
| "常", |
| "见", |
| "的", |
| "类", |
| "型", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 60, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "desc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T1.Name", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "GROUP", |
| "BY", |
| "T2.GenreId", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "DESC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "name", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "genreid", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "desc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "Find the name of the genre that is most frequent across all tracks.", |
| "question": "找出所有曲目中最常见的类型的名称。", |
| "question_cspider": "找出所有曲目中最常见的类型的名称。", |
| "Harold": "BLEU = 36.19, 66.7/41.2/31.2/20.0 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)", |
| "question_toks": [ |
| "查", |
| "找", |
| "所", |
| "有", |
| "曲", |
| "目", |
| "中", |
| "最", |
| "频", |
| "繁", |
| "出", |
| "现", |
| "的", |
| "流", |
| "派", |
| "名", |
| "称", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 60, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "desc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T1.Name", |
| "FROM", |
| "MEDIATYPE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.MediaTypeId", |
| "=", |
| "T2.MediaTypeId", |
| "GROUP", |
| "BY", |
| "T2.MediaTypeId", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "ASC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "name", |
| "from", |
| "mediatype", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "mediatypeid", |
| "=", |
| "t2", |
| ".", |
| "mediatypeid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "mediatypeid", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "asc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "What is the least common media type in all tracks?", |
| "question": "在所有歌曲中最常见的媒体类型是什么?", |
| "question_cspider": "在所有歌曲中最常见的媒体类型是什么?", |
| "Harold": "BLEU = 65.87, 88.9/70.6/56.2/53.3 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)", |
| "question_toks": [ |
| "所", |
| "有", |
| "曲", |
| "目", |
| "中", |
| "最", |
| "不", |
| "常", |
| "见", |
| "的", |
| "媒", |
| "体", |
| "类", |
| "型", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 7 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 50, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 59, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 51, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 59, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1", |
| "query_toks": [ |
| "SELECT", |
| "T1.Name", |
| "FROM", |
| "MEDIATYPE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.MediaTypeId", |
| "=", |
| "T2.MediaTypeId", |
| "GROUP", |
| "BY", |
| "T2.MediaTypeId", |
| "ORDER", |
| "BY", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "ASC", |
| "LIMIT", |
| "1" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "name", |
| "from", |
| "mediatype", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "mediatypeid", |
| "=", |
| "t2", |
| ".", |
| "mediatypeid", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "mediatypeid", |
| "order", |
| "by", |
| "count", |
| "(", |
| "*", |
| ")", |
| "asc", |
| "limit", |
| "value" |
| ], |
| "question_spider": "What is the name of the media type that is least common across all tracks?", |
| "question": "在所有音乐中,什么类型的媒体类型是最不常见的?", |
| "question_cspider": "在所有音乐中,什么类型的媒体类型是最不常见的?", |
| "Harold": "BLEU = 42.57, 81.8/57.1/40.0/21.1 (BP=0.956, ratio=0.957, hyp_len=22, ref_len=23)", |
| "question_toks": [ |
| "在", |
| "所", |
| "有", |
| "曲", |
| "目", |
| "中", |
| "最", |
| "不", |
| "常", |
| "见", |
| "的", |
| "媒", |
| "体", |
| "类", |
| "型", |
| "的", |
| "名", |
| "称", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 7 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 50, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 59, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 51, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 59, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": 1, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| ",", |
| "T2.AlbumID", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "WHERE", |
| "T2.UnitPrice", |
| ">", |
| "1", |
| "GROUP", |
| "BY", |
| "T2.AlbumID" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| ",", |
| "t2", |
| ".", |
| "albumid", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "where", |
| "t2", |
| ".", |
| "unitprice", |
| ">", |
| "value", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "albumid" |
| ], |
| "question_spider": "Show the album names and ids for albums that contain tracks with unit price bigger than 1.", |
| "question": "显示包含单价大于1的曲目的专辑的名称和ID。", |
| "question_cspider": "显示包含单价大于1的曲目的专辑的名称和ID。", |
| "Harold": "BLEU = 83.96, 91.7/87.0/81.8/76.2 (BP=1.000, ratio=1.091, hyp_len=24, ref_len=22)", |
| "question_toks": [ |
| "显", |
| "示", |
| "包", |
| "含", |
| "单", |
| "价", |
| "大", |
| "于", |
| "1", |
| "的", |
| "曲", |
| "目", |
| "的", |
| "专", |
| "辑", |
| "的", |
| "专", |
| "辑", |
| "名", |
| "称", |
| "和", |
| "I", |
| "D", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ], |
| 1, |
| null |
| ] |
| ], |
| "groupBy": [ |
| [ |
| 0, |
| 58, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| ",", |
| "T2.AlbumID", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "WHERE", |
| "T2.UnitPrice", |
| ">", |
| "1", |
| "GROUP", |
| "BY", |
| "T2.AlbumID" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| ",", |
| "t2", |
| ".", |
| "albumid", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "where", |
| "t2", |
| ".", |
| "unitprice", |
| ">", |
| "value", |
| "group", |
| "by", |
| "t2", |
| ".", |
| "albumid" |
| ], |
| "question_spider": "What are the titles and ids for albums containing tracks with unit price greater than 1?", |
| "question": "包含单价大于1的歌曲的专辑的标题和ID是什么?", |
| "question_cspider": "包含单价大于1的歌曲的专辑的标题和ID是什么?", |
| "Harold": "BLEU = 84.15, 95.7/86.4/81.0/75.0 (BP=1.000, ratio=1.000, hyp_len=23, ref_len=23)", |
| "question_toks": [ |
| "包", |
| "含", |
| "单", |
| "价", |
| "大", |
| "于", |
| "1", |
| "的", |
| "曲", |
| "目", |
| "的", |
| "专", |
| "辑", |
| "的", |
| "标", |
| "题", |
| "和", |
| "I", |
| "D", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ], |
| 1, |
| null |
| ] |
| ], |
| "groupBy": [ |
| [ |
| 0, |
| 58, |
| false |
| ] |
| ], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Rock\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Rock", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "How many tracks belong to rock genre?", |
| "question": "Rock流派有多少曲目?", |
| "question_cspider": "Rock流派有多少曲目?", |
| "Harold": "BLEU = 0.00, 54.5/30.0/11.1/0.0 (BP=1.000, ratio=1.100, hyp_len=11, ref_len=10)", |
| "question_toks": [ |
| "摇", |
| "滚", |
| "风", |
| "格", |
| "中", |
| "有", |
| "几", |
| "条", |
| "曲", |
| "目", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Rock\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Rock", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Count the number of tracks that are part of the rock genre.", |
| "question": "计算Rock类型的歌曲的数量。", |
| "question_cspider": "计算Rock类型的歌曲的数量。", |
| "Harold": "BLEU = 23.51, 66.7/35.7/15.4/8.3 (BP=1.000, ratio=1.154, hyp_len=15, ref_len=13)", |
| "question_toks": [ |
| "计", |
| "算", |
| "属", |
| "于", |
| "摇", |
| "滚", |
| "风", |
| "格", |
| "的", |
| "曲", |
| "目", |
| "的", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Jazz\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Jazz", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is the average unit price of tracks that belong to Jazz genre?", |
| "question": "属于Jazz风格的曲目的平均单价是多少?", |
| "question_cspider": "属于Jazz风格的曲目的平均单价是多少?", |
| "Harold": "BLEU = 73.58, 88.9/82.4/75.0/66.7 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)", |
| "question_toks": [ |
| "属", |
| "于", |
| "爵", |
| "士", |
| "流", |
| "派", |
| "的", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Jazz\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Jazz\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Jazz", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the average unit price of jazz tracks.", |
| "question": "找到Jazz曲目的平均单价。", |
| "question_cspider": "找到Jazz曲目的平均单价。", |
| "Harold": "BLEU = 84.24, 92.3/83.3/81.8/80.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "查", |
| "找", |
| "爵", |
| "士", |
| "乐", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Jazz\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT FirstName , LastName FROM CUSTOMER WHERE Email = \"luisg@embraer.com.br\"", |
| "query_toks": [ |
| "SELECT", |
| "FirstName", |
| ",", |
| "LastName", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "Email", |
| "=", |
| "``", |
| "luisg", |
| "@", |
| "embraer.com.br", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "firstname", |
| ",", |
| "lastname", |
| "from", |
| "customer", |
| "where", |
| "email", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is the first name and last name of the customer that has email \"luisg@embraer.com.br\"?", |
| "question": "电子邮件为“luisg@embraer.com.br”的客户的名字和姓是什么?", |
| "question_cspider": "电子邮件为“luisg@embraer.com.br”的客户的名字和姓是什么?", |
| "Harold": "BLEU = 93.37, 97.5/94.9/92.1/89.2 (BP=1.000, ratio=1.026, hyp_len=40, ref_len=39)", |
| "question_toks": [ |
| "电", |
| "子", |
| "邮", |
| "件", |
| "为", |
| "“", |
| " ", |
| "l", |
| "u", |
| "i", |
| "s", |
| "g", |
| "@", |
| "e", |
| "m", |
| "b", |
| "r", |
| "a", |
| "e", |
| "r", |
| ".", |
| "c", |
| "o", |
| "m", |
| ".", |
| "b", |
| "r", |
| "”", |
| "的", |
| "客", |
| "户", |
| "的", |
| "名", |
| "字", |
| "和", |
| "姓", |
| "氏", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 17, |
| false |
| ], |
| null |
| ], |
| "\"luisg@embraer.com.br\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT FirstName , LastName FROM CUSTOMER WHERE Email = \"luisg@embraer.com.br\"", |
| "query_toks": [ |
| "SELECT", |
| "FirstName", |
| ",", |
| "LastName", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "Email", |
| "=", |
| "``", |
| "luisg", |
| "@", |
| "embraer.com.br", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "firstname", |
| ",", |
| "lastname", |
| "from", |
| "customer", |
| "where", |
| "email", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the full name of the customer with the email \"luisg@embraer.com.br\".", |
| "question": "查找电子邮件“luisg@embraer.com.br”的客户的全名。", |
| "question_cspider": "查找电子邮件“luisg@embraer.com.br”的客户的全名。", |
| "Harold": "BLEU = 84.50, 91.7/85.7/82.4/78.8 (BP=1.000, ratio=1.029, hyp_len=36, ref_len=35)", |
| "question_toks": [ |
| "通", |
| "过", |
| "电", |
| "子", |
| "邮", |
| "件", |
| "“", |
| " ", |
| "l", |
| "u", |
| "i", |
| "s", |
| "g", |
| "@", |
| "e", |
| "m", |
| "b", |
| "r", |
| "a", |
| "e", |
| "r", |
| ".", |
| "c", |
| "o", |
| "m", |
| ".", |
| "b", |
| "r", |
| "”", |
| "找", |
| "到", |
| "客", |
| "户", |
| "的", |
| "全", |
| "名", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 17, |
| false |
| ], |
| null |
| ], |
| "\"luisg@embraer.com.br\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE \"%gmail.com%\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "Email", |
| "LIKE", |
| "``", |
| "%", |
| "gmail.com", |
| "%", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "customer", |
| "where", |
| "email", |
| "like", |
| "value" |
| ], |
| "question_spider": "How many customers have email that contains \"gmail.com\"?", |
| "question": "有多少客户有电子邮件包含\"gmail.com\"?", |
| "question_cspider": "有多少客户有电子邮件包含\"gmail.com\"?", |
| "Harold": "BLEU = 68.14, 87.5/73.9/63.6/52.4 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)", |
| "question_toks": [ |
| "有", |
| "多", |
| "少", |
| "客", |
| "户", |
| "的", |
| "电", |
| "子", |
| "邮", |
| "件", |
| "包", |
| "含", |
| "“", |
| " ", |
| "g", |
| "m", |
| "a", |
| "i", |
| "l", |
| ".", |
| "c", |
| "o", |
| "m", |
| "”", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 17, |
| false |
| ], |
| null |
| ], |
| "\"%gmail.com%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE \"%gmail.com%\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "CUSTOMER", |
| "WHERE", |
| "Email", |
| "LIKE", |
| "``", |
| "%", |
| "gmail.com", |
| "%", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "customer", |
| "where", |
| "email", |
| "like", |
| "value" |
| ], |
| "question_spider": "Count the number of customers that have an email containing \"gmail.com\".", |
| "question": "计算包含\"gmail.com\"的电子邮件的客户数量。", |
| "question_cspider": "计算包含\"gmail.com\"的电子邮件的客户数量。", |
| "Harold": "BLEU = 68.39, 85.7/74.1/61.5/56.0 (BP=1.000, ratio=1.077, hyp_len=28, ref_len=26)", |
| "question_toks": [ |
| "计", |
| "算", |
| "拥", |
| "有", |
| "包", |
| "含", |
| "“", |
| " ", |
| "g", |
| "m", |
| "a", |
| "i", |
| "l", |
| ".", |
| "c", |
| "o", |
| "m", |
| "”", |
| "的", |
| "电", |
| "子", |
| "邮", |
| "件", |
| "的", |
| "客", |
| "户", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 9, |
| [ |
| 0, |
| [ |
| 0, |
| 17, |
| false |
| ], |
| null |
| ], |
| "\"%gmail.com%\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = \"Leonie\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.FirstName", |
| ",", |
| "T2.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "WHERE", |
| "T1.FirstName", |
| "=", |
| "``", |
| "Leonie", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "firstname", |
| ",", |
| "t2", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "where", |
| "t1", |
| ".", |
| "firstname", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is the first name and last name employee helps the customer with first name Leonie?", |
| "question": "帮助过名为“Leonie”的客户的员工的名字和姓氏是什么?", |
| "question_cspider": "帮助过名为“Leonie”的客户的员工的名字和姓氏是什么?", |
| "Harold": "BLEU = 0.00, 54.5/23.8/5.0/0.0 (BP=0.873, ratio=0.880, hyp_len=22, ref_len=25)", |
| "question_toks": [ |
| "姓", |
| "氏", |
| "和", |
| "名", |
| "字", |
| "雇", |
| "员", |
| "帮", |
| "助", |
| "姓", |
| "氏", |
| "L", |
| "e", |
| "o", |
| "n", |
| "i", |
| "e", |
| "的", |
| "客", |
| "户", |
| "吗", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 21, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 20, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ], |
| "\"Leonie\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = \"Leonie\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.FirstName", |
| ",", |
| "T2.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "WHERE", |
| "T1.FirstName", |
| "=", |
| "``", |
| "Leonie", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "firstname", |
| ",", |
| "t2", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "where", |
| "t1", |
| ".", |
| "firstname", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the full names of employees who help customers with the first name Leonie.", |
| "question": "查找帮助客户“Leonie”的员工的全名。", |
| "question_cspider": "查找帮助客户“Leonie”的员工的全名。", |
| "Harold": "BLEU = 36.55, 54.2/43.5/31.8/23.8 (BP=1.000, ratio=1.412, hyp_len=24, ref_len=17)", |
| "question_toks": [ |
| "查", |
| "找", |
| "使", |
| "用", |
| "名", |
| "字", |
| "L", |
| "e", |
| "o", |
| "n", |
| "i", |
| "e", |
| "来", |
| "帮", |
| "助", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "的", |
| "全", |
| "名", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 21, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 20, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ], |
| "\"Leonie\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = \"70174\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.City", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "WHERE", |
| "T1.PostalCode", |
| "=", |
| "``", |
| "70174", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "city", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "where", |
| "t1", |
| ".", |
| "postalcode", |
| "=", |
| "value" |
| ], |
| "question_spider": "What city does the employee who helps the customer with postal code 70174 live in?", |
| "question": "帮助住在邮政编码为“70174”的客户的员工住在哪个城市?", |
| "question_cspider": "帮助住在邮政编码为“70174”的客户的员工住在哪个城市?", |
| "Harold": "BLEU = 60.80, 92.0/79.2/65.2/54.5 (BP=0.852, ratio=0.862, hyp_len=25, ref_len=29)", |
| "question_toks": [ |
| "使", |
| "用", |
| "邮", |
| "政", |
| "编", |
| "码", |
| "7", |
| "0", |
| "1", |
| "7", |
| "4", |
| "帮", |
| "助", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "住", |
| "在", |
| "哪", |
| "个", |
| "城", |
| "市", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 14, |
| false |
| ], |
| null |
| ], |
| "\"70174\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = \"70174\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.City", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "WHERE", |
| "T1.PostalCode", |
| "=", |
| "``", |
| "70174", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "city", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "where", |
| "t1", |
| ".", |
| "postalcode", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the cities corresponding to employees who help customers with the postal code 70174.", |
| "question": "找到帮助使用邮政编码“70174”的客户的雇员相对应的城市。", |
| "question_cspider": "找到帮助使用邮政编码“70174”的客户的雇员相对应的城市。", |
| "Harold": "BLEU = 46.11, 85.7/59.3/42.3/28.0 (BP=0.931, ratio=0.933, hyp_len=28, ref_len=30)", |
| "question_toks": [ |
| "查", |
| "找", |
| "与", |
| "邮", |
| "政", |
| "编", |
| "码", |
| "为", |
| "7", |
| "0", |
| "1", |
| "7", |
| "4", |
| "的", |
| "帮", |
| "助", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "相", |
| "对", |
| "应", |
| "的", |
| "城", |
| "市", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 14, |
| false |
| ], |
| null |
| ], |
| "\"70174\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(DISTINCT city) FROM EMPLOYEE", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "DISTINCT", |
| "city", |
| ")", |
| "FROM", |
| "EMPLOYEE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "distinct", |
| "city", |
| ")", |
| "from", |
| "employee" |
| ], |
| "question_spider": "How many distinct cities does the employees live in?", |
| "question": "员工住多少个不同的城市?", |
| "question_cspider": "员工住多少个不同的城市?", |
| "Harold": "BLEU = 76.12, 92.3/83.3/72.7/60.0 (BP=1.000, ratio=1.083, hyp_len=13, ref_len=12)", |
| "question_toks": [ |
| "员", |
| "工", |
| "住", |
| "在", |
| "多", |
| "少", |
| "个", |
| "不", |
| "同", |
| "的", |
| "城", |
| "市", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| true |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(DISTINCT city) FROM EMPLOYEE", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "DISTINCT", |
| "city", |
| ")", |
| "FROM", |
| "EMPLOYEE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "distinct", |
| "city", |
| ")", |
| "from", |
| "employee" |
| ], |
| "question_spider": "Find the number of different cities that employees live in.", |
| "question": "找到员工居住的不同城市的数量。", |
| "question_cspider": "找到员工居住的不同城市的数量。", |
| "Harold": "BLEU = 86.66, 93.3/85.7/84.6/83.3 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)", |
| "question_toks": [ |
| "查", |
| "找", |
| "员", |
| "工", |
| "居", |
| "住", |
| "的", |
| "不", |
| "同", |
| "城", |
| "市", |
| "的", |
| "数", |
| "量", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| true |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = \"Astrid\" AND LastName = \"Gruber\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.InvoiceDate", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.FirstName", |
| "=", |
| "``", |
| "Astrid", |
| "''", |
| "AND", |
| "LastName", |
| "=", |
| "``", |
| "Gruber", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "invoicedate", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "firstname", |
| "=", |
| "value", |
| "and", |
| "lastname", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.", |
| "question": "查找与名为“Astrid”姓为“Gruber”的客户相对应的所有发票日期。", |
| "question_cspider": "查找与名为“Astrid”姓为“Gruber”的客户相对应的所有发票日期。", |
| "Harold": "BLEU = 50.97, 60.6/53.1/48.4/43.3 (BP=1.000, ratio=1.222, hyp_len=33, ref_len=27)", |
| "question_toks": [ |
| "查", |
| "找", |
| "与", |
| "名", |
| "为", |
| "A", |
| "s", |
| "t", |
| "r", |
| "i", |
| "d", |
| "和", |
| "姓", |
| "G", |
| "r", |
| "u", |
| "b", |
| "e", |
| "r", |
| "的", |
| "客", |
| "户", |
| "相", |
| "对", |
| "应", |
| "的", |
| "所", |
| "有", |
| "发", |
| "票", |
| "日", |
| "期", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 38, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ], |
| "\"Astrid\"", |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ], |
| "\"Gruber\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = \"Astrid\" AND LastName = \"Gruber\"", |
| "query_toks": [ |
| "SELECT", |
| "T2.InvoiceDate", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.FirstName", |
| "=", |
| "``", |
| "Astrid", |
| "''", |
| "AND", |
| "LastName", |
| "=", |
| "``", |
| "Gruber", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "invoicedate", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "firstname", |
| "=", |
| "value", |
| "and", |
| "lastname", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the invoice dates for customers with the first name Astrid and the last name Gruber?", |
| "question": "名是“Astrid”姓是“Gruber”的客户的发票日期是什么?", |
| "question_cspider": "名是“Astrid”姓是“Gruber”的客户的发票日期是什么?", |
| "Harold": "BLEU = 36.13, 41.9/36.7/34.5/32.1 (BP=1.000, ratio=1.409, hyp_len=31, ref_len=22)", |
| "question_toks": [ |
| "名", |
| "字", |
| "为", |
| "A", |
| "s", |
| "t", |
| "r", |
| "i", |
| "d", |
| "和", |
| "名", |
| "字", |
| "为", |
| "G", |
| "r", |
| "u", |
| "b", |
| "e", |
| "r", |
| "的", |
| "客", |
| "户", |
| "的", |
| "发", |
| "票", |
| "日", |
| "期", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 38, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ], |
| "\"Astrid\"", |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ], |
| "\"Gruber\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20", |
| "query_toks": [ |
| "SELECT", |
| "LastName", |
| "FROM", |
| "CUSTOMER", |
| "EXCEPT", |
| "SELECT", |
| "T1.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "Invoice", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T2.total", |
| ">", |
| "20" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "lastname", |
| "from", |
| "customer", |
| "except", |
| "select", |
| "t1", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t2", |
| ".", |
| "total", |
| ">", |
| "value" |
| ], |
| "question_spider": "Find all the customer last names that do not have invoice totals larger than 20.", |
| "question": "查找所有发票总额没有大于20的客户姓氏。", |
| "question_cspider": "查找所有发票总额没有大于20的客户姓氏。", |
| "Harold": "BLEU = 69.56, 84.2/77.8/70.6/62.5 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)", |
| "question_toks": [ |
| "查", |
| "找", |
| "所", |
| "有", |
| "发", |
| "票", |
| "总", |
| "额", |
| "不", |
| "超", |
| "过", |
| "2", |
| "0", |
| "的", |
| "客", |
| "户", |
| "姓", |
| "氏", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 44, |
| false |
| ], |
| null |
| ], |
| 20, |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20", |
| "query_toks": [ |
| "SELECT", |
| "LastName", |
| "FROM", |
| "CUSTOMER", |
| "EXCEPT", |
| "SELECT", |
| "T1.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "Invoice", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T2.total", |
| ">", |
| "20" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "lastname", |
| "from", |
| "customer", |
| "except", |
| "select", |
| "t1", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t2", |
| ".", |
| "total", |
| ">", |
| "value" |
| ], |
| "question_spider": "What are the last names of customers without invoice totals exceeding 20?", |
| "question": "发票总额不超过20的客户的姓氏是什么?", |
| "question_cspider": "发票总额不超过20的客户的姓氏是什么?", |
| "Harold": "BLEU = 74.83, 85.0/78.9/72.2/64.7 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)", |
| "question_toks": [ |
| "没", |
| "有", |
| "发", |
| "票", |
| "总", |
| "数", |
| "超", |
| "过", |
| "2", |
| "0", |
| "的", |
| "客", |
| "户", |
| "的", |
| "姓", |
| "氏", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 44, |
| false |
| ], |
| null |
| ], |
| 20, |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = \"Brazil\"", |
| "query_toks": [ |
| "SELECT", |
| "DISTINCT", |
| "T1.FirstName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.country", |
| "=", |
| "``", |
| "Brazil", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "t1", |
| ".", |
| "firstname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "country", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the first names of all customers that live in Brazil and have an invoice.", |
| "question": "查找居住在“Brazil”的有发票的所有客户的名字。", |
| "question_cspider": "查找居住在“Brazil”的有发票的所有客户的名字。", |
| "Harold": "BLEU = 70.75, 95.0/84.2/72.2/64.7 (BP=0.905, ratio=0.909, hyp_len=20, ref_len=22)", |
| "question_toks": [ |
| "查", |
| "找", |
| "居", |
| "住", |
| "在", |
| "巴", |
| "西", |
| "并", |
| "有", |
| "发", |
| "票", |
| "的", |
| "所", |
| "有", |
| "客", |
| "户", |
| "的", |
| "名", |
| "字", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 13, |
| false |
| ], |
| null |
| ], |
| "\"Brazil\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = \"Brazil\"", |
| "query_toks": [ |
| "SELECT", |
| "DISTINCT", |
| "T1.FirstName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.country", |
| "=", |
| "``", |
| "Brazil", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "t1", |
| ".", |
| "firstname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "country", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the different first names for customers from Brazil who have also had an invoice?", |
| "question": "对于来自“Brazil”有发票的顾客,他们有什么不同的名字?", |
| "question_cspider": "对于来自“Brazil”有发票的顾客,他们有什么不同的名字?", |
| "Harold": "BLEU = 44.61, 85.7/65.0/47.4/38.9 (BP=0.788, ratio=0.808, hyp_len=21, ref_len=26)", |
| "question_toks": [ |
| "来", |
| "自", |
| "巴", |
| "西", |
| "的", |
| "也", |
| "有", |
| "发", |
| "票", |
| "的", |
| "客", |
| "户", |
| "有", |
| "什", |
| "么", |
| "不", |
| "同", |
| "的", |
| "名", |
| "字", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 13, |
| false |
| ], |
| null |
| ], |
| "\"Brazil\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = \"Germany\"", |
| "query_toks": [ |
| "SELECT", |
| "DISTINCT", |
| "T1.Address", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.country", |
| "=", |
| "``", |
| "Germany", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "t1", |
| ".", |
| "address", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "country", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the address of all customers that live in Germany and have invoice.", |
| "question": "查找所有居住在“Germany”有发票的客户的地址。", |
| "question_cspider": "查找所有居住在“Germany”有发票的客户的地址。", |
| "Harold": "BLEU = 46.98, 95.0/68.4/38.9/23.5 (BP=0.951, ratio=0.952, hyp_len=20, ref_len=21)", |
| "question_toks": [ |
| "查", |
| "找", |
| "居", |
| "住", |
| "在", |
| "德", |
| "国", |
| "并", |
| "有", |
| "发", |
| "票", |
| "的", |
| "所", |
| "有", |
| "客", |
| "户", |
| "的", |
| "地", |
| "址", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 10, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 13, |
| false |
| ], |
| null |
| ], |
| "\"Germany\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = \"Germany\"", |
| "query_toks": [ |
| "SELECT", |
| "DISTINCT", |
| "T1.Address", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "INVOICE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.CustomerId", |
| "=", |
| "T2.CustomerId", |
| "WHERE", |
| "T1.country", |
| "=", |
| "``", |
| "Germany", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "t1", |
| ".", |
| "address", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "invoice", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "customerid", |
| "=", |
| "t2", |
| ".", |
| "customerid", |
| "where", |
| "t1", |
| ".", |
| "country", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the addresses of customers living in Germany who have had an invoice?", |
| "question": "在“Germany”居住的有发票的客户地址是什么?", |
| "question_cspider": "在“Germany”居住的有发票的客户地址是什么?", |
| "Harold": "BLEU = 52.11, 88.9/64.7/50.0/40.0 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)", |
| "question_toks": [ |
| "住", |
| "在", |
| "德", |
| "国", |
| "的", |
| "有", |
| "发", |
| "票", |
| "的", |
| "客", |
| "户", |
| "的", |
| "住", |
| "址", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 5 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 6, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 37, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 10, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 13, |
| false |
| ], |
| null |
| ], |
| "\"Germany\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Phone FROM EMPLOYEE", |
| "query_toks": [ |
| "SELECT", |
| "Phone", |
| "FROM", |
| "EMPLOYEE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "phone", |
| "from", |
| "employee" |
| ], |
| "question_spider": "List the phone numbers of all employees.", |
| "question": "列出所有员工的电话号码。", |
| "question_cspider": "列出所有员工的电话号码。", |
| "Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)", |
| "question_toks": [ |
| "列", |
| "出", |
| "所", |
| "有", |
| "员", |
| "工", |
| "的", |
| "电", |
| "话", |
| "号", |
| "码", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 31, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Phone FROM EMPLOYEE", |
| "query_toks": [ |
| "SELECT", |
| "Phone", |
| "FROM", |
| "EMPLOYEE" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "phone", |
| "from", |
| "employee" |
| ], |
| "question_spider": "What are the phone numbers for each employee?", |
| "question": "每个员工的电话号码是什么?", |
| "question_cspider": "每个员工的电话号码是什么?", |
| "Harold": "BLEU = 75.39, 84.6/75.0/72.7/70.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "每", |
| "个", |
| "员", |
| "工", |
| "的", |
| "电", |
| "话", |
| "号", |
| "码", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 31, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = \"AAC audio file\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "MEDIATYPE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.MediaTypeId", |
| "=", |
| "T2.MediaTypeId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "AAC", |
| "audio", |
| "file", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "mediatype", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "mediatypeid", |
| "=", |
| "t2", |
| ".", |
| "mediatypeid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "How many tracks are in the AAC audio file media type?", |
| "question": "有多少歌是“AAC”媒体类型?", |
| "question_cspider": "有多少歌是“AAC”媒体类型?", |
| "Harold": "BLEU = 23.99, 57.9/38.9/23.5/6.2 (BP=1.000, ratio=1.267, hyp_len=19, ref_len=15)", |
| "question_toks": [ |
| "A", |
| "A", |
| "C", |
| "音", |
| "频", |
| "文", |
| "件", |
| "媒", |
| "体", |
| "类", |
| "型", |
| "中", |
| "有", |
| "多", |
| "少", |
| "个", |
| "曲", |
| "目", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 7 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 50, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 59, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 51, |
| false |
| ], |
| null |
| ], |
| "\"AAC audio file\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = \"AAC audio file\"", |
| "query_toks": [ |
| "SELECT", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "MEDIATYPE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.MediaTypeId", |
| "=", |
| "T2.MediaTypeId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "AAC", |
| "audio", |
| "file", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "mediatype", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "mediatypeid", |
| "=", |
| "t2", |
| ".", |
| "mediatypeid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Count the number of tracks that are of the media type \"AAC audio file\".", |
| "question": "计算媒体类型为“AAC”的歌曲数。", |
| "question_cspider": "计算媒体类型为“AAC”的歌曲数。", |
| "Harold": "BLEU = 54.81, 71.4/60.0/47.4/44.4 (BP=1.000, ratio=1.235, hyp_len=21, ref_len=17)", |
| "question_toks": [ |
| "计", |
| "算", |
| "媒", |
| "体", |
| "类", |
| "型", |
| "为", |
| "“", |
| " ", |
| "A", |
| "A", |
| "C", |
| "音", |
| "频", |
| "文", |
| "件", |
| "”", |
| "的", |
| "音", |
| "轨", |
| "数", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 7 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 50, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 59, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 51, |
| false |
| ], |
| null |
| ], |
| "\"AAC audio file\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Latin\" OR T1.Name = \"Pop\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Latin", |
| "''", |
| "OR", |
| "T1.Name", |
| "=", |
| "``", |
| "Pop", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value", |
| "or", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is the average duration in milliseconds of tracks that belong to Latin or Pop genre?", |
| "question": "属于“Latin”和“Pop”音乐的曲目平均持续时间是几毫秒?", |
| "question_cspider": "属于“Latin”和“Pop”音乐的曲目平均持续时间是几毫秒?", |
| "Harold": "BLEU = 25.38, 61.3/36.7/17.2/10.7 (BP=1.000, ratio=1.148, hyp_len=31, ref_len=27)", |
| "question_toks": [ |
| "属", |
| "于", |
| "拉", |
| "丁", |
| "或", |
| "流", |
| "行", |
| "类", |
| "型", |
| "的", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "持", |
| "续", |
| "时", |
| "间", |
| "(", |
| "以", |
| "毫", |
| "秒", |
| "为", |
| "单", |
| "位", |
| ")", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Latin\"", |
| null |
| ], |
| "or", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Pop\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Latin\" OR T1.Name = \"Pop\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Latin", |
| "''", |
| "OR", |
| "T1.Name", |
| "=", |
| "``", |
| "Pop", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value", |
| "or", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the average millisecond length of Latin and Pop tracks.", |
| "question": "找到“Latin”和“Pop”歌曲的平均毫秒长度。", |
| "question_cspider": "找到“Latin”和“Pop”歌曲的平均毫秒长度。", |
| "Harold": "BLEU = 42.55, 94.1/62.5/40.0/35.7 (BP=0.790, ratio=0.810, hyp_len=17, ref_len=21)", |
| "question_toks": [ |
| "找", |
| "到", |
| "拉", |
| "丁", |
| "和", |
| "流", |
| "行", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "毫", |
| "秒", |
| "长", |
| "度", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Latin\"", |
| null |
| ], |
| "or", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Pop\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10", |
| "query_toks": [ |
| "SELECT", |
| "T1.FirstName", |
| ",", |
| "T1.SupportRepId", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "GROUP", |
| "BY", |
| "T1.SupportRepId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "10" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "firstname", |
| ",", |
| "t1", |
| ".", |
| "supportrepid", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "supportrepid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "value" |
| ], |
| "question_spider": "Please show the employee first names and ids of employees who serve at least 10 customers.", |
| "question": "请出示为至少10位客户服务的员工姓名和ID。", |
| "question_cspider": "请出示为至少10位客户服务的员工姓名和ID。", |
| "Harold": "BLEU = 23.00, 85.7/45.0/15.8/5.6 (BP=0.953, ratio=0.955, hyp_len=21, ref_len=22)", |
| "question_toks": [ |
| "请", |
| "显", |
| "示", |
| "至", |
| "少", |
| "服", |
| "务", |
| "1", |
| "0", |
| "个", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "名", |
| "字", |
| "和", |
| "I", |
| "D", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 18, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 5, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 10, |
| null |
| ] |
| ], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10", |
| "query_toks": [ |
| "SELECT", |
| "T1.FirstName", |
| ",", |
| "T1.SupportRepId", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "GROUP", |
| "BY", |
| "T1.SupportRepId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "10" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "firstname", |
| ",", |
| "t1", |
| ".", |
| "supportrepid", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "supportrepid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the first names and support rep ids for employees serving 10 or more customers?", |
| "question": "为10个或更多客户服务的员工的名字和支持代表ID的是什么?", |
| "question_cspider": "为10个或更多客户服务的员工的名字和支持代表ID的是什么?", |
| "Harold": "BLEU = 63.12, 89.3/74.1/57.7/48.0 (BP=0.965, ratio=0.966, hyp_len=28, ref_len=29)", |
| "question_toks": [ |
| "服", |
| "务", |
| "1", |
| "0", |
| "个", |
| "或", |
| "更", |
| "多", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "的", |
| "名", |
| "字", |
| "和", |
| "支", |
| "持", |
| "r", |
| "e", |
| "p", |
| " ", |
| "I", |
| "D", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 7, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 18, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 5, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 10, |
| null |
| ] |
| ], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20", |
| "query_toks": [ |
| "SELECT", |
| "T1.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "GROUP", |
| "BY", |
| "T1.SupportRepId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "<", |
| "=", |
| "20" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "supportrepid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| "<", |
| "=", |
| "value" |
| ], |
| "question_spider": "Please show the employee last names that serves no more than 20 customers.", |
| "question": "请显示为不超过20名顾客服务的雇员的姓氏。", |
| "question_cspider": "请显示为不超过20名顾客服务的雇员的姓氏。", |
| "Harold": "BLEU = 0.00, 68.4/33.3/11.8/0.0 (BP=0.900, ratio=0.905, hyp_len=19, ref_len=21)", |
| "question_toks": [ |
| "请", |
| "显", |
| "示", |
| "服", |
| "务", |
| "于", |
| "2", |
| "0", |
| "个", |
| "以", |
| "上", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "姓", |
| "氏", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 18, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 6, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 20, |
| null |
| ] |
| ], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20", |
| "query_toks": [ |
| "SELECT", |
| "T1.LastName", |
| "FROM", |
| "CUSTOMER", |
| "AS", |
| "T1", |
| "JOIN", |
| "EMPLOYEE", |
| "AS", |
| "T2", |
| "ON", |
| "T1.SupportRepId", |
| "=", |
| "T2.EmployeeId", |
| "GROUP", |
| "BY", |
| "T1.SupportRepId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| "<", |
| "=", |
| "20" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "lastname", |
| "from", |
| "customer", |
| "as", |
| "t1", |
| "join", |
| "employee", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "supportrepid", |
| "=", |
| "t2", |
| ".", |
| "employeeid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "supportrepid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| "<", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the last names of employees who serve at most 20 customers?", |
| "question": "服务最多20名顾客的员工的姓氏是什么?", |
| "question_cspider": "服务最多20名顾客的员工的姓氏是什么?", |
| "Harold": "BLEU = 74.44, 89.5/77.8/70.6/62.5 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)", |
| "question_toks": [ |
| "服", |
| "务", |
| "最", |
| "多", |
| "2", |
| "0", |
| "个", |
| "客", |
| "户", |
| "的", |
| "员", |
| "工", |
| "的", |
| "姓", |
| "氏", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 2 |
| ], |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 18, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 19, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 8, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 18, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 6, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 20, |
| null |
| ] |
| ], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Title FROM ALBUM ORDER BY Title", |
| "query_toks": [ |
| "SELECT", |
| "Title", |
| "FROM", |
| "ALBUM", |
| "ORDER", |
| "BY", |
| "Title" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "title", |
| "from", |
| "album", |
| "order", |
| "by", |
| "title" |
| ], |
| "question_spider": "Please list all album titles in alphabetical order.", |
| "question": "请按字母顺序列出所有唱片的标题。", |
| "question_cspider": "请按字母顺序列出所有唱片的标题。", |
| "Harold": "BLEU = 67.75, 86.7/78.6/69.2/58.3 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", |
| "question_toks": [ |
| "请", |
| "按", |
| "字", |
| "母", |
| "顺", |
| "序", |
| "列", |
| "出", |
| "所", |
| "有", |
| "专", |
| "辑", |
| "标", |
| "题", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Title FROM ALBUM ORDER BY Title", |
| "query_toks": [ |
| "SELECT", |
| "Title", |
| "FROM", |
| "ALBUM", |
| "ORDER", |
| "BY", |
| "Title" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "title", |
| "from", |
| "album", |
| "order", |
| "by", |
| "title" |
| ], |
| "question_spider": "What are all the album titles, in alphabetical order?", |
| "question": "所有的专辑标题是什么,按字母顺序排列?", |
| "question_cspider": "所有的专辑标题是什么,按字母顺序排列?", |
| "Harold": "BLEU = 51.31, 100.0/78.6/61.5/41.7 (BP=0.766, ratio=0.789, hyp_len=15, ref_len=19)", |
| "question_toks": [ |
| "专", |
| "辑", |
| "标", |
| "题", |
| "按", |
| "字", |
| "母", |
| "顺", |
| "序", |
| "排", |
| "列", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| ",", |
| "T1.ArtistId", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistID", |
| "GROUP", |
| "BY", |
| "T1.ArtistId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "3", |
| "ORDER", |
| "BY", |
| "T2.Name" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| ",", |
| "t1", |
| ".", |
| "artistid", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "artistid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "value", |
| "order", |
| "by", |
| "t2", |
| ".", |
| "name" |
| ], |
| "question_spider": "Please list the name and id of all artists that have at least 3 albums in alphabetical order.", |
| "question": "请按字母顺序列出至少有3张专辑的所有艺术家的姓名和ID。", |
| "question_cspider": "请按字母顺序列出至少有3张专辑的所有艺术家的姓名和ID。", |
| "Harold": "BLEU = 82.79, 92.6/88.5/84.0/79.2 (BP=0.964, ratio=0.964, hyp_len=27, ref_len=28)", |
| "question_toks": [ |
| "请", |
| "按", |
| "字", |
| "母", |
| "顺", |
| "序", |
| "列", |
| "出", |
| "至", |
| "少", |
| "有", |
| "3", |
| "张", |
| "专", |
| "辑", |
| "的", |
| "所", |
| "有", |
| "歌", |
| "手", |
| "的", |
| "姓", |
| "名", |
| "和", |
| "I", |
| "D", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 3, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 5, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 3, |
| null |
| ] |
| ], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name", |
| "query_toks": [ |
| "SELECT", |
| "T2.Name", |
| ",", |
| "T1.ArtistId", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistID", |
| "GROUP", |
| "BY", |
| "T1.ArtistId", |
| "HAVING", |
| "COUNT", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "3", |
| "ORDER", |
| "BY", |
| "T2.Name" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t2", |
| ".", |
| "name", |
| ",", |
| "t1", |
| ".", |
| "artistid", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid", |
| "group", |
| "by", |
| "t1", |
| ".", |
| "artistid", |
| "having", |
| "count", |
| "(", |
| "*", |
| ")", |
| ">", |
| "=", |
| "value", |
| "order", |
| "by", |
| "t2", |
| ".", |
| "name" |
| ], |
| "question_spider": "What are the names and ids of artists with 3 or more albums, listed in alphabetical order?", |
| "question": "按字母顺序排列,有3张或更多张专辑的艺术家的名字和ID是什么?", |
| "question_cspider": "按字母顺序排列,有3张或更多张专辑的艺术家的名字和ID是什么?", |
| "Harold": "BLEU = 54.29, 78.1/64.5/50.0/34.5 (BP=1.000, ratio=1.032, hyp_len=32, ref_len=31)", |
| "question_toks": [ |
| "拥", |
| "有", |
| "3", |
| "张", |
| "或", |
| "以", |
| "上", |
| "专", |
| "辑", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "名", |
| "称", |
| "和", |
| "I", |
| "D", |
| "(", |
| "以", |
| "字", |
| "母", |
| "顺", |
| "序", |
| "排", |
| "列", |
| ")", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [ |
| [ |
| 0, |
| 3, |
| false |
| ] |
| ], |
| "having": [ |
| [ |
| false, |
| 5, |
| [ |
| 0, |
| [ |
| 3, |
| 0, |
| false |
| ], |
| null |
| ], |
| 3, |
| null |
| ] |
| ], |
| "orderBy": [ |
| "asc", |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "ARTIST", |
| "EXCEPT", |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "artist", |
| "except", |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid" |
| ], |
| "question_spider": "Find the names of artists that do not have any albums.", |
| "question": "找到没有任何专辑的艺术家的名字。", |
| "question_cspider": "找到没有任何专辑的艺术家的名字。", |
| "Harold": "BLEU = 44.58, 85.7/53.8/41.7/36.4 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)", |
| "question_toks": [ |
| "查", |
| "找", |
| "没", |
| "有", |
| "专", |
| "辑", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "姓", |
| "名", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId", |
| "query_toks": [ |
| "SELECT", |
| "Name", |
| "FROM", |
| "ARTIST", |
| "EXCEPT", |
| "SELECT", |
| "T2.Name", |
| "FROM", |
| "ALBUM", |
| "AS", |
| "T1", |
| "JOIN", |
| "ARTIST", |
| "AS", |
| "T2", |
| "ON", |
| "T1.ArtistId", |
| "=", |
| "T2.ArtistId" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "name", |
| "from", |
| "artist", |
| "except", |
| "select", |
| "t2", |
| ".", |
| "name", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "artist", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "artistid", |
| "=", |
| "t2", |
| ".", |
| "artistid" |
| ], |
| "question_spider": "What are the names of artists who have not released any albums?", |
| "question": "没有发行任何专辑的艺术家的名字是什么?", |
| "question_cspider": "没有发行任何专辑的艺术家的名字是什么?", |
| "Harold": "BLEU = 69.59, 88.2/81.2/73.3/71.4 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)", |
| "question_toks": [ |
| "尚", |
| "未", |
| "发", |
| "行", |
| "专", |
| "辑", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "的", |
| "名", |
| "字", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 5, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Rock\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "T2.UnitPrice", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Rock", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "t2", |
| ".", |
| "unitprice", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What is the average unit price of rock tracks?", |
| "question": "Rock歌曲的平均单价是多少?", |
| "question_cspider": "Rock歌曲的平均单价是多少?", |
| "Harold": "BLEU = 65.54, 81.8/80.0/77.8/75.0 (BP=0.834, ratio=0.846, hyp_len=11, ref_len=13)", |
| "question_toks": [ |
| "岩", |
| "轨", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Rock\"", |
| "query_toks": [ |
| "SELECT", |
| "AVG", |
| "(", |
| "T2.UnitPrice", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Rock", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "avg", |
| "(", |
| "t2", |
| ".", |
| "unitprice", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the average unit price of tracks from the Rock genre.", |
| "question": "找出Rock流派的歌曲的平均单价。", |
| "question_cspider": "找出Rock流派的歌曲的平均单价。", |
| "Harold": "BLEU = 31.47, 55.6/35.3/25.0/20.0 (BP=1.000, ratio=1.200, hyp_len=18, ref_len=15)", |
| "question_toks": [ |
| "从", |
| "“", |
| "摇", |
| "滚", |
| "”", |
| "类", |
| "型", |
| "中", |
| "找", |
| "到", |
| "曲", |
| "目", |
| "的", |
| "平", |
| "均", |
| "单", |
| "价", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 5, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Pop\"", |
| "query_toks": [ |
| "SELECT", |
| "max", |
| "(", |
| "Milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Pop", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "max", |
| "(", |
| "milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the duration of the longest and shortest pop tracks in milliseconds?", |
| "question": "最长和最短的流行歌曲的持续时间是多少毫秒?", |
| "question_cspider": "最长和最短的流行歌曲的持续时间是多少毫秒?", |
| "Harold": "BLEU = 52.02, 77.3/57.1/45.0/36.8 (BP=1.000, ratio=1.048, hyp_len=22, ref_len=21)", |
| "question_toks": [ |
| "最", |
| "长", |
| "和", |
| "最", |
| "短", |
| "的", |
| "流", |
| "行", |
| "曲", |
| "目", |
| "的", |
| "持", |
| "续", |
| "时", |
| "间", |
| "以", |
| "毫", |
| "秒", |
| "为", |
| "单", |
| "位", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 1, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Pop\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Pop\"", |
| "query_toks": [ |
| "SELECT", |
| "max", |
| "(", |
| "Milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "Milliseconds", |
| ")", |
| "FROM", |
| "GENRE", |
| "AS", |
| "T1", |
| "JOIN", |
| "TRACK", |
| "AS", |
| "T2", |
| "ON", |
| "T1.GenreId", |
| "=", |
| "T2.GenreId", |
| "WHERE", |
| "T1.Name", |
| "=", |
| "``", |
| "Pop", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "max", |
| "(", |
| "milliseconds", |
| ")", |
| ",", |
| "min", |
| "(", |
| "milliseconds", |
| ")", |
| "from", |
| "genre", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "genreid", |
| "=", |
| "t2", |
| ".", |
| "genreid", |
| "where", |
| "t1", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the maximum and minimum millisecond lengths of pop tracks.", |
| "question": "找出流行音乐的最大和最小毫秒长度。", |
| "question_cspider": "找出流行音乐的最大和最小毫秒长度。", |
| "Harold": "BLEU = 63.62, 76.5/62.5/60.0/57.1 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)", |
| "question_toks": [ |
| "查", |
| "找", |
| "弹", |
| "出", |
| "轨", |
| "道", |
| "的", |
| "最", |
| "大", |
| "和", |
| "最", |
| "小", |
| "毫", |
| "秒", |
| "长", |
| "度", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 4 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 1, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ], |
| [ |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 62, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Pop\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT BirthDate FROM EMPLOYEE WHERE City = \"Edmonton\"", |
| "query_toks": [ |
| "SELECT", |
| "BirthDate", |
| "FROM", |
| "EMPLOYEE", |
| "WHERE", |
| "City", |
| "=", |
| "``", |
| "Edmonton", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "birthdate", |
| "from", |
| "employee", |
| "where", |
| "city", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the birth dates of employees living in Edmonton?", |
| "question": "住在“San Jose”市的员工的出生日期是多少?", |
| "question_cspider": "住在“San Jose”市的员工的出生日期是多少?", |
| "Harold": "BLEU = 18.13, 62.5/33.3/14.3/7.7 (BP=0.829, ratio=0.842, hyp_len=16, ref_len=19)", |
| "question_toks": [ |
| "住", |
| "在", |
| "埃", |
| "德", |
| "蒙", |
| "顿", |
| "的", |
| "员", |
| "工", |
| "的", |
| "生", |
| "日", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 24, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ], |
| "\"Edmonton\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT BirthDate FROM EMPLOYEE WHERE City = \"Edmonton\"", |
| "query_toks": [ |
| "SELECT", |
| "BirthDate", |
| "FROM", |
| "EMPLOYEE", |
| "WHERE", |
| "City", |
| "=", |
| "``", |
| "Edmonton", |
| "''" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "birthdate", |
| "from", |
| "employee", |
| "where", |
| "city", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the birth dates corresponding to employees who live in the city of Edmonton.", |
| "question": "查找在“San Jose”市居住的雇员的出生日期。", |
| "question_cspider": "查找在“San Jose”市居住的雇员的出生日期。", |
| "Harold": "BLEU = 0.00, 55.0/10.5/0.0/0.0 (BP=1.000, ratio=1.053, hyp_len=20, ref_len=19)", |
| "question_toks": [ |
| "查", |
| "找", |
| "与", |
| "住", |
| "在", |
| "埃", |
| "德", |
| "蒙", |
| "顿", |
| "市", |
| "的", |
| "员", |
| "工", |
| "相", |
| "对", |
| "应", |
| "的", |
| "生", |
| "日", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 3 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 24, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 27, |
| false |
| ], |
| null |
| ], |
| "\"Edmonton\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT distinct(UnitPrice) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "distinct", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "What are the distinct unit prices of all tracks?", |
| "question": "所有歌曲的不同单价是多少?", |
| "question_cspider": "所有歌曲的不同单价是多少?", |
| "Harold": "BLEU = 27.63, 76.9/41.7/18.2/10.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)", |
| "question_toks": [ |
| "所", |
| "有", |
| "曲", |
| "目", |
| "的", |
| "单", |
| "价", |
| "分", |
| "别", |
| "是", |
| "多", |
| "少", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT distinct(UnitPrice) FROM TRACK", |
| "query_toks": [ |
| "SELECT", |
| "distinct", |
| "(", |
| "UnitPrice", |
| ")", |
| "FROM", |
| "TRACK" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "distinct", |
| "(", |
| "unitprice", |
| ")", |
| "from", |
| "track" |
| ], |
| "question_spider": "Find the distinct unit prices for tracks.", |
| "question": "找到歌曲的不同单价。", |
| "question_cspider": "找到歌曲的不同单价。", |
| "Harold": "BLEU = 55.55, 80.0/55.6/50.0/42.9 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)", |
| "question_toks": [ |
| "查", |
| "找", |
| "曲", |
| "目", |
| "的", |
| "不", |
| "同", |
| "单", |
| "价", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 10 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| true, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 64, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)", |
| "query_toks": [ |
| "SELECT", |
| "count", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ARTIST", |
| "WHERE", |
| "artistid", |
| "NOT", |
| "IN", |
| "(", |
| "SELECT", |
| "artistid", |
| "FROM", |
| "ALBUM", |
| ")" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "artist", |
| "where", |
| "artistid", |
| "not", |
| "in", |
| "(", |
| "select", |
| "artistid", |
| "from", |
| "album", |
| ")" |
| ], |
| "question_spider": "How many artists do not have any album?", |
| "question": "有多少艺术家没有专辑?", |
| "question_cspider": "有多少艺术家没有专辑?", |
| "Harold": "BLEU = 73.49, 91.7/81.8/70.0/55.6 (BP=1.000, ratio=1.091, hyp_len=12, ref_len=11)", |
| "question_toks": [ |
| "有", |
| "多", |
| "少", |
| "位", |
| "艺", |
| "术", |
| "家", |
| "没", |
| "有", |
| "专", |
| "辑", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| true, |
| 8, |
| [ |
| 0, |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ], |
| { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| }, |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)", |
| "query_toks": [ |
| "SELECT", |
| "count", |
| "(", |
| "*", |
| ")", |
| "FROM", |
| "ARTIST", |
| "WHERE", |
| "artistid", |
| "NOT", |
| "IN", |
| "(", |
| "SELECT", |
| "artistid", |
| "FROM", |
| "ALBUM", |
| ")" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "count", |
| "(", |
| "*", |
| ")", |
| "from", |
| "artist", |
| "where", |
| "artistid", |
| "not", |
| "in", |
| "(", |
| "select", |
| "artistid", |
| "from", |
| "album", |
| ")" |
| ], |
| "question_spider": "Cound the number of artists who have not released an album.", |
| "question": "数出没有发行专辑的艺术家的数量。", |
| "question_cspider": "数出没有发行专辑的艺术家的数量。", |
| "Harold": "BLEU = 47.07, 66.7/50.0/46.2/41.7 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)", |
| "question_toks": [ |
| "计", |
| "算", |
| "尚", |
| "未", |
| "发", |
| "行", |
| "专", |
| "辑", |
| "的", |
| "艺", |
| "术", |
| "家", |
| "人", |
| "数", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 1 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 3, |
| [ |
| 0, |
| [ |
| 0, |
| 0, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| true, |
| 8, |
| [ |
| 0, |
| [ |
| 0, |
| 4, |
| false |
| ], |
| null |
| ], |
| { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ] |
| ], |
| "conds": [] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 3, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| }, |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| "FROM", |
| "Album", |
| "AS", |
| "T1", |
| "JOIN", |
| "Track", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "JOIN", |
| "Genre", |
| "AS", |
| "T3", |
| "ON", |
| "T2.GenreID", |
| "=", |
| "T3.GenreID", |
| "WHERE", |
| "T3.Name", |
| "=", |
| "'Reggae", |
| "'", |
| "INTERSECT", |
| "SELECT", |
| "T1.Title", |
| "FROM", |
| "Album", |
| "AS", |
| "T1", |
| "JOIN", |
| "Track", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "JOIN", |
| "Genre", |
| "AS", |
| "T3", |
| "ON", |
| "T2.GenreID", |
| "=", |
| "T3.GenreID", |
| "WHERE", |
| "T3.Name", |
| "=", |
| "'Rock", |
| "'" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "join", |
| "genre", |
| "as", |
| "t3", |
| "on", |
| "t2", |
| ".", |
| "genreid", |
| "=", |
| "t3", |
| ".", |
| "genreid", |
| "where", |
| "t3", |
| ".", |
| "name", |
| "=", |
| "value", |
| "intersect", |
| "select", |
| "t1", |
| ".", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "join", |
| "genre", |
| "as", |
| "t3", |
| "on", |
| "t2", |
| ".", |
| "genreid", |
| "=", |
| "t3", |
| ".", |
| "genreid", |
| "where", |
| "t3", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?", |
| "question": "包含“Reggae”和“Rock”流派曲目的专辑的名称是什么?", |
| "question_cspider": "包含“Reggae”和“Rock”流派曲目的专辑的名称是什么?", |
| "Harold": "BLEU = 78.01, 85.2/80.8/76.0/70.8 (BP=1.000, ratio=1.080, hyp_len=27, ref_len=25)", |
| "question_toks": [ |
| "包", |
| "含", |
| "“", |
| "雷", |
| "鬼", |
| "”", |
| "和", |
| "“", |
| "摇", |
| "滚", |
| "”", |
| "流", |
| "派", |
| "曲", |
| "目", |
| "的", |
| "专", |
| "辑", |
| "的", |
| "专", |
| "辑", |
| "标", |
| "题", |
| "是", |
| "什", |
| "么", |
| "?" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ], |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Reggae\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ], |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| }, |
| "union": null, |
| "except": null |
| } |
| }, |
| { |
| "db_id": "chinook_1", |
| "query": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'", |
| "query_toks": [ |
| "SELECT", |
| "T1.Title", |
| "FROM", |
| "Album", |
| "AS", |
| "T1", |
| "JOIN", |
| "Track", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "JOIN", |
| "Genre", |
| "AS", |
| "T3", |
| "ON", |
| "T2.GenreID", |
| "=", |
| "T3.GenreID", |
| "WHERE", |
| "T3.Name", |
| "=", |
| "'Reggae", |
| "'", |
| "INTERSECT", |
| "SELECT", |
| "T1.Title", |
| "FROM", |
| "Album", |
| "AS", |
| "T1", |
| "JOIN", |
| "Track", |
| "AS", |
| "T2", |
| "ON", |
| "T1.AlbumId", |
| "=", |
| "T2.AlbumId", |
| "JOIN", |
| "Genre", |
| "AS", |
| "T3", |
| "ON", |
| "T2.GenreID", |
| "=", |
| "T3.GenreID", |
| "WHERE", |
| "T3.Name", |
| "=", |
| "'Rock", |
| "'" |
| ], |
| "query_toks_no_value": [ |
| "select", |
| "t1", |
| ".", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "join", |
| "genre", |
| "as", |
| "t3", |
| "on", |
| "t2", |
| ".", |
| "genreid", |
| "=", |
| "t3", |
| ".", |
| "genreid", |
| "where", |
| "t3", |
| ".", |
| "name", |
| "=", |
| "value", |
| "intersect", |
| "select", |
| "t1", |
| ".", |
| "title", |
| "from", |
| "album", |
| "as", |
| "t1", |
| "join", |
| "track", |
| "as", |
| "t2", |
| "on", |
| "t1", |
| ".", |
| "albumid", |
| "=", |
| "t2", |
| ".", |
| "albumid", |
| "join", |
| "genre", |
| "as", |
| "t3", |
| "on", |
| "t2", |
| ".", |
| "genreid", |
| "=", |
| "t3", |
| ".", |
| "genreid", |
| "where", |
| "t3", |
| ".", |
| "name", |
| "=", |
| "value" |
| ], |
| "question_spider": "Find the titles of albums that contain tracks of both the Reggae and Rock genres.", |
| "question": "查找包含“Reggae”和“Rock”音乐曲目的专辑标题。", |
| "question_cspider": "查找包含“Reggae”和“Rock”音乐曲目的专辑标题。", |
| "Harold": "BLEU = 40.42, 81.0/55.0/31.6/27.8 (BP=0.909, ratio=0.913, hyp_len=21, ref_len=23)", |
| "question_toks": [ |
| "查", |
| "找", |
| "同", |
| "时", |
| "包", |
| "含", |
| "雷", |
| "鬼", |
| "和", |
| "摇", |
| "滚", |
| "流", |
| "派", |
| "曲", |
| "目", |
| "的", |
| "专", |
| "辑", |
| "标", |
| "题", |
| "。" |
| ], |
| "sql": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ], |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Reggae\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": { |
| "from": { |
| "table_units": [ |
| [ |
| "table_unit", |
| 0 |
| ], |
| [ |
| "table_unit", |
| 10 |
| ], |
| [ |
| "table_unit", |
| 4 |
| ] |
| ], |
| "conds": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 1, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 58, |
| false |
| ], |
| null |
| ], |
| "and", |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 60, |
| false |
| ], |
| null |
| ], |
| [ |
| 0, |
| 34, |
| false |
| ], |
| null |
| ] |
| ] |
| }, |
| "select": [ |
| false, |
| [ |
| [ |
| 0, |
| [ |
| 0, |
| [ |
| 0, |
| 2, |
| false |
| ], |
| null |
| ] |
| ] |
| ] |
| ], |
| "where": [ |
| [ |
| false, |
| 2, |
| [ |
| 0, |
| [ |
| 0, |
| 35, |
| false |
| ], |
| null |
| ], |
| "\"Rock\"", |
| null |
| ] |
| ], |
| "groupBy": [], |
| "having": [], |
| "orderBy": [], |
| "limit": null, |
| "intersect": null, |
| "union": null, |
| "except": null |
| }, |
| "union": null, |
| "except": null |
| } |
| } |
| ] |