rag-sql-agent / table.jsonl
fahmiaziz's picture
Upload 10 files
75d38ea verified
raw
history blame
4.46 kB
{"table": "aircrafts_data", "description": "This table stores information about aircraft, including aircraft code, model, and flight range.", "example_questions": ["What is the flight range of the aircraft with code '773'?", "Which aircraft model has the shortest flight range?", "What is the difference in flight range between the aircraft with the longest range and the one with the shortest range?"]}
{"table": "airports_data", "description": "This table contains airport data, including airport code, name, city, coordinates, and time zone.", "example_questions": ["In which city is the airport with code 'ATL' located?", "How many airports are in the Asia time zone?", "Which airport has the northernmost location based on its coordinates?"]}
{"table": "boarding_passes", "description": "This table stores information about boarding passes, including ticket number, flight ID, boarding number, and seat number.", "example_questions": ["What is the seat number for the ticket number '0060005435212351'?", "How many passengers have seat numbers in row 2 (e.g., 2A, 2B, 2C, etc.)?", "For the flight with flight_id 30625, is there a correlation between boarding number and seat position?"]}
{"table": "bookings", "description": "This table contains booking information, including booking reference, booking date, and total amount.", "example_questions": ["What is the total amount for the booking with reference '00000F'?", "How many bookings were made in March 2024?", "What is the average booking amount for bookings made in April 2024?"]}
{"table": "car_rentals", "description": "This table stores information about car rentals, including rental company, location, price tier, rental dates, and booking status.", "example_questions": ["How many car rentals are available in Basel?", "Which rental company offers a luxury car in Basel, and for how many days?", "Calculate the average rental duration for all non-booked cars, grouped by price tier."]}
{"table": "flights", "description": "This table contains flight information, including flight numbers, schedules, airports, status, and aircraft details.", "example_questions": [ "What is the flight number for the flight departing from BSL to BKK?", "How many flights are scheduled to depart from Shanghai (SHA)?", "For flights that have both scheduled and actual departure times, what is the average delay in minutes?"]}
{"table": "hotels","description": "This table stores information about hotel bookings, including hotel name, location, price tier, check-in and check-out dates, and booking status.", "example_questions": ["How many hotels are available for booking in Basel?", "Which hotel in Zurich offers an Upscale price tier, and for how many nights?", "Calculate the average length of stay for all non-booked hotels, grouped by price tier."]}
{"table": "seats", "description": "This table contains information about aircraft seats, including the aircraft code, seat number, and fare conditions.", "example_questions": [ "How many Business class seats are there on aircraft with code '319'?", "List all unique fare conditions available across all aircraft.", "For each aircraft code, what percentage of seats are in the Business fare condition?"]}
{"table": "ticket_flights", "description": "This table links tickets to specific flights and includes fare conditions and ticket amounts.", "example_questions": ["What is the average ticket amount for Business class on flight_id 30625?", "How many different fare conditions are there across all ticket_flights?", "For each flight_id, what is the price difference between the highest and lowest ticket amount?"]}
{"table": "tickets", "description": "This table contains information about tickets, including ticket number, booking reference, and passenger ID.", "example_questions": ["How many tickets are associated with the booking reference '06B046'?", "What is the passenger ID for the ticket number '9880005432000987'?", "How many unique passengers (based on passenger_id) have tickets in the system?"]}
{"table": "trip_recommendations", "description": "This table stores trip recommendations, including name, location, keywords, details, and booking status.", "example_questions": [ "How many trip recommendations are available for Basel?", "What are the keywords associated with the 'Kunstmuseum Basel' recommendation?", "List all unique locations that have trip recommendations, along with the count of recommendations for each location."]}