dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_calendar",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_calendar"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_calendar"
],
"question_spider": "How many calendar items do we have?",
"question": "我们有多少日历项目?",
"question_cspider": "我们有多少日历项目?",
"Harold": "BLEU = 70.17, 90.9/80.0/66.7/50.0 (BP=1.000, ratio=1.100, hyp_len=11, ref_len=10)",
"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": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_calendar",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_calendar"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_calendar"
],
"question_spider": "Count the number of all the calendar items.",
"question": "计算所有日历条目的数量。",
"question_cspider": "计算所有日历条目的数量。",
"Harold": "BLEU = 73.49, 91.7/81.8/70.0/55.6 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)",
"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": "cre_Doc_Tracking_DB",
"query": "SELECT calendar_date , day_Number FROM Ref_calendar",
"query_toks": [
"SELECT",
"calendar_date",
",",
"day_Number",
"FROM",
"Ref_calendar"
],
"query_toks_no_value": [
"select",
"calendar_date",
",",
"day_number",
"from",
"ref_calendar"
],
"question_spider": "Show all calendar dates and day Numbers.",
"question": "显示所有日历日期和日期号码。",
"question_cspider": "显示所有日历日期和日期号码。",
"Harold": "BLEU = 61.73, 83.3/72.7/70.0/66.7 (BP=0.846, ratio=0.857, hyp_len=12, ref_len=14)",
"question_toks": [
"显",
"示",
"所",
"有",
"日",
"历",
"日",
"期",
"和",
"天",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
],
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT calendar_date , day_Number FROM Ref_calendar",
"query_toks": [
"SELECT",
"calendar_date",
",",
"day_Number",
"FROM",
"Ref_calendar"
],
"query_toks_no_value": [
"select",
"calendar_date",
",",
"day_number",
"from",
"ref_calendar"
],
"question_spider": "What are all the calendar dates and day Numbers?",
"question": "所有日历日期和日期号码是什么?",
"question_cspider": "所有日历日期和日期号码是什么?",
"Harold": "BLEU = 52.01, 92.9/76.9/50.0/27.3 (BP=0.931, ratio=0.933, hyp_len=14, ref_len=15)",
"question_toks": [
"日",
"历",
"的",
"所",
"有",
"日",
"期",
"和",
"日",
"期",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
4,
false
],
null
]
],
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_document_types",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_document_types"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_document_types"
],
"question_spider": "Show the number of document types.",
"question": "显示文档类型的数量。",
"question_cspider": "显示文档类型的数量。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)",
"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": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_document_types",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_document_types"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_document_types"
],
"question_spider": "How many document types are there?",
"question": "有多少种文档类型?",
"question_cspider": "有多少种文档类型?",
"Harold": "BLEU = 59.69, 88.9/75.0/57.1/33.3 (BP=1.000, ratio=1.000, hyp_len=9, ref_len=9)",
"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": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_code , document_type_name FROM Ref_document_types",
"query_toks": [
"SELECT",
"document_type_code",
",",
"document_type_name",
"FROM",
"Ref_document_types"
],
"query_toks_no_value": [
"select",
"document_type_code",
",",
"document_type_name",
"from",
"ref_document_types"
],
"question_spider": "List all document type codes and document type names.",
"question": "列出所有的文档类型代码和文档类型名称。",
"question_cspider": "列出所有的文档类型代码和文档类型名称。",
"Harold": "BLEU = 85.22, 100.0/94.1/87.5/80.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)",
"question_toks": [
"列",
"出",
"所",
"有",
"文",
"档",
"类",
"型",
"代",
"码",
"和",
"文",
"档",
"类",
"型",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_code , document_type_name FROM Ref_document_types",
"query_toks": [
"SELECT",
"document_type_code",
",",
"document_type_name",
"FROM",
"Ref_document_types"
],
"query_toks_no_value": [
"select",
"document_type_code",
",",
"document_type_name",
"from",
"ref_document_types"
],
"question_spider": "What are all the document type codes and document type names?",
"question": "所有的文档类型代码和文档类型名称是什么?",
"question_cspider": "所有的文档类型代码和文档类型名称是什么?",
"Harold": "BLEU = 87.67, 100.0/94.4/88.2/87.5 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)",
"question_toks": [
"所",
"有",
"文",
"档",
"类",
"型",
"代",
"码",
"和",
"文",
"档",
"类",
"型",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_name , document_type_description FROM Ref_document_types WHERE document_type_code = \"RV\"",
"query_toks": [
"SELECT",
"document_type_name",
",",
"document_type_description",
"FROM",
"Ref_document_types",
"WHERE",
"document_type_code",
"=",
"``",
"RV",
"''"
],
"query_toks_no_value": [
"select",
"document_type_name",
",",
"document_type_description",
"from",
"ref_document_types",
"where",
"document_type_code",
"=",
"value"
],
"question_spider": "What is the name and description for document type code RV?",
"question": "文档类型代码是“RV”的文档名称和描述是什么?",
"question_cspider": "文档类型代码是“RV”的文档名称和描述是什么?",
"Harold": "BLEU = 57.83, 100.0/82.4/68.8/60.0 (BP=0.757, ratio=0.783, hyp_len=18, ref_len=23)",
"question_toks": [
"文",
"档",
"类",
"型",
"代",
"码",
"R",
"V",
"的",
"名",
"称",
"和",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
"\"RV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_name , document_type_description FROM Ref_document_types WHERE document_type_code = \"RV\"",
"query_toks": [
"SELECT",
"document_type_name",
",",
"document_type_description",
"FROM",
"Ref_document_types",
"WHERE",
"document_type_code",
"=",
"``",
"RV",
"''"
],
"query_toks_no_value": [
"select",
"document_type_name",
",",
"document_type_description",
"from",
"ref_document_types",
"where",
"document_type_code",
"=",
"value"
],
"question_spider": "Give me the name and description of the document type code RV.",
"question": "给我文档类型代码是“RV”的文档名称和描述。",
"question_cspider": "给我文档类型代码是“RV”的文档名称和描述。",
"Harold": "BLEU = 23.83, 88.9/52.9/25.0/6.7 (BP=0.801, ratio=0.818, hyp_len=18, ref_len=22)",
"question_toks": [
"请",
"给",
"我",
"名",
"称",
"和",
"文",
"件",
"类",
"型",
"代",
"码",
"R",
"V",
"的",
"描",
"述",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
"\"RV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_code FROM Ref_document_types WHERE document_type_name = \"Paper\"",
"query_toks": [
"SELECT",
"document_type_code",
"FROM",
"Ref_document_types",
"WHERE",
"document_type_name",
"=",
"``",
"Paper",
"''"
],
"query_toks_no_value": [
"select",
"document_type_code",
"from",
"ref_document_types",
"where",
"document_type_name",
"=",
"value"
],
"question_spider": "What is the document type code for document type \"Paper\"?",
"question": "文档类型是“Paper”的文档类型代码是什么?",
"question_cspider": "文档类型是“Paper”的文档类型代码是什么?",
"Harold": "BLEU = 70.62, 89.5/77.8/70.6/62.5 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)",
"question_toks": [
"文",
"档",
"类",
"型",
"“",
"纸",
"张",
"”",
"的",
"文",
"档",
"类",
"型",
"代",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"Paper\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_code FROM Ref_document_types WHERE document_type_name = \"Paper\"",
"query_toks": [
"SELECT",
"document_type_code",
"FROM",
"Ref_document_types",
"WHERE",
"document_type_name",
"=",
"``",
"Paper",
"''"
],
"query_toks_no_value": [
"select",
"document_type_code",
"from",
"ref_document_types",
"where",
"document_type_name",
"=",
"value"
],
"question_spider": "Find the code of the document type \"Paper\".",
"question": "查找文档类型是“Paper”的文档类型代码。",
"question_cspider": "查找文档类型是“Paper”的文档类型代码。",
"Harold": "BLEU = 35.42, 70.6/50.0/33.3/21.4 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)",
"question_toks": [
"查",
"找",
"文",
"档",
"类",
"型",
"“",
" ",
"P",
"a",
"p",
"e",
"r",
"”",
"的",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"Paper\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM All_documents WHERE document_type_code = \"CV\" OR document_type_code = \"BK\"",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"All_documents",
"WHERE",
"document_type_code",
"=",
"``",
"CV",
"''",
"OR",
"document_type_code",
"=",
"``",
"BK",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"all_documents",
"where",
"document_type_code",
"=",
"value",
"or",
"document_type_code",
"=",
"value"
],
"question_spider": "Show the number of documents with document type code CV or BK.",
"question": "显示文档类型代码是“CV”或“BK”的文档数量。",
"question_cspider": "显示文档类型代码是“CV”或“BK”的文档数量。",
"Harold": "BLEU = 39.85, 73.7/55.6/47.1/37.5 (BP=0.769, ratio=0.792, hyp_len=19, ref_len=24)",
"question_toks": [
"显",
"示",
"文",
"档",
"类",
"型",
"代",
"码",
"为",
"C",
"V",
"或",
"B",
"K",
"的",
"文",
"档",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
"\"CV\"",
null
],
"or",
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
"\"BK\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM All_documents WHERE document_type_code = \"CV\" OR document_type_code = \"BK\"",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"All_documents",
"WHERE",
"document_type_code",
"=",
"``",
"CV",
"''",
"OR",
"document_type_code",
"=",
"``",
"BK",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"all_documents",
"where",
"document_type_code",
"=",
"value",
"or",
"document_type_code",
"=",
"value"
],
"question_spider": "How many documents have document type code CV or BK?",
"question": "文档类型代码是“CV”或“BK”的文档数量有多少?",
"question_cspider": "文档类型代码是“CV”或“BK”的文档数量有多少?",
"Harold": "BLEU = 26.24, 68.4/44.4/29.4/18.8 (BP=0.729, ratio=0.760, hyp_len=19, ref_len=25)",
"question_toks": [
"多",
"少",
"个",
"文",
"档",
"的",
"文",
"档",
"类",
"型",
"代",
"码",
"为",
"C",
"V",
"或",
"B",
"K",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
"\"CV\"",
null
],
"or",
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
"\"BK\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT date_stored FROM All_documents WHERE Document_name = \"Marry CV\"",
"query_toks": [
"SELECT",
"date_stored",
"FROM",
"All_documents",
"WHERE",
"Document_name",
"=",
"``",
"Marry",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"date_stored",
"from",
"all_documents",
"where",
"document_name",
"=",
"value"
],
"question_spider": "What is the date when the document \"Marry CV\" was stored?",
"question": "“Marry CV”被保存的日期是什么时候?",
"question_cspider": "“Marry CV”被保存的日期是什么时候?",
"Harold": "BLEU = 36.39, 57.1/35.0/31.6/27.8 (BP=1.000, ratio=1.105, hyp_len=21, ref_len=19)",
"question_toks": [
"文",
"档",
"“",
" ",
"M",
"a",
"r",
"y",
" ",
"C",
"V",
"”",
"的",
"存",
"储",
"日",
"期",
"是",
"什",
"么",
"时",
"候",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Marry CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT date_stored FROM All_documents WHERE Document_name = \"Marry CV\"",
"query_toks": [
"SELECT",
"date_stored",
"FROM",
"All_documents",
"WHERE",
"Document_name",
"=",
"``",
"Marry",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"date_stored",
"from",
"all_documents",
"where",
"document_name",
"=",
"value"
],
"question_spider": "When was the document named \"Marry CV\" stored? Give me the date.",
"question": "什么时候保存的文件“Marry CV”?返回保存的日期。",
"question_cspider": "什么时候保存的文件“Marry CV”?返回保存的日期。",
"Harold": "BLEU = 0.00, 30.4/4.5/0.0/0.0 (BP=0.917, ratio=0.920, hyp_len=23, ref_len=25)",
"question_toks": [
"何",
"时",
"存",
"储",
"了",
"名",
"为",
"“",
" ",
"M",
"a",
"r",
"y",
" ",
"C",
"V",
"”",
"的",
"文",
"档",
"?",
"给",
"我",
"约",
"会"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Marry CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.day_Number , T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date",
"query_toks": [
"SELECT",
"T2.day_Number",
",",
"T1.Date_Stored",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Ref_calendar",
"AS",
"T2",
"ON",
"T1.date_stored",
"=",
"T2.calendar_date"
],
"query_toks_no_value": [
"select",
"t2",
".",
"day_number",
",",
"t1",
".",
"date_stored",
"from",
"all_documents",
"as",
"t1",
"join",
"ref_calendar",
"as",
"t2",
"on",
"t1",
".",
"date_stored",
"=",
"t2",
".",
"calendar_date"
],
"question_spider": "What is the day Number and date of all the documents?",
"question": "所有的天数和文件的日期是什么?",
"question_cspider": "所有的天数和文件的日期是什么?",
"Harold": "BLEU = 45.79, 80.0/57.1/38.5/25.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"所",
"有",
"文",
"件",
"的",
"星",
"期",
"几",
"和",
"日",
"期",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
[
0,
4,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.day_Number , T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date",
"query_toks": [
"SELECT",
"T2.day_Number",
",",
"T1.Date_Stored",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Ref_calendar",
"AS",
"T2",
"ON",
"T1.date_stored",
"=",
"T2.calendar_date"
],
"query_toks_no_value": [
"select",
"t2",
".",
"day_number",
",",
"t1",
".",
"date_stored",
"from",
"all_documents",
"as",
"t1",
"join",
"ref_calendar",
"as",
"t2",
"on",
"t1",
".",
"date_stored",
"=",
"t2",
".",
"calendar_date"
],
"question_spider": "Return the day Number and stored date for all the documents.",
"question": "返回所有文件的的天数和存储日期。",
"question_cspider": "返回所有文件的的天数和存储日期。",
"Harold": "BLEU = 74.87, 93.3/85.7/76.9/66.7 (BP=0.936, ratio=0.938, hyp_len=15, ref_len=16)",
"question_toks": [
"返",
"回",
"所",
"有",
"文",
"档",
"的",
"天",
"数",
"和",
"存",
"储",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
[
0,
4,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
0,
[
0,
[
0,
13,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code = T2.document_type_code WHERE T1.document_name = \"How to read a book\"",
"query_toks": [
"SELECT",
"T2.document_type_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Ref_document_types",
"AS",
"T2",
"ON",
"T1.document_type_code",
"=",
"T2.document_type_code",
"WHERE",
"T1.document_name",
"=",
"``",
"How",
"to",
"read",
"a",
"book",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"document_type_name",
"from",
"all_documents",
"as",
"t1",
"join",
"ref_document_types",
"as",
"t2",
"on",
"t1",
".",
"document_type_code",
"=",
"t2",
".",
"document_type_code",
"where",
"t1",
".",
"document_name",
"=",
"value"
],
"question_spider": "What is the document type name for the document with name \"How to read a book\"?",
"question": "文件名为“How to read a book”的文档类型名称是什么?",
"question_cspider": "文件名为“How to read a book”的文档类型名称是什么?",
"Harold": "BLEU = 56.48, 78.3/59.1/52.4/50.0 (BP=0.957, ratio=0.958, hyp_len=23, ref_len=24)",
"question_toks": [
"名",
"称",
"为",
"“",
"如",
"何",
"读",
"书",
"”",
"的",
"文",
"档",
"的",
"文",
"档",
"类",
"型",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"How to read a book\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code = T2.document_type_code WHERE T1.document_name = \"How to read a book\"",
"query_toks": [
"SELECT",
"T2.document_type_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Ref_document_types",
"AS",
"T2",
"ON",
"T1.document_type_code",
"=",
"T2.document_type_code",
"WHERE",
"T1.document_name",
"=",
"``",
"How",
"to",
"read",
"a",
"book",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"document_type_name",
"from",
"all_documents",
"as",
"t1",
"join",
"ref_document_types",
"as",
"t2",
"on",
"t1",
".",
"document_type_code",
"=",
"t2",
".",
"document_type_code",
"where",
"t1",
".",
"document_name",
"=",
"value"
],
"question_spider": "Find the document type name of the document named \"How to read a book\".",
"question": "查找名为“How to read a book”的文档类型名称。",
"question_cspider": "查找名为“How to read a book”的文档类型名称。",
"Harold": "BLEU = 51.87, 71.4/55.0/47.4/38.9 (BP=1.000, ratio=1.000, hyp_len=21, ref_len=21)",
"question_toks": [
"找",
"到",
"名",
"为",
"“",
"如",
"何",
"读",
"书",
"”",
"的",
"文",
"档",
"的",
"文",
"档",
"类",
"型",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
14,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"How to read a book\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_locations",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_locations"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_locations"
],
"question_spider": "Show the number of locations.",
"question": "显示位置的数目。",
"question_cspider": "显示位置的数目。",
"Harold": "BLEU = 0.00, 57.1/16.7/0.0/0.0 (BP=0.867, ratio=0.875, hyp_len=7, ref_len=8)",
"question_toks": [
"显",
"示",
"地",
"点",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Ref_locations",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Ref_locations"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"ref_locations"
],
"question_spider": "How many locations are listed in the database?",
"question": "数据库中列出了多少个位置?",
"question_cspider": "数据库中列出了多少个位置?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=13, ref_len=13)",
"question_toks": [
"数",
"据",
"库",
"中",
"列",
"出",
"了",
"多",
"少",
"个",
"位",
"置",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , location_name FROM Ref_locations",
"query_toks": [
"SELECT",
"location_code",
",",
"location_name",
"FROM",
"Ref_locations"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"location_name",
"from",
"ref_locations"
],
"question_spider": "List all location codes and location names.",
"question": "列出所有的位置代码和位置名称。",
"question_cspider": "列出所有的位置代码和位置名称。",
"Harold": "BLEU = 80.52, 100.0/92.3/83.3/72.7 (BP=0.931, ratio=0.933, hyp_len=14, ref_len=15)",
"question_toks": [
"列",
"出",
"所",
"有",
"位",
"置",
"代",
"码",
"和",
"位",
"置",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , location_name FROM Ref_locations",
"query_toks": [
"SELECT",
"location_code",
",",
"location_name",
"FROM",
"Ref_locations"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"location_name",
"from",
"ref_locations"
],
"question_spider": "What are all the location codes and location names?",
"question": "所有的位置代码和位置名称是什么?",
"question_cspider": "所有的位置代码和位置名称是什么?",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"所",
"有",
"的",
"位",
"置",
"代",
"码",
"和",
"位",
"置",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_name , location_description FROM Ref_locations WHERE location_code = \"x\"",
"query_toks": [
"SELECT",
"location_name",
",",
"location_description",
"FROM",
"Ref_locations",
"WHERE",
"location_code",
"=",
"``",
"x",
"''"
],
"query_toks_no_value": [
"select",
"location_name",
",",
"location_description",
"from",
"ref_locations",
"where",
"location_code",
"=",
"value"
],
"question_spider": "What are the name and description for location code x?",
"question": "代码为“x”的位置名称和描述是什么?",
"question_cspider": "代码为“x”的位置名称和描述是什么?",
"Harold": "BLEU = 53.29, 93.3/71.4/53.8/50.0 (BP=0.819, ratio=0.833, hyp_len=15, ref_len=18)",
"question_toks": [
"位",
"置",
"代",
"码",
"x",
"的",
"名",
"称",
"和",
"描",
"述",
"是",
"什",
"么",
"?"
],
"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,
6,
false
],
null
],
"\"x\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_name , location_description FROM Ref_locations WHERE location_code = \"x\"",
"query_toks": [
"SELECT",
"location_name",
",",
"location_description",
"FROM",
"Ref_locations",
"WHERE",
"location_code",
"=",
"``",
"x",
"''"
],
"query_toks_no_value": [
"select",
"location_name",
",",
"location_description",
"from",
"ref_locations",
"where",
"location_code",
"=",
"value"
],
"question_spider": "Give me the name and description of the location with code x.",
"question": "给出代码为“x”的位置名称和描述。",
"question_cspider": "给出代码为“x”的位置名称和描述。",
"Harold": "BLEU = 0.00, 60.0/28.6/7.7/0.0 (BP=0.875, ratio=0.882, hyp_len=15, ref_len=17)",
"question_toks": [
"请",
"用",
"代",
"码",
"x",
"给",
"我",
"名",
"称",
"和",
"位",
"置",
"说",
"明",
"。"
],
"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,
6,
false
],
null
],
"\"x\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Ref_locations WHERE location_name = \"Canada\"",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Ref_locations",
"WHERE",
"location_name",
"=",
"``",
"Canada",
"''"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"ref_locations",
"where",
"location_name",
"=",
"value"
],
"question_spider": "What is the location code for the country \"Canada\"?",
"question": "国家“Canada”的位置代码是什么?",
"question_cspider": "国家“Canada”的位置代码是什么?",
"Harold": "BLEU = 60.66, 85.7/76.9/66.7/54.5 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)",
"question_toks": [
"国",
"家",
"“",
"加",
"拿",
"大",
"”",
"的",
"区",
"号",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
"\"Canada\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Ref_locations WHERE location_name = \"Canada\"",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Ref_locations",
"WHERE",
"location_name",
"=",
"``",
"Canada",
"''"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"ref_locations",
"where",
"location_name",
"=",
"value"
],
"question_spider": "Show the location code of the country \"Canada\".",
"question": "显示国家“Canada”的位置代码。",
"question_cspider": "显示国家“Canada”的位置代码。",
"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",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
"\"Canada\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM ROLES",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"ROLES"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"roles"
],
"question_spider": "How many roles are there?",
"question": "有多少岗位?",
"question_cspider": "有多少角色?",
"Harold": "BLEU = 0.00, 85.7/66.7/40.0/0.0 (BP=1.000, ratio=1.167, hyp_len=7, ref_len=6)",
"question_toks": [
"有",
"多",
"少",
"个",
"角",
"色",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM ROLES",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"ROLES"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"roles"
],
"question_spider": "Count the total number of roles listed.",
"question": "计算列出的岗位总数。",
"question_cspider": "计算列出的角色总数。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=10, ref_len=10)",
"question_toks": [
"计",
"算",
"列",
"出",
"的",
"角",
"色",
"总",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code , role_name , role_description FROM ROLES",
"query_toks": [
"SELECT",
"role_code",
",",
"role_name",
",",
"role_description",
"FROM",
"ROLES"
],
"query_toks_no_value": [
"select",
"role_code",
",",
"role_name",
",",
"role_description",
"from",
"roles"
],
"question_spider": "List all role codes, role names, and role descriptions.",
"question": "列出所有岗位代码、岗位名和岗位描述。",
"question_cspider": "列出所有角色代码、角色名和角色描述。",
"Harold": "BLEU = 68.88, 89.5/77.8/64.7/50.0 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)",
"question_toks": [
"列",
"出",
"所",
"有",
"角",
"色",
"代",
"码",
",",
"角",
"色",
"名",
"称",
"和",
"角",
"色",
"描",
"述",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code , role_name , role_description FROM ROLES",
"query_toks": [
"SELECT",
"role_code",
",",
"role_name",
",",
"role_description",
"FROM",
"ROLES"
],
"query_toks_no_value": [
"select",
"role_code",
",",
"role_name",
",",
"role_description",
"from",
"roles"
],
"question_spider": "What are all the role codes, role names, and role descriptions?",
"question": "所有的岗位代码、岗位名称和岗位描述是什么?",
"question_cspider": "所有的角色代码、角色名称和角色描述是什么?",
"Harold": "BLEU = 74.38, 95.0/84.2/72.2/64.7 (BP=0.951, ratio=0.952, hyp_len=20, ref_len=21)",
"question_toks": [
"所",
"有",
"角",
"色",
"代",
"码",
",",
"角",
"色",
"名",
"称",
"和",
"角",
"色",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_name , role_description FROM ROLES WHERE role_code = \"MG\"",
"query_toks": [
"SELECT",
"role_name",
",",
"role_description",
"FROM",
"ROLES",
"WHERE",
"role_code",
"=",
"``",
"MG",
"''"
],
"query_toks_no_value": [
"select",
"role_name",
",",
"role_description",
"from",
"roles",
"where",
"role_code",
"=",
"value"
],
"question_spider": "What are the name and description for role code \"MG\"?",
"question": "岗位代码是“MG”的名称和描述是什么?",
"question_cspider": "角色代码是“MG”的名称和描述是什么?",
"Harold": "BLEU = 68.84, 88.9/76.5/68.8/60.0 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)",
"question_toks": [
"角",
"色",
"代",
"码",
"“",
" ",
"M",
"G",
"”",
"的",
"名",
"称",
"和",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"MG\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_name , role_description FROM ROLES WHERE role_code = \"MG\"",
"query_toks": [
"SELECT",
"role_name",
",",
"role_description",
"FROM",
"ROLES",
"WHERE",
"role_code",
"=",
"``",
"MG",
"''"
],
"query_toks_no_value": [
"select",
"role_name",
",",
"role_description",
"from",
"roles",
"where",
"role_code",
"=",
"value"
],
"question_spider": "Find the name and description of the role with code \"MG\".",
"question": "找出岗位代码是“MG”的名称和描述。",
"question_cspider": "找出角色代码是“MG”的名称和描述。",
"Harold": "BLEU = 41.79, 77.8/47.1/31.2/26.7 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"用",
"代",
"码",
"“",
" ",
"M",
"G",
"”",
"查",
"找",
"角",
"色",
"的",
"名",
"称",
"和",
"描",
"述",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
"\"MG\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_description FROM ROLES WHERE role_name = \"Proof Reader\"",
"query_toks": [
"SELECT",
"role_description",
"FROM",
"ROLES",
"WHERE",
"role_name",
"=",
"``",
"Proof",
"Reader",
"''"
],
"query_toks_no_value": [
"select",
"role_description",
"from",
"roles",
"where",
"role_name",
"=",
"value"
],
"question_spider": "Show the description for role name \"Proof Reader\".",
"question": "显示岗位名称是“Proof Reader”的描述。",
"question_cspider": "显示角色名称是“Proof Reader”的描述。",
"Harold": "BLEU = 36.52, 52.2/40.9/33.3/25.0 (BP=1.000, ratio=1.438, hyp_len=23, ref_len=16)",
"question_toks": [
"显",
"示",
"角",
"色",
"名",
"称",
"“",
" ",
"P",
"r",
"o",
"o",
"f",
" ",
"R",
"e",
"a",
"d",
"e",
"r",
"”",
"的",
"描",
"述",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Proof Reader\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_description FROM ROLES WHERE role_name = \"Proof Reader\"",
"query_toks": [
"SELECT",
"role_description",
"FROM",
"ROLES",
"WHERE",
"role_name",
"=",
"``",
"Proof",
"Reader",
"''"
],
"query_toks_no_value": [
"select",
"role_description",
"from",
"roles",
"where",
"role_name",
"=",
"value"
],
"question_spider": "What is the description of the role named \"Proof Reader\"?",
"question": "“Proof Reader”岗位的描述是什么?",
"question_cspider": "“Proof Reader”角色的描述是什么?",
"Harold": "BLEU = 53.99, 72.2/58.8/50.0/40.0 (BP=1.000, ratio=1.286, hyp_len=18, ref_len=14)",
"question_toks": [
"名",
"为",
"“",
"校",
"对",
"读",
"者",
"”",
"的",
"角",
"色",
"的",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Proof Reader\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Employees",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employees"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"employees"
],
"question_spider": "How many employees do we have?",
"question": "我们有多少员工?",
"question_cspider": "我们有多少员工?",
"Harold": "BLEU = 59.69, 88.9/75.0/57.1/33.3 (BP=1.000, ratio=1.125, hyp_len=9, ref_len=8)",
"question_toks": [
"我",
"们",
"有",
"多",
"少",
"名",
"员",
"工",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT count(*) FROM Employees",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employees"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"employees"
],
"question_spider": "Find the number of employees we have.",
"question": "找出我们拥有的员工数量。",
"question_cspider": "找出我们拥有的员工数量。",
"Harold": "BLEU = 82.65, 91.7/81.8/80.0/77.8 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)",
"question_toks": [
"查",
"找",
"我",
"们",
"拥",
"有",
"的",
"员",
"工",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_name , role_code , date_of_birth FROM Employees WHERE employee_Name = 'Armani'",
"query_toks": [
"SELECT",
"employee_name",
",",
"role_code",
",",
"date_of_birth",
"FROM",
"Employees",
"WHERE",
"employee_Name",
"=",
"'Armani",
"'"
],
"query_toks_no_value": [
"select",
"employee_name",
",",
"role_code",
",",
"date_of_birth",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
],
"question_spider": "Show the name, role code, and date of birth for the employee with name 'Armani'.",
"question": "显示名为“Armani”的雇员的姓名、角色代码和出生日期。",
"question_cspider": "显示名为“Armani”的雇员的姓名、角色代码和出生日期。",
"Harold": "BLEU = 42.79, 70.0/51.7/35.7/25.9 (BP=1.000, ratio=1.200, hyp_len=30, ref_len=25)",
"question_toks": [
"显",
"示",
"名",
"称",
"为",
"“",
" ",
"A",
"r",
"m",
"a",
"n",
"i",
"”",
"的",
"员",
"工",
"的",
"姓",
"名",
",",
"角",
"色",
"代",
"码",
"和",
"出",
"生",
"日",
"期",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
],
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Armani\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_name , role_code , date_of_birth FROM Employees WHERE employee_Name = 'Armani'",
"query_toks": [
"SELECT",
"employee_name",
",",
"role_code",
",",
"date_of_birth",
"FROM",
"Employees",
"WHERE",
"employee_Name",
"=",
"'Armani",
"'"
],
"query_toks_no_value": [
"select",
"employee_name",
",",
"role_code",
",",
"date_of_birth",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
],
"question_spider": "What are the name, role code, and date of birth of the employee named 'Armani'?",
"question": "名为“Armani”的员工的姓名、职务代码和出生日期是什么?",
"question_cspider": "名为“Armani”的员工的姓名、职务代码和出生日期是什么?",
"Harold": "BLEU = 56.71, 70.0/62.1/53.6/44.4 (BP=1.000, ratio=1.154, hyp_len=30, ref_len=26)",
"question_toks": [
"名",
"为",
"“",
" ",
"A",
"r",
"m",
"a",
"n",
"i",
"”",
"的",
"员",
"工",
"的",
"姓",
"名",
",",
"角",
"色",
"代",
"码",
"和",
"出",
"生",
"日",
"期",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
],
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Armani\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_ID FROM Employees WHERE employee_name = \"Ebba\"",
"query_toks": [
"SELECT",
"employee_ID",
"FROM",
"Employees",
"WHERE",
"employee_name",
"=",
"``",
"Ebba",
"''"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
],
"question_spider": "What is the id for the employee called Ebba?",
"question": "名字叫“Ebba”的员工的id是什么?",
"question_cspider": "名字叫“Ebba”的员工的id是什么?",
"Harold": "BLEU = 56.07, 68.8/60.0/57.1/53.8 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)",
"question_toks": [
"名",
"为",
"E",
"b",
"b",
"a",
"的",
"员",
"工",
"的",
"I",
"D",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Ebba\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_ID FROM Employees WHERE employee_name = \"Ebba\"",
"query_toks": [
"SELECT",
"employee_ID",
"FROM",
"Employees",
"WHERE",
"employee_name",
"=",
"``",
"Ebba",
"''"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
],
"question_spider": "Show the id of the employee named Ebba.",
"question": "显示名为“Ebba”的雇员的id。",
"question_cspider": "显示名为“Ebba”的雇员的id。",
"Harold": "BLEU = 34.79, 66.7/42.9/30.8/16.7 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"显",
"示",
"名",
"为",
"E",
"b",
"b",
"a",
"的",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Ebba\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_name FROM Employees WHERE role_code = \"HR\"",
"query_toks": [
"SELECT",
"employee_name",
"FROM",
"Employees",
"WHERE",
"role_code",
"=",
"``",
"HR",
"''"
],
"query_toks_no_value": [
"select",
"employee_name",
"from",
"employees",
"where",
"role_code",
"=",
"value"
],
"question_spider": "Show the names of all the employees with role \"HR\".",
"question": "显示所有岗位是“HR”的员工的姓名。",
"question_cspider": "显示所有角色是“Human Resource”的员工的姓名。",
"Harold": "BLEU = 59.55, 83.3/70.6/62.5/53.3 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)",
"question_toks": [
"显",
"示",
"所",
"有",
"角",
"色",
"为",
"“",
" ",
"H",
"R",
"”",
"的",
"员",
"工",
"的",
"姓",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
"\"HR\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_name FROM Employees WHERE role_code = \"HR\"",
"query_toks": [
"SELECT",
"employee_name",
"FROM",
"Employees",
"WHERE",
"role_code",
"=",
"``",
"HR",
"''"
],
"query_toks_no_value": [
"select",
"employee_name",
"from",
"employees",
"where",
"role_code",
"=",
"value"
],
"question_spider": "Which employees have the role with code \"HR\"? Find their names.",
"question": "哪些员工的岗位代码是“HR”?找出他们的名字。",
"question_cspider": "哪些员工的角色代码是“Human Resource”?找出他们的名字。",
"Harold": "BLEU = 38.15, 79.2/52.2/31.8/19.0 (BP=0.959, ratio=0.960, hyp_len=24, ref_len=25)",
"question_toks": [
"哪",
"些",
"员",
"工",
"具",
"有",
"代",
"码",
"“",
" ",
"H",
"R",
"”",
"的",
"角",
"色",
"?",
"找",
"到",
"他",
"们",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
"\"HR\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code , count(*) FROM Employees GROUP BY role_code",
"query_toks": [
"SELECT",
"role_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code"
],
"query_toks_no_value": [
"select",
"role_code",
",",
"count",
"(",
"*",
")",
"from",
"employees",
"group",
"by",
"role_code"
],
"question_spider": "Show all role codes and the number of employees in each role.",
"question": "显示所有岗位代码和每个岗位中的雇员数量。",
"question_cspider": "显示所有角色代码和每个角色中的雇员数量。",
"Harold": "BLEU = 58.06, 81.0/60.0/52.6/44.4 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)",
"question_toks": [
"显",
"示",
"所",
"有",
"角",
"色",
"代",
"码",
"以",
"及",
"每",
"个",
"角",
"色",
"中",
"的",
"员",
"工",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code , count(*) FROM Employees GROUP BY role_code",
"query_toks": [
"SELECT",
"role_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code"
],
"query_toks_no_value": [
"select",
"role_code",
",",
"count",
"(",
"*",
")",
"from",
"employees",
"group",
"by",
"role_code"
],
"question_spider": "What is the code of each role and the number of employees in each role?",
"question": "每个岗位的代码及其对应的的员工数量是多少?",
"question_cspider": "每个角色的代码及其对应的的员工数量是多少?",
"Harold": "BLEU = 40.11, 62.5/47.8/36.4/23.8 (BP=1.000, ratio=1.143, hyp_len=24, ref_len=21)",
"question_toks": [
"每",
"个",
"角",
"色",
"的",
"代",
"码",
"是",
"什",
"么",
"?",
"每",
"个",
"角",
"色",
"的",
"员",
"工",
"人",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the role code with the largest number of employees?",
"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",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the code of the role that have the most employees.",
"question": "找出具有最多雇员的岗位代码。",
"question_cspider": "找出具有最多雇员的角色代码。",
"Harold": "BLEU = 0.00, 73.3/42.9/23.1/0.0 (BP=1.000, ratio=1.071, hyp_len=15, ref_len=14)",
"question_toks": [
"查",
"找",
"拥",
"有",
"最",
"多",
"员",
"工",
"的",
"角",
"色",
"的",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "Show all role codes with at least 3 employees.",
"question": "显示至少有3名员工的所有岗位代码。",
"question_cspider": "显示至少有3名员工的所有角色代码。",
"Harold": "BLEU = 100.00, 100.0/100.0/100.0/100.0 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)",
"question_toks": [
"显",
"示",
"至",
"少",
"有",
"3",
"名",
"员",
"工",
"的",
"所",
"有",
"角",
"色",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
3,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "What are the roles with three or more employees? Give me the role codes.",
"question": "有三个或更多员工的岗位的岗位代码是什么?。",
"question_cspider": "有三个或更多员工的角色的角色代码是什么?。",
"Harold": "BLEU = 41.86, 73.9/54.5/38.1/20.0 (BP=1.000, ratio=1.095, hyp_len=23, ref_len=21)",
"question_toks": [
"三",
"个",
"或",
"三",
"个",
"以",
"上",
"员",
"工",
"的",
"角",
"色",
"是",
"什",
"么",
"?",
"给",
"我",
"角",
"色",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
3,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "Show the role code with the least employees.",
"question": "显示最少的雇员的岗位代码。",
"question_cspider": "显示最少的雇员的角色代码。",
"Harold": "BLEU = 59.74, 91.7/72.7/60.0/44.4 (BP=0.920, ratio=0.923, hyp_len=12, ref_len=13)",
"question_toks": [
"显",
"示",
"最",
"少",
"员",
"工",
"的",
"角",
"色",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "What is the role with the smallest number of employees? Find the role codes.",
"question": "员工数最少的岗位是什么?找出其岗位代码。",
"question_cspider": "员工数最少的角色是什么?找出其角色代码。",
"Harold": "BLEU = 68.06, 90.0/73.7/61.1/52.9 (BP=1.000, ratio=1.000, hyp_len=20, ref_len=20)",
"question_toks": [
"员",
"工",
"人",
"数",
"最",
"少",
"的",
"角",
"色",
"是",
"什",
"么",
"?",
"查",
"找",
"角",
"色",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
19,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = \"Ebba\"",
"query_toks": [
"SELECT",
"T2.role_name",
",",
"T2.role_description",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T1.employee_name",
"=",
"``",
"Ebba",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"role_name",
",",
"t2",
".",
"role_description",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t1",
".",
"employee_name",
"=",
"value"
],
"question_spider": "What is the role name and role description for employee called Ebba?",
"question": "雇员名为“Ebba”的岗位名和岗位描述是什么?",
"question_cspider": "雇员名为“Ebba”的角色名和角色描述是什么?",
"Harold": "BLEU = 51.23, 72.7/57.1/45.0/36.8 (BP=1.000, ratio=1.048, hyp_len=22, ref_len=21)",
"question_toks": [
"员",
"工",
"名",
"为",
"E",
"b",
"b",
"a",
"的",
"角",
"色",
"名",
"称",
"和",
"角",
"色",
"描",
"述",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Ebba\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = \"Ebba\"",
"query_toks": [
"SELECT",
"T2.role_name",
",",
"T2.role_description",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T1.employee_name",
"=",
"``",
"Ebba",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"role_name",
",",
"t2",
".",
"role_description",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t1",
".",
"employee_name",
"=",
"value"
],
"question_spider": "Show the name and description of the role played by the employee named Ebba.",
"question": "显示名为“Ebba”的雇员的岗位名和岗位描述。",
"question_cspider": "显示名为“Ebba”的雇员的角色名和角色描述。",
"Harold": "BLEU = 0.00, 62.5/34.8/18.2/0.0 (BP=1.000, ratio=1.143, hyp_len=24, ref_len=21)",
"question_toks": [
"显",
"示",
"名",
"称",
"为",
"E",
"b",
"b",
"a",
"的",
"雇",
"员",
"扮",
"演",
"的",
"角",
"色",
"的",
"名",
"称",
"和",
"描",
"述",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
],
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
"\"Ebba\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Editor\"",
"query_toks": [
"SELECT",
"T1.employee_name",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Editor",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"employee_name",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value"
],
"question_spider": "Show the names of employees with role name Editor.",
"question": "显示岗位名称是“Editor”的员工的姓名。",
"question_cspider": "显示角色名称是“Editor”的员工的姓名。",
"Harold": "BLEU = 46.43, 82.4/62.5/40.0/28.6 (BP=0.943, ratio=0.944, hyp_len=17, ref_len=18)",
"question_toks": [
"使",
"用",
"角",
"色",
"名",
"称",
"编",
"辑",
"器",
"显",
"示",
"员",
"工",
"的",
"姓",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Editor\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Editor\"",
"query_toks": [
"SELECT",
"T1.employee_name",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Editor",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"employee_name",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value"
],
"question_spider": "Find the names of all the employees whose the role name is \"Editor\".",
"question": "查找所有岗位名称为“Editor”的雇员的姓名。",
"question_cspider": "查找所有角色名称为“Editor”的雇员的姓名。",
"Harold": "BLEU = 63.93, 95.2/75.0/52.6/44.4 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)",
"question_toks": [
"查",
"找",
"角",
"色",
"名",
"称",
"为",
"“",
"编",
"辑",
"者",
"”",
"的",
"所",
"有",
"雇",
"员",
"的",
"姓",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Editor\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Human Resource\" OR T2.role_name = \"Manager\"",
"query_toks": [
"SELECT",
"T1.employee_id",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Human",
"Resource",
"''",
"OR",
"T2.role_name",
"=",
"``",
"Manager",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"employee_id",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value",
"or",
"t2",
".",
"role_name",
"=",
"value"
],
"question_spider": "Show the employee ids for all employees with role name \"Human Resource\" or \"Manager\".",
"question": "显示所有岗位名称是“Human Resource”或“Manager”的员工的ID。",
"question_cspider": "显示所有角色名称是“Human Resource”或“MG”的员工的ID。",
"Harold": "BLEU = 56.60, 86.2/64.3/48.1/38.5 (BP=1.000, ratio=1.074, hyp_len=29, ref_len=27)",
"question_toks": [
"显",
"示",
"角",
"色",
"名",
"称",
"为",
"“",
"人",
"力",
"资",
"源",
"”",
"或",
"“",
"经",
"理",
"”",
"的",
"所",
"有",
"雇",
"员",
"的",
"雇",
"员",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Human Resource\"",
null
],
"or",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Manager\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Human Resource\" OR T2.role_name = \"Manager\"",
"query_toks": [
"SELECT",
"T1.employee_id",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Human",
"Resource",
"''",
"OR",
"T2.role_name",
"=",
"``",
"Manager",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"employee_id",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value",
"or",
"t2",
".",
"role_name",
"=",
"value"
],
"question_spider": "What are the employee ids of the employees whose role name is \"Human Resource\" or \"Manager\"?",
"question": "岗位名称是“Human Resource”或“Manager”的员工的ID是什么?",
"question_cspider": "角色名称是“Human Resource”或“MG”的员工的ID是什么?",
"Harold": "BLEU = 76.37, 89.3/81.5/73.1/64.0 (BP=1.000, ratio=1.077, hyp_len=28, ref_len=26)",
"question_toks": [
"角",
"色",
"名",
"称",
"为",
"“",
"人",
"力",
"资",
"源",
"”",
"或",
"“",
"经",
"理",
"”",
"的",
"员",
"工",
"的",
"员",
"工",
"I",
"D",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Human Resource\"",
null
],
"or",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
"\"Manager\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT location_code FROM Document_locations",
"query_toks": [
"SELECT",
"DISTINCT",
"location_code",
"FROM",
"Document_locations"
],
"query_toks_no_value": [
"select",
"distinct",
"location_code",
"from",
"document_locations"
],
"question_spider": "What are the different location codes for documents?",
"question": "文档的位置代码有什么不同?",
"question_cspider": "文档的位置代码有什么不同?",
"Harold": "BLEU = 28.30, 84.6/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",
6
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT location_code FROM Document_locations",
"query_toks": [
"SELECT",
"DISTINCT",
"location_code",
"FROM",
"Document_locations"
],
"query_toks_no_value": [
"select",
"distinct",
"location_code",
"from",
"document_locations"
],
"question_spider": "Give me all the distinct location codes for documents.",
"question": "给我所有的文件的不同位置代码。",
"question_cspider": "给我所有的文件的不同位置代码。",
"Harold": "BLEU = 80.52, 100.0/92.3/83.3/72.7 (BP=0.931, ratio=0.933, hyp_len=14, ref_len=15)",
"question_toks": [
"给",
"我",
"所",
"有",
"文",
"件",
"的",
"不",
"同",
"位",
"置",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = \"Robin CV\"",
"query_toks": [
"SELECT",
"T3.location_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Document_locations",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"JOIN",
"Ref_locations",
"AS",
"T3",
"ON",
"T2.location_code",
"=",
"T3.location_code",
"WHERE",
"T1.document_name",
"=",
"``",
"Robin",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"t3",
".",
"location_name",
"from",
"all_documents",
"as",
"t1",
"join",
"document_locations",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"join",
"ref_locations",
"as",
"t3",
"on",
"t2",
".",
"location_code",
"=",
"t3",
".",
"location_code",
"where",
"t1",
".",
"document_name",
"=",
"value"
],
"question_spider": "Show the location name for document \"Robin CV\".",
"question": "显示文件“Robin CV”的位置名称。",
"question_cspider": "显示文件“Robin CV”的位置名称。",
"Harold": "BLEU = 38.82, 57.9/44.4/35.3/25.0 (BP=1.000, ratio=1.118, hyp_len=19, ref_len=17)",
"question_toks": [
"显",
"示",
"文",
"档",
"“",
" ",
"R",
"o",
"b",
"i",
"n",
" ",
"C",
"V",
"”",
"的",
"位",
"置",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
6
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
24,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
25,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Robin CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = \"Robin CV\"",
"query_toks": [
"SELECT",
"T3.location_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Document_locations",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"JOIN",
"Ref_locations",
"AS",
"T3",
"ON",
"T2.location_code",
"=",
"T3.location_code",
"WHERE",
"T1.document_name",
"=",
"``",
"Robin",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"t3",
".",
"location_name",
"from",
"all_documents",
"as",
"t1",
"join",
"document_locations",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"join",
"ref_locations",
"as",
"t3",
"on",
"t2",
".",
"location_code",
"=",
"t3",
".",
"location_code",
"where",
"t1",
".",
"document_name",
"=",
"value"
],
"question_spider": "What is the location name of the document \"Robin CV\"?",
"question": "“Robin CV”文件的位置名称是什么?",
"question_cspider": "“Robin CV”文件的位置名称是什么?",
"Harold": "BLEU = 43.15, 60.0/42.1/38.9/35.3 (BP=1.000, ratio=1.111, hyp_len=20, ref_len=18)",
"question_toks": [
"文",
"档",
"“",
" ",
"R",
"o",
"b",
"i",
"n",
" ",
"C",
"V",
"”",
"的",
"位",
"置",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
6
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
[
0,
24,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
25,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Robin CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations",
"query_toks": [
"SELECT",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"FROM",
"Document_locations"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"from",
"document_locations"
],
"question_spider": "Show the location code, the starting date and ending data in that location for all the documents.",
"question": "显示所有文档的位置代码、起始日期和结束数据所在位置。",
"question_cspider": "显示所有文档的位置代码、起始日期和结束数据所在位置。",
"Harold": "BLEU = 61.35, 88.5/68.0/54.2/43.5 (BP=1.000, ratio=1.000, hyp_len=26, ref_len=26)",
"question_toks": [
"显",
"示",
"所",
"有",
"文",
"档",
"在",
"该",
"位",
"置",
"的",
"位",
"置",
"代",
"码",
",",
"开",
"始",
"日",
"期",
"和",
"结",
"束",
"数",
"据",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
],
[
0,
[
0,
[
0,
26,
false
],
null
]
],
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations",
"query_toks": [
"SELECT",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"FROM",
"Document_locations"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"from",
"document_locations"
],
"question_spider": "What are each document's location code, and starting date and ending data in that location?",
"question": "每个文档的位置代码、起始日期和结束数据所在位置都是什么?",
"question_cspider": "每个文档的位置代码、起始日期和结束数据所在位置都是什么?",
"Harold": "BLEU = 57.83, 79.3/64.3/51.9/42.3 (BP=1.000, ratio=1.036, hyp_len=29, ref_len=28)",
"question_toks": [
"每",
"个",
"文",
"档",
"的",
"位",
"置",
"代",
"码",
"是",
"什",
"么",
",",
"以",
"及",
"该",
"位",
"置",
"的",
"开",
"始",
"日",
"期",
"和",
"结",
"束",
"数",
"据",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
],
[
0,
[
0,
[
0,
26,
false
],
null
]
],
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Robin CV\"",
"query_toks": [
"SELECT",
"T1.date_in_location_from",
",",
"T1.date_in_locaton_to",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"All_documents",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"WHERE",
"T2.document_name",
"=",
"``",
"Robin",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"date_in_location_from",
",",
"t1",
".",
"date_in_locaton_to",
"from",
"document_locations",
"as",
"t1",
"join",
"all_documents",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"where",
"t2",
".",
"document_name",
"=",
"value"
],
"question_spider": "What is \"the date in location from\" and \"the date in location to\" for the document with name \"Robin CV\"?",
"question": "名称为“Robin CV”的文档的“起始位置日期”和“最终位置日期”是什么?",
"question_cspider": "名称为“Robin CV”的文档的“起始位置日期”和“最终位置日期”是什么?",
"Harold": "BLEU = 45.59, 74.4/55.3/37.8/27.8 (BP=1.000, ratio=1.114, hyp_len=39, ref_len=35)",
"question_toks": [
"名",
"称",
"为",
"“",
" ",
"R",
"o",
"b",
"i",
"n",
" ",
"C",
"V",
"”",
"的",
"文",
"档",
"的",
"“",
"位",
"置",
"的",
"起",
"始",
"日",
"期",
"”",
"和",
"“",
"位",
"置",
"的",
"起",
"始",
"日",
"期",
"”",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
24,
false
],
null
],
[
0,
12,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
26,
false
],
null
]
],
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Robin CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Robin CV\"",
"query_toks": [
"SELECT",
"T1.date_in_location_from",
",",
"T1.date_in_locaton_to",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"All_documents",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"WHERE",
"T2.document_name",
"=",
"``",
"Robin",
"CV",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"date_in_location_from",
",",
"t1",
".",
"date_in_locaton_to",
"from",
"document_locations",
"as",
"t1",
"join",
"all_documents",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"where",
"t2",
".",
"document_name",
"=",
"value"
],
"question_spider": "Find the starting date and ending data in location for the document named \"Robin CV\".",
"question": "找出名为“Robin CV”的文档起始日期和结束数据所在位置。",
"question_cspider": "找出名为“Robin CV”的文档起始日期和结束数据所在位置。",
"Harold": "BLEU = 37.38, 67.7/43.3/31.0/21.4 (BP=1.000, ratio=1.107, hyp_len=31, ref_len=28)",
"question_toks": [
"在",
"名",
"为",
"“",
" ",
"R",
"o",
"b",
"i",
"n",
" ",
"C",
"V",
"”",
"的",
"文",
"档",
"的",
"位",
"置",
"中",
"找",
"到",
"开",
"始",
"日",
"期",
"和",
"结",
"束",
"数",
"据",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
4
]
],
"conds": [
[
false,
2,
[
0,
[
0,
24,
false
],
null
],
[
0,
12,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
26,
false
],
null
]
],
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
15,
false
],
null
],
"\"Robin CV\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , count(*) FROM Document_locations GROUP BY location_code",
"query_toks": [
"SELECT",
"location_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"count",
"(",
"*",
")",
"from",
"document_locations",
"group",
"by",
"location_code"
],
"question_spider": "Show the location codes and the number of documents in each location.",
"question": "显示每个位置的位置代码和文档数量。",
"question_cspider": "显示每个位置的位置代码和文档数量。",
"Harold": "BLEU = 47.39, 94.1/62.5/40.0/21.4 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)",
"question_toks": [
"显",
"示",
"位",
"置",
"代",
"码",
"和",
"每",
"个",
"位",
"置",
"中",
"的",
"文",
"档",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code , count(*) FROM Document_locations GROUP BY location_code",
"query_toks": [
"SELECT",
"location_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code"
],
"query_toks_no_value": [
"select",
"location_code",
",",
"count",
"(",
"*",
")",
"from",
"document_locations",
"group",
"by",
"location_code"
],
"question_spider": "What is the code of each location and the number of documents in that location?",
"question": "每个位置的代码和那个位置对应的文档数量是多少?",
"question_cspider": "每个位置的代码和那个位置对应的文档数量是多少?",
"Harold": "BLEU = 39.75, 71.4/50.0/36.8/27.8 (BP=0.909, ratio=0.913, hyp_len=21, ref_len=23)",
"question_toks": [
"每",
"个",
"位",
"置",
"的",
"代",
"码",
"是",
"什",
"么",
"以",
"及",
"该",
"位",
"置",
"中",
"的",
"文",
"档",
"数",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the location code with the most documents?",
"question": "最多的文件的位置代码是什么?",
"question_cspider": "最多的文件的位置代码是什么?",
"Harold": "BLEU = 73.64, 100.0/91.7/72.7/60.0 (BP=0.926, ratio=0.929, hyp_len=13, ref_len=14)",
"question_toks": [
"文",
"件",
"最",
"多",
"的",
"位",
"置",
"代",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the code of the location with the largest number of documents.",
"question": "查找拥有最大数量的文档的位置代码。",
"question_cspider": "查找拥有最大数量的文档的位置代码。",
"Harold": "BLEU = 0.00, 93.3/50.0/15.4/0.0 (BP=0.875, ratio=0.882, hyp_len=15, ref_len=17)",
"question_toks": [
"查",
"找",
"文",
"档",
"数",
"量",
"最",
"多",
"的",
"位",
"置",
"的",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "Show the location codes with at least 3 documents.",
"question": "显示至少3个文件的位置代码。",
"question_cspider": "显示至少3个文件的位置代码。",
"Harold": "BLEU = 37.41, 100.0/70.0/33.3/25.0 (BP=0.761, ratio=0.786, hyp_len=11, ref_len=14)",
"question_toks": [
"至",
"少",
"显",
"示",
"3",
"个",
"位",
"置",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
3,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3",
"query_toks": [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
],
"query_toks_no_value": [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "What are the codes of the locations with at least three documents?",
"question": "至少有三个文件的位置代码是什么?",
"question_cspider": "至少有三个文件的位置代码是什么?",
"Harold": "BLEU = 43.04, 77.8/58.8/37.5/20.0 (BP=1.000, ratio=1.125, hyp_len=18, ref_len=16)",
"question_toks": [
"至",
"少",
"包",
"含",
"三",
"个",
"文",
"档",
"的",
"位",
"置",
"的",
"代",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
3,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"T2.location_name",
",",
"T1.location_code",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"Ref_locations",
"AS",
"T2",
"ON",
"T1.location_code",
"=",
"T2.location_code",
"GROUP",
"BY",
"T1.location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"location_name",
",",
"t1",
".",
"location_code",
"from",
"document_locations",
"as",
"t1",
"join",
"ref_locations",
"as",
"t2",
"on",
"t1",
".",
"location_code",
"=",
"t2",
".",
"location_code",
"group",
"by",
"t1",
".",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "Show the location name and code with the least documents.",
"question": "显示最少的文档所在位置名称和代码。",
"question_cspider": "显示最少的文档所在位置名称和代码。",
"Harold": "BLEU = 60.25, 87.5/73.3/57.1/46.2 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)",
"question_toks": [
"用",
"最",
"少",
"的",
"文",
"件",
"显",
"示",
"位",
"置",
"名",
"称",
"和",
"代",
"码",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
25,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"T2.location_name",
",",
"T1.location_code",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"Ref_locations",
"AS",
"T2",
"ON",
"T1.location_code",
"=",
"T2.location_code",
"GROUP",
"BY",
"T1.location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"location_name",
",",
"t1",
".",
"location_code",
"from",
"document_locations",
"as",
"t1",
"join",
"ref_locations",
"as",
"t2",
"on",
"t1",
".",
"location_code",
"=",
"t2",
".",
"location_code",
"group",
"by",
"t1",
".",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "What are the name and code of the location with the smallest number of documents?",
"question": "文档数量最少的地点的名称和代码是什么?",
"question_cspider": "文档数量最少的地点的名称和代码是什么?",
"Harold": "BLEU = 57.07, 82.4/68.8/60.0/50.0 (BP=0.889, ratio=0.895, hyp_len=17, ref_len=19)",
"question_toks": [
"文",
"件",
"最",
"少",
"的",
"位",
"置",
"的",
"名",
"称",
"和",
"代",
"码",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
25,
false
],
null
],
[
0,
6,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
25,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
25,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;",
"query_toks": [
"SELECT",
"T2.employee_name",
",",
"T3.employee_name",
"FROM",
"Documents_to_be_destroyed",
"AS",
"T1",
"JOIN",
"Employees",
"AS",
"T2",
"ON",
"T1.Destruction_Authorised_by_Employee_ID",
"=",
"T2.employee_id",
"JOIN",
"Employees",
"AS",
"T3",
"ON",
"T1.Destroyed_by_Employee_ID",
"=",
"T3.employee_id",
";"
],
"query_toks_no_value": [
"select",
"t2",
".",
"employee_name",
",",
"t3",
".",
"employee_name",
"from",
"documents_to_be_destroyed",
"as",
"t1",
"join",
"employees",
"as",
"t2",
"on",
"t1",
".",
"destruction_authorised_by_employee_id",
"=",
"t2",
".",
"employee_id",
"join",
"employees",
"as",
"t3",
"on",
"t1",
".",
"destroyed_by_employee_id",
"=",
"t3",
".",
"employee_id"
],
"question_spider": "What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?",
"question": "授权销毁的雇员和销毁相应文件的雇员的名字是什么?",
"question_cspider": "授权销毁的雇员和销毁相应文件的雇员的名字是什么?",
"Harold": "BLEU = 68.94, 91.7/73.9/63.6/52.4 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)",
"question_toks": [
"授",
"权",
"销",
"毁",
"的",
"员",
"工",
"和",
"销",
"毁",
"相",
"应",
"文",
"件",
"的",
"员",
"工",
"的",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
],
[
"table_unit",
5
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
18,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
[
0,
18,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;",
"query_toks": [
"SELECT",
"T2.employee_name",
",",
"T3.employee_name",
"FROM",
"Documents_to_be_destroyed",
"AS",
"T1",
"JOIN",
"Employees",
"AS",
"T2",
"ON",
"T1.Destruction_Authorised_by_Employee_ID",
"=",
"T2.employee_id",
"JOIN",
"Employees",
"AS",
"T3",
"ON",
"T1.Destroyed_by_Employee_ID",
"=",
"T3.employee_id",
";"
],
"query_toks_no_value": [
"select",
"t2",
".",
"employee_name",
",",
"t3",
".",
"employee_name",
"from",
"documents_to_be_destroyed",
"as",
"t1",
"join",
"employees",
"as",
"t2",
"on",
"t1",
".",
"destruction_authorised_by_employee_id",
"=",
"t2",
".",
"employee_id",
"join",
"employees",
"as",
"t3",
"on",
"t1",
".",
"destroyed_by_employee_id",
"=",
"t3",
".",
"employee_id"
],
"question_spider": "List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents.",
"question": "列出授权销毁文件的雇员和销毁相应文件的雇员的姓名。",
"question_cspider": "列出授权销毁文件的雇员和销毁相应文件的雇员的姓名。",
"Harold": "BLEU = 47.46, 76.9/52.0/41.7/30.4 (BP=1.000, ratio=1.040, hyp_len=26, ref_len=25)",
"question_toks": [
"列",
"出",
"授",
"权",
"销",
"毁",
"文",
"档",
"的",
"员",
"工",
"姓",
"名",
"和",
"销",
"毁",
"相",
"应",
"文",
"档",
"的",
"员",
"工",
"姓",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
],
[
"table_unit",
5
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
18,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
[
0,
18,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
20,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID",
"query_toks": [
"SELECT",
"Destruction_Authorised_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destruction_Authorised_by_Employee_ID"
],
"query_toks_no_value": [
"select",
"destruction_authorised_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destruction_authorised_by_employee_id"
],
"question_spider": "Show the id of each employee and the number of document destruction authorised by that employee.",
"question": "显示每个雇员的id以及该雇员授权销毁文件的数量。",
"question_cspider": "显示每个雇员的id以及该雇员授权销毁文件的数量。",
"Harold": "BLEU = 31.49, 79.2/47.8/27.3/9.5 (BP=1.000, ratio=1.000, hyp_len=24, ref_len=24)",
"question_toks": [
"显",
"示",
"每",
"个",
"员",
"工",
"的",
"I",
"D",
"和",
"该",
"员",
"工",
"授",
"权",
"的",
"销",
"毁",
"文",
"档",
"的",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID",
"query_toks": [
"SELECT",
"Destruction_Authorised_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destruction_Authorised_by_Employee_ID"
],
"query_toks_no_value": [
"select",
"destruction_authorised_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destruction_authorised_by_employee_id"
],
"question_spider": "What are the id of each employee and the number of document destruction authorised by that employee?",
"question": "每个雇员的id和授权销毁文件的数量是多少?",
"question_cspider": "每个雇员的id和授权销毁文件的数量是多少?",
"Harold": "BLEU = 33.87, 66.7/42.3/28.0/16.7 (BP=1.000, ratio=1.286, hyp_len=27, ref_len=21)",
"question_toks": [
"每",
"位",
"员",
"工",
"的",
"I",
"D",
"是",
"多",
"少",
",",
"以",
"及",
"该",
"员",
"工",
"授",
"权",
"的",
"销",
"毁",
"文",
"件",
"的",
"数",
"量",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID",
"query_toks": [
"SELECT",
"Destroyed_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destroyed_by_Employee_ID"
],
"query_toks_no_value": [
"select",
"destroyed_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destroyed_by_employee_id"
],
"question_spider": "Show the employee ids and the number of documents destroyed by each employee.",
"question": "显示员工的ID和每个员工对应销毁的文件数量。",
"question_cspider": "显示员工的ID和每个员工对应销毁的文件数量。",
"Harold": "BLEU = 39.56, 89.5/66.7/41.2/18.8 (BP=0.854, ratio=0.864, hyp_len=19, ref_len=22)",
"question_toks": [
"显",
"示",
"员",
"工",
"I",
"D",
"和",
"每",
"位",
"员",
"工",
"销",
"毁",
"的",
"文",
"档",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
30,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID",
"query_toks": [
"SELECT",
"Destroyed_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destroyed_by_Employee_ID"
],
"query_toks_no_value": [
"select",
"destroyed_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destroyed_by_employee_id"
],
"question_spider": "What are the id of each employee and the number of document destroyed by that employee?",
"question": "每个员工的id和销毁的文件数量是多少?",
"question_cspider": "每个员工的id和销毁的文件数量是多少?",
"Harold": "BLEU = 32.60, 66.7/43.5/27.3/14.3 (BP=1.000, ratio=1.263, hyp_len=24, ref_len=19)",
"question_toks": [
"每",
"位",
"员",
"工",
"的",
"I",
"D",
"是",
"多",
"少",
",",
"以",
"及",
"该",
"员",
"工",
"销",
"毁",
"的",
"文",
"档",
"数",
"量",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
30,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Show the ids of the employees who don't authorize destruction for any document.",
"question": "显示没有授权销毁任何文档的雇员的ID。",
"question_cspider": "显示没有授权销毁任何文档的雇员的ID。",
"Harold": "BLEU = 60.26, 88.9/70.6/56.2/46.7 (BP=0.946, ratio=0.947, hyp_len=18, ref_len=19)",
"question_toks": [
"显",
"示",
"未",
"授",
"权",
"销",
"毁",
"任",
"何",
"文",
"档",
"的",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Which employees do not authorize destruction for any document? Give me their employee ids.",
"question": "哪些雇员没有授权销毁任何文件?列出他们的员工ID。",
"question_cspider": "哪些雇员没有授权销毁任何文件?列出他们的员工ID。",
"Harold": "BLEU = 49.93, 75.0/56.5/45.5/38.1 (BP=0.959, ratio=0.960, hyp_len=24, ref_len=25)",
"question_toks": [
"哪",
"些",
"员",
"工",
"不",
"授",
"权",
"销",
"毁",
"任",
"何",
"文",
"件",
"?",
"给",
"我",
"他",
"们",
"的",
"员",
"工",
"编",
"号",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"DISTINCT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"distinct",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Show the ids of all employees who have authorized destruction.",
"question": "显示所有授权销毁文件的员工的ID。",
"question_cspider": "显示所有授权销毁文件的员工的ID。",
"Harold": "BLEU = 64.52, 93.8/80.0/64.3/46.2 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)",
"question_toks": [
"显",
"示",
"所",
"有",
"已",
"授",
"权",
"销",
"毁",
"的",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"DISTINCT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"distinct",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "What are the ids of all the employees who authorize document destruction?",
"question": "授权文件销毁的所有员工的id是什么?",
"question_cspider": "授权文件销毁的所有员工的id是什么?",
"Harold": "BLEU = 74.55, 100.0/82.4/62.5/60.0 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"授",
"权",
"销",
"毁",
"文",
"件",
"的",
"所",
"有",
"员",
"工",
"的",
"I",
"D",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"DISTINCT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"distinct",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Show the ids of all employees who have destroyed a document.",
"question": "显示所有销毁文件的雇员的ID。",
"question_cspider": "显示所有销毁文件的雇员的ID。",
"Harold": "BLEU = 28.12, 81.2/46.7/21.4/7.7 (BP=1.000, ratio=1.067, hyp_len=16, ref_len=15)",
"question_toks": [
"显",
"示",
"已",
"销",
"毁",
"文",
"档",
"的",
"所",
"有",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"DISTINCT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"distinct",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "What are the ids of all the employees who have destroyed documents?",
"question": "所有销毁文件的员工的ID是什么?",
"question_cspider": "所有销毁文件的员工的ID是什么?",
"Harold": "BLEU = 69.65, 82.4/75.0/66.7/57.1 (BP=1.000, ratio=1.062, hyp_len=17, ref_len=16)",
"question_toks": [
"所",
"有",
"销",
"毁",
"文",
"件",
"的",
"员",
"工",
"的",
"身",
"份",
"证",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Show the ids of all employees who don't destroy any document.",
"question": "显示所有没有销毁过任何文件的雇员的ID。",
"question_cspider": "显示所有没有销毁过任何文件的雇员的ID。",
"Harold": "BLEU = 30.87, 72.2/47.1/31.2/13.3 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)",
"question_toks": [
"显",
"示",
"所",
"有",
"不",
"破",
"坏",
"任",
"何",
"文",
"档",
"的",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Which employees do not destroy any document? Find their employee ids.",
"question": "哪些员工没有销毁过任何文件?找到他们的雇员ID。",
"question_cspider": "哪些员工没有销毁过任何文件?找到他们的雇员ID。",
"Harold": "BLEU = 33.18, 77.3/47.6/30.0/15.8 (BP=0.913, ratio=0.917, hyp_len=22, ref_len=24)",
"question_toks": [
"哪",
"些",
"员",
"工",
"不",
"销",
"毁",
"任",
"何",
"文",
"件",
"?",
"查",
"找",
"他",
"们",
"的",
"员",
"工",
"编",
"号",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
18,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed",
"UNION",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed",
"union",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Show the ids of all employees who have either destroyed a document or made an authorization to do this.",
"question": "显示销毁文档或授权进行此操作的所有员工的ID。",
"question_cspider": "显示销毁文档或授权进行此操作的所有员工的ID。",
"Harold": "BLEU = 68.42, 88.0/75.0/60.9/54.5 (BP=1.000, ratio=1.087, hyp_len=25, ref_len=23)",
"question_toks": [
"显",
"示",
"已",
"销",
"毁",
"文",
"档",
"或",
"已",
"授",
"权",
"执",
"行",
"此",
"操",
"作",
"的",
"所",
"有",
"员",
"工",
"的",
"I",
"D",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
},
{
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
"query_toks": [
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed",
"UNION",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
],
"query_toks_no_value": [
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed",
"union",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
],
"question_spider": "Which employees have either destroyed a document or made an authorization to do so? Return their employee ids.",
"question": "哪些员工销毁了文件或授权其他员工销毁文件?返回他们的雇员ID。",
"question_cspider": "哪些员工销毁了文件或授权其他员工销毁文件?返回他们的雇员ID。",
"Harold": "BLEU = 46.71, 85.7/63.0/42.3/32.0 (BP=0.898, ratio=0.903, hyp_len=28, ref_len=31)",
"question_toks": [
"哪",
"些",
"员",
"工",
"已",
"销",
"毁",
"文",
"件",
"或",
"已",
"授",
"权",
"销",
"毁",
"文",
"件",
"?",
"返",
"回",
"他",
"们",
"的",
"员",
"工",
"编",
"号",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
30,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
29,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
}
]