dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "college_3",
"query": "SELECT count(*) FROM COURSE",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"COURSE"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"course"
],
"question_spider": "How many courses are there in total?",
"question": "一共有多少门课?",
"question_cspider": "一共有多少门课?",
"Harold": "BLEU = 0.00, 62.5/28.6/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=8, ref_len=8)",
"question_toks": [
"总",
"共",
"有",
"几",
"门",
"课",
"程",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT count(*) FROM COURSE",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"COURSE"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"course"
],
"question_spider": "Count the number of courses.",
"question": "统计课程的数量。",
"question_cspider": "统计课程的数量。",
"Harold": "BLEU = 0.00, 85.7/50.0/20.0/0.0 (BP=0.867, ratio=0.875, hyp_len=7, ref_len=8)",
"question_toks": [
"计",
"算",
"课",
"程",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT count(*) FROM COURSE WHERE Credits > 2",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"COURSE",
"WHERE",
"Credits",
">",
"2"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"course",
"where",
"credits",
">",
"value"
],
"question_spider": "How many courses have more than 2 credits?",
"question": "有多少课程有超过2学分?",
"question_cspider": "有多少课程有超过2学分?",
"Harold": "BLEU = 0.00, 68.8/46.7/21.4/0.0 (BP=1.000, ratio=1.333, hyp_len=16, ref_len=12)",
"question_toks": [
"有",
"多",
"少",
"门",
"课",
"程",
"的",
"学",
"分",
"超",
"过",
"2",
"个",
"学",
"分",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
28,
false
],
null
],
2,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT count(*) FROM COURSE WHERE Credits > 2",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"COURSE",
"WHERE",
"Credits",
">",
"2"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"course",
"where",
"credits",
">",
"value"
],
"question_spider": "Count the number of courses with more than 2 credits.",
"question": "统计超过2学分的课程数。",
"question_cspider": "统计超过2学分的课程数。",
"Harold": "BLEU = 46.83, 78.6/53.8/41.7/27.3 (BP=1.000, ratio=1.167, hyp_len=14, ref_len=12)",
"question_toks": [
"计",
"算",
"超",
"过",
"2",
"个",
"学",
"分",
"的",
"课",
"程",
"数",
"量",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
28,
false
],
null
],
2,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Credits = 1",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"1"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value"
],
"question_spider": "List all names of courses with 1 credit?",
"question": "列出1学分的课程名称。",
"question_cspider": "列出1学分的课程名称。",
"Harold": "BLEU = 39.57, 58.8/43.8/33.3/28.6 (BP=1.000, ratio=1.545, hyp_len=17, ref_len=11)",
"question_toks": [
"列",
"出",
"所",
"有",
"拥",
"有",
"1",
"个",
"学",
"分",
"的",
"课",
"程",
"名",
"称",
"吗",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
1,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Credits = 1",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"1"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value"
],
"question_spider": "What are the names of courses with 1 credit?",
"question": "1学分的课程名称是什么?",
"question_cspider": "1学分的课程名称是什么?",
"Harold": "BLEU = 90.36, 91.7/90.9/90.0/88.9 (BP=1.000, ratio=1.000, hyp_len=12, ref_len=12)",
"question_toks": [
"一",
"学",
"分",
"的",
"课",
"程",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
1,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Days = \"MTW\"",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Days",
"=",
"``",
"MTW",
"''"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"days",
"=",
"value"
],
"question_spider": "Which courses are taught on days MTW?",
"question": "哪些课程是在“MTW”那一天教授的?",
"question_cspider": "哪些课程是在“星期一”那一天教授的?",
"Harold": "BLEU = 0.00, 50.0/9.1/0.0/0.0 (BP=0.607, ratio=0.667, hyp_len=12, ref_len=18)",
"question_toks": [
"在",
"M",
"T",
"W",
"天",
"里",
"教",
"什",
"么",
"课",
"程",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
"\"MTW\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Days = \"MTW\"",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Days",
"=",
"``",
"MTW",
"''"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"days",
"=",
"value"
],
"question_spider": "What are the course names for courses taught on MTW?",
"question": "在“MTW”那一天教授的课程名称是什么?",
"question_cspider": "在“星期一”那一天教授的课程名称是什么?",
"Harold": "BLEU = 52.37, 63.2/55.6/52.9/50.0 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)",
"question_toks": [
"在",
"M",
"T",
"W",
"上",
"教",
"授",
"的",
"课",
"程",
"的",
"课",
"程",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
30,
false
],
null
],
"\"MTW\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT count(*) FROM DEPARTMENT WHERE Division = \"AS\"",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"AS",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"department",
"where",
"division",
"=",
"value"
],
"question_spider": "What is the number of departments in Division \"AS\"?",
"question": "在分公司“AS”的部门数量是多少?",
"question_cspider": "在分公司“AS”的部门数量是多少?",
"Harold": "BLEU = 28.93, 78.6/46.2/33.3/18.2 (BP=0.751, ratio=0.778, hyp_len=14, ref_len=18)",
"question_toks": [
"“",
" ",
"A",
"S",
"”",
"部",
"门",
"的",
"部",
"门",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"AS\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT count(*) FROM DEPARTMENT WHERE Division = \"AS\"",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"AS",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"department",
"where",
"division",
"=",
"value"
],
"question_spider": "How many departments are in the division AS?",
"question": "在分公司“AS”有多少个部门?",
"question_cspider": "在分公司“AS”有多少个部门?",
"Harold": "BLEU = 16.48, 54.5/30.0/22.2/12.5 (BP=0.635, ratio=0.688, hyp_len=11, ref_len=16)",
"question_toks": [
"部",
"门",
"A",
"S",
"中",
"有",
"几",
"个",
"部",
"门",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"AS\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DPhone FROM DEPARTMENT WHERE Room = 268",
"query_toks": [
"SELECT",
"DPhone",
"FROM",
"DEPARTMENT",
"WHERE",
"Room",
"=",
"268"
],
"query_toks_no_value": [
"select",
"dphone",
"from",
"department",
"where",
"room",
"=",
"value"
],
"question_spider": "What are the phones of departments in Room 268?",
"question": "268号房的电话是什么?",
"question_cspider": "268号房的电话是什么?",
"Harold": "BLEU = 49.74, 76.9/58.3/45.5/30.0 (BP=1.000, ratio=1.083, hyp_len=13, ref_len=12)",
"question_toks": [
"2",
"6",
"8",
"室",
"的",
"部",
"门",
"电",
"话",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
268,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DPhone FROM DEPARTMENT WHERE Room = 268",
"query_toks": [
"SELECT",
"DPhone",
"FROM",
"DEPARTMENT",
"WHERE",
"Room",
"=",
"268"
],
"query_toks_no_value": [
"select",
"dphone",
"from",
"department",
"where",
"room",
"=",
"value"
],
"question_spider": "Give the phones for departments in room 268.",
"question": "给位置在268号房间内的部门打电话。",
"question_cspider": "给位置在268号房间内的部门打电话。",
"Harold": "BLEU = 39.38, 91.7/72.7/60.0/44.4 (BP=0.607, ratio=0.667, hyp_len=12, ref_len=18)",
"question_toks": [
"给",
"2",
"6",
"8",
"室",
"的",
"部",
"门",
"打",
"电",
"话",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
20,
false
],
null
],
268,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade = \"B\"",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"StuID",
")",
"FROM",
"ENROLLED_IN",
"WHERE",
"Grade",
"=",
"``",
"B",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"stuid",
")",
"from",
"enrolled_in",
"where",
"grade",
"=",
"value"
],
"question_spider": "Find the number of students that have at least one grade \"B\".",
"question": "找到至少有一个成绩为“B”的学生人数。",
"question_cspider": "找到至少有一个成绩为“B”的学生人数。",
"Harold": "BLEU = 41.28, 78.9/55.6/35.3/18.8 (BP=1.000, ratio=1.000, hyp_len=19, ref_len=19)",
"question_toks": [
"查",
"找",
"至",
"少",
"具",
"有",
"一",
"个",
"“",
" ",
"B",
"”",
"年",
"级",
"的",
"学",
"生",
"人",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
35,
true
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
"\"B\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade = \"B\"",
"query_toks": [
"SELECT",
"COUNT",
"(",
"DISTINCT",
"StuID",
")",
"FROM",
"ENROLLED_IN",
"WHERE",
"Grade",
"=",
"``",
"B",
"''"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"stuid",
")",
"from",
"enrolled_in",
"where",
"grade",
"=",
"value"
],
"question_spider": "How many students have had at least one \"B\" grade?",
"question": "有多少学生至少有一门成绩是“B”级?",
"question_cspider": "有多少学生至少有一门成绩是“B”级?",
"Harold": "BLEU = 51.71, 83.3/58.8/43.8/33.3 (BP=1.000, ratio=1.000, hyp_len=18, ref_len=18)",
"question_toks": [
"有",
"多",
"少",
"学",
"生",
"至",
"少",
"获",
"得",
"一",
"个",
"“",
" ",
"B",
"”",
"级",
"成",
"绩",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
35,
true
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
"\"B\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT max(gradepoint) , min(gradepoint) FROM GRADECONVERSION",
"query_toks": [
"SELECT",
"max",
"(",
"gradepoint",
")",
",",
"min",
"(",
"gradepoint",
")",
"FROM",
"GRADECONVERSION"
],
"query_toks_no_value": [
"select",
"max",
"(",
"gradepoint",
")",
",",
"min",
"(",
"gradepoint",
")",
"from",
"gradeconversion"
],
"question_spider": "Find the max and min grade point for all letter grade.",
"question": "在所有字母分数中找出所有字母等级的最大和最小等级点。",
"question_cspider": "在所有字母分数中找出所有字母等级的最大和最小等级点。",
"Harold": "BLEU = 57.17, 94.4/88.2/87.5/86.7 (BP=0.641, ratio=0.692, hyp_len=18, ref_len=26)",
"question_toks": [
"找",
"到",
"所",
"有",
"字",
"母",
"等",
"级",
"的",
"最",
"大",
"和",
"最",
"小",
"等",
"级",
"点",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
39,
false
],
null
]
],
[
2,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT max(gradepoint) , min(gradepoint) FROM GRADECONVERSION",
"query_toks": [
"SELECT",
"max",
"(",
"gradepoint",
")",
",",
"min",
"(",
"gradepoint",
")",
"FROM",
"GRADECONVERSION"
],
"query_toks_no_value": [
"select",
"max",
"(",
"gradepoint",
")",
",",
"min",
"(",
"gradepoint",
")",
"from",
"gradeconversion"
],
"question_spider": "What are the maximum and minumum grade points?",
"question": "分数的最大值和最小值是多少?",
"question_cspider": "分数的最大值和最小值是多少?",
"Harold": "BLEU = 22.08, 63.6/40.0/22.2/12.5 (BP=0.761, ratio=0.786, hyp_len=11, ref_len=14)",
"question_toks": [
"最",
"高",
"和",
"最",
"低",
"成",
"绩",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
7
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
39,
false
],
null
]
],
[
2,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'",
"query_toks": [
"SELECT",
"DISTINCT",
"Fname",
"FROM",
"STUDENT",
"WHERE",
"Fname",
"LIKE",
"'",
"%",
"a",
"%",
"'"
],
"query_toks_no_value": [
"select",
"distinct",
"fname",
"from",
"student",
"where",
"fname",
"like",
"value"
],
"question_spider": "Find the first names of students whose first names contain letter \"a\".",
"question": "找出名字包含“a”字的学生的名字。",
"question_cspider": "找出名字包含“D”字的学生的名字。",
"Harold": "BLEU = 50.36, 83.3/52.9/43.8/33.3 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)",
"question_toks": [
"查",
"找",
"名",
"字",
"包",
"含",
"字",
"母",
"“",
" ",
"a",
"”",
"的",
"学",
"生",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
3,
false
],
null
],
"\"%a%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'",
"query_toks": [
"SELECT",
"DISTINCT",
"Fname",
"FROM",
"STUDENT",
"WHERE",
"Fname",
"LIKE",
"'",
"%",
"a",
"%",
"'"
],
"query_toks_no_value": [
"select",
"distinct",
"fname",
"from",
"student",
"where",
"fname",
"like",
"value"
],
"question_spider": "What are the first names for students who have an \"a\" in their first name?",
"question": "名字中包含“a”的学生的名字是什么?",
"question_cspider": "名字中包含“D”的学生的名字是什么?",
"Harold": "BLEU = 62.73, 78.9/66.7/58.8/50.0 (BP=1.000, ratio=1.056, hyp_len=19, ref_len=18)",
"question_toks": [
"在",
"名",
"字",
"中",
"带",
"有",
"“",
" ",
"a",
"”",
"的",
"学",
"生",
"的",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
true,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
3,
false
],
null
],
"\"%a%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname , Lname FROM FACULTY WHERE sex = \"M\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"Fname",
",",
"Lname",
"FROM",
"FACULTY",
"WHERE",
"sex",
"=",
"``",
"M",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"fname",
",",
"lname",
"from",
"faculty",
"where",
"sex",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "Find the first names and last names of male (sex is M) faculties who live in building NEB.",
"question": "查找住在“NEB”大楼的男性(性别是“M”)教职员工的名字和姓氏。",
"question_cspider": "查找住在“NEB”大楼的男性(性别是“M”)教职员工的名字和姓氏。",
"Harold": "BLEU = 37.34, 65.5/50.0/33.3/26.9 (BP=0.902, ratio=0.906, hyp_len=29, ref_len=32)",
"question_toks": [
"查",
"找",
"居",
"住",
"在",
"N",
"E",
"B",
"建",
"筑",
"中",
"的",
"男",
"性",
"(",
"性",
"别",
"为",
"M",
")",
"教",
"师",
"的",
"名",
"字",
"和",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
"\"M\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname , Lname FROM FACULTY WHERE sex = \"M\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"Fname",
",",
"Lname",
"FROM",
"FACULTY",
"WHERE",
"sex",
"=",
"``",
"M",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"fname",
",",
"lname",
"from",
"faculty",
"where",
"sex",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "What are the full names of faculties with sex M and who live in building NEB?",
"question": "住在“NEB”大楼的男性(性别是“M”)教职员工的名字和姓氏是什么?",
"question_cspider": "住在“NEB”大楼的男性(性别是“M”)教职员工的名字和姓氏是什么?",
"Harold": "BLEU = 10.66, 56.5/27.3/9.5/5.0 (BP=0.647, ratio=0.697, hyp_len=23, ref_len=33)",
"question_toks": [
"住",
"在",
"N",
"E",
"B",
"大",
"楼",
"中",
"的",
"性",
"别",
"为",
"M",
"的",
"学",
"院",
"的",
"全",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
13,
false
],
null
],
"\"M\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Room FROM FACULTY WHERE Rank = \"Professor\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"Room",
"FROM",
"FACULTY",
"WHERE",
"Rank",
"=",
"``",
"Professor",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"room",
"from",
"faculty",
"where",
"rank",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "Find the rooms of faculties with rank professor who live in building NEB.",
"question": "找到居住在“NEB”大楼的高级“Professor”的房间。",
"question_cspider": "找到居住在“NEB”大楼的高级教授的房间。",
"Harold": "BLEU = 24.19, 56.5/31.8/19.0/10.0 (BP=1.000, ratio=1.150, hyp_len=23, ref_len=20)",
"question_toks": [
"查",
"找",
"与",
"居",
"住",
"在",
"N",
"E",
"B",
"大",
"楼",
"中",
"的",
"高",
"级",
"教",
"授",
"一",
"起",
"的",
"教",
"室",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
15,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Professor\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Room FROM FACULTY WHERE Rank = \"Professor\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"Room",
"FROM",
"FACULTY",
"WHERE",
"Rank",
"=",
"``",
"Professor",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"room",
"from",
"faculty",
"where",
"rank",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "What are the rooms for members of the faculty who are professors and who live in building NEB?",
"question": "居住在“NEB”大楼的高级“Professor”的房间是什么?",
"question_cspider": "居住在“NEB”大楼的高级教授的房间是什么?",
"Harold": "BLEU = 32.39, 54.2/39.1/27.3/19.0 (BP=1.000, ratio=1.143, hyp_len=24, ref_len=21)",
"question_toks": [
"教",
"授",
"和",
"居",
"住",
"在",
"N",
"E",
"B",
"建",
"筑",
"中",
"的",
"教",
"职",
"员",
"工",
"的",
"房",
"间",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
15,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Professor\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT WHERE Building = \"Mergenthaler\"",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Building",
"=",
"``",
"Mergenthaler",
"''"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"where",
"building",
"=",
"value"
],
"question_spider": "Find the department name that is in Building \"Mergenthaler\".",
"question": "找到位置在“Mergenthaler”大楼的部门的名称。",
"question_cspider": "找到位置在“Mergenthaler”大楼的部门的名称。",
"Harold": "BLEU = 0.00, 44.0/25.0/13.0/0.0 (BP=1.000, ratio=1.389, hyp_len=25, ref_len=18)",
"question_toks": [
"查",
"找",
"“",
" ",
"M",
"e",
"r",
"g",
"e",
"n",
"t",
"h",
"a",
"l",
"e",
"r",
"”",
"大",
"楼",
"中",
"的",
"部",
"门",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
"\"Mergenthaler\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT WHERE Building = \"Mergenthaler\"",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Building",
"=",
"``",
"Mergenthaler",
"''"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"where",
"building",
"=",
"value"
],
"question_spider": "What is the name of the department in the Building Mergenthaler?",
"question": "在“Mergenthaler”大楼内的部门名称是什么?",
"question_cspider": "在“Mergenthaler”大楼内的部门名称是什么?",
"Harold": "BLEU = 17.72, 30.0/20.7/14.3/11.1 (BP=1.000, ratio=1.765, hyp_len=30, ref_len=17)",
"question_toks": [
"B",
"u",
"i",
"l",
"d",
"i",
"n",
"g",
" ",
"M",
"e",
"r",
"g",
"e",
"n",
"t",
"h",
"a",
"l",
"e",
"r",
"中",
"部",
"门",
"的",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
"\"Mergenthaler\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT * FROM COURSE ORDER BY Credits",
"query_toks": [
"SELECT",
"*",
"FROM",
"COURSE",
"ORDER",
"BY",
"Credits"
],
"query_toks_no_value": [
"select",
"*",
"from",
"course",
"order",
"by",
"credits"
],
"question_spider": "List all information about courses sorted by credits in the ascending order.",
"question": "列出以学分升序排列的所有课程信息。",
"question_cspider": "列出以学分升序排列的所有课程信息。",
"Harold": "BLEU = 0.00, 60.0/33.3/8.7/0.0 (BP=1.000, ratio=1.471, hyp_len=25, ref_len=17)",
"question_toks": [
"列",
"出",
"有",
"关",
"课",
"程",
"的",
"所",
"有",
"信",
"息",
",",
"这",
"些",
"课",
"程",
"按",
"学",
"分",
"按",
"升",
"序",
"排",
"序",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
28,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT * FROM COURSE ORDER BY Credits",
"query_toks": [
"SELECT",
"*",
"FROM",
"COURSE",
"ORDER",
"BY",
"Credits"
],
"query_toks_no_value": [
"select",
"*",
"from",
"course",
"order",
"by",
"credits"
],
"question_spider": "What is all the information about courses, ordered by credits ascending?",
"question": "以学分升序排列的所有课程信息是什么?",
"question_cspider": "以学分升序排列的所有课程信息是什么?",
"Harold": "BLEU = 48.82, 81.0/60.0/42.1/27.8 (BP=1.000, ratio=1.167, hyp_len=21, ref_len=18)",
"question_toks": [
"关",
"于",
"课",
"程",
"的",
"所",
"有",
"信",
"息",
"是",
"什",
"么",
",",
"按",
"学",
"分",
"升",
"序",
"排",
"列",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
28,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE ORDER BY Credits",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"ORDER",
"BY",
"Credits"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"order",
"by",
"credits"
],
"question_spider": "List the course name of courses sorted by credits.",
"question": "按学分排序列出的课程名称。",
"question_cspider": "按学分排序列出的课程名称。",
"Harold": "BLEU = 56.81, 81.2/66.7/50.0/38.5 (BP=1.000, ratio=1.231, hyp_len=16, ref_len=13)",
"question_toks": [
"列",
"出",
"按",
"学",
"分",
"排",
"序",
"的",
"课",
"程",
"的",
"课",
"程",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
28,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE ORDER BY Credits",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"ORDER",
"BY",
"Credits"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"order",
"by",
"credits"
],
"question_spider": "What are the course names, ordered by credits?",
"question": "按学分排序的课程名称是什么?",
"question_cspider": "按学分排序的课程名称是什么?",
"Harold": "BLEU = 71.39, 92.9/76.9/66.7/54.5 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)",
"question_toks": [
"课",
"程",
"名",
"称",
"是",
"什",
"么",
",",
"按",
"学",
"分",
"排",
"序",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
28,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM STUDENT ORDER BY Age DESC",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"STUDENT",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"student",
"order",
"by",
"age",
"desc"
],
"question_spider": "Find the first name of students in the descending order of age.",
"question": "按年龄递减顺序查找学生的名字。",
"question_cspider": "按年龄递减顺序查找学生的名字。",
"Harold": "BLEU = 65.26, 92.3/83.3/72.7/60.0 (BP=0.857, ratio=0.867, hyp_len=13, ref_len=15)",
"question_toks": [
"按",
"年",
"龄",
"降",
"序",
"查",
"找",
"学",
"生",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM STUDENT ORDER BY Age DESC",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"STUDENT",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"student",
"order",
"by",
"age",
"desc"
],
"question_spider": "What are the first names of students, ordered by age from greatest to least?",
"question": "按年龄顺序从最大到最小排列的学生的名字是什么?",
"question_cspider": "按年龄顺序从最大到最小排列的学生的名字是什么?",
"Harold": "BLEU = 44.72, 94.7/66.7/47.1/31.2 (BP=0.810, ratio=0.826, hyp_len=19, ref_len=23)",
"question_toks": [
"学",
"生",
"的",
"名",
"字",
"是",
"什",
"么",
",",
"按",
"年",
"龄",
"从",
"大",
"到",
"小",
"排",
"列",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT LName FROM STUDENT WHERE Sex = \"F\" ORDER BY Age DESC",
"query_toks": [
"SELECT",
"LName",
"FROM",
"STUDENT",
"WHERE",
"Sex",
"=",
"``",
"F",
"''",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"lname",
"from",
"student",
"where",
"sex",
"=",
"value",
"order",
"by",
"age",
"desc"
],
"question_spider": "Find the last name of female (sex is F) students in the descending order of age.",
"question": "按年龄递减顺序查找女性学生的姓氏(性别为“F”)。",
"question_cspider": "按年龄递减顺序查找女性学生的姓氏(性别为“Female”)。",
"Harold": "BLEU = 28.01, 90.0/57.9/33.3/11.8 (BP=0.741, ratio=0.769, hyp_len=20, ref_len=26)",
"question_toks": [
"按",
"年",
"龄",
"降",
"序",
"查",
"找",
"女",
"学",
"生",
"(",
"性",
"别",
"为",
"F",
")",
"的",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
"\"F\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT LName FROM STUDENT WHERE Sex = \"F\" ORDER BY Age DESC",
"query_toks": [
"SELECT",
"LName",
"FROM",
"STUDENT",
"WHERE",
"Sex",
"=",
"``",
"F",
"''",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"lname",
"from",
"student",
"where",
"sex",
"=",
"value",
"order",
"by",
"age",
"desc"
],
"question_spider": "What are the last names of female students, ordered by age descending?",
"question": "按年龄降序顺序排序的“F”学生的姓氏是什么?",
"question_cspider": "按年龄降序顺序排序的“Female”学生的姓氏是什么?",
"Harold": "BLEU = 48.25, 88.9/70.6/56.2/46.7 (BP=0.757, ratio=0.783, hyp_len=18, ref_len=23)",
"question_toks": [
"女",
"学",
"生",
"的",
"姓",
"氏",
"是",
"什",
"么",
",",
"按",
"年",
"龄",
"降",
"序",
"排",
"列",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
"\"F\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
4,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Lname FROM FACULTY WHERE Building = \"Barton\" ORDER BY Lname",
"query_toks": [
"SELECT",
"Lname",
"FROM",
"FACULTY",
"WHERE",
"Building",
"=",
"``",
"Barton",
"''",
"ORDER",
"BY",
"Lname"
],
"query_toks_no_value": [
"select",
"lname",
"from",
"faculty",
"where",
"building",
"=",
"value",
"order",
"by",
"lname"
],
"question_spider": "Find the last names of faculties in building Barton in alphabetic order.",
"question": "根据字母顺序找出在“Barton”建筑中机构工作的工作人员的姓氏。",
"question_cspider": "根据字母顺序找出在“行政楼”建筑中机构工作的工作人员的姓氏。",
"Harold": "BLEU = 15.66, 47.6/30.0/21.1/11.1 (BP=0.651, ratio=0.700, hyp_len=21, ref_len=30)",
"question_toks": [
"查",
"找",
"按",
"字",
"母",
"顺",
"序",
"排",
"列",
"B",
"a",
"r",
"t",
"o",
"n",
"的",
"系",
"的",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"Barton\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
10,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Lname FROM FACULTY WHERE Building = \"Barton\" ORDER BY Lname",
"query_toks": [
"SELECT",
"Lname",
"FROM",
"FACULTY",
"WHERE",
"Building",
"=",
"``",
"Barton",
"''",
"ORDER",
"BY",
"Lname"
],
"query_toks_no_value": [
"select",
"lname",
"from",
"faculty",
"where",
"building",
"=",
"value",
"order",
"by",
"lname"
],
"question_spider": "What are the last names of faculty in building Barton, sorted by last name?",
"question": "根据字母顺序的在“Barton”建筑中机构工作的工作人员的姓氏是什么?",
"question_cspider": "根据字母顺序的在“行政楼”建筑中机构工作的工作人员的姓氏是什么?",
"Harold": "BLEU = 15.78, 41.7/21.7/18.2/14.3 (BP=0.717, ratio=0.750, hyp_len=24, ref_len=32)",
"question_toks": [
"建",
"造",
"B",
"a",
"r",
"t",
"o",
"n",
"的",
"教",
"师",
"的",
"姓",
"氏",
"是",
"什",
"么",
",",
"按",
"姓",
"氏",
"排",
"序",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
16,
false
],
null
],
"\"Barton\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
10,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM FACULTY WHERE Rank = \"Professor\" ORDER BY Fname",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"FACULTY",
"WHERE",
"Rank",
"=",
"``",
"Professor",
"''",
"ORDER",
"BY",
"Fname"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"faculty",
"where",
"rank",
"=",
"value",
"order",
"by",
"fname"
],
"question_spider": "Find the first names of faculties of rank Professor in alphabetic order.",
"question": "按字母顺序查找职级是“Professor”的职工的名字。",
"question_cspider": "按字母顺序查找职级是“Professor”的职工的名字。",
"Harold": "BLEU = 43.02, 77.8/58.8/43.8/33.3 (BP=0.846, ratio=0.857, hyp_len=18, ref_len=21)",
"question_toks": [
"按",
"字",
"母",
"顺",
"序",
"查",
"找",
"排",
"名",
"教",
"授",
"的",
"学",
"院",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Professor\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM FACULTY WHERE Rank = \"Professor\" ORDER BY Fname",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"FACULTY",
"WHERE",
"Rank",
"=",
"``",
"Professor",
"''",
"ORDER",
"BY",
"Fname"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"faculty",
"where",
"rank",
"=",
"value",
"order",
"by",
"fname"
],
"question_spider": "What are the first names for all faculty professors, ordered by first name?",
"question": "按字母顺序排列的职级是“Professor”的职工的名字是什么?",
"question_cspider": "按字母顺序排列的职级是“Professor”的职工的名字是什么?",
"Harold": "BLEU = 22.35, 76.5/37.5/26.7/21.4 (BP=0.625, ratio=0.680, hyp_len=17, ref_len=25)",
"question_toks": [
"所",
"有",
"教",
"授",
"的",
"名",
"字",
"是",
"什",
"么",
",",
"按",
"名",
"字",
"排",
"序",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Professor\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MINOR_IN",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"GROUP",
"BY",
"T2.DNO",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"minor_in",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"group",
"by",
"t2",
".",
"dno",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Find the name of the department that has the biggest number of students minored in?",
"question": "找到辅修人数最多的系的名字?",
"question_cspider": "找到辅修人数最多的系的名字?",
"Harold": "BLEU = 20.82, 42.9/25.0/15.8/11.1 (BP=1.000, ratio=1.500, hyp_len=21, ref_len=14)",
"question_toks": [
"找",
"出",
"拥",
"有",
"未",
"成",
"年",
"学",
"生",
"人",
"数",
"最",
"多",
"的",
"部",
"门",
"的",
"名",
"称",
"吗",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
34,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
34,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MINOR_IN",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"GROUP",
"BY",
"T2.DNO",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"minor_in",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"group",
"by",
"t2",
".",
"dno",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What is the name of the department with the most students minoring in it?",
"question": "有辅修学生最多的专业叫什么名字?",
"question_cspider": "有辅修学生最多的专业叫什么名字?",
"Harold": "BLEU = 43.33, 68.8/46.7/35.7/30.8 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"辅",
"修",
"学",
"生",
"最",
"多",
"的",
"部",
"门",
"的",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
34,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
34,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"EXCEPT",
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MINOR_IN",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"except",
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"minor_in",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno"
],
"question_spider": "Find the name of the department that has no students minored in?",
"question": "找到没有学生参与辅修的专业的名字。",
"question_cspider": "找到没有学生参与辅修的专业的名字。",
"Harold": "BLEU = 0.00, 62.5/33.3/7.1/0.0 (BP=0.939, ratio=0.941, hyp_len=16, ref_len=17)",
"question_toks": [
"找",
"出",
"没",
"有",
"辅",
"修",
"专",
"业",
"的",
"部",
"门",
"的",
"名",
"称",
"吗",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
34,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"EXCEPT",
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MINOR_IN",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"except",
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"minor_in",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno"
],
"question_spider": "What is the name of the department htat has no students minoring in it?",
"question": "没有学生参与辅修的专业的名字是什么?",
"question_cspider": "没有学生参与辅修的专业的名字 是什么?",
"Harold": "BLEU = 24.25, 80.0/50.0/23.1/8.3 (BP=0.819, ratio=0.833, hyp_len=15, ref_len=18)",
"question_toks": [
"没",
"有",
"学",
"生",
"专",
"业",
"的",
"部",
"门",
"叫",
"什",
"么",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
5
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
34,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
},
{
"db_id": "college_3",
"query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MEMBER_OF",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"GROUP",
"BY",
"T2.DNO",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"member_of",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"group",
"by",
"t2",
".",
"dno",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "Find the name of the department that has the fewest members.",
"question": "找出拥有最少会员人数的部门的名称。",
"question_cspider": "找出拥有最少会员人数的部门的名称。",
"Harold": "BLEU = 40.24, 84.6/58.3/45.5/40.0 (BP=0.735, ratio=0.765, hyp_len=13, ref_len=17)",
"question_toks": [
"查",
"找",
"成",
"员",
"最",
"少",
"的",
"部",
"门",
"的",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
24,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
24,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"T1.DName",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"MEMBER_OF",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"GROUP",
"BY",
"T2.DNO",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"dname",
"from",
"department",
"as",
"t1",
"join",
"member_of",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"group",
"by",
"t2",
".",
"dno",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "What is the name of the department with the fewest members?",
"question": "拥有最少会员人数的部门名称是什么?",
"question_cspider": "拥有最少会员人数的部门名称是什么?",
"Harold": "BLEU = 0.00, 76.9/33.3/9.1/0.0 (BP=0.735, ratio=0.765, hyp_len=13, ref_len=17)",
"question_toks": [
"成",
"员",
"最",
"少",
"的",
"部",
"门",
"叫",
"什",
"么",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
24,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
24,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Rank FROM FACULTY GROUP BY Rank ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"Rank",
"FROM",
"FACULTY",
"GROUP",
"BY",
"Rank",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"rank",
"from",
"faculty",
"group",
"by",
"rank",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "Find the rank of the faculty that the fewest faculties belong to.",
"question": "找出教职人员最少的教职人员的职级。",
"question_cspider": "找出教职人员最少的教职人员的职级。",
"Harold": "BLEU = 0.00, 50.0/15.4/8.3/0.0 (BP=0.807, ratio=0.824, hyp_len=14, ref_len=17)",
"question_toks": [
"找",
"到",
"最",
"少",
"的",
"系",
"所",
"属",
"的",
"系",
"的",
"级",
"别",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
12,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Rank FROM FACULTY GROUP BY Rank ORDER BY count(*) ASC LIMIT 1",
"query_toks": [
"SELECT",
"Rank",
"FROM",
"FACULTY",
"GROUP",
"BY",
"Rank",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"rank",
"from",
"faculty",
"group",
"by",
"rank",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
],
"question_spider": "What is the least common faculty rank?",
"question": "什么是最不常见的教职员工职级?",
"question_cspider": "什么是最不常见的教职员工职级?",
"Harold": "BLEU = 38.81, 76.9/50.0/36.4/30.0 (BP=0.857, ratio=0.867, hyp_len=13, ref_len=15)",
"question_toks": [
"最",
"不",
"常",
"见",
"的",
"教",
"师",
"职",
"级",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
12,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
12,
false
]
],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 3",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"GROUP",
"BY",
"T1.Instructor",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"group",
"by",
"t1",
".",
"instructor",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What are the first and last names of the instructors who teach the top 3 number of courses?",
"question": "教授课程数前三多的老师的名字和姓氏是什么?",
"question_cspider": "教授课程数前三多的老师的名字和姓氏是什么?",
"Harold": "BLEU = 19.89, 88.9/41.2/12.5/6.7 (BP=0.846, ratio=0.857, hyp_len=18, ref_len=21)",
"question_toks": [
"教",
"授",
"前",
"三",
"门",
"课",
"程",
"的",
"讲",
"师",
"的",
"姓",
"和",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 3,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 3",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"GROUP",
"BY",
"T1.Instructor",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"3"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"group",
"by",
"t1",
".",
"instructor",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "What are the full names of the 3 instructors who teach the most courses?",
"question": "教授课程数最多的3名老师的名字和姓氏是什么?",
"question_cspider": "教授课程数最多的3名老师的名字和姓氏是什么?",
"Harold": "BLEU = 19.15, 83.3/47.1/12.5/6.7 (BP=0.801, ratio=0.818, hyp_len=18, ref_len=22)",
"question_toks": [
"教",
"授",
"最",
"多",
"课",
"程",
"的",
"3",
"位",
"讲",
"师",
"的",
"全",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 3,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Building",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"GROUP",
"BY",
"T1.Instructor",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"building",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"group",
"by",
"t1",
".",
"instructor",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Which building does the instructor who teaches the most number of courses live in?",
"question": "教课最多的老师住在哪栋楼里?",
"question_cspider": "教课最多的老师住在哪栋楼里?",
"Harold": "BLEU = 18.84, 52.9/25.0/13.3/7.1 (BP=1.000, ratio=1.214, hyp_len=17, ref_len=14)",
"question_toks": [
"讲",
"授",
"最",
"多",
"课",
"程",
"的",
"讲",
"师",
"住",
"在",
"哪",
"个",
"建",
"筑",
"物",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T2.Building",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"GROUP",
"BY",
"T1.Instructor",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t2",
".",
"building",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"group",
"by",
"t1",
".",
"instructor",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question_spider": "Give the building that the instructor who teaches the greatest number of courses lives in.",
"question": "给出教授课程数最多的老师住的大楼。",
"question_cspider": "给出教授课程数最多的老师住的大楼。",
"Harold": "BLEU = 0.00, 64.7/18.8/0.0/0.0 (BP=1.000, ratio=1.000, hyp_len=17, ref_len=17)",
"question_toks": [
"给",
"讲",
"授",
"最",
"多",
"课",
"程",
"的",
"讲",
"师",
"居",
"住",
"的",
"建",
"筑",
"物",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
29,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID = T2.CID GROUP BY T2.CID HAVING COUNT(*) >= 5",
"query_toks": [
"SELECT",
"T1.CName",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"ENROLLED_IN",
"AS",
"T2",
"ON",
"T1.CID",
"=",
"T2.CID",
"GROUP",
"BY",
"T2.CID",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"5"
],
"query_toks_no_value": [
"select",
"t1",
".",
"cname",
"from",
"course",
"as",
"t1",
"join",
"enrolled_in",
"as",
"t2",
"on",
"t1",
".",
"cid",
"=",
"t2",
".",
"cid",
"group",
"by",
"t2",
".",
"cid",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "What are the name of courses that have at least five enrollments?",
"question": "至少有五人参加的课程名称是什么?",
"question_cspider": "至少有五人参加的课程名称是什么?",
"Harold": "BLEU = 67.39, 81.2/73.3/64.3/53.8 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"至",
"少",
"有",
"五",
"门",
"课",
"程",
"的",
"课",
"程",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
6
]
],
"conds": [
[
false,
2,
[
0,
[
0,
26,
false
],
null
],
[
0,
36,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
36,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
5,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID = T2.CID GROUP BY T2.CID HAVING COUNT(*) >= 5",
"query_toks": [
"SELECT",
"T1.CName",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"ENROLLED_IN",
"AS",
"T2",
"ON",
"T1.CID",
"=",
"T2.CID",
"GROUP",
"BY",
"T2.CID",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"5"
],
"query_toks_no_value": [
"select",
"t1",
".",
"cname",
"from",
"course",
"as",
"t1",
"join",
"enrolled_in",
"as",
"t2",
"on",
"t1",
".",
"cid",
"=",
"t2",
".",
"cid",
"group",
"by",
"t2",
".",
"cid",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question_spider": "Give the names of the courses with at least five enrollments.",
"question": "列出至少有五人的课程的名称。",
"question_cspider": "列出至少有五人的课程的名称。",
"Harold": "BLEU = 0.00, 64.3/38.5/16.7/0.0 (BP=1.000, ratio=1.000, hyp_len=14, ref_len=14)",
"question_toks": [
"提",
"供",
"至",
"少",
"五",
"个",
"注",
"册",
"的",
"课",
"程",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
6
]
],
"conds": [
[
false,
2,
[
0,
[
0,
26,
false
],
null
],
[
0,
36,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
36,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
5,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID WHERE T1.CName = \"COMPUTER LITERACY\"",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"WHERE",
"T1.CName",
"=",
"``",
"COMPUTER",
"LITERACY",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"where",
"t1",
".",
"cname",
"=",
"value"
],
"question_spider": "Find the first name and last name of the instructor of course that has course name",
"question": "找出具有课程名称为“COMPUTER LITERACY”的教师的名字和姓氏",
"question_cspider": "找出具有课程名称为“计算机基础”的教师的名字和姓氏",
"Harold": "BLEU = 42.16, 78.9/61.1/52.9/43.8 (BP=0.729, ratio=0.760, hyp_len=19, ref_len=25)",
"question_toks": [
"查",
"找",
"具",
"有",
"课",
"程",
"名",
"称",
"的",
"课",
"程",
"讲",
"师",
"的",
"名",
"字",
"和",
"姓",
"氏"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
"\"COMPUTER LITERACY\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID WHERE T1.CName = \"COMPUTER LITERACY\"",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.Instructor",
"=",
"T2.FacID",
"WHERE",
"T1.CName",
"=",
"``",
"COMPUTER",
"LITERACY",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"course",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"instructor",
"=",
"t2",
".",
"facid",
"where",
"t1",
".",
"cname",
"=",
"value"
],
"question_spider": "What is the full name of the instructor who has a course named COMPUTER LITERACY?",
"question": "有“COMPUTER LITERACY”课程的老师的全名是什么?",
"question_cspider": "有“计算机基础”课程的老师的全名是什么?",
"Harold": "BLEU = 24.37, 33.3/28.1/22.6/16.7 (BP=1.000, ratio=1.650, hyp_len=33, ref_len=20)",
"question_toks": [
"开",
"设",
"名",
"为",
"C",
"O",
"M",
"P",
"U",
"T",
"E",
"R",
" ",
"L",
"I",
"T",
"E",
"R",
"A",
"C",
"Y",
"的",
"课",
"程",
"的",
"讲",
"师",
"的",
"全",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
1
]
],
"conds": [
[
false,
2,
[
0,
[
0,
29,
false
],
null
],
[
0,
9,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
"\"COMPUTER LITERACY\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Dname , T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = \"INTRODUCTION TO COMPUTER SCIENCE\"",
"query_toks": [
"SELECT",
"T2.Dname",
",",
"T2.Room",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"DEPARTMENT",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"WHERE",
"T1.CName",
"=",
"``",
"INTRODUCTION",
"TO",
"COMPUTER",
"SCIENCE",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"dname",
",",
"t2",
".",
"room",
"from",
"course",
"as",
"t1",
"join",
"department",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"where",
"t1",
".",
"cname",
"=",
"value"
],
"question_spider": "Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.",
"question": "查找教授“INTRODUCTION TO COMPUTER SCIENCE”的部门名称和房间。",
"question_cspider": "查找教授“INTRODUCTION TO COMPUTER SCIENCE”的部门名称和房间。",
"Harold": "BLEU = 54.48, 77.3/61.9/50.0/36.8 (BP=1.000, ratio=1.100, hyp_len=22, ref_len=20)",
"question_toks": [
"找",
"到",
"“",
"计",
"算",
"机",
"科",
"学",
"导",
"论",
"”",
"课",
"程",
"的",
"部",
"门",
"名",
"称",
"和",
"房",
"间",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
32,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
"\"INTRODUCTION TO COMPUTER SCIENCE\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Dname , T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = \"INTRODUCTION TO COMPUTER SCIENCE\"",
"query_toks": [
"SELECT",
"T2.Dname",
",",
"T2.Room",
"FROM",
"COURSE",
"AS",
"T1",
"JOIN",
"DEPARTMENT",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T2.DNO",
"WHERE",
"T1.CName",
"=",
"``",
"INTRODUCTION",
"TO",
"COMPUTER",
"SCIENCE",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"dname",
",",
"t2",
".",
"room",
"from",
"course",
"as",
"t1",
"join",
"department",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t2",
".",
"dno",
"where",
"t1",
".",
"cname",
"=",
"value"
],
"question_spider": "What are the department name and room for the course INTRODUCTION TO COMPUTER SCIENCE?",
"question": "“INTRODUCTION TO COMPUTER SCIENCE”这门课的系名和课室是什么?",
"question_cspider": "“INTRODUCTION TO COMPUTER SCIENCE”这门课的系名和课室是什么?",
"Harold": "BLEU = 19.20, 61.9/25.0/15.8/5.6 (BP=1.000, ratio=1.050, hyp_len=21, ref_len=20)",
"question_toks": [
"计",
"算",
"机",
"科",
"学",
"概",
"论",
"课",
"程",
"的",
"部",
"门",
"名",
"称",
"和",
"房",
"间",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
32,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
],
[
0,
[
0,
[
0,
20,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
"\"INTRODUCTION TO COMPUTER SCIENCE\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T3.Fname , T3.LName , T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID",
"query_toks": [
"SELECT",
"T3.Fname",
",",
"T3.LName",
",",
"T2.gradepoint",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID"
],
"query_toks_no_value": [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
",",
"t2",
".",
"gradepoint",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid"
],
"question_spider": "Find the student first and last names and grade points of all enrollments.",
"question": "找到所有注册学生的名字、姓氏和分数。",
"question_cspider": "找到所有注册学生的名字、姓氏和分数。",
"Harold": "BLEU = 29.63, 70.0/42.1/22.2/11.8 (BP=1.000, ratio=1.111, hyp_len=20, ref_len=18)",
"question_toks": [
"查",
"找",
"所",
"有",
"招",
"生",
"的",
"学",
"生",
"的",
"名",
"字",
"和",
"姓",
"氏",
"以",
"及",
"分",
"数",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T3.Fname , T3.LName , T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID",
"query_toks": [
"SELECT",
"T3.Fname",
",",
"T3.LName",
",",
"T2.gradepoint",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID"
],
"query_toks_no_value": [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
",",
"t2",
".",
"gradepoint",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid"
],
"question_spider": "What are the full names and gradepoints for all enrollments?",
"question": "所有注册学生的全名和分数是什么?",
"question_cspider": "所有注册学生的全名和分数是什么?",
"Harold": "BLEU = 35.45, 85.7/53.8/33.3/18.2 (BP=0.867, ratio=0.875, hyp_len=14, ref_len=16)",
"question_toks": [
"所",
"有",
"入",
"学",
"的",
"全",
"名",
"和",
"学",
"分",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T2.gradepoint >= 3.8",
"query_toks": [
"SELECT",
"DISTINCT",
"T3.Fname",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T2.gradepoint",
">",
"=",
"3.8"
],
"query_toks_no_value": [
"select",
"distinct",
"t3",
".",
"fname",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t2",
".",
"gradepoint",
">",
"=",
"value"
],
"question_spider": "Find the distinct student first names of all students that have grade point at least 3.8 in one course.",
"question": "找出一门课程的分数至少是3.8的所有学生的不同名字。",
"question_cspider": "找出一门课程的分数至少是3.8的所有学生的不同名字。",
"Harold": "BLEU = 36.26, 75.9/50.0/29.6/15.4 (BP=1.000, ratio=1.115, hyp_len=29, ref_len=26)",
"question_toks": [
"在",
"一",
"个",
"课",
"程",
"中",
"找",
"到",
"所",
"有",
"分",
"数",
"至",
"少",
"为",
"3",
".",
"8",
"的",
"学",
"生",
"的",
"不",
"同",
"学",
"生",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
true,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
5,
[
0,
[
0,
39,
false
],
null
],
3.8,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T2.gradepoint >= 3.8",
"query_toks": [
"SELECT",
"DISTINCT",
"T3.Fname",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T2.gradepoint",
">",
"=",
"3.8"
],
"query_toks_no_value": [
"select",
"distinct",
"t3",
".",
"fname",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t2",
".",
"gradepoint",
">",
"=",
"value"
],
"question_spider": "What are the distinct first names for students with a grade point of 3.8 or above in at least one course?",
"question": "在至少一门课程中,成绩在3.8或以上的学生的名字是什么?",
"question_cspider": "在至少一门课程中,成绩在3.8或以上的学生的名字是什么?",
"Harold": "BLEU = 64.41, 83.9/70.0/58.6/50.0 (BP=1.000, ratio=1.107, hyp_len=31, ref_len=28)",
"question_toks": [
"在",
"至",
"少",
"一",
"门",
"课",
"程",
"中",
",",
"成",
"绩",
"达",
"到",
"3",
".",
"8",
"或",
"以",
"上",
"的",
"学",
"生",
"有",
"什",
"么",
"不",
"同",
"的",
"名",
"字",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
true,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
5,
[
0,
[
0,
39,
false
],
null
],
3.8,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.Fname , T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID = T2.FacID WHERE T2.DNO = 520",
"query_toks": [
"SELECT",
"T1.Fname",
",",
"T1.Lname",
"FROM",
"FACULTY",
"AS",
"T1",
"JOIN",
"MEMBER_OF",
"AS",
"T2",
"ON",
"T1.FacID",
"=",
"T2.FacID",
"WHERE",
"T2.DNO",
"=",
"520"
],
"query_toks_no_value": [
"select",
"t1",
".",
"fname",
",",
"t1",
".",
"lname",
"from",
"faculty",
"as",
"t1",
"join",
"member_of",
"as",
"t2",
"on",
"t1",
".",
"facid",
"=",
"t2",
".",
"facid",
"where",
"t2",
".",
"dno",
"=",
"value"
],
"question_spider": "Find the full names of faculties who are members of department with department number 520.",
"question": "查找系号为520的系人员中教员的全名。",
"question_cspider": "查找系号为520的系人员中教员的全名。",
"Harold": "BLEU = 67.60, 93.8/86.7/78.6/69.2 (BP=0.829, ratio=0.842, hyp_len=16, ref_len=19)",
"question_toks": [
"查",
"找",
"系",
"号",
"为",
"5",
"2",
"0",
"的",
"系",
"成",
"员",
"的",
"全",
"名",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
23,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
24,
false
],
null
],
520,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T1.Fname , T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID = T2.FacID WHERE T2.DNO = 520",
"query_toks": [
"SELECT",
"T1.Fname",
",",
"T1.Lname",
"FROM",
"FACULTY",
"AS",
"T1",
"JOIN",
"MEMBER_OF",
"AS",
"T2",
"ON",
"T1.FacID",
"=",
"T2.FacID",
"WHERE",
"T2.DNO",
"=",
"520"
],
"query_toks_no_value": [
"select",
"t1",
".",
"fname",
",",
"t1",
".",
"lname",
"from",
"faculty",
"as",
"t1",
"join",
"member_of",
"as",
"t2",
"on",
"t1",
".",
"facid",
"=",
"t2",
".",
"facid",
"where",
"t2",
".",
"dno",
"=",
"value"
],
"question_spider": "What are the full names of faculty members who are a part of department 520?",
"question": "系号为520的系人员中教员的全名是什么?",
"question_cspider": "系号为520的系人员中教员的全名是什么?",
"Harold": "BLEU = 49.09, 82.4/62.5/53.3/42.9 (BP=0.838, ratio=0.850, hyp_len=17, ref_len=20)",
"question_toks": [
"隶",
"属",
"于",
"5",
"2",
"0",
"系",
"的",
"教",
"员",
"的",
"全",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
23,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
24,
false
],
null
],
520,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID = T2.StuID WHERE T1.DNO = 140",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"MINOR_IN",
"AS",
"T1",
"JOIN",
"STUDENT",
"AS",
"T2",
"ON",
"T1.StuID",
"=",
"T2.StuID",
"WHERE",
"T1.DNO",
"=",
"140"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"minor_in",
"as",
"t1",
"join",
"student",
"as",
"t2",
"on",
"t1",
".",
"stuid",
"=",
"t2",
".",
"stuid",
"where",
"t1",
".",
"dno",
"=",
"value"
],
"question_spider": "What are the first names and last names of the students that minor in the department with DNO 140.",
"question": "在“DNO 140”系辅修的学生的名字和姓氏是什么?",
"question_cspider": "在DNO 140系辅修的学生的名字和姓氏是什么?",
"Harold": "BLEU = 53.02, 72.4/53.6/48.1/42.3 (BP=1.000, ratio=1.261, hyp_len=29, ref_len=23)",
"question_toks": [
"使",
"用",
"D",
"N",
"O",
" ",
"1",
"4",
"0",
"在",
"该",
"系",
"修",
"读",
"的",
"未",
"成",
"年",
"学",
"生",
"的",
"名",
"字",
"和",
"姓",
"氏",
"是",
"什",
"么",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
33,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
34,
false
],
null
],
140,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Fname , T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID = T2.StuID WHERE T1.DNO = 140",
"query_toks": [
"SELECT",
"T2.Fname",
",",
"T2.Lname",
"FROM",
"MINOR_IN",
"AS",
"T1",
"JOIN",
"STUDENT",
"AS",
"T2",
"ON",
"T1.StuID",
"=",
"T2.StuID",
"WHERE",
"T1.DNO",
"=",
"140"
],
"query_toks_no_value": [
"select",
"t2",
".",
"fname",
",",
"t2",
".",
"lname",
"from",
"minor_in",
"as",
"t1",
"join",
"student",
"as",
"t2",
"on",
"t1",
".",
"stuid",
"=",
"t2",
".",
"stuid",
"where",
"t1",
".",
"dno",
"=",
"value"
],
"question_spider": "What are the full names of students minoring in department 140?",
"question": "参与140系辅修课程的学生的全名是什么?",
"question_cspider": "参与140系辅修课程的学生的全名是什么?",
"Harold": "BLEU = 53.95, 77.8/64.7/56.2/46.7 (BP=0.895, ratio=0.900, hyp_len=18, ref_len=20)",
"question_toks": [
"1",
"4",
"0",
"系",
"中",
"的",
"未",
"成",
"年",
"学",
"生",
"的",
"全",
"名",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
5
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
33,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
34,
false
],
null
],
140,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO = T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID = T3.FacID WHERE T1.DName = \"Computer Science\"",
"query_toks": [
"SELECT",
"T2.Lname",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T3.DNO",
"JOIN",
"MEMBER_OF",
"AS",
"T3",
"ON",
"T2.FacID",
"=",
"T3.FacID",
"WHERE",
"T1.DName",
"=",
"``",
"Computer",
"Science",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"lname",
"from",
"department",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t3",
".",
"dno",
"join",
"member_of",
"as",
"t3",
"on",
"t2",
".",
"facid",
"=",
"t3",
".",
"facid",
"where",
"t1",
".",
"dname",
"=",
"value"
],
"question_spider": "Find the last names of faculties who are members of computer science department.",
"question": "查找“Computer Science”系成员的姓氏。",
"question_cspider": "查找“Computer Science”系成员的姓氏。",
"Harold": "BLEU = 46.40, 73.7/61.1/41.2/25.0 (BP=1.000, ratio=1.188, hyp_len=19, ref_len=16)",
"question_toks": [
"查",
"找",
"属",
"于",
"计",
"算",
"机",
"科",
"学",
"系",
"成",
"员",
"的",
"学",
"院",
"的",
"姓",
"氏",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
24,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
23,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
"\"Computer Science\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO = T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID = T3.FacID WHERE T1.DName = \"Computer Science\"",
"query_toks": [
"SELECT",
"T2.Lname",
"FROM",
"DEPARTMENT",
"AS",
"T1",
"JOIN",
"FACULTY",
"AS",
"T2",
"ON",
"T1.DNO",
"=",
"T3.DNO",
"JOIN",
"MEMBER_OF",
"AS",
"T3",
"ON",
"T2.FacID",
"=",
"T3.FacID",
"WHERE",
"T1.DName",
"=",
"``",
"Computer",
"Science",
"''"
],
"query_toks_no_value": [
"select",
"t2",
".",
"lname",
"from",
"department",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"dno",
"=",
"t3",
".",
"dno",
"join",
"member_of",
"as",
"t3",
"on",
"t2",
".",
"facid",
"=",
"t3",
".",
"facid",
"where",
"t1",
".",
"dname",
"=",
"value"
],
"question_spider": "What are the last names of faculty who are part of the computer science department?",
"question": "“Computer Science”系教员的姓氏是什么?",
"question_cspider": "“Computer Science”系教员的姓氏是什么?",
"Harold": "BLEU = 55.00, 77.8/58.8/50.0/40.0 (BP=1.000, ratio=1.059, hyp_len=18, ref_len=17)",
"question_toks": [
"属",
"于",
"计",
"算",
"机",
"科",
"学",
"系",
"的",
"教",
"师",
"的",
"姓",
"氏",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
17,
false
],
null
],
[
0,
24,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
23,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
10,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
19,
false
],
null
],
"\"Computer Science\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT avg(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = \"Smith\"",
"query_toks": [
"SELECT",
"avg",
"(",
"T2.gradepoint",
")",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T3.LName",
"=",
"``",
"Smith",
"''"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"t2",
".",
"gradepoint",
")",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
".",
"lname",
"=",
"value"
],
"question_spider": "Find the average grade point of student whose last name is Smith.",
"question": "找出姓“Smith”的学生的平均成绩。",
"question_cspider": "找出姓“Smith”的学生的平均成绩。",
"Harold": "BLEU = 57.96, 73.3/57.1/53.8/50.0 (BP=1.000, ratio=1.000, hyp_len=15, ref_len=15)",
"question_toks": [
"查",
"找",
"姓",
"史",
"密",
"斯",
"的",
"学",
"生",
"的",
"平",
"均",
"成",
"绩",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
5,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"Smith\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT avg(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = \"Smith\"",
"query_toks": [
"SELECT",
"avg",
"(",
"T2.gradepoint",
")",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T3.LName",
"=",
"``",
"Smith",
"''"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"t2",
".",
"gradepoint",
")",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
".",
"lname",
"=",
"value"
],
"question_spider": "What is the average gradepoint for students with the last name Smith?",
"question": "姓“Smith”的学生平均成绩是多少?",
"question_cspider": "姓“Smith”的学生平均成绩是多少?",
"Harold": "BLEU = 54.24, 75.0/60.0/50.0/38.5 (BP=1.000, ratio=1.067, hyp_len=16, ref_len=15)",
"question_toks": [
"姓",
"史",
"密",
"斯",
"的",
"学",
"生",
"的",
"平",
"均",
"成",
"绩",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
5,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"Smith\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT max(T2.gradepoint) , min(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.city_code = \"NYC\"",
"query_toks": [
"SELECT",
"max",
"(",
"T2.gradepoint",
")",
",",
"min",
"(",
"T2.gradepoint",
")",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T3.city_code",
"=",
"``",
"NYC",
"''"
],
"query_toks_no_value": [
"select",
"max",
"(",
"t2",
".",
"gradepoint",
")",
",",
"min",
"(",
"t2",
".",
"gradepoint",
")",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
".",
"city_code",
"=",
"value"
],
"question_spider": "What is the maximum and minimum grade point of students who live in NYC?",
"question": "住在“NYC”的生的最高和最低分数是多少?",
"question_cspider": "住在“Los Angeles”的生的最高和最低分数是多少?",
"Harold": "BLEU = 62.06, 76.5/75.0/73.3/71.4 (BP=0.838, ratio=0.850, hyp_len=17, ref_len=20)",
"question_toks": [
"纽",
"约",
"市",
"学",
"生",
"的",
"最",
"高",
"和",
"最",
"低",
"分",
"数",
"是",
"多",
"少",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
1,
[
0,
[
0,
39,
false
],
null
]
],
[
2,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
8,
false
],
null
],
"\"NYC\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT max(T2.gradepoint) , min(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.city_code = \"NYC\"",
"query_toks": [
"SELECT",
"max",
"(",
"T2.gradepoint",
")",
",",
"min",
"(",
"T2.gradepoint",
")",
"FROM",
"ENROLLED_IN",
"AS",
"T1",
"JOIN",
"GRADECONVERSION",
"AS",
"T2",
"JOIN",
"STUDENT",
"AS",
"T3",
"ON",
"T1.Grade",
"=",
"T2.lettergrade",
"AND",
"T1.StuID",
"=",
"T3.StuID",
"WHERE",
"T3.city_code",
"=",
"``",
"NYC",
"''"
],
"query_toks_no_value": [
"select",
"max",
"(",
"t2",
".",
"gradepoint",
")",
",",
"min",
"(",
"t2",
".",
"gradepoint",
")",
"from",
"enrolled_in",
"as",
"t1",
"join",
"gradeconversion",
"as",
"t2",
"join",
"student",
"as",
"t3",
"on",
"t1",
".",
"grade",
"=",
"t2",
".",
"lettergrade",
"and",
"t1",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
".",
"city_code",
"=",
"value"
],
"question_spider": "Give the maximum and minimum gradepoints for students living in NYC?",
"question": "给出住在“NYC”的学生的最高和最低分数。",
"question_cspider": "给出住在“Los Angeles”的学生的最高和最低分数。",
"Harold": "BLEU = 27.06, 57.9/38.9/23.5/12.5 (BP=0.949, ratio=0.950, hyp_len=19, ref_len=20)",
"question_toks": [
"给",
"住",
"在",
"纽",
"约",
"的",
"学",
"生",
"提",
"供",
"最",
"高",
"和",
"最",
"低",
"成",
"绩",
"吗",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
6
],
[
"table_unit",
7
],
[
"table_unit",
0
]
],
"conds": [
[
false,
2,
[
0,
[
0,
37,
false
],
null
],
[
0,
38,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
35,
false
],
null
],
[
0,
1,
false
],
null
]
]
},
"select": [
false,
[
[
1,
[
0,
[
0,
39,
false
],
null
]
],
[
2,
[
0,
[
0,
39,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
8,
false
],
null
],
"\"NYC\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Credits = 3 UNION SELECT CName FROM COURSE WHERE Credits = 1 AND Hours = 4",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"3",
"UNION",
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"1",
"AND",
"Hours",
"=",
"4"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value",
"union",
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value",
"and",
"hours",
"=",
"value"
],
"question_spider": "Find the names of courses that have either 3 credits or 1 credit but 4 hours.",
"question": "查找学分为3学分或有1学分但有4学时的课程名称。",
"question_cspider": "查找学分为3学分或有1学分但有4学时的课程名称。",
"Harold": "BLEU = 39.00, 82.6/50.0/33.3/20.0 (BP=0.957, ratio=0.958, hyp_len=23, ref_len=24)",
"question_toks": [
"查",
"找",
"具",
"有",
"3",
"个",
"学",
"分",
"或",
"1",
"个",
"学",
"分",
"但",
"4",
"小",
"时",
"的",
"课",
"程",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
3,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
1,
null
],
"and",
[
false,
2,
[
0,
[
0,
31,
false
],
null
],
4,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT CName FROM COURSE WHERE Credits = 3 UNION SELECT CName FROM COURSE WHERE Credits = 1 AND Hours = 4",
"query_toks": [
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"3",
"UNION",
"SELECT",
"CName",
"FROM",
"COURSE",
"WHERE",
"Credits",
"=",
"1",
"AND",
"Hours",
"=",
"4"
],
"query_toks_no_value": [
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value",
"union",
"select",
"cname",
"from",
"course",
"where",
"credits",
"=",
"value",
"and",
"hours",
"=",
"value"
],
"question_spider": "What are the names of courses that give either 3 credits, or 1 credit and 4 hours?",
"question": "学分为3学分或有1学分但有4学时的课程名称是什么?",
"question_cspider": "学分为3学分或有1学分但有4学时的课程名称是什么?",
"Harold": "BLEU = 31.37, 63.0/38.5/24.0/16.7 (BP=1.000, ratio=1.080, hyp_len=27, ref_len=25)",
"question_toks": [
"可",
"获",
"得",
"3",
"个",
"学",
"分",
",",
"1",
"个",
"学",
"分",
"和",
"4",
"个",
"小",
"时",
"的",
"课",
"程",
"的",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
3,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
4
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
27,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
28,
false
],
null
],
1,
null
],
"and",
[
false,
2,
[
0,
[
0,
31,
false
],
null
],
4,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT WHERE Division = \"AS\" UNION SELECT DName FROM DEPARTMENT WHERE Division = \"EN\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"AS",
"''",
"UNION",
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"EN",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"where",
"division",
"=",
"value",
"union",
"select",
"dname",
"from",
"department",
"where",
"division",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "Find the names of departments that are either in division AS or in division EN and in Building NEB.",
"question": "查找在“AS”部门或在“EN”部门和建筑“NEB”的部门的名称。",
"question_cspider": "查找在“AS”部门或在“EN”部门和建筑“NEB”的部门的名称。",
"Harold": "BLEU = 19.98, 40.6/25.8/16.7/10.3 (BP=0.969, ratio=0.970, hyp_len=32, ref_len=33)",
"question_toks": [
"在",
"A",
"S",
"部",
"门",
"或",
"E",
"N",
"部",
"门",
"以",
"及",
"B",
"u",
"i",
"l",
"d",
"i",
"n",
"g",
" ",
"N",
"E",
"B",
"中",
"找",
"到",
"部",
"门",
"的",
"名",
"称",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"AS\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"EN\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT DName FROM DEPARTMENT WHERE Division = \"AS\" UNION SELECT DName FROM DEPARTMENT WHERE Division = \"EN\" AND Building = \"NEB\"",
"query_toks": [
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"AS",
"''",
"UNION",
"SELECT",
"DName",
"FROM",
"DEPARTMENT",
"WHERE",
"Division",
"=",
"``",
"EN",
"''",
"AND",
"Building",
"=",
"``",
"NEB",
"''"
],
"query_toks_no_value": [
"select",
"dname",
"from",
"department",
"where",
"division",
"=",
"value",
"union",
"select",
"dname",
"from",
"department",
"where",
"division",
"=",
"value",
"and",
"building",
"=",
"value"
],
"question_spider": "What are the names of departments either in division AS, or in division EN and in building NEB?",
"question": "在“AS”部门或在“EN”部门和建筑“NEB”部门的名称是什么?",
"question_cspider": "在“AS”部门或在“EN”部门和建筑“NEB”部门的名称是什么?",
"Harold": "BLEU = 22.05, 62.5/43.5/27.3/14.3 (BP=0.687, ratio=0.727, hyp_len=24, ref_len=33)",
"question_toks": [
"A",
"S",
"部",
"门",
",",
"E",
"N",
"部",
"门",
"和",
"N",
"E",
"B",
"部",
"门",
"的",
"部",
"门",
"名",
"称",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"AS\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": {
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"EN\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
21,
false
],
null
],
"\"NEB\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"STUDENT",
"WHERE",
"StuID",
"NOT",
"IN",
"(",
"SELECT",
"StuID",
"FROM",
"ENROLLED_IN",
")"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"student",
"where",
"stuid",
"not",
"in",
"(",
"select",
"stuid",
"from",
"enrolled_in",
")"
],
"question_spider": "Find the first name of students not enrolled in any course.",
"question": "找到不参加任何课程的学生的名字。",
"question_cspider": "找到不参加任何课程的学生的名字。",
"Harold": "BLEU = 80.65, 87.5/80.0/78.6/76.9 (BP=1.000, ratio=1.000, hyp_len=16, ref_len=16)",
"question_toks": [
"查",
"找",
"未",
"参",
"加",
"任",
"何",
"课",
"程",
"的",
"学",
"生",
"的",
"名",
"字",
"。"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
35,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "college_3",
"query": "SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)",
"query_toks": [
"SELECT",
"Fname",
"FROM",
"STUDENT",
"WHERE",
"StuID",
"NOT",
"IN",
"(",
"SELECT",
"StuID",
"FROM",
"ENROLLED_IN",
")"
],
"query_toks_no_value": [
"select",
"fname",
"from",
"student",
"where",
"stuid",
"not",
"in",
"(",
"select",
"stuid",
"from",
"enrolled_in",
")"
],
"question_spider": "What are the first names of all students that are not enrolled in courses?",
"question": "没有参加课程的所有学生的名字是什么?",
"question_cspider": "没有参加课程的所有学生的名字是什么?",
"Harold": "BLEU = 88.17, 94.1/93.8/93.3/92.9 (BP=0.943, ratio=0.944, hyp_len=17, ref_len=18)",
"question_toks": [
"未",
"参",
"加",
"课",
"程",
"的",
"所",
"有",
"学",
"生",
"的",
"名",
"字",
"是",
"什",
"么",
"?"
],
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
6
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
35,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
]