{"org_id": 1, "app_id": 0, "public_key": "public_key", "database_uri": "sqlite:///spider/database/car_1/car_1.sqlite?mode=ro", "db_name": "car_1", "statistics": {"tables_count": 6, "columns_count": 23}, "status": "inited", "db_schema": {"car_makers": {"table_name": "car_makers", "description": "", "columns": {"id": {"name": "id", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 22.0, \"mean\": 12.090909090909092, \"std\": 6.927578364142985, \"min\": 1.0, \"25%\": 6.25, \"50%\": 12.5, \"75%\": 17.75, \"max\": 23.0}", "sample_data": "[1, 2, 3]"}, "maker": {"name": "maker", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 22, \"unique\": 22, \"top\": \"amc\", \"freq\": 1}", "sample_data": "[\"amc\", \"volkswagen\", \"bmw\"]"}, "fullname": {"name": "fullname", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 22, \"unique\": 22, \"top\": \"American Motor Company\", \"freq\": 1}", "sample_data": "[\"American Motor Company\", \"Volkswagen\", \"BMW\"]"}, "country": {"name": "country", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 22, \"unique\": 8, \"top\": \"4\", \"freq\": 5}", "sample_data": "[\"1\", \"2\", \"2\"]"}}, "primary_key": "id", "foreign_keys": ["country"]}, "car_names": {"table_name": "car_names", "description": "", "columns": {"makeid": {"name": "makeid", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 100.5, \"std\": 57.879184513951124, \"min\": 1.0, \"25%\": 50.75, \"50%\": 100.5, \"75%\": 150.25, \"max\": 200.0}", "sample_data": "[1, 2, 3]"}, "model": {"name": "model", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200, \"unique\": 27, \"top\": \"ford\", \"freq\": 30}", "sample_data": "[\"chevrolet\", \"buick\", \"plymouth\"]"}, "make": {"name": "make", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200, \"unique\": 146, \"top\": \"amc matador\", \"freq\": 5}", "sample_data": "[\"chevrolet chevelle malibu\", \"buick skylark 320\", \"plymouth satellite\"]"}}, "primary_key": "makeid", "foreign_keys": ["model"]}, "cars_data": {"table_name": "cars_data", "description": "", "columns": {"id": {"name": "id", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 100.5, \"std\": 57.879184513951124, \"min\": 1.0, \"25%\": 50.75, \"50%\": 100.5, \"75%\": 150.25, \"max\": 200.0}", "sample_data": "[1, 2, 3]"}, "mpg": {"name": "mpg", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200, \"unique\": 30, \"top\": \"14\", \"freq\": 19}", "sample_data": "[\"18\", \"15\", \"18\"]"}, "cylinders": {"name": "cylinders", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 5.96, \"std\": 1.8012837409963731, \"min\": 3.0, \"25%\": 4.0, \"50%\": 6.0, \"75%\": 8.0, \"max\": 8.0}", "sample_data": "[8, 8, 8]"}, "edispl": {"name": "edispl", "type": "REAL", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 227.5875, \"std\": 115.69376096132792, \"min\": 68.0, \"25%\": 115.75, \"50%\": 232.0, \"75%\": 318.0, \"max\": 455.0}", "sample_data": "[307.0, 350.0, 318.0]"}, "horsepower": {"name": "horsepower", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"unique\": 71.0, \"top\": 150.0, \"freq\": 19.0}", "sample_data": "[130, 165, 150]"}, "weight": {"name": "weight", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 3208.01, \"std\": 931.3623888675047, \"min\": 1613.0, \"25%\": 2361.5, \"50%\": 3111.5, \"75%\": 4096.5, \"max\": 5140.0}", "sample_data": "[3504, 3693, 3436]"}, "accelerate": {"name": "accelerate", "type": "REAL", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 14.8345, \"std\": 2.8779459016919215, \"min\": 8.0, \"25%\": 13.0, \"50%\": 14.5, \"75%\": 16.5, \"max\": 23.5}", "sample_data": "[12.0, 11.5, 11.0]"}, "year": {"name": "year", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 200.0, \"mean\": 1972.645, \"std\": 1.848257362052674, \"min\": 1970.0, \"25%\": 1971.0, \"50%\": 1973.0, \"75%\": 1974.0, \"max\": 1976.0}", "sample_data": "[1970, 1970, 1970]"}}, "primary_key": "id", "foreign_keys": ["id"]}, "continents": {"table_name": "continents", "description": "", "columns": {"contid": {"name": "contid", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 5.0, \"mean\": 3.0, \"std\": 1.5811388300841898, \"min\": 1.0, \"25%\": 2.0, \"50%\": 3.0, \"75%\": 4.0, \"max\": 5.0}", "sample_data": "[1, 2, 3]"}, "continent": {"name": "continent", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 5, \"unique\": 5, \"top\": \"america\", \"freq\": 1}", "sample_data": "[\"america\", \"europe\", \"asia\"]"}}, "primary_key": "contid"}, "countries": {"table_name": "countries", "description": "", "columns": {"countryid": {"name": "countryid", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 15.0, \"mean\": 8.0, \"std\": 4.47213595499958, \"min\": 1.0, \"25%\": 4.5, \"50%\": 8.0, \"75%\": 11.5, \"max\": 15.0}", "sample_data": "[1, 2, 3]"}, "countryname": {"name": "countryname", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 15, \"unique\": 15, \"top\": \"usa\", \"freq\": 1}", "sample_data": "[\"usa\", \"germany\", \"france\"]"}, "continent": {"name": "continent", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 15.0, \"mean\": 2.6, \"std\": 1.3522468075656267, \"min\": 1.0, \"25%\": 2.0, \"50%\": 2.0, \"75%\": 3.5, \"max\": 5.0}", "sample_data": "[1, 2, 2]"}}, "primary_key": "countryid", "foreign_keys": ["continent"]}, "model_list": {"table_name": "model_list", "description": "", "columns": {"modelid": {"name": "modelid", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 1, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 36.0, \"mean\": 18.5, \"std\": 10.535653752852738, \"min\": 1.0, \"25%\": 9.75, \"50%\": 18.5, \"75%\": 27.25, \"max\": 36.0}", "sample_data": "[1, 2, 3]"}, "maker": {"name": "maker", "type": "INTEGER", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 36.0, \"mean\": 10.055555555555555, \"std\": 6.555017465137219, \"min\": 1.0, \"25%\": 4.75, \"50%\": 8.0, \"75%\": 15.25, \"max\": 23.0}", "sample_data": "[1, 2, 3]"}, "model": {"name": "model", "type": "TEXT", "nullable": true, "default": null, "autoincrement": "auto", "primary_key": 0, "description": "", "description_cn": "", "description_en": "", "statistics": "{\"count\": 36, \"unique\": 36, \"top\": \"amc\", \"freq\": 1}", "sample_data": "[\"amc\", \"audi\", \"bmw\"]"}}, "primary_key": "modelid", "foreign_keys": ["maker"]}}, "tables_sample_data": {"car_makers": {"table_name": "car_makers", "sample_data_str": "[{\"id\": 1, \"maker\": \"amc\", \"fullname\": \"American Motor Company\", \"country\": \"1\"}, {\"id\": 2, \"maker\": \"volkswagen\", \"fullname\": \"Volkswagen\", \"country\": \"2\"}, {\"id\": 3, \"maker\": \"bmw\", \"fullname\": \"BMW\", \"country\": \"2\"}, {\"id\": 4, \"maker\": \"gm\", \"fullname\": \"General Motors\", \"country\": \"1\"}, {\"id\": 5, \"maker\": \"ford\", \"fullname\": \"Ford Motor Company\", \"country\": \"1\"}]"}, "car_names": {"table_name": "car_names", "sample_data_str": "[{\"makeid\": 1, \"model\": \"chevrolet\", \"make\": \"chevrolet chevelle malibu\"}, {\"makeid\": 2, \"model\": \"buick\", \"make\": \"buick skylark 320\"}, {\"makeid\": 3, \"model\": \"plymouth\", \"make\": \"plymouth satellite\"}, {\"makeid\": 4, \"model\": \"amc\", \"make\": \"amc rebel sst\"}, {\"makeid\": 5, \"model\": \"ford\", \"make\": \"ford torino\"}]"}, "cars_data": {"table_name": "cars_data", "sample_data_str": "[{\"id\": 1, \"mpg\": \"18\", \"cylinders\": 8, \"edispl\": 307.0, \"horsepower\": 130, \"weight\": 3504, \"accelerate\": 12.0, \"year\": 1970}, {\"id\": 2, \"mpg\": \"15\", \"cylinders\": 8, \"edispl\": 350.0, \"horsepower\": 165, \"weight\": 3693, \"accelerate\": 11.5, \"year\": 1970}, {\"id\": 3, \"mpg\": \"18\", \"cylinders\": 8, \"edispl\": 318.0, \"horsepower\": 150, \"weight\": 3436, \"accelerate\": 11.0, \"year\": 1970}, {\"id\": 4, \"mpg\": \"16\", \"cylinders\": 8, \"edispl\": 304.0, \"horsepower\": 150, \"weight\": 3433, \"accelerate\": 12.0, \"year\": 1970}, {\"id\": 5, \"mpg\": \"17\", \"cylinders\": 8, \"edispl\": 302.0, \"horsepower\": 140, \"weight\": 3449, \"accelerate\": 10.5, \"year\": 1970}]"}, "continents": {"table_name": "continents", "sample_data_str": "[{\"contid\": 1, \"continent\": \"america\"}, {\"contid\": 2, \"continent\": \"europe\"}, {\"contid\": 3, \"continent\": \"asia\"}, {\"contid\": 4, \"continent\": \"africa\"}, {\"contid\": 5, \"continent\": \"australia\"}]"}, "countries": {"table_name": "countries", "sample_data_str": "[{\"countryid\": 1, \"countryname\": \"usa\", \"continent\": 1}, {\"countryid\": 2, \"countryname\": \"germany\", \"continent\": 2}, {\"countryid\": 3, \"countryname\": \"france\", \"continent\": 2}, {\"countryid\": 4, \"countryname\": \"japan\", \"continent\": 3}, {\"countryid\": 5, \"countryname\": \"italy\", \"continent\": 2}]"}, "model_list": {"table_name": "model_list", "sample_data_str": "[{\"modelid\": 1, \"maker\": 1, \"model\": \"amc\"}, {\"modelid\": 2, \"maker\": 2, \"model\": \"audi\"}, {\"modelid\": 3, \"maker\": 3, \"model\": \"bmw\"}, {\"modelid\": 4, \"maker\": 4, \"model\": \"buick\"}, {\"modelid\": 5, \"maker\": 4, \"model\": \"cadillac\"}]"}}, "table_relationship": {"car_makers": [{"referencing_table": "car_makers", "foreign_key_column": "country", "referenced_table": "countries", "primary_key_column": "countryid", "orig_table_relship": true}, {"referencing_table": "model_list", "foreign_key_column": "maker", "referenced_table": "car_makers", "primary_key_column": "id", "orig_table_relship": true}], "countries": [{"referencing_table": "countries", "foreign_key_column": "continent", "referenced_table": "continents", "primary_key_column": "contid", "orig_table_relship": true}], "car_names": [{"referencing_table": "car_names", "foreign_key_column": "model", "referenced_table": "model_list", "primary_key_column": "model", "orig_table_relship": true}, {"referencing_table": "cars_data", "foreign_key_column": "id", "referenced_table": "car_names", "primary_key_column": "makeid", "orig_table_relship": true}], "model_list": [{"referencing_table": "model_list", "foreign_key_column": "maker", "referenced_table": "car_makers", "primary_key_column": "id", "orig_table_relship": true}], "cars_data": [{"referencing_table": "cars_data", "foreign_key_column": "id", "referenced_table": "car_names", "primary_key_column": "makeid", "orig_table_relship": true}], "continents": [{"referencing_table": "countries", "foreign_key_column": "continent", "referenced_table": "continents", "primary_key_column": "contid", "orig_table_relship": true}]}, "entity": {"hello": {"name": "name", "summary": "summary", "attributes": [1, 2, 3], "involved_tables": ["involved_tables"]}}}