Fernandosr85/nl2vis-chart-spec-adapter
Text Generation • Updated • 1
prompt stringlengths 1.1k 6.93k | completion stringlengths 31 74 | enhanced_prompt null | enhanced_completion stringlengths 31 107 |
|---|---|---|---|
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- customer_id [number]
- customer_first_name [text]
- customer_middle_initial [text]
- customer_last_name [text]
- gender [text]
- email_address [text]
- login_name [text]
- login_password [text]
- phone_number [text]
- ... | SCATTER || account_name || account_id || NONE || NONE | null | SCATTER || account_id || account_name || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Customer_ID [number]
- Customer_Details [text]
- Policy_ID [number]
- Customer_ID [number]
- Policy_Type_Code [text]
- Start_Date [time]
- End_Date [time]
- Claim_ID [number]
- Policy_ID [number]
- Date_Claim_Made [tim... | BAR || Date_Payment_Made || Amount_Payment || NONE || SUM | null | BAR || Date_Payment_Made || Amount_Payment || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Document_Type_Code [text]
- Document_Type_Name [text]
- Document_Type_Description [text]
- Budget_Type_Code [text]
- Budget_Type_Description [text]
- Project_ID [number]
- Project_Details [text]
- Document_ID [number]
... | LINE || Document_Date || * || Document_Type_Description || COUNT | null | LINE || Document_Date || * || Document_Type_Description || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- payment_method_code [text]
- payment_method_description [text]
- Service_Type_Code [text]
- Parent_Service_Type_Code [text]
- Service_Type_Description [text]
- Address_ID [number]
- Line_1 [text]
- Line_2 [text]
- City... | LINE || Actual_Delivery_Date || * || NONE || COUNT | null | LINE || Actual_Delivery_Date || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Stadium_ID [text]
- Location [text]
- Name [text]
- Capacity [number]
- Highest [number]
- Lowest [number]
- Average [number]
- Singer_ID [text]
- Name [text]
- Country [text]
- Song_Name [text]
- Song_release_year [te... | PIE || Name || * || singer_id || COUNT | null | PIE || Name || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || EMAIL || EMPLOYEE_ID || NONE || NONE | null | BAR || EMAIL || EMPLOYEE_ID || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- RoomId [text]
- roomName [text]
- beds [number]
- bedType [text]
- maxOccupancy [number]
- basePrice [number]
- decor [text]
- Code [number]
- Room [text]
- CheckIn [text]
- CheckOut [text]
- Rate [number]
- LastName [... | BAR || roomName || * || NONE || COUNT | null | BAR || roomName || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Team_ID [number]
- School_ID [number]
- Team_Name [text]
- ACC_Regular_Season [text]
- ACC_Percent [text]
- ACC_Home [text]
- ACC_Road [text]
- All_Games [text]
- All_Games_Percent [number]
- All_Home [text]
- All_Road... | BAR || ACC_Road || School_ID || ACC_Home || NONE | null | BAR || ACC_Home || ACC_Road || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Team_ID [number]
- School_ID [number]
- Team_Name [text]
- ACC_Regular_Season [text]
- ACC_Percent [text]
- ACC_Home [text]
- ACC_Road [text]
- All_Games [text]
- All_Games_Percent [number]
- All_Home [text]
- All_Road... | SCATTER || Team_ID || ACC_Percent || All_Neutral || NONE | null | SCATTER || Team_ID || ACC_Percent || All_Neutral || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- address_id [number]
- line_1_number_building [text]
- city [text]
- zip_postcode [text]
- state_province_county [text]
- country [text]
- staff_id [number]
- staff_address_id [number]
- nickname [text]
- first_name [te... | BAR || date_of_birth || * || NONE || COUNT | null | BAR || date_of_birth || * || customer_status_code || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Team_ID [number]
- School_ID [number]
- Team_Name [text]
- ACC_Regular_Season [text]
- ACC_Percent [text]
- ACC_Home [text]
- ACC_Road [text]
- All_Games [text]
- All_Games_Percent [number]
- All_Home [text]
- All_Road... | BAR || Affiliation || enrollment || NONE || SUM | null | BAR || Affiliation || Enrollment || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Department_ID [number]
- Name [text]
- Creation [text]
- Ranking [number]
- Budget_in_Billions [number]
- Num_Employees [number]
- head_ID [number]
- name [text]
- born_state [text]
- age [number]
- department_ID [numb... | BAR || Name || Budget_in_Billions || NONE || NONE | null | BAR || Name || Budget_in_Billions || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || LAST_NAME || * || NONE || COUNT | null | BAR || LAST_NAME || EMPLOYEE_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- address_id [number]
- address_details [text]
- staff_id [number]
- staff_gender [text]
- staff_name [text]
- supplier_id [number]
- supplier_name [text]
- supplier_phone [text]
- dept_store_chain_id [number]
- dept_sto... | BAR || product_type_code || product_price || NONE || MAX | null | BAR || product_type_code || product_price || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Election_ID [number]
- Representative_ID [number]
- Date [text]
- Votes [number]
- Vote_Percent [number]
- Seats [number]
- Place [number]
- Representative_ID [number]
- Name [text]
- State [text]
- Party [text]
- Life... | BAR || Date || Vote_Percent || NONE || NONE | null | BAR || Date || Vote_Percent || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- ID [number]
- name [text]
- Nationality [text]
- meter_100 [number]
- meter_200 [text]
- meter_300 [text]
- meter_400 [text]
- meter_500 [text]
- meter_600 [text]
- meter_700 [text]
- Time [text]
- ID [number]
- name [... | BAR || name || * || NONE || COUNT | null | BAR || name || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- name [text]
- lat [number]
- long [number]
- dock_count [number]
- city [text]
- installation_date [text]
- station_id [number]
- bikes_available [number]
- docks_available [number]
- time [text]
- id [nu... | BAR || date || * || NONE || COUNT | null | BAR || date || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- name [text]
- Operating_system [text]
- Client [text]
- Connection [text]
- id [number]
- name [text]
- market_share [number]
- accelerator_id [number]
- browser_id [number]
- compatible_since_year [numbe... | BAR || name || id || NONE || NONE | null | BAR || id || id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- City [text]
- Country [text]
- IATA [text]
- ICAO [text]
- name [text]
- id [number]
- name [text]
- Type [text]
- Principal_activities [text]
- Incorporated_in [text]
- Group_Equity_Shareholding [number]... | BAR || Country || * || NONE || COUNT | null | BAR || Country || id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || JOB_ID || DEPARTMENT_ID || NONE || AVG | null | BAR || JOB_ID || DEPARTMENT_ID || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- customer_id [number]
- customer_details [text]
- property_id [number]
- property_type_code [text]
- property_address [text]
- other_details [text]
- resident_id [number]
- property_id [number]
- date_moved_in [time]
- ... | BAR || date_moved_in || * || NONE || COUNT | null | BAR || date_moved_in || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Region_ID [number]
- Region_name [text]
- Date [text]
- Label [text]
- Format [text]
- Catalogue [text]
- Party_ID [number]
- Minister [text]
- Took_office [text]
- Left_office [text]
- Region_ID [number]
- Party_name ... | BAR || Minister || * || NONE || COUNT | null | BAR || Minister || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Wrestler_ID [text]
- Name [text]
- Reign [text]
- Days_held [text]
- Location [text]
- Event [text]
- Elimination_ID [text]
- Wrestler_ID [text]
- Team [text]
- Eliminated_By [text]
- Elimination_Move [text]
- Time [te... | BAR || Team || * || NONE || COUNT | null | BAR || Team || Elimination_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || EMAIL || MANAGER_ID || NONE || NONE | null | BAR || MANAGER_ID || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Artist_ID [number]
- Name [text]
- Country [text]
- Year_Join [number]
- Age [number]
- Exhibition_ID [number]
- Year [number]
- Theme [text]
- Artist_ID [number]
- Ticket_Price [number]
- Exhibition_ID [number]
- Date... | BAR || Name || * || artist_id || COUNT | null | BAR || Name || Exhibition_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- building_id [number]
- building_short_name [text]
- building_full_name [text]
- building_description [text]
- building_address [text]
- building_manager [text]
- building_phone [text]
- apt_id [number]
- building_id [n... | BAR || booking_start_date || * || NONE || COUNT | null | BAR || booking_start_date || apt_booking_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Code [number]
- Name [text]
- Headquarter [text]
- Founder [text]
- Revenue [number]
- Code [number]
- Name [text]
- Price [number]
- Manufacturer [number]
REQUEST:
Select the name of each manufacturer along with the ... | BAR || Name || Price || NONE || MAX | null | BAR || Name || Price || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
- dormid [number]
- dorm_name [text]
- student_capacity [number]
- gender [text]
- amenid ... | BAR || Fname || * || NONE || COUNT | null | BAR || Fname || StuID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- name [text]
- lat [number]
- long [number]
- dock_count [number]
- city [text]
- installation_date [text]
- station_id [number]
- bikes_available [number]
- docks_available [number]
- time [text]
- id [nu... | BAR || start_station_name || start_station_id || NONE || NONE | null | BAR || start_station_id || start_station_name || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Party_ID [number]
- Party_Theme [text]
- Location [text]
- First_year [text]
- Last_year [text]
- Number_of_hosts [number]
- Host_ID [number]
- Name [text]
- Nationality [text]
- Age [text]
- Party_ID [number]
- Host_I... | BAR || Last_year || * || NONE || COUNT | null | BAR || Party_Theme || Last_year || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- RoomId [text]
- roomName [text]
- beds [number]
- bedType [text]
- maxOccupancy [number]
- basePrice [number]
- decor [text]
- Code [number]
- Room [text]
- CheckIn [text]
- CheckOut [text]
- Rate [number]
- LastName [... | BAR || decor || basePrice || NONE || MIN | null | BAR || decor || Room || NONE || MIN |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Document_Type_Code [text]
- Document_Type_Name [text]
- Document_Type_Description [text]
- Calendar_Date [time]
- Day_Number [number]
- Location_Code [text]
- Location_Name [text]
- Location_Description [text]
- Role_C... | LINE || Date_in_Location_From || * || NONE || COUNT | null | LINE || Date_in_Location_From || Document_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || HIRE_DATE || DEPARTMENT_ID || NONE || SUM | null | BAR || HIRE_DATE || DEPARTMENT_ID || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || HIRE_DATE || DEPARTMENT_ID || NONE || SUM | null | BAR || HIRE_DATE || DEPARTMENT_ID || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Allergy [text]
- AllergyType [text]
- StuID [number]
- Allergy [text]
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
REQUEST:
A bar ch... | BAR || LName || * || NONE || COUNT | null | BAR || LName || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- building [text]
- room_number [text]
- capacity [number]
- dept_name [text]
- building [text]
- budget [number]
- course_id [text]
- title [text]
- dept_name [text]
- credits [number]
- ID [text]
- name [text]
- dept_n... | BAR || dept_name || salary || NONE || MIN | null | BAR || dept_name || salary || NONE || MIN |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Candidate_ID [number]
- People_ID [number]
- Poll_Source [text]
- Date [text]
- Support_rate [number]
- Consider_rate [number]
- Oppose_rate [number]
- Unsure_rate [number]
- People_ID [number]
- Sex [text]
- Name [tex... | BAR || Sex || weight || NONE || AVG | null | BAR || Sex || Weight || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- player_id [text]
- year [number]
- game_num [number]
- game_id [text]
- team_id [text]
- league_id [text]
- gp [number]
- starting_pos [number]
- year [number]
- team_id [text]
- league_id [text]
- player_id [text]
- g... | LINE || yearid || * || NONE || COUNT | null | LINE || year || player_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Aircraft_ID [number]
- Order_Year [number]
- Manufacturer [text]
- Model [text]
- Fleet_Series [text]
- Powertrain [text]
- Fuel_Propulsion [text]
- Pilot_ID [number]
- Pilot_name [text]
- Rank [number]
- Age [number]
... | PIE || Nationality || * || NONE || COUNT | null | PIE || Nationality || Pilot_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Code [number]
- Name [text]
- Headquarter [text]
- Founder [text]
- Revenue [number]
- Code [number]
- Name [text]
- Price [number]
- Manufacturer [number]
REQUEST:
For those records from the products and each product... | BAR || Headquarter || Code || NONE || NONE | null | BAR || Headquarter || Code || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Club_ID [number]
- name [text]
- Region [text]
- Start_year [text]
- Rank [number]
- Club_ID [number]
- Gold [number]
- Silver [number]
- Bronze [number]
- Total [number]
- Player_ID [number]
- name [text]
- Position [... | BAR || Competition_type || * || NONE || COUNT | null | BAR || Competition_type || Total || Competition_type || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- g_name [text]
- rating [number]
- most_popular_in [text]
- artist_name [text]
- country [text]
- gender [text]
- preferred_genre [text]
- f_id [number]
- artist_name [text]
- file_size [text]
- duration [text]
- format... | BAR || genre_is || rating || NONE || MIN | null | BAR || genre_is || rating || NONE || MIN |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- name [text]
- age [number]
- city [text]
- gender [text]
- job [text]
- name [text]
- friend [text]
- year [number]
REQUEST:
Who has friends that are older than the average age? Print their friends and their ages as w... | BAR || friend || age || NONE || AVG | null | BAR || friend || age || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- City [text]
- Country [text]
- IATA [text]
- ICAO [text]
- name [text]
- id [number]
- name [text]
- Type [text]
- Principal_activities [text]
- Incorporated_in [text]
- Group_Equity_Shareholding [number]... | PIE || name || id || NONE || NONE | null | PIE || name || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- company_id [number]
- company_type [text]
- company_name [text]
- company_address [text]
- other_company_details [text]
- maintenance_contract_id [number]
- maintenance_contract_company_id [number]
- contract_start_dat... | BAR || staff_name || * || NONE || COUNT | null | BAR || staff_name || engineer_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Captain_ID [number]
- Name [text]
- Ship_ID [number]
- age [text]
- Class [text]
- Rank [text]
- Ship_ID [number]
- Name [text]
- Type [text]
- Built_Year [number]
- Class [text]
- Flag [text]
REQUEST:
Show me the tot... | BAR || Flag || * || NONE || COUNT | null | BAR || Flag || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Film_ID [number]
- Rank_in_series [number]
- Number_in_season [number]
- Title [text]
- Directed_by [text]
- Original_air_date [text]
- Production_code [text]
- Cinema_ID [number]
- Name [text]
- Openning_year [number]... | BAR || Directed_by || * || NONE || COUNT | null | BAR || Directed_by || Film_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- name [text]
- lat [number]
- long [number]
- dock_count [number]
- city [text]
- installation_date [text]
- station_id [number]
- bikes_available [number]
- docks_available [number]
- time [text]
- id [nu... | BAR || date || cloud_cover || NONE || SUM | null | BAR || date || cloud_cover || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Code [number]
- Name [text]
- Headquarter [text]
- Founder [text]
- Revenue [number]
- Code [number]
- Name [text]
- Price [number]
- Manufacturer [number]
REQUEST:
Just list the name and price of its most expensive p... | BAR || Name || Price || NONE || MAX | null | BAR || Name || Price || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Film_ID [number]
- Title [text]
- Studio [text]
- Director [text]
- Gross_in_dollar [number]
- Market_ID [number]
- Country [text]
- Number_cities [number]
- Estimation_ID [number]
- Low_Estimate [number]
- High_Estima... | BAR || Year || * || NONE || COUNT | null | BAR || Year || Market_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Customer_ID [number]
- Customer_Details [text]
- Staff_ID [number]
- Staff_Details [text]
- Policy_ID [number]
- Customer_ID [number]
- Policy_Type_Code [text]
- Start_Date [time]
- End_Date [time]
- Claim_Header_ID [n... | BAR || Policy_Type_Code || * || NONE || COUNT | null | BAR || Policy_Type_Code || Policy_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | LINE || HIRE_DATE || MANAGER_ID || NONE || NONE | null | LINE || HIRE_DATE || MANAGER_ID || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- building_id [number]
- building_short_name [text]
- building_full_name [text]
- building_description [text]
- building_address [text]
- building_manager [text]
- building_phone [text]
- apt_id [number]
- building_id [n... | BAR || booking_status_code || * || NONE || COUNT | null | BAR || booking_status_code || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
- dormid [number]
- dorm_name [text]
- student_capacity [number]
- gender [text]
- amenid ... | PIE || Fname || * || NONE || COUNT | null | PIE || Fname || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- County_Id [number]
- County_name [text]
- Population [number]
- Zip_code [text]
- Party_ID [number]
- Year [number]
- Party [number]
- Governor [text]
- Lieutenant_Governor [text]
- Comptroller [text]
- Attorney_Genera... | BAR || Committee || * || NONE || COUNT | null | BAR || Committee || Delegate || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Customer_ID [number]
- Customer_Details [text]
- Policy_ID [number]
- Customer_ID [number]
- Policy_Type_Code [text]
- Start_Date [time]
- End_Date [time]
- Claim_ID [number]
- Policy_ID [number]
- Date_Claim_Made [tim... | BAR || Date_Claim_Settled || * || NONE || COUNT | null | BAR || Date_Claim_Settled || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- staff_id [number]
- gender [text]
- first_name [text]
- last_name [text]
- email_address [text]
- phone_number [text]
- customer_id [number]
- customer_type_code [text]
- address_line_1 [text]
- address_line_2 [text]
-... | PIE || product_category_code || product_price || NONE || AVG | null | PIE || product_category_code || product_price || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Document_Type_Code [text]
- Document_Type_Name [text]
- Document_Type_Description [text]
- Budget_Type_Code [text]
- Budget_Type_Description [text]
- Project_ID [number]
- Project_Details [text]
- Document_ID [number]
... | SCATTER || Account_ID || Account_Details || NONE || NONE | null | SCATTER || Account_ID || Account_ID || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- author_id [number]
- author_tutor_ATB [text]
- login_name [text]
- password [text]
- personal_name [text]
- middle_name [text]
- family_name [text]
- gender_mf [text]
- address_line_1 [text]
- student_id [number]
- dat... | BAR || date_of_completion || * || NONE || COUNT | null | BAR || date_of_completion || date_test_taken || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- ContId [number]
- Continent [number]
- CountryId [number]
- CountryName [text]
- Continent [number]
- Id [number]
- Maker [number]
- FullName [text]
- Country [text]
- ModelId [number]
- Maker [number]
- Model [text]
-... | BAR || Year || * || NONE || COUNT | null | BAR || Year || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- RoomId [text]
- roomName [text]
- beds [number]
- bedType [text]
- maxOccupancy [number]
- basePrice [number]
- decor [text]
- Code [number]
- Room [text]
- CheckIn [text]
- CheckOut [text]
- Rate [number]
- LastName [... | BAR || bedType || * || NONE || COUNT | null | BAR || bedType || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Candidate_ID [number]
- People_ID [number]
- Poll_Source [text]
- Date [text]
- Support_rate [number]
- Consider_rate [number]
- Oppose_rate [number]
- Unsure_rate [number]
- People_ID [number]
- Sex [text]
- Name [tex... | BAR || Sex || * || NONE || COUNT | null | BAR || Sex || Weight || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- County_Id [number]
- County_name [text]
- Population [number]
- Zip_code [text]
- Party_ID [number]
- Year [number]
- Party [number]
- Governor [text]
- Lieutenant_Governor [text]
- Comptroller [text]
- Attorney_Genera... | BAR || Committee || * || NONE || COUNT | null | BAR || Committee || Committee || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || JOB_ID || SALARY || NONE || AVG | null | BAR || JOB_ID || SALARY || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Race_ID [number]
- Name [text]
- Class [text]
- Date [text]
- Track_ID [number]
- Track_ID [number]
- Name [text]
- Location [text]
- Seating [number]
- Year_Opened [number]
REQUEST:
Show names and seatings, ordered b... | BAR || Name || Seating || NONE || NONE | null | BAR || Name || Seating || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- breed_code [text]
- breed_name [text]
- charge_id [number]
- charge_type [text]
- charge_amount [number]
- size_code [text]
- size_description [text]
- treatment_type_code [text]
- treatment_type_description [text]
- o... | BAR || size_code || * || NONE || COUNT | null | BAR || size_code || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- mID [number]
- title [text]
- year [number]
- director [text]
- rID [number]
- name [text]
- rID [number]
- mID [number]
- stars [number]
- ratingDate [time]
REQUEST:
For each director, return the highest rating among... | SCATTER || stars || stars || director || MAX | null | SCATTER || director || stars || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Museum_ID [number]
- Name [text]
- Num_of_Staff [number]
- Open_Year [text]
- ID [number]
- Name [text]
- Level_of_membership [number]
- Age [number]
- Museum_ID [number]
- visitor_ID [text]
- Num_of_Ticket [number]
- ... | BAR || Name || Age || NONE || NONE | null | BAR || Name || Age || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- AlbumId [number]
- Title [text]
- ArtistId [number]
- ArtistId [number]
- Name [text]
- CustomerId [number]
- FirstName [text]
- LastName [text]
- Company [text]
- Address [text]
- City [text]
- State [text]
- Country ... | BAR || FirstName || SupportRepId || NONE || NONE | null | BAR || FirstName || CustomerId || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Club_ID [number]
- name [text]
- Region [text]
- Start_year [text]
- Rank [number]
- Club_ID [number]
- Gold [number]
- Silver [number]
- Bronze [number]
- Total [number]
- Player_ID [number]
- name [text]
- Position [... | BAR || Position || * || NONE || COUNT | null | BAR || Position || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- id [number]
- name [text]
- lat [number]
- long [number]
- dock_count [number]
- city [text]
- installation_date [text]
- station_id [number]
- bikes_available [number]
- docks_available [number]
- time [text]
- id [nu... | LINE || date || * || NONE || COUNT | null | LINE || date || max_temperature_f || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Document_Type_Code [text]
- Document_Type_Name [text]
- Document_Type_Description [text]
- Budget_Type_Code [text]
- Budget_Type_Description [text]
- Project_ID [number]
- Project_Details [text]
- Document_ID [number]
... | SCATTER || Statement_ID || * || NONE || COUNT | null | SCATTER || Statement_ID || Account_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- CLASS_CODE [text]
- CRS_CODE [text]
- CLASS_SECTION [text]
- CLASS_TIME [text]
- CLASS_ROOM [text]
- PROF_NUM [number]
- CRS_CODE [text]
- DEPT_CODE [text]
- CRS_DESCRIPTION [text]
- CRS_CREDIT [number]
- DEPT_CODE [te... | BAR || CLASS_ROOM || * || NONE || COUNT | null | BAR || CLASS_ROOM || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Film_ID [number]
- Rank_in_series [number]
- Number_in_season [number]
- Title [text]
- Directed_by [text]
- Original_air_date [text]
- Production_code [text]
- Cinema_ID [number]
- Name [text]
- Openning_year [number]... | BAR || Name || show_times_per_day || cinema_id || SUM | null | BAR || Name || Show_times_per_day || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Customer_ID [number]
- Customer_Details [text]
- Policy_ID [number]
- Customer_ID [number]
- Policy_Type_Code [text]
- Start_Date [time]
- End_Date [time]
- Claim_ID [number]
- Policy_ID [number]
- Date_Claim_Made [tim... | BAR || Date_Payment_Made || Amount_Payment || Payment_Method_Code || SUM | null | BAR || Date_Payment_Made || Amount_Payment || Payment_Method_Code || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- company_id [number]
- company_type [text]
- company_name [text]
- company_address [text]
- other_company_details [text]
- maintenance_contract_id [number]
- maintenance_contract_company_id [number]
- contract_start_dat... | BAR || first_name || * || NONE || COUNT | null | BAR || first_name || contact_staff_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- People_ID [number]
- District [text]
- Name [text]
- Party [text]
- Age [number]
- Debate_ID [number]
- Date [text]
- Venue [text]
- Num_of_Audience [number]
- Debate_ID [number]
- Affirmative [number]
- Negative [numb... | BAR || Party || * || NONE || COUNT | null | BAR || Party || People_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Journal_ID [number]
- Date [text]
- Theme [text]
- Sales [number]
- Editor_ID [number]
- Name [text]
- Age [number]
- Editor_ID [number]
- Journal_ID [number]
- Work_Type [text]
REQUEST:
Show the names of editors that... | BAR || Name || * || NONE || COUNT | null | BAR || Name || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || HIRE_DATE || SALARY || NONE || AVG | null | BAR || HIRE_DATE || SALARY || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Template_Type_Code [text]
- Template_Type_Description [text]
- Template_ID [number]
- Version_Number [number]
- Template_Type_Code [text]
- Date_Effective_From [time]
- Date_Effective_To [time]
- Template_Details [text... | SCATTER || Document_ID || * || NONE || COUNT | null | SCATTER || Document_ID || Paragraph_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- author_id [number]
- author_tutor_ATB [text]
- login_name [text]
- password [text]
- personal_name [text]
- middle_name [text]
- family_name [text]
- gender_mf [text]
- address_line_1 [text]
- student_id [number]
- dat... | BAR || date_test_taken || * || NONE || COUNT | null | BAR || date_test_taken || date_test_taken || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Team_ID [number]
- School_ID [number]
- Team_Name [text]
- ACC_Regular_Season [text]
- ACC_Percent [text]
- ACC_Home [text]
- ACC_Road [text]
- All_Games [text]
- All_Games_Percent [number]
- All_Home [text]
- All_Road... | BAR || ACC_Regular_Season || ACC_Percent || NONE || NONE | null | BAR || ACC_Regular_Season || ACC_Percent || NONE || NONE |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Code [number]
- Name [text]
- Headquarter [text]
- Founder [text]
- Revenue [number]
- Code [number]
- Name [text]
- Price [number]
- Manufacturer [number]
REQUEST:
For those products with a price between 60 and 120, ... | BAR || Name || Manufacturer || NONE || NONE | null | BAR || Name || Price || Manufacturer || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Perpetrator_ID [number]
- People_ID [number]
- Date [text]
- Year [number]
- Location [text]
- Country [text]
- Killed [number]
- Injured [number]
- People_ID [number]
- Name [text]
- Height [number]
- Weight [number]
... | BAR || Country || * || NONE || COUNT | null | BAR || Country || Perpetrator_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || FIRST_NAME || EMPLOYEE_ID || NONE || NONE | null | BAR || FIRST_NAME || EMPLOYEE_ID || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Publication_ID [number]
- Book_ID [number]
- Publisher [text]
- Publication_Date [text]
- Price [number]
- Book_ID [number]
- Title [text]
- Issues [number]
- Writer [text]
REQUEST:
Bar chart x axis publication date y... | BAR || Publication_Date || * || NONE || COUNT | null | BAR || Publication_Date || Publication_Date || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || JOB_ID || DEPARTMENT_ID || NONE || AVG | null | BAR || JOB_ID || DEPARTMENT_ID || NONE || AVG |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
- dormid [number]
- dorm_name [text]
- student_capacity [number]
- gender [text]
- amenid ... | BAR || Sex || age || NONE || MAX | null | BAR || Sex || Age || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- company_id [number]
- company_type [text]
- company_name [text]
- company_address [text]
- other_company_details [text]
- maintenance_contract_id [number]
- maintenance_contract_company_id [number]
- contract_start_dat... | BAR || asset_make || * || NONE || COUNT | null | BAR || asset_make || asset_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- School_id [number]
- School_name [text]
- Location [text]
- Mascot [text]
- Enrollment [number]
- IHSAA_Class [text]
- IHSAA_Football_Class [text]
- County [text]
- School_id [number]
- Year [number]
- Budgeted [number... | BAR || County || * || NONE || COUNT | null | BAR || County || School_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- payment_method_code [text]
- payment_method_description [text]
- Service_Type_Code [text]
- Parent_Service_Type_Code [text]
- Service_Type_Description [text]
- Address_ID [number]
- Line_1 [text]
- Line_2 [text]
- City... | LINE || Actual_Delivery_Date || * || NONE || COUNT | null | LINE || Actual_Delivery_Date || Actual_Delivery_Date || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- author_id [number]
- author_tutor_ATB [text]
- login_name [text]
- password [text]
- personal_name [text]
- middle_name [text]
- family_name [text]
- gender_mf [text]
- address_line_1 [text]
- student_id [number]
- dat... | BAR || date_of_latest_logon || * || NONE || COUNT | null | BAR || date_of_latest_logon || date_of_latest_logon || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- REGION_ID [number]
- REGION_NAME [text]
- COUNTRY_ID [text]
- COUNTRY_NAME [text]
- REGION_ID [number]
- DEPARTMENT_ID [number]
- DEPARTMENT_NAME [text]
- MANAGER_ID [number]
- LOCATION_ID [number]
- JOB_ID [text]
- JO... | BAR || HIRE_DATE || SALARY || NONE || SUM | null | BAR || HIRE_DATE || SALARY || NONE || SUM |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
- dormid [number]
- dorm_name [text]
- student_capacity [number]
- gender [text]
- amenid ... | BAR || Sex || age || NONE || MAX | null | BAR || Sex || Age || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- mID [number]
- title [text]
- year [number]
- director [text]
- rID [number]
- name [text]
- rID [number]
- mID [number]
- stars [number]
- ratingDate [time]
REQUEST:
For each reviewer id, show their corresponding the... | SCATTER || rID || stars || NONE || MIN | null | SCATTER || rID || stars || NONE || MIN |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- CLASS_CODE [text]
- CRS_CODE [text]
- CLASS_SECTION [text]
- CLASS_TIME [text]
- CLASS_ROOM [text]
- PROF_NUM [number]
- CRS_CODE [text]
- DEPT_CODE [text]
- CRS_DESCRIPTION [text]
- CRS_CREDIT [number]
- DEPT_CODE [te... | BAR || EMP_HIREDATE || * || NONE || COUNT | null | BAR || EMP_HIREDATE || * || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- company_id [number]
- company_type [text]
- company_name [text]
- company_address [text]
- other_company_details [text]
- maintenance_contract_id [number]
- maintenance_contract_company_id [number]
- contract_start_dat... | BAR || staff_name || * || NONE || COUNT | null | BAR || staff_name || engineer_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- document_type_code [text]
- document_type_description [text]
- role_code [text]
- role_description [text]
- address_id [number]
- address_details [text]
- document_status_code [text]
- document_status_description [text... | BAR || role_description || * || role_code || COUNT | null | BAR || role_code || employee_id || NONE || COUNT |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- StuID [number]
- LName [text]
- Fname [text]
- Age [number]
- Sex [text]
- Major [number]
- Advisor [number]
- city_code [text]
- StuID [number]
- PetID [number]
- PetID [number]
- PetType [text]
- pet_age [number]
- w... | BAR || PetType || weight || NONE || MAX | null | BAR || PetType || weight || NONE || MAX |
You are converting a natural-language request into a visualization specification.
DATABASE SCHEMA:
- Perpetrator_ID [number]
- People_ID [number]
- Date [text]
- Year [number]
- Location [text]
- Country [text]
- Killed [number]
- Injured [number]
- People_ID [number]
- Name [text]
- Height [number]
- Weight [number]
... | BAR || Country || * || NONE || COUNT | null | BAR || Country || Perpetrator_ID || NONE || COUNT |
This dataset is a remastered version prepared using Adaption's Adaptive Data platform.
This dataset contains pairs of natural language requests and database schemas mapped to structured visualization specifications. Each entry includes a prompt with schema details and a user request, paired with a completion defining chart type, axes, grouping, and aggregation. The data is designed for training models to translate text queries into executable chart configurations.
There are 11,698 data points in this dataset. This is an instruction tuning dataset.
The final quality is B, with a relative quality improvement of 5.0%.
Quality Gains:
Grade Improvement:
Percentile Chart:
