Dataset Viewer
Auto-converted to Parquet Duplicate
query
stringlengths
76
524
question
stringlengths
7
126
answer
stringlengths
54
8.89k
table_names
sequence
tables
sequence
source
stringlengths
979
15.9k
target
stringlengths
28
10.1k
SELECT DISTINCT food_service_1.meal_description FROM food_service AS food_service_1 WHERE food_service_1.meal_code = 'D/S'
what does d/s stand for for meals
{"columns":["meal_description"],"index":[0,1],"data":[["SNACK"],["DINNER"]]}
[ "food_service" ]
[ "{\"columns\":[\"meal_code\",\"meal_number\",\"compartment\",\"meal_description\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,7...
what does d/s stand for for meals <table_name> : food_service col : meal_code | meal_number | compartment | meal_description row 1 : B | 1 | COACH | BREAKFAST row 2 : B | 1 | FIRST | BREAKFAST row 3 : B/ | 1 | FIRST | BREAKFAST row 4 : B/BS | 1 | COACH | BREAKFAST row 5 : B/BS | 1 | FIRST | BREAKFAST row 6 : B/BS | 2 |...
col : meal_description row 1 : SNACK row 2 : DINNER
SELECT DISTINCT ground_service_1.transport_type FROM ground_service AS ground_service_1 , airport AS airport_1 WHERE ground_service_1.transport_type = 'LIMOUSINE' AND ground_service_1.airport_code = airport_1.airport_code AND airport_1.airport_code = 'PIT'
is there limo service at pittsburgh airport
{"columns":["transport_type"],"index":[0],"data":[["LIMOUSINE"]]}
[ "airport", "ground_service" ]
[ "{\"columns\":[\"airport_code\",\"airport_name\",\"airport_location\",\"state_code\",\"country_name\",\"time_zone_code\",\"minimum_connect_time\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],\"data\":[[...
is there limo service at pittsburgh airport <table_name> : airport col : airport_code | airport_name | airport_location | state_code | country_name | time_zone_code | minimum_connect_time row 1 : ATL | WILLIAM B. HARTSFIELD ATLANTA INTL. | ATLANTA, GEORGIA | GA | USA | EST | 55 row 2 : BNA | NASHVILLE INTERNATIONAL | N...
col : transport_type row 1 : LIMOUSINE
SELECT DISTINCT ground_service_1.transport_type FROM ground_service AS ground_service_1 , city AS city_1 , city AS city_2 WHERE ground_service_1.city_code = city_1.city_code AND city_1.city_name = 'DALLAS' OR ground_service_1.city_code = city_2.city_code AND city_2.city_name = 'FORT WORTH'
in dallas fort worth i would like information on ground transportation
{"columns":["transport_type"],"index":[0,1],"data":[["LIMOUSINE"],["RENTAL CAR"]]}
[ "city", "ground_service" ]
[ "{\"columns\":[\"city_code\",\"city_name\",\"state_code\",\"country_name\",\"time_zone_code\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"BBNA\",\"NASHVILLE\",\"TN\",\"USA\",\"CST\"],[\"BBOS\",\"BOSTON\",\"...
in dallas fort worth i would like information on ground transportation <table_name> : city col : city_code | city_name | state_code | country_name | time_zone_code row 1 : BBNA | NASHVILLE | TN | USA | CST row 2 : BBOS | BOSTON | MA | USA | EST row 3 : BBUR | BURBANK | CA | USA | PST row 4 : BBWI | BALTIMORE | MD | USA...
col : transport_type row 1 : LIMOUSINE row 2 : RENTAL CAR
SELECT DISTINCT ground_service_1.transport_type FROM ground_service AS ground_service_1 , airport AS airport_1 , airport_service AS airport_service_1 , city AS city_1 WHERE ground_service_1.airport_code = airport_1.airport_code AND airport_1.airport_code = airport_service_1.airport_code AND airport_service_1.city_code ...
can you give me information on transportation from the airport in philadelphia to downtown philadelphia
{"columns":["transport_type"],"index":[0,1,2,3],"data":[["AIR TAXI OPERATION"],["LIMOUSINE"],["RAPID TRANSIT"],["RENTAL CAR"]]}
[ "city", "airport", "airport_service", "ground_service" ]
[ "{\"columns\":[\"city_code\",\"city_name\",\"state_code\",\"country_name\",\"time_zone_code\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"BBNA\",\"NASHVILLE\",\"TN\",\"USA\",\"CST\"],[\"BBOS\",\"BOSTON\",\"...
can you give me information on transportation from the airport in philadelphia to downtown philadelphia <table_name> : city col : city_code | city_name | state_code | country_name | time_zone_code row 1 : BBNA | NASHVILLE | TN | USA | CST row 2 : BBOS | BOSTON | MA | USA | EST row 3 : BBUR | BURBANK | CA | USA | PST ro...
col : transport_type row 1 : AIR TAXI OPERATION row 2 : LIMOUSINE row 3 : RAPID TRANSIT row 4 : RENTAL CAR
SELECT DISTINCT airline_1.airline_code FROM airline AS airline_1 WHERE 1 = 1
show me airline abbreviations
{"columns":["airline_code"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"data":[["2V"],["3J"],["7V"],["9E"],["9L"],["9N"],["9X"],["AA"],["AC"],["AR"],["AS"],["AT"],["BA"],["BE"],["CO"],["CP"],["DH"],["DL"],["EV"],["FF"],["GX"]...
[ "airline" ]
[ "{\"columns\":[\"airline_code\",\"airline_name\",\"note\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"2V\",\"NORTHEAST EXPRESS REGIONAL AIRLINES\",\"NATL AIR TRANSPORTATION ASSOC, INC.\"],[\"3J\",\"AIR ALLI...
show me airline abbreviations <table_name> : airline col : airline_code | airline_name | note row 1 : 2V | NORTHEAST EXPRESS REGIONAL AIRLINES | NATL AIR TRANSPORTATION ASSOC, INC. row 2 : 3J | AIR ALLIANCE | row 3 : 7V | ALPHA AIR | row 4 : 9E | EXPRESS AIRLINES I, INC. | row 5 : 9L | COLGAN AIR | row 6 : 9N | TRA...
col : airline_code row 1 : 2V row 2 : 3J row 3 : 7V row 4 : 9E row 5 : 9L row 6 : 9N row 7 : 9X row 8 : AA row 9 : AC row 10 : AR row 11 : AS row 12 : AT row 13 : BA row 14 : BE row 15 : CO row 16 : CP row 17 : DH row 18 : DL row 19 : EV row 20 : FF row 21 : GX row 22 : HP row 23 : HQ row 24 : KW row 25 : LH row 26 : M...
SELECT DISTINCT ground_service_1.transport_type FROM ground_service AS ground_service_1 , airport AS airport_1 , airport_service AS airport_service_1 , city AS city_1 WHERE ground_service_1.airport_code = airport_1.airport_code AND airport_1.airport_code = airport_service_1.airport_code AND airport_service_1.city_code ...
what ground transportation is available at the atlanta airport
{"columns":["transport_type"],"index":[0,1,2,3],"data":[["AIR TAXI OPERATION"],["LIMOUSINE"],["RAPID TRANSIT"],["RENTAL CAR"]]}
[ "city", "airport", "airport_service", "ground_service" ]
[ "{\"columns\":[\"city_code\",\"city_name\",\"state_code\",\"country_name\",\"time_zone_code\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"BBNA\",\"NASHVILLE\",\"TN\",\"USA\",\"CST\"],[\"BBOS\",\"BOSTON\",\"...
what ground transportation is available at the atlanta airport <table_name> : city col : city_code | city_name | state_code | country_name | time_zone_code row 1 : BBNA | NASHVILLE | TN | USA | CST row 2 : BBOS | BOSTON | MA | USA | EST row 3 : BBUR | BURBANK | CA | USA | PST row 4 : BBWI | BALTIMORE | MD | USA | EST r...
col : transport_type row 1 : AIR TAXI OPERATION row 2 : LIMOUSINE row 3 : RAPID TRANSIT row 4 : RENTAL CAR
SELECT DISTINCT aircraft_1.aircraft_code FROM aircraft AS aircraft_1 WHERE aircraft_1.basic_type = '737' AND aircraft_1.manufacturer = 'BOEING'
how many passengers can a boeing 737 hold
{"columns":["aircraft_code"],"index":[0,1,2,3,4],"data":[["733"],["734"],["735"],["737"],["73S"]]}
[ "aircraft" ]
[ "{\"columns\":[\"aircraft_code\",\"aircraft_description\",\"manufacturer\",\"basic_type\",\"engines\",\"propulsion\",\"wide_body\",\"wing_span\",\"length\",\"weight\",\"capacity\",\"pay_load\",\"cruising_speed\",\"range_miles\",\"pressurized\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,2...
how many passengers can a boeing 737 hold <table_name> : aircraft col : aircraft_code | aircraft_description | manufacturer | basic_type | engines | propulsion | wide_body | wing_span | length | weight | capacity | pay_load | cruising_speed | range_miles | pressurized row 1 : 100 | FOKKER 100 | FOKKER | 100 | 2 | JET |...
col : aircraft_code row 1 : 733 row 2 : 734 row 3 : 735 row 4 : 737 row 5 : 73S
SELECT DISTINCT ground_service_1.transport_type FROM ground_service AS ground_service_1 , city AS city_1 WHERE ground_service_1.city_code = city_1.city_code AND city_1.city_name = 'DENVER'
ground transportation denver
{"columns":["transport_type"],"index":[0,1,2],"data":[["AIR TAXI OPERATION"],["LIMOUSINE"],["RENTAL CAR"]]}
[ "city", "ground_service" ]
[ "{\"columns\":[\"city_code\",\"city_name\",\"state_code\",\"country_name\",\"time_zone_code\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"BBNA\",\"NASHVILLE\",\"TN\",\"USA\",\"CST\"],[\"BBOS\",\"BOSTON\",\"...
ground transportation denver <table_name> : city col : city_code | city_name | state_code | country_name | time_zone_code row 1 : BBNA | NASHVILLE | TN | USA | CST row 2 : BBOS | BOSTON | MA | USA | EST row 3 : BBUR | BURBANK | CA | USA | PST row 4 : BBWI | BALTIMORE | MD | USA | EST row 5 : CCHI | CHICAGO | IL | USA |...
col : transport_type row 1 : AIR TAXI OPERATION row 2 : LIMOUSINE row 3 : RENTAL CAR
SELECT DISTINCT airport_service_1.miles_distant FROM airport_service AS airport_service_1 , airport AS airport_1 , city AS city_1 WHERE airport_service_1.airport_code = airport_1.airport_code AND airport_1.airport_code = 'YYZ' AND airport_service_1.city_code = city_1.city_code AND city_1.city_name = 'TORONTO'
what is the distance from toronto international airport to toronto
{"columns":["miles_distant"],"index":[0],"data":[[18]]}
[ "city", "airport_service", "airport" ]
[ "{\"columns\":[\"city_code\",\"city_name\",\"state_code\",\"country_name\",\"time_zone_code\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],\"data\":[[\"BBNA\",\"NASHVILLE\",\"TN\",\"USA\",\"CST\"],[\"BBOS\",\"BOSTON\",\"...
what is the distance from toronto international airport to toronto <table_name> : city col : city_code | city_name | state_code | country_name | time_zone_code row 1 : BBNA | NASHVILLE | TN | USA | CST row 2 : BBOS | BOSTON | MA | USA | EST row 3 : BBUR | BURBANK | CA | USA | PST row 4 : BBWI | BALTIMORE | MD | USA | E...
col : miles_distant row 1 : 18
"SELECT DISTINCT airport_1.minimum_connect_time FROM airport AS airport_1 WHERE airport_1.airport_co(...TRUNCATED)
what is the minimum connection time for houston intercontinental
{"columns":["minimum_connect_time"],"index":[0],"data":[[45]]}
[ "airport" ]
["{\"columns\":[\"airport_code\",\"airport_name\",\"airport_location\",\"state_code\",\"country_name(...TRUNCATED)
"what is the minimum connection time for houston intercontinental <table_name> : airport col : airpo(...TRUNCATED)
col : minimum_connect_time row 1 : 45
End of preview. Expand in Data Studio

Dataset Card for "atis-tableQA"

Usage

import pandas as pd
from datasets import load_dataset

atis_tableQA = load_dataset("vaishali/atis-tableQA")

for sample in atis_tableQA['train']:
  question = sample['question']
  sql_query = sample['query'],
  answer = pd.read_json(sample['answer'], orient='split')

  # flattened input
  input_to_llm = sample["source"]
  target = sample["target"]

BibTeX entry and citation info

@inproceedings{pal-etal-2023-multitabqa,
    title = "{M}ulti{T}ab{QA}: Generating Tabular Answers for Multi-Table Question Answering",
    author = "Pal, Vaishali  and
      Yates, Andrew  and
      Kanoulas, Evangelos  and
      de Rijke, Maarten",
    booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.acl-long.348",
    doi = "10.18653/v1/2023.acl-long.348",
    pages = "6322--6334",
    abstract = "Recent advances in tabular question answering (QA) with large language models are constrained in their coverage and only answer questions over a single table. However, real-world queries are complex in nature, often over multiple tables in a relational database or web page. Single table questions do not involve common table operations such as set operations, Cartesian products (joins), or nested queries. Furthermore, multi-table operations often result in a tabular output, which necessitates table generation capabilities of tabular QA models. To fill this gap, we propose a new task of answering questions over multiple tables. Our model, MultiTabQA, not only answers questions over multiple tables, but also generalizes to generate tabular answers. To enable effective training, we build a pre-training dataset comprising of 132,645 SQL queries and tabular answers. Further, we evaluate the generated tables by introducing table-specific metrics of varying strictness assessing various levels of granularity of the table structure. MultiTabQA outperforms state-of-the-art single table QA models adapted to a multi-table QA setting by finetuning on three datasets: Spider, Atis and GeoQuery.",
}

More Information needed

Downloads last month
14

Models trained or fine-tuned on vaishali/atis-tableQA