data_source
stringclasses 1
value | prompt
listlengths 1
1
| ablility
stringclasses 1
value | reward_model
dict | extro_info
dict | agent_name
stringclasses 1
value |
|---|---|---|---|---|---|
table_discovery
|
[
{
"content": "Query: Which SME customer consumed the least in June 2012?\nEvidence: June 2012 refers to yearmonth.date = '201206'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"debit_card_specializing.customers",
"debit_card_specializing.yearmonth"
],
"style": "rule"
}
|
{
"ground_truth": [
"debit_card_specializing.customers",
"debit_card_specializing.yearmonth"
],
"question": "Query: Which SME customer consumed the least in June 2012?\nEvidence: June 2012 refers to yearmonth.date = '201206'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: List all the elements of the toxicology of the molecule \"TR004\".\nEvidence: TR004 is the molecule id;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.atom"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.atom"
],
"question": "Query: List all the elements of the toxicology of the molecule \"TR004\".\nEvidence: TR004 is the molecule id;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Determine the bond type that is formed in the chemical compound containing element Carbon.\nEvidence: Carbon refers to element = 'c'; double bond refers to bond_type = ' = '; single bond refers to bond_type = '-'; triple bond refers to bond_type = '#';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.bond"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.bond"
],
"question": "Query: Determine the bond type that is formed in the chemical compound containing element Carbon.\nEvidence: Carbon refers to element = 'c'; double bond refers to bond_type = ' = '; single bond refers to bond_type = '-'; triple bond refers to bond_type = '#';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the passing class of CLB team?\nEvidence: passing class refers to buildUpPlayPassingClass; CLB refers to team_short_name = 'CLB';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Team",
"european_football_2.Team_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Team",
"european_football_2.Team_Attributes"
],
"question": "Query: What is the passing class of CLB team?\nEvidence: passing class refers to buildUpPlayPassingClass; CLB refers to team_short_name = 'CLB';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which patient has a normal proteinuria level and is diagnosed with SLE? Please give his or her patient ID.\nEvidence: normal proteinuria level refers to 0 < `U-PRO` < 30; diagnosed with SLE refers to Diagnosis = 'SLE';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"style": "rule"
}
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"question": "Query: Which patient has a normal proteinuria level and is diagnosed with SLE? Please give his or her patient ID.\nEvidence: normal proteinuria level refers to 0 < `U-PRO` < 30; diagnosed with SLE refers to Diagnosis = 'SLE';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How many test takers are there at the school/s whose mailing city address is in Fresno?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"california_schools.satscores",
"california_schools.schools"
],
"style": "rule"
}
|
{
"ground_truth": [
"california_schools.satscores",
"california_schools.schools"
],
"question": "Query: How many test takers are there at the school/s whose mailing city address is in Fresno?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Name the foreign name of the card that has boros watermark? List out the type of this card.\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.cards",
"card_games.foreign_data"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.cards",
"card_games.foreign_data"
],
"question": "Query: Name the foreign name of the card that has boros watermark? List out the type of this card.\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Provide list of patients and their diagnosis with triglyceride (TG) index greater than 100 of the normal range?\nEvidence: triglyceride (TG) index greater than 100 of the normal range refers to TG > 300;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"style": "rule"
}
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"question": "Query: Provide list of patients and their diagnosis with triglyceride (TG) index greater than 100 of the normal range?\nEvidence: triglyceride (TG) index greater than 100 of the normal range refers to TG > 300;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: From Year 1995 to 2000, who are the accounts holders from 'east Bohemia'. State the account ID the frequency of statement issuance.\nEvidence: Accounts holder refers to the person who own this account..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"financial.account",
"financial.district"
],
"style": "rule"
}
|
{
"ground_truth": [
"financial.account",
"financial.district"
],
"question": "Query: From Year 1995 to 2000, who are the accounts holders from 'east Bohemia'. State the account ID the frequency of statement issuance.\nEvidence: Accounts holder refers to the person who own this account..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: List all races in 2017 and the hosting country order by date of the event.\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.circuits",
"formula_1.races"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.circuits",
"formula_1.races"
],
"question": "Query: List all races in 2017 and the hosting country order by date of the event.\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: List the players' api id who had the highest above average overall ratings in 2010.\nEvidence: highest above average overall ratings refers to MAX(overall_rating); in 2010 refers to substr(date,1,4) = '2010';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Player_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Player_Attributes"
],
"question": "Query: List the players' api id who had the highest above average overall ratings in 2010.\nEvidence: highest above average overall ratings refers to MAX(overall_rating); in 2010 refers to substr(date,1,4) = '2010';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: In the molecule TR008, how many carbons are present?\nEvidence: carbon refers to element = 'c'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.atom"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.atom"
],
"question": "Query: In the molecule TR008, how many carbons are present?\nEvidence: carbon refers to element = 'c'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How many superheroes have the super power of \"Super Strength\"?\nEvidence: super power of \"Super Strength\" refers to power_name = 'Super Strength'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"superhero.hero_power",
"superhero.superpower"
],
"style": "rule"
}
|
{
"ground_truth": [
"superhero.hero_power",
"superhero.superpower"
],
"question": "Query: How many superheroes have the super power of \"Super Strength\"?\nEvidence: super power of \"Super Strength\" refers to power_name = 'Super Strength'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Please list the lap records for the circuits in Italy.\nEvidence: lap record means the fastest time recorded which refers to time.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.circuits",
"formula_1.fastest_lap_times",
"formula_1.races",
"formula_1.results"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.circuits",
"formula_1.fastest_lap_times",
"formula_1.races",
"formula_1.results"
],
"question": "Query: Please list the lap records for the circuits in Italy.\nEvidence: lap record means the fastest time recorded which refers to time.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Please list the constructor names with 0 points at race 291.\nEvidence: race at 291 refers to raceID = 291;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.constructorStandings",
"formula_1.constructors"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.constructorStandings",
"formula_1.constructors"
],
"question": "Query: Please list the constructor names with 0 points at race 291.\nEvidence: race at 291 refers to raceID = 291;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Please list the phone numbers of the members who majored in business at the College of Agriculture and Applied Sciences.\nEvidence: 'College of Agriculture and Applied Sciences' is the college; majored in business refers to major_name = 'Business'; phone numbers refers to phone.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"student_club.major",
"student_club.member"
],
"style": "rule"
}
|
{
"ground_truth": [
"student_club.major",
"student_club.member"
],
"question": "Query: Please list the phone numbers of the members who majored in business at the College of Agriculture and Applied Sciences.\nEvidence: 'College of Agriculture and Applied Sciences' is the college; majored in business refers to major_name = 'Business'; phone numbers refers to phone.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which of these circuits is located at a higher latitude, Silverstone Circuit, Hockenheimring or Hungaroring?\nEvidence: higher latitude refers to max(lat).\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.circuits"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.circuits"
],
"question": "Query: Which of these circuits is located at a higher latitude, Silverstone Circuit, Hockenheimring or Hungaroring?\nEvidence: higher latitude refers to max(lat).\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Write down the related posts titles and link type IDs of the post \"What are principal component scores?\".\nEvidence: Title = 'What are principal component scores?';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.postLinks",
"codebase_community.posts"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.postLinks",
"codebase_community.posts"
],
"question": "Query: Write down the related posts titles and link type IDs of the post \"What are principal component scores?\".\nEvidence: Title = 'What are principal component scores?';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the mana cost of cards with a normal layout, a 2003 frame version, with a black border color, and available in paper and mtgo?\nEvidence: available in paper and mtgo refers to availability = 'mtgo,paper'; frameVersion = 2003;borderColor = 'black'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.cards"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.cards"
],
"question": "Query: What is the mana cost of cards with a normal layout, a 2003 frame version, with a black border color, and available in paper and mtgo?\nEvidence: available in paper and mtgo refers to availability = 'mtgo,paper'; frameVersion = 2003;borderColor = 'black'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What are the symptoms observed by the youngest patient to ever did a medical examination? Identify their diagnosis.\nEvidence: The larger the birthday value, the younger the person is, and vice versa; symptoms observed refers to the symptoms is not NULL.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"thrombosis_prediction.Examination",
"thrombosis_prediction.Patient"
],
"style": "rule"
}
|
{
"ground_truth": [
"thrombosis_prediction.Examination",
"thrombosis_prediction.Patient"
],
"question": "Query: What are the symptoms observed by the youngest patient to ever did a medical examination? Identify their diagnosis.\nEvidence: The larger the birthday value, the younger the person is, and vice versa; symptoms observed refers to the symptoms is not NULL.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the biggest monthly consumption of the customers who use euro as their currency?\nEvidence: Monthly consumption = SUM(consumption) / 12.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"debit_card_specializing.customers",
"debit_card_specializing.yearmonth"
],
"style": "rule"
}
|
{
"ground_truth": [
"debit_card_specializing.customers",
"debit_card_specializing.yearmonth"
],
"question": "Query: What is the biggest monthly consumption of the customers who use euro as their currency?\nEvidence: Monthly consumption = SUM(consumption) / 12.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which year has the most number of races?\nEvidence: the most number of races refers to max(round);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.races"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.races"
],
"question": "Query: Which year has the most number of races?\nEvidence: the most number of races refers to max(round);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How much did the Student_Club members spend on advertisement in September Meeting?\nEvidence: amount spent refers to spent; spend on food in September Meeting refers to category = 'Advertisement' where event_name = 'September Meeting'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"student_club.budget",
"student_club.event"
],
"style": "rule"
}
|
{
"ground_truth": [
"student_club.budget",
"student_club.event"
],
"question": "Query: How much did the Student_Club members spend on advertisement in September Meeting?\nEvidence: amount spent refers to spent; spend on food in September Meeting refers to category = 'Advertisement' where event_name = 'September Meeting'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Calculate the total carcinogenic molecules for molecule id from TR000 to TR030.\nEvidence: label = '+' mean molecules are carcinogenic.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.molecule"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.molecule"
],
"question": "Query: Calculate the total carcinogenic molecules for molecule id from TR000 to TR030.\nEvidence: label = '+' mean molecules are carcinogenic.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: In the non-carcinogenic molecules, how many contain chlorine atoms?\nEvidence: non-carcinogenic molecules refers to label = '-'; chlorine atoms refers to element = 'cl'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.molecule"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.molecule"
],
"question": "Query: In the non-carcinogenic molecules, how many contain chlorine atoms?\nEvidence: non-carcinogenic molecules refers to label = '-'; chlorine atoms refers to element = 'cl'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Mention the category of events which were held at MU 215.\nEvidence: held at MU 215 refers to location = 'MU 215'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"student_club.budget",
"student_club.event"
],
"style": "rule"
}
|
{
"ground_truth": [
"student_club.budget",
"student_club.event"
],
"question": "Query: Mention the category of events which were held at MU 215.\nEvidence: held at MU 215 refers to location = 'MU 215'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How many students in the Student_Club are from the College of Engineering?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"student_club.major",
"student_club.member"
],
"style": "rule"
}
|
{
"ground_truth": [
"student_club.major",
"student_club.member"
],
"question": "Query: How many students in the Student_Club are from the College of Engineering?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What are the patient's diagnosis for those who has lower red blood blood cell? State their ID and age.\nEvidence: patient's diagnosis refers to Diagnosis; lower red blood cell refers to RBC < 3.5; age = SUBTRACT(year(current_timestamp), year(Birthday)); .\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"style": "rule"
}
|
{
"ground_truth": [
"thrombosis_prediction.Laboratory",
"thrombosis_prediction.Patient"
],
"question": "Query: What are the patient's diagnosis for those who has lower red blood blood cell? State their ID and age.\nEvidence: patient's diagnosis refers to Diagnosis; lower red blood cell refers to RBC < 3.5; age = SUBTRACT(year(current_timestamp), year(Birthday)); .\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Among the players with an overall rating between 60 to 65, how many players whose going to be in all of your attack moves instead of defensing?\nEvidence: overall_rating > = 60 AND overall_rating < 65; players whose going to be in all of your attack moves instead of defensing refers to defensive_work_rate = 'low';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Player_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Player_Attributes"
],
"question": "Query: Among the players with an overall rating between 60 to 65, how many players whose going to be in all of your attack moves instead of defensing?\nEvidence: overall_rating > = 60 AND overall_rating < 65; players whose going to be in all of your attack moves instead of defensing refers to defensive_work_rate = 'low';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Calculate the percentage whereby Hamilton was not at the 1st track of the the f1 circuit since 2010.\nEvidence: percentage = DIVIDE(COUNT(raceId) where surname = 'Hamilton' and position>1), (COUNT(raceId) where surname = 'Hamilton'); since 2010 refers to year >= 2010.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.driverStandings",
"formula_1.drivers",
"formula_1.races"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.driverStandings",
"formula_1.drivers",
"formula_1.races"
],
"question": "Query: Calculate the percentage whereby Hamilton was not at the 1st track of the the f1 circuit since 2010.\nEvidence: percentage = DIVIDE(COUNT(raceId) where surname = 'Hamilton' and position>1), (COUNT(raceId) where surname = 'Hamilton'); since 2010 refers to year >= 2010.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: For all the drivers who finished the game in race No. 872, who is the youngest?\nEvidence: race number refers to raceId; drivers who finished the race refers to time has value; the youngest is a driver where MAX(dob);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.drivers",
"formula_1.results"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.drivers",
"formula_1.results"
],
"question": "Query: For all the drivers who finished the game in race No. 872, who is the youngest?\nEvidence: race number refers to raceId; drivers who finished the race refers to time has value; the youngest is a driver where MAX(dob);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which foot is preferred by Abdou Diallo?\nEvidence: Abdou Diallo refers to player_name = 'Abdou Diallo'; foot is preferred refers to preferred_foot.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"question": "Query: Which foot is preferred by Abdou Diallo?\nEvidence: Abdou Diallo refers to player_name = 'Abdou Diallo'; foot is preferred refers to preferred_foot.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Please provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order.\nEvidence: don't appear in Magic: The Gathering Online refers to mtgoCode is NULL or mtgoCode = ''.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.sets"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.sets"
],
"question": "Query: Please provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order.\nEvidence: don't appear in Magic: The Gathering Online refers to mtgoCode is NULL or mtgoCode = ''.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Among the molecules which contain \"cl\" element, which of them are carcinogenic?\nEvidence: label = '+' mean molecules are carcinogenic;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.molecule"
],
"style": "rule"
}
|
{
"ground_truth": [
"toxicology.atom",
"toxicology.molecule"
],
"question": "Query: Among the molecules which contain \"cl\" element, which of them are carcinogenic?\nEvidence: label = '+' mean molecules are carcinogenic;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which superhero has the most durability published by Dark Horse Comics?\nEvidence: which superhero refers to superhero_name; most durability refers to MAX(attribute_value) WHERE attribute_name = 'durability'; published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"superhero.attribute",
"superhero.hero_attribute",
"superhero.publisher",
"superhero.superhero"
],
"style": "rule"
}
|
{
"ground_truth": [
"superhero.attribute",
"superhero.hero_attribute",
"superhero.publisher",
"superhero.superhero"
],
"question": "Query: Which superhero has the most durability published by Dark Horse Comics?\nEvidence: which superhero refers to superhero_name; most durability refers to MAX(attribute_value) WHERE attribute_name = 'durability'; published by Dark Horse Comics refers to publisher_name = 'Dark Horse Comics';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: List down the name of artists for cards in Chinese Simplified.\nEvidence: Chinese Simplified' is the language;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.cards",
"card_games.foreign_data"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.cards",
"card_games.foreign_data"
],
"question": "Query: List down the name of artists for cards in Chinese Simplified.\nEvidence: Chinese Simplified' is the language;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: State the set code of the set with release date of 07/13/2007?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.set_translations",
"card_games.sets"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.set_translations",
"card_games.sets"
],
"question": "Query: State the set code of the set with release date of 07/13/2007?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Which user created post ID 1 and what is the reputation of this user?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.comments",
"codebase_community.users"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.comments",
"codebase_community.users"
],
"question": "Query: Which user created post ID 1 and what is the reputation of this user?\nEvidence: (none provided)..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: For the drivers who took part in the race in 1983/7/16, what's their race completion rate?\nEvidence: DIVIDE(COUNT(driverid when time has value ), (COUNT(driverid )) as percentage; in 1983/7/16 refers to when date = '1983-07-16'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"formula_1.races",
"formula_1.results"
],
"style": "rule"
}
|
{
"ground_truth": [
"formula_1.races",
"formula_1.results"
],
"question": "Query: For the drivers who took part in the race in 1983/7/16, what's their race completion rate?\nEvidence: DIVIDE(COUNT(driverid when time has value ), (COUNT(driverid )) as percentage; in 1983/7/16 refers to when date = '1983-07-16'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: List the comments commented by the user with a username of Harvey Motulsky.\nEvidence: comments refer to Text; username of Harvey Motulsky refers to DisplayName = 'Harvey Motulsky';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.comments",
"codebase_community.users"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.comments",
"codebase_community.users"
],
"question": "Query: List the comments commented by the user with a username of Harvey Motulsky.\nEvidence: comments refer to Text; username of Harvey Motulsky refers to DisplayName = 'Harvey Motulsky';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: Please list the display names of all the users whose accounts were created in the year 2011.\nEvidence: account created in the year 2011 refers to year(CreationDate) = 2011.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.users"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.users"
],
"question": "Query: Please list the display names of all the users whose accounts were created in the year 2011.\nEvidence: account created in the year 2011 refers to year(CreationDate) = 2011.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the postal street address for the school with the 7th highest Math average? Indicate the school's name.\nEvidence: Postal street and mailing street are synonyms..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"california_schools.satscores",
"california_schools.schools"
],
"style": "rule"
}
|
{
"ground_truth": [
"california_schools.satscores",
"california_schools.schools"
],
"question": "Query: What is the postal street address for the school with the 7th highest Math average? Indicate the school's name.\nEvidence: Postal street and mailing street are synonyms..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: When did 'chl' cast its first vote in a post?\nEvidence: DisplayName = 'chl'; cast its first vote refers to MIN(CreationDate);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.users",
"codebase_community.votes"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.users",
"codebase_community.votes"
],
"question": "Query: When did 'chl' cast its first vote in a post?\nEvidence: DisplayName = 'chl'; cast its first vote refers to MIN(CreationDate);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How much higher in percentage is Ariel Borysiuk's overall rating than that of Paulin Puel?\nEvidence: how much higher in percentage = MULTIPLY(DIVIDE(SUBTRACT(overall_rating WHERE player_name = 'Ariel Borysiuk', overall_rating WHERE player_name = 'Paulin Puel'), overall_rating WHERE player_name = 'Paulin Puel'), 100);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"question": "Query: How much higher in percentage is Ariel Borysiuk's overall rating than that of Paulin Puel?\nEvidence: how much higher in percentage = MULTIPLY(DIVIDE(SUBTRACT(overall_rating WHERE player_name = 'Ariel Borysiuk', overall_rating WHERE player_name = 'Paulin Puel'), overall_rating WHERE player_name = 'Paulin Puel'), 100);.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the name and major of members who had to spend more than a hundred dollars on an expense?\nEvidence: full name refers to first_name, last_name; major of members refers to major_name; spend more than a hundred dollars on an expense refers to cost > 100.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"student_club.expense",
"student_club.major",
"student_club.member"
],
"style": "rule"
}
|
{
"ground_truth": [
"student_club.expense",
"student_club.major",
"student_club.member"
],
"question": "Query: What is the name and major of members who had to spend more than a hundred dollars on an expense?\nEvidence: full name refers to first_name, last_name; major of members refers to major_name; spend more than a hundred dollars on an expense refers to cost > 100.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How many posts were created by Daniel Vassallo?\nEvidence: DisplayName = 'Daniel Vassallo';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"codebase_community.postHistory",
"codebase_community.users"
],
"style": "rule"
}
|
{
"ground_truth": [
"codebase_community.postHistory",
"codebase_community.users"
],
"question": "Query: How many posts were created by Daniel Vassallo?\nEvidence: DisplayName = 'Daniel Vassallo';.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What are the superpowers of heroes with ID 1?\nEvidence: superpowers refers to power_name; heroes with ID 1 refers to hero_id = 1;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"superhero.hero_power",
"superhero.superpower"
],
"style": "rule"
}
|
{
"ground_truth": [
"superhero.hero_power",
"superhero.superpower"
],
"question": "Query: What are the superpowers of heroes with ID 1?\nEvidence: superpowers refers to power_name; heroes with ID 1 refers to hero_id = 1;.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?\nEvidence: Elementary School District refers to DOC = 52; Unified School District refers to DOC = 54..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"california_schools.schools"
],
"style": "rule"
}
|
{
"ground_truth": [
"california_schools.schools"
],
"question": "Query: What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?\nEvidence: Elementary School District refers to DOC = 52; Unified School District refers to DOC = 54..\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: How many color cards with no borders have been ranked higher than 12000 on EDHRec?\nEvidence: color cards with no borders refers to borderColor = 'borderless'; ranked higher than 12000 on EDHRec refers to edhrecRank > 12000.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"card_games.cards"
],
"style": "rule"
}
|
{
"ground_truth": [
"card_games.cards"
],
"question": "Query: How many color cards with no borders have been ranked higher than 12000 on EDHRec?\nEvidence: color cards with no borders refers to borderColor = 'borderless'; ranked higher than 12000 on EDHRec refers to edhrecRank > 12000.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
table_discovery
|
[
{
"content": "Query: What was the average overall rating for Marko Arnautovic from 2007/2/22 to 2016/4/21?\nEvidence: average overall rating refers to avg(overall_rating); Marko Arnautovic refers to player_name = 'Marko Arnautovic'; from 2007/2/22 to 2016/4/21 refers to the first 10 characters of date BETWEEN '2007-02-22' and '2016-04-21'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n",
"role": "user"
}
] |
sql
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"style": "rule"
}
|
{
"ground_truth": [
"european_football_2.Player",
"european_football_2.Player_Attributes"
],
"question": "Query: What was the average overall rating for Marko Arnautovic from 2007/2/22 to 2016/4/21?\nEvidence: average overall rating refers to avg(overall_rating); Marko Arnautovic refers to player_name = 'Marko Arnautovic'; from 2007/2/22 to 2016/4/21 refers to the first 10 characters of date BETWEEN '2007-02-22' and '2016-04-21'.\nThe results **must** be included in <answer></answer> tags, splitted by ','.\n"
}
|
ferry_agent
|
No dataset card yet
- Downloads last month
- 12