dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "book_2",
"query": "SELECT count(*) FROM book",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"book"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"book"
],
"question_spider": "How many books are there?",
"question": "有多少本书?",
"question_cspider": "有多少本书?",
"Harold": "BLEU = 0.00, 80.0/50.0/33.3/0.0 (BP=0.819, ratio=0.833, hyp_len=5, ref_len=6)",
"question_toks": [
"有",
"几",
"本",
"书",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Writer FROM book ORDER BY Writer ASC",
"query_toks": [
"SELECT",
"Writer",
"FROM",
"book",
"ORDER",
"BY",
"Writer",
"ASC"
],
"query_toks_no_value": [
"select",
"writer",
"from",
"book",
"order",
"by",
"writer",
"asc"
],
"question_spider": "List the writers of the books in ascending alphabetical order.",
"question": "按字母顺序列出书的作者。",
"question_cspider": "按字母顺序列出书的作者。",
"Harold": "BLEU = 47.59, 84.6/66.7/45.5/20.0 (BP=1.000, ratio=1.083, hyp_len=13, ref_len=12)",
"question_toks": [
"按",
"字",
"母",
"升",
"序",
"列",
"出",
"书",
"籍",
"的",
"作",
"者",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
9,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Title FROM book ORDER BY Issues ASC",
"query_toks": [
"SELECT",
"Title",
"FROM",
"book",
"ORDER",
"BY",
"Issues",
"ASC"
],
"query_toks_no_value": [
"select",
"title",
"from",
"book",
"order",
"by",
"issues",
"asc"
],
"question_spider": "List the titles of the books in ascending order of issues.",
"question": "按出版升序排列,列出书名。",
"question_cspider": "按出版升序排列,列出书名。",
"Harold": "BLEU = 33.64, 63.6/50.0/33.3/25.0 (BP=0.834, ratio=0.846, hyp_len=11, ref_len=13)",
"question_toks": [
"以",
"问",
"题",
"的",
"升",
"序",
"列",
"出",
"书",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
8,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Title FROM book WHERE Writer != \"Elaine Lee\"",
"query_toks": [
"SELECT",
"Title",
"FROM",
"book",
"WHERE",
"Writer",
"!",
"=",
"``",
"Elaine",
"Lee",
"''"
],
"query_toks_no_value": [
"select",
"title",
"from",
"book",
"where",
"writer",
"!",
"=",
"value"
],
"question_spider": "What are the titles of the books whose writer is not \"Elaine Lee\"?",
"question": "作者不是“Elaine Lee”的书名是什么?",
"question_cspider": "作者不是“Elaine Lee”的书名是什么?",
"Harold": "BLEU = 32.23, 52.0/37.5/30.4/18.2 (BP=1.000, ratio=1.562, hyp_len=25, ref_len=16)",
"question_toks": [
"作",
"家",
"不",
"是",
"“",
" ",
"E",
"l",
"a",
"i",
"n",
"e",
" ",
"L",
"e",
"e",
"”",
"的",
"书",
"籍",
"的",
"书",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
false,
7,
[
0,
[
0,
9,
false
],
null
],
"\"Elaine Lee\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Title , Issues FROM book",
"query_toks": [
"SELECT",
"Title",
",",
"Issues",
"FROM",
"book"
],
"query_toks_no_value": [
"select",
"title",
",",
"issues",
"from",
"book"
],
"question_spider": "What are the title and issues of the books?",
"question": "书的题目和出版是什么?",
"question_cspider": "书的题目和出版是什么?",
"Harold": "BLEU = 24.71, 61.5/33.3/18.2/10.0 (BP=1.000, ratio=1.182, hyp_len=13, ref_len=11)",
"question_toks": [
"这",
"些",
"书",
"的",
"标",
"题",
"和",
"问",
"题",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publication_Date FROM publication ORDER BY Price DESC",
"query_toks": [
"SELECT",
"Publication_Date",
"FROM",
"publication",
"ORDER",
"BY",
"Price",
"DESC"
],
"query_toks_no_value": [
"select",
"publication_date",
"from",
"publication",
"order",
"by",
"price",
"desc"
],
"question_spider": "What are the dates of publications in descending order of price?",
"question": "按价格降序排列的出版物日期是什么?",
"question_cspider": "按价格降序排列的出版物日期是什么?",
"Harold": "BLEU = 18.17, 61.5/33.3/18.2/10.0 (BP=0.735, ratio=0.765, hyp_len=13, ref_len=17)",
"question_toks": [
"价",
"格",
"从",
"高",
"到",
"低",
"的",
"顺",
"序",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT DISTINCT Publisher FROM publication WHERE Price > 5000000",
"query_toks": [
"SELECT",
"DISTINCT",
"Publisher",
"FROM",
"publication",
"WHERE",
"Price",
">",
"5000000"
],
"query_toks_no_value": [
"select",
"distinct",
"publisher",
"from",
"publication",
"where",
"price",
">",
"value"
],
"question_spider": "What are the distinct publishers of publications with price higher than 5000000?",
"question": "哪些不同出版商有格高于5000000的出版物?",
"question_cspider": "哪些不同出版商有格高于5000000的出版物?",
"Harold": "BLEU = 39.11, 72.7/52.4/35.0/21.1 (BP=0.956, ratio=0.957, hyp_len=22, ref_len=23)",
"question_toks": [
"价",
"格",
"高",
"于",
"5",
"0",
"0",
"万",
"的",
"出",
"版",
"物",
"的",
"哪",
"些",
"出",
"版",
"商",
"是",
"哪",
"些",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
5,
false
],
null
],
5000000,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publisher FROM publication ORDER BY Price DESC LIMIT 1",
"query_toks": [
"SELECT",
"Publisher",
"FROM",
"publication",
"ORDER",
"BY",
"Price",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"publisher",
"from",
"publication",
"order",
"by",
"price",
"desc",
"limit",
"value"
],
"question_spider": "List the publisher of the publication with the highest price.",
"question": "列出出版物价格最高的出版商。",
"question_cspider": "列出出版物价格最高的出版商。",
"Harold": "BLEU = 68.92, 93.3/78.6/61.5/50.0 (BP=1.000, ratio=1.071, hyp_len=15, ref_len=14)",
"question_toks": [
"列",
"出",
"价",
"格",
"最",
"高",
"的",
"出",
"版",
"物",
"的",
"出",
"版",
"商",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publication_Date FROM publication ORDER BY Price ASC LIMIT 3",
"query_toks": [
"SELECT",
"Publication_Date",
"FROM",
"publication",
"ORDER",
"BY",
"Price",
"ASC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"publication_date",
"from",
"publication",
"order",
"by",
"price",
"asc",
"limit",
"value"
],
"question_spider": "List the publication dates of publications with 3 lowest prices.",
"question": "列出3个最低价格的出版物的出版日期。",
"question_cspider": "列出3个最低价格的出版物的出版日期。",
"Harold": "BLEU = 57.19, 94.4/64.7/43.8/40.0 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"列",
"出",
"价",
"格",
"最",
"低",
"的",
"3",
"种",
"出",
"版",
"物",
"的",
"出",
"版",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": 3,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT T1.Title , T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID",
"query_toks": [
"SELECT",
"T1.Title",
",",
"T2.Publication_Date",
"FROM",
"book",
"AS",
"T1",
"JOIN",
"publication",
"AS",
"T2",
"ON",
"T1.Book_ID",
"=",
"T2.Book_ID"
],
"query_toks_no_value": [
"select",
"t1",
".",
"title",
",",
"t2",
".",
"publication_date",
"from",
"book",
"as",
"t1",
"join",
"publication",
"as",
"t2",
"on",
"t1",
".",
"book_id",
"=",
"t2",
".",
"book_id"
],
"question_spider": "Show the title and publication dates of books.",
"question": "显示图书的书名和出版日期。",
"question_cspider": "显示图书的书名和出版日期。",
"Harold": "BLEU = 45.26, 76.9/50.0/36.4/30.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)",
"question_toks": [
"显",
"示",
"书",
"籍",
"的",
"标",
"题",
"和",
"出",
"版",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
2,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000",
"query_toks": [
"SELECT",
"T1.Writer",
"FROM",
"book",
"AS",
"T1",
"JOIN",
"publication",
"AS",
"T2",
"ON",
"T1.Book_ID",
"=",
"T2.Book_ID",
"WHERE",
"T2.Price",
">",
"4000000"
],
"query_toks_no_value": [
"select",
"t1",
".",
"writer",
"from",
"book",
"as",
"t1",
"join",
"publication",
"as",
"t2",
"on",
"t1",
".",
"book_id",
"=",
"t2",
".",
"book_id",
"where",
"t2",
".",
"price",
">",
"value"
],
"question_spider": "Show writers who have published a book with price more than 4000000.",
"question": "显示已经出版的一本价格超过4000000的书的作家。",
"question_cspider": "显示已经出版的一本价格超过4000000的书的作家。",
"Harold": "BLEU = 38.74, 94.4/70.6/50.0/40.0 (BP=0.641, ratio=0.692, hyp_len=18, ref_len=26)",
"question_toks": [
"显",
"示",
"出",
"版",
"价",
"格",
"超",
"过",
"4",
"0",
"0",
"万",
"本",
"书",
"的",
"作",
"家",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
2,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
5,
false
],
null
],
4000000,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT T1.Title FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T2.Price DESC",
"query_toks": [
"SELECT",
"T1.Title",
"FROM",
"book",
"AS",
"T1",
"JOIN",
"publication",
"AS",
"T2",
"ON",
"T1.Book_ID",
"=",
"T2.Book_ID",
"ORDER",
"BY",
"T2.Price",
"DESC"
],
"query_toks_no_value": [
"select",
"t1",
".",
"title",
"from",
"book",
"as",
"t1",
"join",
"publication",
"as",
"t2",
"on",
"t1",
".",
"book_id",
"=",
"t2",
".",
"book_id",
"order",
"by",
"t2",
".",
"price",
"desc"
],
"question_spider": "Show the titles of books in descending order of publication price.",
"question": "按出版物价格的顺序显示书名。",
"question_cspider": "按出版物价格的顺序显示书名。",
"Harold": "BLEU = 48.87, 91.7/72.7/50.0/33.3 (BP=0.846, ratio=0.857, hyp_len=12, ref_len=14)",
"question_toks": [
"按",
"出",
"版",
"价",
"格",
"降",
"序",
"显",
"示",
"书",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
2,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
5,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publisher FROM publication GROUP BY Publisher HAVING COUNT(*) > 1",
"query_toks": [
"SELECT",
"Publisher",
"FROM",
"publication",
"GROUP",
"BY",
"Publisher",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"1"
],
"query_toks_no_value": [
"select",
"publisher",
"from",
"publication",
"group",
"by",
"publisher",
"having",
"count",
"(",
"*",
")",
">",
"value"
],
"question_spider": "Show publishers that have more than one publication.",
"question": "显示有不止一个出版物的出版商。",
"question_cspider": "显示有不止一个出版物的出版商。",
"Harold": "BLEU = 30.32, 64.3/38.5/25.0/18.2 (BP=0.931, ratio=0.933, hyp_len=14, ref_len=15)",
"question_toks": [
"显",
"示",
"具",
"有",
"多",
"个",
"出",
"版",
"物",
"的",
"发",
"布",
"者",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
3,
false
]
],
"having": [
[
false,
3,
[
0,
[
3,
0,
false
],
null
],
1,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publisher , COUNT(*) FROM publication GROUP BY Publisher",
"query_toks": [
"SELECT",
"Publisher",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"publication",
"GROUP",
"BY",
"Publisher"
],
"query_toks_no_value": [
"select",
"publisher",
",",
"count",
"(",
"*",
")",
"from",
"publication",
"group",
"by",
"publisher"
],
"question_spider": "Show different publishers together with the number of publications they have.",
"question": "展示不同的出版商以及他们出版的出版物数量。",
"question_cspider": "展示不同的出版商以及他们出版的出版物数量。",
"Harold": "BLEU = 76.18, 85.7/80.0/73.7/66.7 (BP=1.000, ratio=1.000, hyp_len=21, ref_len=21)",
"question_toks": [
"显",
"示",
"不",
"同",
"的",
"出",
"版",
"商",
"以",
"及",
"他",
"们",
"拥",
"有",
"的",
"出",
"版",
"物",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
3,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Publication_Date FROM publication GROUP BY Publication_Date ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"Publication_Date",
"FROM",
"publication",
"GROUP",
"BY",
"Publication_Date",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"publication_date",
"from",
"publication",
"group",
"by",
"publication_date",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Please show the most common publication date.",
"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",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
4,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1",
"query_toks": [
"SELECT",
"Writer",
"FROM",
"book",
"GROUP",
"BY",
"Writer",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"1"
],
"query_toks_no_value": [
"select",
"writer",
"from",
"book",
"group",
"by",
"writer",
"having",
"count",
"(",
"*",
")",
">",
"value"
],
"question_spider": "List the writers who have written more than one book.",
"question": "列出那些写过不止一本书的作家。",
"question_cspider": "列出那些写过不止一本书的作家。",
"Harold": "BLEU = 29.21, 84.6/58.3/27.3/10.0 (BP=0.857, ratio=0.867, hyp_len=13, ref_len=15)",
"question_toks": [
"列",
"出",
"写",
"过",
"一",
"本",
"书",
"以",
"上",
"的",
"作",
"家",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
9,
false
]
],
"having": [
[
false,
3,
[
0,
[
3,
0,
false
],
null
],
1,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Title FROM book WHERE Book_ID NOT IN (SELECT Book_ID FROM publication)",
"query_toks": [
"SELECT",
"Title",
"FROM",
"book",
"WHERE",
"Book_ID",
"NOT",
"IN",
"(",
"SELECT",
"Book_ID",
"FROM",
"publication",
")"
],
"query_toks_no_value": [
"select",
"title",
"from",
"book",
"where",
"book_id",
"not",
"in",
"(",
"select",
"book_id",
"from",
"publication",
")"
],
"question_spider": "List the titles of books that are not published.",
"question": "列出未出版的书名。",
"question_cspider": "列出未出版的书名。",
"Harold": "BLEU = 59.00, 72.7/60.0/55.6/50.0 (BP=1.000, ratio=1.222, hyp_len=11, ref_len=9)",
"question_toks": [
"列",
"出",
"未",
"出",
"版",
"的",
"书",
"的",
"标",
"题",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
6,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
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": "book_2",
"query": "SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000",
"query_toks": [
"SELECT",
"Publisher",
"FROM",
"publication",
"WHERE",
"Price",
">",
"10000000",
"INTERSECT",
"SELECT",
"Publisher",
"FROM",
"publication",
"WHERE",
"Price",
"<",
"5000000"
],
"query_toks_no_value": [
"select",
"publisher",
"from",
"publication",
"where",
"price",
">",
"value",
"intersect",
"select",
"publisher",
"from",
"publication",
"where",
"price",
"<",
"value"
],
"question_spider": "Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.",
"question": "显示价格高于10000000和价格低于50000000的出版物的出版商。",
"question_cspider": "显示价格高于10000000和价格低于50000000的出版物的出版商。",
"Harold": "BLEU = 36.42, 65.5/50.0/40.7/34.6 (BP=0.786, ratio=0.806, hyp_len=29, ref_len=36)",
"question_toks": [
"显",
"示",
"发",
"布",
"价",
"格",
"高",
"于",
"1",
"0",
"0",
"0",
"万",
"且",
"发",
"布",
"价",
"格",
"低",
"于",
"5",
"0",
"0",
"万",
"的",
"发",
"布",
"者",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
5,
false
],
null
],
10000000,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
4,
[
0,
[
0,
5,
false
],
null
],
5000000,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT COUNT (DISTINCT Publication_Date) FROM publication",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"Publication_Date",
")",
"FROM",
"publication"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"publication_date",
")",
"from",
"publication"
],
"question_spider": "What is the number of distinct publication dates?",
"question": "不同出版日期的出版物数量是多少?",
"question_cspider": "不同出版日期的出版物数量是多少?",
"Harold": "BLEU = 36.65, 100.0/80.0/55.6/25.0 (BP=0.635, ratio=0.688, hyp_len=11, ref_len=16)",
"question_toks": [
"不",
"同",
"的",
"出",
"版",
"日",
"期",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
4,
true
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT COUNT (DISTINCT Publication_Date) FROM publication",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"Publication_Date",
")",
"FROM",
"publication"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"publication_date",
")",
"from",
"publication"
],
"question_spider": "How many distinct publication dates are there in our record?",
"question": "我们的记录中有多少种不同的出版日期?",
"question_cspider": "我们的记录中有多少种不同的出版日期?",
"Harold": "BLEU = 83.94, 94.4/88.2/81.2/73.3 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"我",
"们",
"的",
"记",
"录",
"中",
"有",
"多",
"少",
"个",
"不",
"同",
"的",
"出",
"版",
"日",
"期",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
4,
true
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "book_2",
"query": "SELECT Price FROM publication WHERE Publisher = \"Person\" OR Publisher = \"Wiley\"",
"query_toks": [
"SELECT",
"Price",
"FROM",
"publication",
"WHERE",
"Publisher",
"=",
"``",
"Person",
"''",
"OR",
"Publisher",
"=",
"``",
"Wiley",
"''"
],
"query_toks_no_value": [
"select",
"price",
"from",
"publication",
"where",
"publisher",
"=",
"value",
"or",
"publisher",
"=",
"value"
],
"question_spider": "Show the prices of publications whose publisher is either \"Person\" or \"Wiley\"",
"question": "显示出版商是“Person”或“Wiley”的出版物价格。",
"question_cspider": "显示出版商是“Person”或“Wiley”的出版物价格。",
"Harold": "BLEU = 26.30, 61.9/40.0/21.1/11.1 (BP=0.953, ratio=0.955, hyp_len=21, ref_len=22)",
"question_toks": [
"显",
"示",
"发",
"布",
"者",
"为",
"“",
"人",
"”",
"或",
"“",
"威",
"利",
"”",
"的",
"出",
"版",
"物",
"的",
"价",
"格"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
3,
false
],
null
],
"\"Person\"",
null
],
"or",
[
false,
2,
[
0,
[
0,
3,
false
],
null
],
"\"Wiley\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
]