Upload 249 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- spider-corpus-test/spider-context-test.json +0 -0
- spider-corpus-test/test_database/aan_1/aan_1.sqlite +3 -0
- spider-corpus-test/test_database/aan_1/annotation.json +5 -0
- spider-corpus-test/test_database/aan_1/schema.sql +0 -0
- spider-corpus-test/test_database/academic/academic.sqlite +0 -0
- spider-corpus-test/test_database/academic/schema.sql +108 -0
- spider-corpus-test/test_database/address_1/address_1.sqlite +0 -0
- spider-corpus-test/test_database/address_1/link.txt +1 -0
- spider-corpus-test/test_database/address_1/schema.sql +218 -0
- spider-corpus-test/test_database/advertising_agencies/advertising_agencies.sqlite +0 -0
- spider-corpus-test/test_database/advertising_agencies/schema.sql +162 -0
- spider-corpus-test/test_database/aircraft/aircraft.sqlite +0 -0
- spider-corpus-test/test_database/aircraft/schema.sql +108 -0
- spider-corpus-test/test_database/bbc_channels/bbc_channels.sqlite +0 -0
- spider-corpus-test/test_database/bbc_channels/schema.sql +83 -0
- spider-corpus-test/test_database/bike_1/bike_1.sqlite +3 -0
- spider-corpus-test/test_database/bike_1/schema.sql +0 -0
- spider-corpus-test/test_database/boat_1/Boats.csv +4 -0
- spider-corpus-test/test_database/boat_1/Reserves.csv +5 -0
- spider-corpus-test/test_database/boat_1/Sailors.csv +4 -0
- spider-corpus-test/test_database/boat_1/boat_1.sqlite +0 -0
- spider-corpus-test/test_database/boat_1/schema.sql +20 -0
- spider-corpus-test/test_database/book_1/annotation.json +101 -0
- spider-corpus-test/test_database/book_1/book_1.sqlite +0 -0
- spider-corpus-test/test_database/book_1/link.txt +1 -0
- spider-corpus-test/test_database/book_1/q.txt +37 -0
- spider-corpus-test/test_database/book_1/schema.sql +91 -0
- spider-corpus-test/test_database/book_1/schema_old.sql +91 -0
- spider-corpus-test/test_database/book_1/sql.txt +97 -0
- spider-corpus-test/test_database/browser_web/browser_web.sqlite +0 -0
- spider-corpus-test/test_database/browser_web/schema.sql +58 -0
- spider-corpus-test/test_database/candidate_poll/candidate_poll.sqlite +0 -0
- spider-corpus-test/test_database/candidate_poll/schema.sql +42 -0
- spider-corpus-test/test_database/car_1/annotation.json +62 -0
- spider-corpus-test/test_database/car_1/car_1.json +216 -0
- spider-corpus-test/test_database/car_1/car_1.sql +52 -0
- spider-corpus-test/test_database/car_1/car_1.sqlite +0 -0
- spider-corpus-test/test_database/car_1/data_csv/README.CARS.TXT +149 -0
- spider-corpus-test/test_database/car_1/data_csv/car-makers.csv +24 -0
- spider-corpus-test/test_database/car_1/data_csv/car-names.csv +407 -0
- spider-corpus-test/test_database/car_1/data_csv/cars-data.csv +407 -0
- spider-corpus-test/test_database/car_1/data_csv/cars.desc +94 -0
- spider-corpus-test/test_database/car_1/data_csv/continents.csv +6 -0
- spider-corpus-test/test_database/car_1/data_csv/countries.csv +16 -0
- spider-corpus-test/test_database/car_1/data_csv/model-list.csv +37 -0
- spider-corpus-test/test_database/car_1/link.txt +1 -0
- spider-corpus-test/test_database/car_1/q.txt +27 -0
- spider-corpus-test/test_database/car_racing/car_racing.sqlite +0 -0
- spider-corpus-test/test_database/car_racing/schema.sql +91 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
spider-corpus-test/test_database/aan_1/aan_1.sqlite filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
spider-corpus-test/test_database/bike_1/bike_1.sqlite filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
spider-corpus-test/test_database/college_2/college_2.sqlite filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
spider-corpus-test/test_database/formula_1/data_csv/lapTimes.csv filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
spider-corpus-test/test_database/formula_1/formula_1.sqlite filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
spider-corpus-test/test_database/sakila_1/sakila_1.sqlite filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
spider-corpus-test/test_database/wta_1/wta_1.sqlite filter=lfs diff=lfs merge=lfs -text
|
spider-corpus-test/spider-context-test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
spider-corpus-test/test_database/aan_1/aan_1.sqlite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54c45e431f0f654bfac741cf69e66ca34dacf42a0d0abbde6fd426a7a1e60c4b
|
| 3 |
+
size 17154048
|
spider-corpus-test/test_database/aan_1/annotation.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [],
|
| 4 |
+
"review_id": null
|
| 5 |
+
}
|
spider-corpus-test/test_database/aan_1/schema.sql
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
spider-corpus-test/test_database/academic/academic.sqlite
ADDED
|
Binary file (123 kB). View file
|
|
|
spider-corpus-test/test_database/academic/schema.sql
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE "author" (
|
| 3 |
+
"aid" int,
|
| 4 |
+
"homepage" text,
|
| 5 |
+
"name" text,
|
| 6 |
+
"oid" int,
|
| 7 |
+
primary key("aid")
|
| 8 |
+
);
|
| 9 |
+
CREATE TABLE "conference" (
|
| 10 |
+
"cid" int,
|
| 11 |
+
"homepage" text,
|
| 12 |
+
"name" text,
|
| 13 |
+
primary key ("cid")
|
| 14 |
+
);
|
| 15 |
+
CREATE TABLE "domain" (
|
| 16 |
+
"did" int,
|
| 17 |
+
"name" text,
|
| 18 |
+
primary key ("did")
|
| 19 |
+
);
|
| 20 |
+
CREATE TABLE "domain_author" (
|
| 21 |
+
"aid" int,
|
| 22 |
+
"did" int,
|
| 23 |
+
primary key ("did", "aid"),
|
| 24 |
+
foreign key("aid") references `author`("aid"),
|
| 25 |
+
foreign key("did") references `domain`("did")
|
| 26 |
+
);
|
| 27 |
+
|
| 28 |
+
CREATE TABLE "domain_conference" (
|
| 29 |
+
"cid" int,
|
| 30 |
+
"did" int,
|
| 31 |
+
primary key ("did", "cid"),
|
| 32 |
+
foreign key("cid") references `conference`("cid"),
|
| 33 |
+
foreign key("did") references `domain`("did")
|
| 34 |
+
);
|
| 35 |
+
CREATE TABLE "journal" (
|
| 36 |
+
"homepage" text,
|
| 37 |
+
"jid" int,
|
| 38 |
+
"name" text,
|
| 39 |
+
primary key("jid")
|
| 40 |
+
);
|
| 41 |
+
CREATE TABLE "domain_journal" (
|
| 42 |
+
"did" int,
|
| 43 |
+
"jid" int,
|
| 44 |
+
primary key ("did", "jid"),
|
| 45 |
+
foreign key("jid") references "journal"("jid"),
|
| 46 |
+
foreign key("did") references "domain"("did")
|
| 47 |
+
);
|
| 48 |
+
CREATE TABLE "keyword" (
|
| 49 |
+
"keyword" text,
|
| 50 |
+
"kid" int,
|
| 51 |
+
primary key("kid")
|
| 52 |
+
);
|
| 53 |
+
CREATE TABLE "domain_keyword" (
|
| 54 |
+
"did" int,
|
| 55 |
+
"kid" int,
|
| 56 |
+
primary key ("did", "kid"),
|
| 57 |
+
foreign key("kid") references "keyword"("kid"),
|
| 58 |
+
foreign key("did") references "domain"("did")
|
| 59 |
+
);
|
| 60 |
+
CREATE TABLE "publication" (
|
| 61 |
+
"abstract" text,
|
| 62 |
+
"cid" text,
|
| 63 |
+
"citation_num" int,
|
| 64 |
+
"jid" int,
|
| 65 |
+
"pid" int,
|
| 66 |
+
"reference_num" int,
|
| 67 |
+
"title" text,
|
| 68 |
+
"year" int,
|
| 69 |
+
primary key("pid"),
|
| 70 |
+
foreign key("jid") references "journal"("jid"),
|
| 71 |
+
foreign key("cid") references "conference"("cid")
|
| 72 |
+
);
|
| 73 |
+
CREATE TABLE "domain_publication" (
|
| 74 |
+
"did" int,
|
| 75 |
+
"pid" int,
|
| 76 |
+
primary key ("did", "pid"),
|
| 77 |
+
foreign key("pid") references "publication"("pid"),
|
| 78 |
+
foreign key("did") references "domain"("did")
|
| 79 |
+
);
|
| 80 |
+
|
| 81 |
+
CREATE TABLE "organization" (
|
| 82 |
+
"continent" text,
|
| 83 |
+
"homepage" text,
|
| 84 |
+
"name" text,
|
| 85 |
+
"oid" int,
|
| 86 |
+
primary key("oid")
|
| 87 |
+
);
|
| 88 |
+
|
| 89 |
+
CREATE TABLE "publication_keyword" (
|
| 90 |
+
"pid" int,
|
| 91 |
+
"kid" int,
|
| 92 |
+
primary key ("kid", "pid"),
|
| 93 |
+
foreign key("pid") references "publication"("pid"),
|
| 94 |
+
foreign key("kid") references "keyword"("kid")
|
| 95 |
+
);
|
| 96 |
+
CREATE TABLE "writes" (
|
| 97 |
+
"aid" int,
|
| 98 |
+
"pid" int,
|
| 99 |
+
primary key ("aid", "pid"),
|
| 100 |
+
foreign key("pid") references "publication"("pid"),
|
| 101 |
+
foreign key("aid") references "author"("aid")
|
| 102 |
+
);
|
| 103 |
+
CREATE TABLE "cite" (
|
| 104 |
+
"cited" int,
|
| 105 |
+
"citing" int,
|
| 106 |
+
foreign key("cited") references "publication"("pid"),
|
| 107 |
+
foreign key("citing") references "publication"("pid")
|
| 108 |
+
);
|
spider-corpus-test/test_database/address_1/address_1.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
spider-corpus-test/test_database/address_1/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
http://www.cs.jhu.edu/~yarowsky/jhu.sql
|
spider-corpus-test/test_database/address_1/schema.sql
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create table Student (
|
| 2 |
+
StuID INTEGER PRIMARY KEY,
|
| 3 |
+
LName VARCHAR(12),
|
| 4 |
+
Fname VARCHAR(12),
|
| 5 |
+
Age INTEGER,
|
| 6 |
+
Sex VARCHAR(1),
|
| 7 |
+
Major INTEGER,
|
| 8 |
+
Advisor INTEGER,
|
| 9 |
+
city_code VARCHAR(3),
|
| 10 |
+
FOREIGN KEY(city_code) REFERENCES City(city_code)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
create table Direct_distance (
|
| 14 |
+
city1_code varchar(3) ,
|
| 15 |
+
city2_code varchar(3) ,
|
| 16 |
+
distance INTEGER,
|
| 17 |
+
FOREIGN KEY(city1_code) REFERENCES City(city_code),
|
| 18 |
+
FOREIGN KEY(city2_code) REFERENCES City(city_code)
|
| 19 |
+
|
| 20 |
+
) ;
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
create table City (
|
| 24 |
+
city_code VARCHAR(3) PRIMARY KEY,
|
| 25 |
+
city_name VARCHAR(25),
|
| 26 |
+
state VARCHAR(2),
|
| 27 |
+
country VARCHAR(25),
|
| 28 |
+
latitude FLOAT,
|
| 29 |
+
longitude FLOAT
|
| 30 |
+
);
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
insert into Student values ( 1001, 'Smith', 'Linda', 18, 'F', 600, 1121,'BAL');
|
| 34 |
+
insert into Student values ( 1002, 'Kim', 'Tracy', 19, 'F', 600, 7712,'HKG');
|
| 35 |
+
insert into Student values ( 1003, 'Jones', 'Shiela', 21, 'F', 600, 7792,'WAS');
|
| 36 |
+
insert into Student values ( 1004, 'Kumar', 'Dinesh', 20, 'M', 600, 8423,'CHI');
|
| 37 |
+
insert into Student values ( 1005, 'Gompers', 'Paul', 26, 'M', 600, 1121,'YYZ');
|
| 38 |
+
insert into Student values ( 1006, 'Schultz', 'Andy', 18, 'M', 600, 1148,'BAL');
|
| 39 |
+
insert into Student values ( 1007, 'Apap', 'Lisa', 18, 'F', 600, 8918,'PIT');
|
| 40 |
+
insert into Student values ( 1008, 'Nelson', 'Jandy', 20, 'F', 600, 9172,'BAL');
|
| 41 |
+
insert into Student values ( 1009, 'Tai', 'Eric', 19, 'M', 600, 2192,'YYZ');
|
| 42 |
+
insert into Student values ( 1010, 'Lee', 'Derek', 17, 'M', 600, 2192,'HOU');
|
| 43 |
+
insert into Student values ( 1011, 'Adams', 'David', 22, 'M', 600, 1148,'PHL');
|
| 44 |
+
insert into Student values ( 1012, 'Davis', 'Steven', 20, 'M', 600, 7723,'PIT');
|
| 45 |
+
insert into Student values ( 1014, 'Norris', 'Charles', 18, 'M', 600, 8741, 'DAL');
|
| 46 |
+
insert into Student values ( 1015, 'Lee', 'Susan', 16, 'F', 600, 8721,'HKG');
|
| 47 |
+
insert into Student values ( 1016, 'Schwartz', 'Mark', 17, 'M', 600, 2192,'DET');
|
| 48 |
+
insert into Student values ( 1017, 'Wilson', 'Bruce', 27, 'M', 600, 1148,'LON');
|
| 49 |
+
insert into Student values ( 1018, 'Leighton', 'Michael', 20, 'M', 600, 1121, 'PIT');
|
| 50 |
+
insert into Student values ( 1019, 'Pang', 'Arthur', 18, 'M', 600, 2192,'WAS');
|
| 51 |
+
insert into Student values ( 1020, 'Thornton', 'Ian', 22, 'M', 520, 7271,'NYC');
|
| 52 |
+
insert into Student values ( 1021, 'Andreou', 'George', 19, 'M', 520, 8722, 'NYC');
|
| 53 |
+
insert into Student values ( 1022, 'Woods', 'Michael', 17, 'M', 540, 8722,'PHL');
|
| 54 |
+
insert into Student values ( 1023, 'Shieber', 'David', 20, 'M', 520, 8722,'NYC');
|
| 55 |
+
insert into Student values ( 1024, 'Prater', 'Stacy', 18, 'F', 540, 7271,'BAL');
|
| 56 |
+
insert into Student values ( 1025, 'Goldman', 'Mark', 18, 'M', 520, 7134,'PIT');
|
| 57 |
+
insert into Student values ( 1026, 'Pang', 'Eric', 19, 'M', 520, 7134,'HKG');
|
| 58 |
+
insert into Student values ( 1027, 'Brody', 'Paul', 18, 'M', 520, 8723,'LOS');
|
| 59 |
+
insert into Student values ( 1028, 'Rugh', 'Eric', 20, 'M', 550, 2311,'ROC');
|
| 60 |
+
insert into Student values ( 1029, 'Han', 'Jun', 17, 'M', 100, 2311,'PEK');
|
| 61 |
+
insert into Student values ( 1030, 'Cheng', 'Lisa', 21, 'F', 550, 2311,'SFO');
|
| 62 |
+
insert into Student values ( 1031, 'Smith', 'Sarah', 20, 'F', 550, 8772,'PHL');
|
| 63 |
+
insert into Student values ( 1032, 'Brown', 'Eric', 20, 'M', 550, 8772,'ATL');
|
| 64 |
+
insert into Student values ( 1033, 'Simms', 'William', 18, 'M', 550, 8772,'NAR');
|
| 65 |
+
insert into Student values ( 1034, 'Epp', 'Eric', 18, 'M', 050, 5718,'BOS');
|
| 66 |
+
insert into Student values ( 1035, 'Schmidt', 'Sarah', 26, 'F', 050, 5718,'WAS');
|
| 67 |
+
|
| 68 |
+
insert into Direct_distance values ( 'BAL' , 'ATL' , 576 ) ;
|
| 69 |
+
insert into Direct_distance values ( 'BAL' , 'BAL' , 0 ) ;
|
| 70 |
+
insert into Direct_distance values ( 'BAL' , 'BKK' , 9631 ) ;
|
| 71 |
+
insert into Direct_distance values ( 'BAL' , 'BOS' , 370 ) ;
|
| 72 |
+
insert into Direct_distance values ( 'BAL' , 'CHI' , 621 ) ;
|
| 73 |
+
insert into Direct_distance values ( 'BAL' , 'CPK' , 21 ) ;
|
| 74 |
+
insert into Direct_distance values ( 'BAL' , 'DAL' , 1217 ) ;
|
| 75 |
+
insert into Direct_distance values ( 'BAL' , 'DEL' , 7469 ) ;
|
| 76 |
+
insert into Direct_distance values ( 'BAL' , 'DET' , 408 ) ;
|
| 77 |
+
insert into Direct_distance values ( 'BAL' , 'EWR' , 169 ) ;
|
| 78 |
+
insert into Direct_distance values ( 'BAL' , 'FRE' , 35 ) ;
|
| 79 |
+
insert into Direct_distance values ( 'BAL' , 'HKG' , 8409 ) ;
|
| 80 |
+
insert into Direct_distance values ( 'BAL' , 'HON' , 4832 ) ;
|
| 81 |
+
insert into Direct_distance values ( 'BAL' , 'HOU' , 1240 ) ;
|
| 82 |
+
insert into Direct_distance values ( 'BAL' , 'JNB' , 7850 ) ;
|
| 83 |
+
insert into Direct_distance values ( 'BAL' , 'LON' , 3652 ) ;
|
| 84 |
+
insert into Direct_distance values ( 'BAL' , 'LOS' , 2329 ) ;
|
| 85 |
+
insert into Direct_distance values ( 'BAL' , 'MIA' , 946 ) ;
|
| 86 |
+
insert into Direct_distance values ( 'BAL' , 'NAR' , 71 ) ;
|
| 87 |
+
insert into Direct_distance values ( 'BAL' , 'NYC' , 185 ) ;
|
| 88 |
+
insert into Direct_distance values ( 'BAL' , 'PAR' , 3800 ) ;
|
| 89 |
+
insert into Direct_distance values ( 'BAL' , 'PEK' , 8041 ) ;
|
| 90 |
+
insert into Direct_distance values ( 'BAL' , 'PHL' , 105 ) ;
|
| 91 |
+
insert into Direct_distance values ( 'BAL' , 'PIT' , 210 ) ;
|
| 92 |
+
insert into Direct_distance values ( 'BAL' , 'PVD' , 328 ) ;
|
| 93 |
+
insert into Direct_distance values ( 'BAL' , 'ROC' , 277 ) ;
|
| 94 |
+
insert into Direct_distance values ( 'BAL' , 'SAN' , 2295 ) ;
|
| 95 |
+
insert into Direct_distance values ( 'BAL' , 'SFO' , 2457 ) ;
|
| 96 |
+
insert into Direct_distance values ( 'BAL' , 'TYO' , 6740 ) ;
|
| 97 |
+
insert into Direct_distance values ( 'BAL' , 'WAS' , 35 ) ;
|
| 98 |
+
insert into Direct_distance values ( 'BAL' , 'YYZ' , 347 ) ;
|
| 99 |
+
insert into Direct_distance values ( 'ATL' , 'BAL' , 576 ) ;
|
| 100 |
+
insert into Direct_distance values ( 'ATL' , 'PHL' , 665 ) ;
|
| 101 |
+
insert into Direct_distance values ( 'BKK' , 'BAL' , 9631 ) ;
|
| 102 |
+
insert into Direct_distance values ( 'BOS' , 'BAL' , 370 ) ;
|
| 103 |
+
insert into Direct_distance values ( 'BOS' , 'EWR' , 200 ) ;
|
| 104 |
+
insert into Direct_distance values ( 'BOS' , 'PAR' , 3448 ) ;
|
| 105 |
+
insert into Direct_distance values ( 'BOS' , 'PHL' , 280 ) ;
|
| 106 |
+
insert into Direct_distance values ( 'CHI' , 'BAL' , 621 ) ;
|
| 107 |
+
insert into Direct_distance values ( 'CHI' , 'PHL' , 678 ) ;
|
| 108 |
+
insert into Direct_distance values ( 'CPK' , 'BAL' , 21 ) ;
|
| 109 |
+
insert into Direct_distance values ( 'DAL' , 'BAL' , 1217 ) ;
|
| 110 |
+
insert into Direct_distance values ( 'DEL' , 'BAL' , 7469 ) ;
|
| 111 |
+
insert into Direct_distance values ( 'DET' , 'BAL' , 408 ) ;
|
| 112 |
+
insert into Direct_distance values ( 'DET' , 'EWR' , 488 ) ;
|
| 113 |
+
insert into Direct_distance values ( 'DET' , 'PHL' , 453 ) ;
|
| 114 |
+
insert into Direct_distance values ( 'EWR' , 'BAL' , 169 ) ;
|
| 115 |
+
insert into Direct_distance values ( 'EWR' , 'BOS' , 200 ) ;
|
| 116 |
+
insert into Direct_distance values ( 'EWR' , 'DET' , 488 ) ;
|
| 117 |
+
insert into Direct_distance values ( 'EWR' , 'LON' , 3458 ) ;
|
| 118 |
+
insert into Direct_distance values ( 'EWR' , 'LOS' , 2454 ) ;
|
| 119 |
+
insert into Direct_distance values ( 'EWR' , 'LOS' , 2454 ) ;
|
| 120 |
+
insert into Direct_distance values ( 'EWR' , 'PHL' , 89 ) ;
|
| 121 |
+
insert into Direct_distance values ( 'EWR' , 'SAN' , 2425 ) ;
|
| 122 |
+
insert into Direct_distance values ( 'EWR' , 'WAS' , 199 ) ;
|
| 123 |
+
insert into Direct_distance values ( 'FRE' , 'BAL' , 35 ) ;
|
| 124 |
+
insert into Direct_distance values ( 'HKG' , 'BAL' , 8409 ) ;
|
| 125 |
+
insert into Direct_distance values ( 'HON' , 'BAL' , 4832 ) ;
|
| 126 |
+
insert into Direct_distance values ( 'HOU' , 'BAL' , 1240 ) ;
|
| 127 |
+
insert into Direct_distance values ( 'HOU' , 'LOS' , 1385 ) ;
|
| 128 |
+
insert into Direct_distance values ( 'HOU' , 'PHL' , 1324 ) ;
|
| 129 |
+
insert into Direct_distance values ( 'HOU' , 'SAN' , 1270 ) ;
|
| 130 |
+
insert into Direct_distance values ( 'HOU' , 'SFO' , 1635 ) ;
|
| 131 |
+
insert into Direct_distance values ( 'JNB' , 'BAL' , 7850 ) ;
|
| 132 |
+
insert into Direct_distance values ( 'LON' , 'BAL' , 3652 ) ;
|
| 133 |
+
insert into Direct_distance values ( 'LON' , 'EWR' , 3458 ) ;
|
| 134 |
+
insert into Direct_distance values ( 'LON' , 'NYC' , 3452 ) ;
|
| 135 |
+
insert into Direct_distance values ( 'LON' , 'PHL' , 3546 ) ;
|
| 136 |
+
insert into Direct_distance values ( 'LON' , 'TYO' , 5975 ) ;
|
| 137 |
+
insert into Direct_distance values ( 'LON' , 'WAS' , 3650 ) ;
|
| 138 |
+
insert into Direct_distance values ( 'LOS' , 'BAL' , 2329 ) ;
|
| 139 |
+
insert into Direct_distance values ( 'LOS' , 'EWR' , 2454 ) ;
|
| 140 |
+
insert into Direct_distance values ( 'LOS' , 'EWR' , 2454 ) ;
|
| 141 |
+
insert into Direct_distance values ( 'LOS' , 'HOU' , 1385 ) ;
|
| 142 |
+
insert into Direct_distance values ( 'LOS' , 'PHL' , 2401 ) ;
|
| 143 |
+
insert into Direct_distance values ( 'LOS' , 'SAN' , 109 ) ;
|
| 144 |
+
insert into Direct_distance values ( 'MIA' , 'BAL' , 946 ) ;
|
| 145 |
+
insert into Direct_distance values ( 'NAR' , 'BAL' , 71 ) ;
|
| 146 |
+
insert into Direct_distance values ( 'NYC' , 'BAL' , 185 ) ;
|
| 147 |
+
insert into Direct_distance values ( 'NYC' , 'LON' , 3452 ) ;
|
| 148 |
+
insert into Direct_distance values ( 'PAR' , 'BAL' , 3800 ) ;
|
| 149 |
+
insert into Direct_distance values ( 'PAR' , 'BOS' , 3448 ) ;
|
| 150 |
+
insert into Direct_distance values ( 'PEK' , 'BAL' , 8041 ) ;
|
| 151 |
+
insert into Direct_distance values ( 'PHL' , 'ATL' , 665 ) ;
|
| 152 |
+
insert into Direct_distance values ( 'PHL' , 'BAL' , 105 ) ;
|
| 153 |
+
insert into Direct_distance values ( 'PHL' , 'BOS' , 280 ) ;
|
| 154 |
+
insert into Direct_distance values ( 'PHL' , 'CHI' , 678 ) ;
|
| 155 |
+
insert into Direct_distance values ( 'PHL' , 'DET' , 453 ) ;
|
| 156 |
+
insert into Direct_distance values ( 'PHL' , 'EWR' , 89 ) ;
|
| 157 |
+
insert into Direct_distance values ( 'PHL' , 'HOU' , 1324 ) ;
|
| 158 |
+
insert into Direct_distance values ( 'PHL' , 'LON' , 3546 ) ;
|
| 159 |
+
insert into Direct_distance values ( 'PHL' , 'LOS' , 2401 ) ;
|
| 160 |
+
insert into Direct_distance values ( 'PHL' , 'PIT' , 267 ) ;
|
| 161 |
+
insert into Direct_distance values ( 'PHL' , 'SAN' , 2369 ) ;
|
| 162 |
+
insert into Direct_distance values ( 'PHL' , 'SFO' , 2521 ) ;
|
| 163 |
+
insert into Direct_distance values ( 'PHL' , 'WAS' , 119 ) ;
|
| 164 |
+
insert into Direct_distance values ( 'PIT' , 'BAL' , 210 ) ;
|
| 165 |
+
insert into Direct_distance values ( 'PIT' , 'PHL' , 267 ) ;
|
| 166 |
+
insert into Direct_distance values ( 'PIT' , 'SAN' , 2106 ) ;
|
| 167 |
+
insert into Direct_distance values ( 'PVD' , 'BAL' , 328 ) ;
|
| 168 |
+
insert into Direct_distance values ( 'ROC' , 'BAL' , 277 ) ;
|
| 169 |
+
insert into Direct_distance values ( 'ROC' , 'WAS' , 296 ) ;
|
| 170 |
+
insert into Direct_distance values ( 'SAN' , 'BAL' , 2295 ) ;
|
| 171 |
+
insert into Direct_distance values ( 'SAN' , 'EWR' , 2425 ) ;
|
| 172 |
+
insert into Direct_distance values ( 'SAN' , 'HOU' , 1270 ) ;
|
| 173 |
+
insert into Direct_distance values ( 'SAN' , 'LOS' , 109 ) ;
|
| 174 |
+
insert into Direct_distance values ( 'SAN' , 'PHL' , 2369 ) ;
|
| 175 |
+
insert into Direct_distance values ( 'SAN' , 'PIT' , 2106 ) ;
|
| 176 |
+
insert into Direct_distance values ( 'SFO' , 'BAL' , 2457 ) ;
|
| 177 |
+
insert into Direct_distance values ( 'SFO' , 'HOU' , 1635 ) ;
|
| 178 |
+
insert into Direct_distance values ( 'SFO' , 'PHL' , 2521 ) ;
|
| 179 |
+
insert into Direct_distance values ( 'TYO' , 'BAL' , 6740 ) ;
|
| 180 |
+
insert into Direct_distance values ( 'TYO' , 'LON' , 5975 ) ;
|
| 181 |
+
insert into Direct_distance values ( 'WAS' , 'BAL' , 35 ) ;
|
| 182 |
+
insert into Direct_distance values ( 'WAS' , 'EWR' , 199 ) ;
|
| 183 |
+
insert into Direct_distance values ( 'WAS' , 'LON' , 3650 ) ;
|
| 184 |
+
insert into Direct_distance values ( 'WAS' , 'PHL' , 119 ) ;
|
| 185 |
+
insert into Direct_distance values ( 'WAS' , 'ROC' , 296 ) ;
|
| 186 |
+
insert into Direct_distance values ( 'YYZ' , 'BAL' , 347 ) ;
|
| 187 |
+
|
| 188 |
+
insert into City values ( 'BAL' , 'Baltimore' , 'MD' , 'USA' , 39.288 , -76.617 ) ;
|
| 189 |
+
insert into City values ( 'PIT' , 'Pittsburgh' , 'PA' , 'USA' , 40.437 , -80.000 ) ;
|
| 190 |
+
insert into City values ( 'PHL' , 'Philadelphia' , 'PA' , 'USA' , 39.950 , -75.150 ) ;
|
| 191 |
+
insert into City values ( 'WAS' , 'Washington' , 'DC' , 'USA' , 38.892 , -77.017 ) ;
|
| 192 |
+
insert into City values ( 'NYC' , 'New York' , 'NY' , 'USA' , 40.849 , -73.867) ;
|
| 193 |
+
insert into City values ( 'ATL' , 'Atlanta' , 'GA' , 'USA' , 33.763 , -84.317 ) ;
|
| 194 |
+
insert into City values ( 'EWR' , 'Newark' , 'NJ' , 'USA' , 40.737 , -74.167 );
|
| 195 |
+
insert into City values ( 'FRE' , 'Frederick' , 'MD' , 'USA' , 39.415 , -77.417 ) ;
|
| 196 |
+
insert into City values ( 'NAR' , 'Newark' , 'DE' , 'USA' , 39.683 , -75.750 );
|
| 197 |
+
insert into City values ( 'SAN' , 'San Diego' , 'CA' , 'USA' , 32.713 , -117.150) ;
|
| 198 |
+
insert into City values ( 'LOS' , 'Los Angeles' , 'CA' , 'USA' , 34.058 ,-118.250) ;
|
| 199 |
+
insert into City values ( 'HON' , 'Honolulu' , 'HI' , 'USA' , 21.313 , -157.850 ) ;
|
| 200 |
+
insert into City values ( 'SFO' , 'San Francisco' , 'CA' , 'USA' , 37.775 ,-122.417) ;
|
| 201 |
+
insert into City values ( 'PVD' , 'Providence' , 'RI' , 'USA' , 41.817 , -71.400 ) ;
|
| 202 |
+
insert into City values ( 'BOS' , 'Boston' , 'MA' , 'USA' , 42.362 , -71.050 );
|
| 203 |
+
insert into City values ( 'DET' , 'Detroit' , 'MI' , 'USA' , 42.323 , -83.167 ) ;
|
| 204 |
+
insert into City values ( 'CHI' , 'Chicago' , 'IL' , 'USA' , 41.883 , -87.617 ) ;
|
| 205 |
+
insert into City values ( 'ROC' , 'Rochester' , 'NY' , 'USA' , 43.158 , -77.600 ) ;
|
| 206 |
+
insert into City values ( 'DAL' , 'Dallas' , 'TX' , 'USA' , 32.777 , -96.800 );
|
| 207 |
+
insert into City values ( 'HOU' , 'Houston' , 'TX' , 'USA' , 29.834 , -95.000 ) ;
|
| 208 |
+
insert into City values ( 'MIA' , 'Miami' , 'FL' , 'USA' , 25.465 , -80.150 ) ;
|
| 209 |
+
insert into City values ( 'CPK' , 'College Park' , 'MD' , 'USA' , 38.987 ,-76.933) ;
|
| 210 |
+
insert into City values ( 'YYZ' , 'Toronto' , 'ON' , 'CANADA' , 43.650 , -79.333 ) ;
|
| 211 |
+
insert into City values ( 'DEL' , 'Delhi' , 'DE' , 'INDIA' , 28.617 , 77.217 );
|
| 212 |
+
insert into City values ( 'PEK' , 'Beijing' , 'BE' , 'CHINA' , 39.917 ,116.417) ;
|
| 213 |
+
insert into City values ( 'HKG' , 'Hong Kong' , 'HK' , 'CHINA' , 22.250 ,114.167) ;
|
| 214 |
+
insert into City values ( 'TYO' , 'Tokyo' , 'XX' , 'JAPAN' , 35.700 , 139.767 ) ;
|
| 215 |
+
insert into City values ( 'LON' , 'London' , 'EN' , 'UK' , 51.500 , -0.167 ) ;
|
| 216 |
+
insert into City values ( 'PAR' , 'Paris' , 'XX' , 'FRANCE' , 48.867 , 2.333 );
|
| 217 |
+
insert into City values ( 'JNB' , 'Johannesburg' , 'XX' , 'SAFRICA' , -25.550 , 28.000 ) ;
|
| 218 |
+
insert into City values ( 'BKK' , 'Bangkok' , 'XX' , 'THAILAND' , 13.733 , 100.500 ) ;
|
spider-corpus-test/test_database/advertising_agencies/advertising_agencies.sqlite
ADDED
|
Binary file (32.8 kB). View file
|
|
|
spider-corpus-test/test_database/advertising_agencies/schema.sql
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
CREATE TABLE `Agencies` (
|
| 3 |
+
`agency_id` INTEGER PRIMARY KEY,
|
| 4 |
+
`agency_details` VARCHAR(255) NOT NULL
|
| 5 |
+
);
|
| 6 |
+
|
| 7 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (1, 'Heller-Muller');
|
| 8 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (2, 'Bergstrom, Koss and Ebert');
|
| 9 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (3, 'Douglas-Langworth');
|
| 10 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (4, 'Fadel Group');
|
| 11 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (5, 'White, Corwin and Rath');
|
| 12 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (6, 'Beatty-Sipes');
|
| 13 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (7, 'West, Grady and Durgan');
|
| 14 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (8, 'Hickle-Durgan');
|
| 15 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (9, 'Grant, Jaskolski and Brekke');
|
| 16 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (10, 'Muller, Klein and Kunde');
|
| 17 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (11, 'Bins-Strosin');
|
| 18 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (12, 'Emard-Fisher');
|
| 19 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (13, 'Upton, Hayes and Schumm');
|
| 20 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (14, 'Renner LLC');
|
| 21 |
+
INSERT INTO Agencies (`agency_id`, `agency_details`) VALUES (15, 'Cartwright, Ullrich and Gulgowski');
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
CREATE TABLE `Staff` (
|
| 25 |
+
`staff_id` INTEGER PRIMARY KEY,
|
| 26 |
+
`agency_id` INTEGER NOT NULL,
|
| 27 |
+
`staff_details` VARCHAR(255) NOT NULL
|
| 28 |
+
);
|
| 29 |
+
|
| 30 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (1, 6, 'Rubie');
|
| 31 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (2, 7, 'Sheridan');
|
| 32 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (3, 10, 'Annabell');
|
| 33 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (4, 2, 'Kendra');
|
| 34 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (5, 7, 'Amara');
|
| 35 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (6, 15, 'Lolita');
|
| 36 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (7, 2, 'Hailie');
|
| 37 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (8, 14, 'Armando');
|
| 38 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (9, 10, 'Elroy');
|
| 39 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (10, 8, 'Parker');
|
| 40 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (11, 11, 'Clarissa');
|
| 41 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (12, 5, 'Joaquin');
|
| 42 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (13, 14, 'Antone');
|
| 43 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (14, 14, 'Marques');
|
| 44 |
+
INSERT INTO Staff (`staff_id`, `agency_id`, `staff_details`) VALUES (15, 15, 'Margaret');
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
CREATE TABLE `Clients` (
|
| 48 |
+
`client_id` INTEGER PRIMARY KEY,
|
| 49 |
+
`agency_id` INTEGER NOT NULL,
|
| 50 |
+
`sic_code` VARCHAR(10) NOT NULL,
|
| 51 |
+
`client_details` VARCHAR(255) NOT NULL,
|
| 52 |
+
FOREIGN KEY (`agency_id` ) REFERENCES `Agencies`(`agency_id` )
|
| 53 |
+
);INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (1, 8, 'Mutual', 'Alta');
|
| 54 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (2, 5, 'Bad', 'Mac');
|
| 55 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (3, 3, 'Bad', 'Johnpaul');
|
| 56 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (4, 5, 'Bad', 'Taurean');
|
| 57 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (5, 14, 'Bad', 'Lucie');
|
| 58 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (6, 8, 'Mutual', 'Rosa');
|
| 59 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (7, 9, 'Mutual', 'Kirsten');
|
| 60 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (8, 1, 'Mutual', 'Vincent');
|
| 61 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (9, 9, 'Mutual', 'Heber');
|
| 62 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (10, 9, 'Mutual', 'Callie');
|
| 63 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (11, 14, 'Bad', 'Vaughn');
|
| 64 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (12, 7, 'Mutual', 'Rae');
|
| 65 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (13, 9, 'Mutual', 'Eloise');
|
| 66 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (14, 11, 'Bad', 'Philip');
|
| 67 |
+
INSERT INTO Clients (`client_id`, `agency_id`, `sic_code`, `client_details`) VALUES (15, 1, 'Bad', 'Maximo');
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
CREATE TABLE `Invoices` (
|
| 72 |
+
`invoice_id` INTEGER PRIMARY KEY,
|
| 73 |
+
`client_id` INTEGER NOT NULL,
|
| 74 |
+
`invoice_status` VARCHAR(10) NOT NULL,
|
| 75 |
+
`invoice_details` VARCHAR(255) NOT NULL,
|
| 76 |
+
FOREIGN KEY (`client_id` ) REFERENCES `Clients`(`client_id` )
|
| 77 |
+
);
|
| 78 |
+
CREATE TABLE `Meetings` (
|
| 79 |
+
`meeting_id` INTEGER PRIMARY KEY,
|
| 80 |
+
`client_id` INTEGER NOT NULL,
|
| 81 |
+
`meeting_outcome` VARCHAR(10) NOT NULL,
|
| 82 |
+
`meeting_type` VARCHAR(10) NOT NULL,
|
| 83 |
+
`billable_yn` VARCHAR(1),
|
| 84 |
+
`start_date_time` DATETIME,
|
| 85 |
+
`end_date_time` DATETIME,
|
| 86 |
+
`purpose_of_meeting` VARCHAR(255),
|
| 87 |
+
`other_details` VARCHAR(255) NOT NULL,
|
| 88 |
+
FOREIGN KEY (`client_id` ) REFERENCES `Clients`(`client_id` )
|
| 89 |
+
);
|
| 90 |
+
CREATE TABLE `Payments` (
|
| 91 |
+
`payment_id` INTEGER NOT NULL ,
|
| 92 |
+
`invoice_id` INTEGER NOT NULL,
|
| 93 |
+
`payment_details` VARCHAR(255) NOT NULL,
|
| 94 |
+
FOREIGN KEY (`invoice_id` ) REFERENCES `Invoices`(`invoice_id` )
|
| 95 |
+
);
|
| 96 |
+
|
| 97 |
+
CREATE TABLE `Staff_in_Meetings` (
|
| 98 |
+
`meeting_id` INTEGER NOT NULL,
|
| 99 |
+
`staff_id` INTEGER NOT NULL,
|
| 100 |
+
FOREIGN KEY (`meeting_id` ) REFERENCES `Meetings`(`meeting_id` ),
|
| 101 |
+
FOREIGN KEY (`staff_id` ) REFERENCES `Staff`(`staff_id` )
|
| 102 |
+
);
|
| 103 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (1, 5, 'Working', 'excellent');
|
| 104 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (2, 9, 'Starting', 'good');
|
| 105 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (3, 15, 'Starting', 'excellent');
|
| 106 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (4, 8, 'Starting', 'ok');
|
| 107 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (5, 7, 'Finish', 'excellent');
|
| 108 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (6, 8, 'Working', 'excellent');
|
| 109 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (7, 7, 'Finish', 'excellent');
|
| 110 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (8, 14, 'Finish', 'excellent');
|
| 111 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (9, 12, 'Starting', 'good');
|
| 112 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (10, 2, 'Finish', 'excellent');
|
| 113 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (11, 11, 'Working', 'excellent');
|
| 114 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (12, 9, 'Starting', 'good');
|
| 115 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (13, 4, 'Starting', 'excellent');
|
| 116 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (14, 14, 'Working', 'excellent');
|
| 117 |
+
INSERT INTO Invoices (`invoice_id`, `client_id`, `invoice_status`, `invoice_details`) VALUES (15, 14, 'Working', 'excellent');
|
| 118 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (1, 15, 'Report', 'Team', '0', '2018-03-06 05:07:33', '2018-03-21 09:26:41', 'get proposal done', '0');
|
| 119 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (2, 3, 'Summary', 'Group', '0', '2018-03-16 02:24:10', '2018-03-21 17:57:59', 'vote for solutions', '0');
|
| 120 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (3, 4, 'Summary', 'Team', '1', '2018-03-06 21:02:06', '2018-03-01 05:10:01', 'get proposal done', '0');
|
| 121 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (4, 5, 'Vote results', 'Company', '1', '2018-03-10 05:03:46', '2018-02-25 23:20:12', 'weekly report', '0');
|
| 122 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (5, 14, 'Summary', 'Company', '1', '2018-02-26 18:35:24', '2018-03-12 18:48:55', 'weekly report', '0');
|
| 123 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (6, 8, 'Vote results', 'Team', '0', '2018-03-20 08:56:47', '2018-02-24 22:36:35', 'weekly report', 'absent staff');
|
| 124 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (7, 13, 'Vote results', 'Group', '1', '2018-03-01 22:20:09', '2018-03-21 04:24:57', 'vote for solutions', '0');
|
| 125 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (8, 8, 'Report', 'Company', '0', '2018-03-16 06:38:16', '2018-03-20 12:24:04', 'weekly report', '0');
|
| 126 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (9, 4, 'Report', 'Group', '1', '2018-03-18 15:35:54', '2018-03-05 13:33:21', 'weekly report', '0');
|
| 127 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (10, 7, 'Summary', 'Team', '0', '2018-02-27 07:43:53', '2018-02-27 02:40:21', 'vote for solutions', '0');
|
| 128 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (11, 6, 'Summary', 'Team', '1', '2018-03-21 19:18:39', '2018-03-17 15:38:01', 'get proposal done', '0');
|
| 129 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (12, 10, 'Summary', 'Company', '0', '2018-03-17 09:56:49', '2018-03-03 21:51:07', 'monthly report', 'absent staff');
|
| 130 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (13, 2, 'Report', 'Team', '1', '2018-02-28 15:39:03', '2018-03-17 13:09:45', 'weekly report', '0');
|
| 131 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (14, 2, 'Vote results', 'Group', '1', '2018-03-02 19:04:27', '2018-03-15 04:21:40', 'weekly report', '0');
|
| 132 |
+
INSERT INTO Meetings (`meeting_id`, `client_id`, `meeting_outcome`, `meeting_type`, `billable_yn`, `start_date_time`, `end_date_time`, `purpose_of_meeting`, `other_details`) VALUES (15, 2, 'Vote results', 'Company', '0', '2018-02-25 07:06:48', '2018-02-25 09:39:29', 'weekly report', '');
|
| 133 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (1, 3, 'MasterCard');
|
| 134 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (2, 5, 'Visa');
|
| 135 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (3, 8, 'Discover Card');
|
| 136 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (4, 11, 'MasterCard');
|
| 137 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (5, 12, 'Visa');
|
| 138 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (6, 9, 'Visa');
|
| 139 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (7, 14, 'Visa');
|
| 140 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (8, 2, 'American Express');
|
| 141 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (9, 8, 'Visa');
|
| 142 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (10, 8, 'Visa');
|
| 143 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (11, 12, 'Visa');
|
| 144 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (12, 11, 'Visa');
|
| 145 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (13, 2, 'MasterCard');
|
| 146 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (14, 6, 'Visa');
|
| 147 |
+
INSERT INTO Payments (`payment_id`, `invoice_id`, `payment_details`) VALUES (15, 3, 'Visa');
|
| 148 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (6, 7);
|
| 149 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (14, 3);
|
| 150 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (4, 5);
|
| 151 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (1, 11);
|
| 152 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (2, 10);
|
| 153 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (9, 1);
|
| 154 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (8, 3);
|
| 155 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (8, 7);
|
| 156 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (8, 6);
|
| 157 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (3, 5);
|
| 158 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (11, 2);
|
| 159 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (10, 12);
|
| 160 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (2, 8);
|
| 161 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (6, 4);
|
| 162 |
+
INSERT INTO Staff_in_Meetings (`meeting_id`, `staff_id`) VALUES (14, 3);
|
spider-corpus-test/test_database/aircraft/aircraft.sqlite
ADDED
|
Binary file (45.1 kB). View file
|
|
|
spider-corpus-test/test_database/aircraft/schema.sql
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
PRAGMA foreign_keys = ON;
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
CREATE TABLE `pilot` (
|
| 6 |
+
`Pilot_Id` int(11) NOT NULL,
|
| 7 |
+
`Name` varchar(50) NOT NULL,
|
| 8 |
+
`Age` int(11) NOT NULL,
|
| 9 |
+
PRIMARY KEY (`Pilot_Id`)
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (1, 'Prof. Zackery Collins', 23);
|
| 13 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (2, 'Katheryn Gorczany IV', 20);
|
| 14 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (3, 'Mr. Cristian Halvorson II', 23);
|
| 15 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (4, 'Ayana Spencer', 25);
|
| 16 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (5, 'Ellen Ledner III', 31);
|
| 17 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (6, 'Elisha Hickle V', 37);
|
| 18 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (7, 'Dr. Jade Bradtke V', 26);
|
| 19 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (8, 'Winnifred Boyle', 30);
|
| 20 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (9, 'Della Lindgren', 29);
|
| 21 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (10, 'Maxwell Graham', 26);
|
| 22 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (11, 'Blaise Muller', 33);
|
| 23 |
+
INSERT INTO `pilot` (`Pilot_Id`, `Name`, `age`) VALUES (12, 'Baylee Steuber', 30);
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
CREATE TABLE `aircraft` (
|
| 27 |
+
"Aircraft_ID" int(11) NOT NULL,
|
| 28 |
+
"Aircraft" varchar(50) NOT NULL,
|
| 29 |
+
"Description" varchar(50) NOT NULL,
|
| 30 |
+
"Max_Gross_Weight" varchar(50) NOT NULL,
|
| 31 |
+
"Total_disk_area" varchar(50) NOT NULL,
|
| 32 |
+
"Max_disk_Loading" varchar(50) NOT NULL,
|
| 33 |
+
PRIMARY KEY (`Aircraft_ID`)
|
| 34 |
+
);
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
CREATE TABLE `match` (
|
| 38 |
+
"Round" real,
|
| 39 |
+
"Location" text,
|
| 40 |
+
"Country" text,
|
| 41 |
+
"Date" text,
|
| 42 |
+
"Fastest_Qualifying" text,
|
| 43 |
+
"Winning_Pilot" text,
|
| 44 |
+
"Winning_Aircraft" text,
|
| 45 |
+
PRIMARY KEY ("Round"),
|
| 46 |
+
FOREIGN KEY (`Winning_Aircraft`) REFERENCES `aircraft`(`Aircraft_ID`),
|
| 47 |
+
FOREIGN KEY (`Winning_Pilot`) REFERENCES `pilot`(`Pilot_Id`)
|
| 48 |
+
);
|
| 49 |
+
|
| 50 |
+
CREATE TABLE `airport` (
|
| 51 |
+
"Airport_ID" int,
|
| 52 |
+
"Airport_Name" text,
|
| 53 |
+
"Total_Passengers" real,
|
| 54 |
+
"%_Change_2007" text,
|
| 55 |
+
"International_Passengers" real,
|
| 56 |
+
"Domestic_Passengers" real,
|
| 57 |
+
"Transit_Passengers" real,
|
| 58 |
+
"Aircraft_Movements" real,
|
| 59 |
+
"Freight_Metric_Tonnes" real,
|
| 60 |
+
PRIMARY KEY ("Airport_ID")
|
| 61 |
+
);
|
| 62 |
+
|
| 63 |
+
CREATE TABLE `airport_aircraft` (
|
| 64 |
+
"ID" int,
|
| 65 |
+
"Airport_ID" int,
|
| 66 |
+
"Aircraft_ID" int,
|
| 67 |
+
PRIMARY KEY ("Airport_ID","Aircraft_ID"),
|
| 68 |
+
FOREIGN KEY ("Airport_ID") REFERENCES `airport`(`Airport_ID`),
|
| 69 |
+
FOREIGN KEY ("Aircraft_ID") REFERENCES `aircraft`(`Aircraft_ID`)
|
| 70 |
+
);
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
INSERT INTO "aircraft" VALUES (1,"Robinson R-22","Light utility helicopter","1,370 lb (635 kg)","497 ft² (46.2 m²)","2.6 lb/ft² (14 kg/m²)");
|
| 75 |
+
INSERT INTO "aircraft" VALUES (2,"Bell 206B3 JetRanger","Turboshaft utility helicopter","3,200 lb (1,451 kg)","872 ft² (81.1 m²)","3.7 lb/ft² (18 kg/m²)");
|
| 76 |
+
INSERT INTO "aircraft" VALUES (3,"CH-47D Chinook","Tandem rotor helicopter","50,000 lb (22,680 kg)","5,655 ft² (526 m²)","8.8 lb/ft² (43 kg/m²)");
|
| 77 |
+
INSERT INTO "aircraft" VALUES (4,"Mil Mi-26","Heavy-lift helicopter","123,500 lb (56,000 kg)","8,495 ft² (789 m²)","14.5 lb/ft² (71 kg/m²)");
|
| 78 |
+
INSERT INTO "aircraft" VALUES (5,"CH-53E Super Stallion","Heavy-lift helicopter","73,500 lb (33,300 kg)","4,900 ft² (460 m²)","15 lb/ft² (72 kg/m²)");
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
INSERT INTO "match" VALUES ("1","Mina' Zayid , Abu Dhabi","United Arab Emirates","March 26–27","Hannes Arch",1,1);
|
| 82 |
+
INSERT INTO "match" VALUES ("2","Swan River , Perth","Australia","April 17–18","Paul Bonhomme",4,1);
|
| 83 |
+
INSERT INTO "match" VALUES ("3","Flamengo Beach , Rio de Janeiro","Brazil","May 8–9","Hannes Arch",6,2);
|
| 84 |
+
INSERT INTO "match" VALUES ("4","Windsor , Ontario","Canada","June 5–6","Nigel Lamb",4,4);
|
| 85 |
+
INSERT INTO "match" VALUES ("5","New York City","United States","June 19–20","Hannes Arch",9,3);
|
| 86 |
+
INSERT INTO "match" VALUES ("6","EuroSpeedway Lausitz","Germany","August 7–8","Paul Bonhomme",2,4);
|
| 87 |
+
INSERT INTO "match" VALUES ("7","River Danube , Budapest","Hungary","Cancelled","Cancelled",6,5);
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
INSERT INTO "airport" VALUES (1,"London Heathrow","67054745","1.5%","61344438","5562516","147791","478693","1397054");
|
| 92 |
+
INSERT INTO "airport" VALUES (2,"London Gatwick","34205887","2.9%","30431051","3730963","43873","263653","107702");
|
| 93 |
+
INSERT INTO "airport" VALUES (3,"London Stansted","22360364","6.0%","19996947","2343428","19989","193282","197738");
|
| 94 |
+
INSERT INTO "airport" VALUES (4,"Manchester","21219195","4.0%","18119230","2943719","156246","204610","141781");
|
| 95 |
+
INSERT INTO "airport" VALUES (5,"London Luton","10180734","2.6%","8853224","1320678","6832","117859","40518");
|
| 96 |
+
INSERT INTO "airport" VALUES (6,"Birmingham Airport","9627589","4.3%","8105162","1471538","50889","112227","12192");
|
| 97 |
+
INSERT INTO "airport" VALUES (7,"Edinburgh","9006702","0.5%","3711140","5281038","14524","125550","12418");
|
| 98 |
+
INSERT INTO "airport" VALUES (8,"Glasgow International","8178891","7.0%","3943139","4192121","43631","100087","3546");
|
| 99 |
+
INSERT INTO "airport" VALUES (9,"Bristol","6267114","5.7%","5057051","1171605","38458","76517","3");
|
| 100 |
+
INSERT INTO "airport" VALUES (10,"East Midlands","5620673","3.8%","4870184","746094","4395","93038","261507");
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
INSERT INTO "airport_aircraft" VALUES (1,6,5);
|
| 105 |
+
INSERT INTO "airport_aircraft" VALUES (2,2,1);
|
| 106 |
+
INSERT INTO "airport_aircraft" VALUES (3,1,2);
|
| 107 |
+
INSERT INTO "airport_aircraft" VALUES (4,9,3);
|
| 108 |
+
|
spider-corpus-test/test_database/bbc_channels/bbc_channels.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
spider-corpus-test/test_database/bbc_channels/schema.sql
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "channel" (
|
| 4 |
+
"Channel_ID" int,
|
| 5 |
+
"Name" text,
|
| 6 |
+
"Analogue_terrestrial_channel" text,
|
| 7 |
+
"Digital_terrestrial_channel" text,
|
| 8 |
+
"Internet" text,
|
| 9 |
+
PRIMARY KEY ("Channel_ID")
|
| 10 |
+
);
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
CREATE TABLE "director" (
|
| 14 |
+
"Director_ID" int,
|
| 15 |
+
"Name" text,
|
| 16 |
+
"Age" int,
|
| 17 |
+
PRIMARY KEY ("Director_ID")
|
| 18 |
+
);
|
| 19 |
+
|
| 20 |
+
INSERT INTO "channel" VALUES ("1","BBC One","1","HD","bbc.co.uk");
|
| 21 |
+
INSERT INTO "channel" VALUES ("2","ITV","3","HD","ITV - itv.com");
|
| 22 |
+
INSERT INTO "channel" VALUES ("3","BBC Two","2","2","bbc.co.uk");
|
| 23 |
+
INSERT INTO "channel" VALUES ("4","Channel 4","4","8","channel4.com");
|
| 24 |
+
INSERT INTO "channel" VALUES ("5","Channel 5","5","44","unavailable");
|
| 25 |
+
INSERT INTO "channel" VALUES ("6","ITV3","unavailable","10","itv.com");
|
| 26 |
+
INSERT INTO "channel" VALUES ("7","ITV2","unavailable","6","itv.com");
|
| 27 |
+
INSERT INTO "channel" VALUES ("8","E4","unavailable","28","e4.com");
|
| 28 |
+
INSERT INTO "channel" VALUES ("9","Sky Sports 1","unavailable","unavailable","skysports.com");
|
| 29 |
+
INSERT INTO "channel" VALUES ("10","Sky1","unavailable","unavailable","sky.com");
|
| 30 |
+
INSERT INTO "channel" VALUES ("11","CBeebies","unavailable","71","bbc.co.uk");
|
| 31 |
+
INSERT INTO "channel" VALUES ("12","ITV4","unavailable","24","itv.com");
|
| 32 |
+
INSERT INTO "channel" VALUES ("13","BBC Three","unavailable","7","bbc.co.uk");
|
| 33 |
+
INSERT INTO "channel" VALUES ("14","Dave","unavailable","12","dave.uktv.co.uk");
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
INSERT INTO "director" VALUES (1,"DeSean Jackson","60");
|
| 37 |
+
INSERT INTO "director" VALUES (2,"Hank Baskett","90");
|
| 38 |
+
INSERT INTO "director" VALUES (3,"Greg Lewis","52");
|
| 39 |
+
INSERT INTO "director" VALUES (4,"Brent Celek","44");
|
| 40 |
+
INSERT INTO "director" VALUES (5,"Correll Buckhalter","59");
|
| 41 |
+
INSERT INTO "director" VALUES (6,"Reggie Brown","40");
|
| 42 |
+
INSERT INTO "director" VALUES (7,"Brian Westbrook","47");
|
| 43 |
+
INSERT INTO "director" VALUES (8,"Jason Avant","31");
|
| 44 |
+
INSERT INTO "director" VALUES (9,"Kevin Curtis","32");
|
| 45 |
+
INSERT INTO "director" VALUES (10,"L.J. Smith","43");
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
CREATE TABLE "program" (
|
| 49 |
+
"Program_ID" int,
|
| 50 |
+
"Start_Year" real,
|
| 51 |
+
"Title" text,
|
| 52 |
+
"Director_ID" int,
|
| 53 |
+
"Channel_ID" int,
|
| 54 |
+
PRIMARY KEY ("Program_ID"),
|
| 55 |
+
FOREIGN KEY ("Director_ID") REFERENCES "director"("Director_ID"),
|
| 56 |
+
FOREIGN KEY ("Channel_ID") REFERENCES "channel"("Channel_ID")
|
| 57 |
+
);
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
INSERT INTO "program" VALUES (1,"2002","The Angry Brigade",1,14);
|
| 61 |
+
INSERT INTO "program" VALUES (2,"2006","Dracula",2,10);
|
| 62 |
+
INSERT INTO "program" VALUES (3,"2006","Another Country",3,3);
|
| 63 |
+
INSERT INTO "program" VALUES (4,"2007","Caesar III: An Empire Without End",5,14);
|
| 64 |
+
INSERT INTO "program" VALUES (5,"2008","Othello",3,7);
|
| 65 |
+
INSERT INTO "program" VALUES (6,"2008","The Leopard",6,7);
|
| 66 |
+
INSERT INTO "program" VALUES (7,"2008","Cyrano de Bergerac",10,14);
|
| 67 |
+
INSERT INTO "program" VALUES (8,"2009","Carnival",9,10);
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
CREATE TABLE "director_admin" (
|
| 71 |
+
"Director_ID" int,
|
| 72 |
+
"Channel_ID" int,
|
| 73 |
+
"Is_first_director" bool,
|
| 74 |
+
PRIMARY KEY ("Director_ID","Channel_ID"),
|
| 75 |
+
FOREIGN KEY ("Director_ID") REFERENCES "director"("Director_ID"),
|
| 76 |
+
FOREIGN KEY ("Channel_ID") REFERENCES "channel"("Channel_ID")
|
| 77 |
+
);
|
| 78 |
+
INSERT INTO "director_admin" VALUES (1,14,"T");
|
| 79 |
+
INSERT INTO "director_admin" VALUES (5,14,"F");
|
| 80 |
+
INSERT INTO "director_admin" VALUES (3,14,"F");
|
| 81 |
+
INSERT INTO "director_admin" VALUES (4,7,"T");
|
| 82 |
+
INSERT INTO "director_admin" VALUES (6,7,"F");
|
| 83 |
+
|
spider-corpus-test/test_database/bike_1/bike_1.sqlite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5ae0e24e3a9d860a38ec6256828e3b9e37691c80931ef554adc202f8eb2950c
|
| 3 |
+
size 1785856
|
spider-corpus-test/test_database/bike_1/schema.sql
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
spider-corpus-test/test_database/boat_1/Boats.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bid,name,color
|
| 2 |
+
101,Legacy,red
|
| 3 |
+
102,Melon,blue
|
| 4 |
+
103,Mars,red
|
spider-corpus-test/test_database/boat_1/Reserves.csv
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
sid,bid,day
|
| 2 |
+
1,102,9/12
|
| 3 |
+
2,102,9/13
|
| 4 |
+
2,103,9/14
|
| 5 |
+
2,103,9/15
|
spider-corpus-test/test_database/boat_1/Sailors.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
sid,name,rating,age
|
| 2 |
+
1,Eugene,7,22
|
| 3 |
+
2,Luis, 2, 39
|
| 4 |
+
3,Ken, 8, 27
|
spider-corpus-test/test_database/boat_1/boat_1.sqlite
ADDED
|
Binary file (16.4 kB). View file
|
|
|
spider-corpus-test/test_database/boat_1/schema.sql
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
create table Sailors (
|
| 2 |
+
sid INTEGER primary key,
|
| 3 |
+
name TEXT,
|
| 4 |
+
rating INTEGER,
|
| 5 |
+
age INTEGER
|
| 6 |
+
);
|
| 7 |
+
|
| 8 |
+
CREATE TABLE Boats (
|
| 9 |
+
bid INTEGER primary key,
|
| 10 |
+
name TEXT,
|
| 11 |
+
color TEXT
|
| 12 |
+
);
|
| 13 |
+
|
| 14 |
+
CREATE TABLE Reserves (
|
| 15 |
+
sid INTEGER,
|
| 16 |
+
bid INTEGER,
|
| 17 |
+
day TEXT,
|
| 18 |
+
foreign key (sid) references Sailors(sid),
|
| 19 |
+
foreign key (bid) references Boats(bid)
|
| 20 |
+
);
|
spider-corpus-test/test_database/book_1/annotation.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [
|
| 4 |
+
{
|
| 5 |
+
"nl": "List of books, the publication year of each of them and their authors, ordered by publication year\n",
|
| 6 |
+
"id": 0,
|
| 7 |
+
"sql": "SELECT TITLE, A\u00d1O \"YEAR\", NAME \"Author name\"\nFROM BOOK NATURAL JOIN AUTHOR_BOOK, AUTHOR\nWHERE AUTHOR_BOOK.AUTHOR=AUTHOR.IDAUTHOR\nORDER BY A\u00d1O;\n"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"nl": "List of books that were published before 01-01-2000.\n",
|
| 11 |
+
"id": 1,
|
| 12 |
+
"sql": "SELECT TITLE, A\u00d1O\nFROM BOOK\nWHERE A\u00d1O<'2000';\n"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"nl": "List of clients that have bought at least one book. \n",
|
| 16 |
+
"id": 2,
|
| 17 |
+
"sql": "SELECT DISTINCT IDCLIENT, NAME\nFROM CLIENT NATURAL JOIN ORDERS;\nselect distinct client.name, Client.IdClient\nfrom Client, Orders where\nClient.IdClient=Orders.IdClient;\n"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"nl": "List of clients that bought the book whose ISBN= 4554672899910.\n",
|
| 21 |
+
"id": 3,
|
| 22 |
+
"sql": "SELECT IDCLIENT, NAME\nFROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER\nWHERE ISBN='4554672899910';\n"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"nl": "List of clients whose name contains \u2018Jo\u2019 and the books that they have bought. \n",
|
| 26 |
+
"id": 4,
|
| 27 |
+
"sql": "SELECT IDCLIENT, NAME, TITLE\nFROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK\nWHERE NAME LIKE '%Jo%';\n"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"nl": "List of clients that have bought at least a book whose price is greater than 10.\n",
|
| 31 |
+
"id": 5,
|
| 32 |
+
"sql": "SELECT DISTINCT IDCLIENT, NAME\nFROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK\nWHERE BOOK.SALEPRICE>10;\n"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"nl": "List of clients that have placed more than one order in the same date. \n",
|
| 36 |
+
"id": 6,
|
| 37 |
+
"sql": "SELECT IDCLIENT, NAME\nFROM CLIENT\nWHERE IDCLIENT=(\n SELECT IDCLIENT\n FROM ORDERS\n GROUP BY(IDCLIENT,DATEORDER)\n HAVING COUNT(DATEORDER)>1\n);\n"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"nl": "List of clients and dates in which they have placed orders that have not been sent yet. \n",
|
| 41 |
+
"id": 7,
|
| 42 |
+
"sql": "SELECT IDCLIENT, NAME, DATEORDER\nFROM CLIENT NATURAL JOIN ORDERS\nWHERE DATEEXPED IS NULL;\n"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"nl": "List of clients that have not bought books whose price is greater than 10.\n",
|
| 46 |
+
"id": 8,
|
| 47 |
+
"sql": "SELECT DISTINCT IDCLIENT, NAME\nFROM CLIENT\nWHERE IDCLIENT NOT IN (\n SELECT IDCLIENT\n FROM ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK\n WHERE SALEPRICE < 10\n);\n"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"nl": "List of books whose sale price is greater than 30\u20ac or that were published before 2000. \n",
|
| 51 |
+
"id": 9,
|
| 52 |
+
"sql": "SELECT TITLE, A\u00d1O, SALEPRICE\nFROM BOOK\nWHERE A\u00d1O<'2000' OR SALEPRICE>30;\n"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"nl": "List of books and amount of copies of each of them that have been sold. \n",
|
| 56 |
+
"id": 10,
|
| 57 |
+
"sql": "SELECT TITLE, ISBN, SUM(AMOUNT)\nFROM BOOKS_ORDER NATURAL JOIN BOOK\nGROUP BY TITLE, ISBN\nORDER BY SUM(AMOUNT) DESC;\n"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"nl": "List of clients and the total amount that they have spent in the bookstore. \n",
|
| 61 |
+
"id": 11,
|
| 62 |
+
"sql": "SELECT IDCLIENT, NAME, SUM(AMOUNT*SALEPRICE) \"Total\"\nFROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK\nGROUP BY IDCLIENT, NAME;\n"
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"nl": "Profits obtained from sales of books. \n",
|
| 66 |
+
"id": 12,
|
| 67 |
+
"sql": "SELECT SUM(AMOUNT*(SALEPRICE-PURCHASEPRICE)) \"Total\"\nFROM BOOKS_ORDER NATURAL JOIN BOOK;\n"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"nl": "Orders whose total amount is greater than 100.\n",
|
| 71 |
+
"id": 13,
|
| 72 |
+
"sql": "SELECT IDORDER, SUM(AMOUNT*SALEPRICE) \"TOTAL\"\nFROM BOOKS_ORDER NATURAL JOIN BOOK\nGROUP BY IDORDER\nHAVING SUM(AMOUNT*SALEPRICE)>100\nORDER BY IDORDER;\n"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"nl": "Orders and the total amount of each of them that contains more than a book (title). \n",
|
| 76 |
+
"id": 14,
|
| 77 |
+
"sql": "SELECT IDORDER, SUM(AMOUNT*SALEPRICE) \"TOTAL\"\nFROM BOOKS_ORDER NATURAL JOIN BOOK\nGROUP BY IDORDER\nHAVING COUNT(TITLE)>1;\n"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"nl": "Orders and the total amount of each of them that contains more than 4 copies\n",
|
| 81 |
+
"id": 15,
|
| 82 |
+
"sql": "SELECT IDORDER, SUM(AMOUNT*SALEPRICE) \"Total\"\nFROM BOOKS_ORDER NATURAL JOIN BOOK \nWHERE AMOUNT>4\nGROUP BY IDORDER;\n"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"nl": "List of the most expensive books. \n",
|
| 86 |
+
"id": 16,
|
| 87 |
+
"sql": "SELECT ISBN, TITLE, SALEPRICE\nFROM BOOK\nWHERE SALEPRICE IN (SELECT MAX(SALEPRICE) FROM BOOK);\n"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"nl": "List of books that have not been sold or that have been sold but the profit per copy is less than 5\n",
|
| 91 |
+
"id": 17,
|
| 92 |
+
"sql": "SELECT ISBN, TITLE\nFROM BOOK\nWHERE(SALEPRICE-PURCHASEPRICE)<5 OR ISBN NOT IN(\n SELECT DISTINCT ISBN FROM BOOKS_ORDER\n);\n"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"nl": "List of clients that have bought more than one copy of a book sometime",
|
| 96 |
+
"id": 18,
|
| 97 |
+
"sql": "SELECT NAME\nFROM CLIENT NATURAL JOIN ORDERS\nWHERE IDORDER IN (\n SELECT IDORDER\n FROM BOOKS_ORDER\n WHERE AMOUNT>1\n);"
|
| 98 |
+
}
|
| 99 |
+
],
|
| 100 |
+
"review_id": null
|
| 101 |
+
}
|
spider-corpus-test/test_database/book_1/book_1.sqlite
ADDED
|
Binary file (53.2 kB). View file
|
|
|
spider-corpus-test/test_database/book_1/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
https://github.com/ferreiro/SQL-Oracle-databases/blob/master/2_SQL_Queries/Block1%20(AllTheBooks%20Table).sql
|
spider-corpus-test/test_database/book_1/q.txt
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
List of books, the publication year of each of them and their authors, ordered by publication year
|
| 2 |
+
|
| 3 |
+
List of books that were published before 01-01-2000.
|
| 4 |
+
|
| 5 |
+
List of clients that have bought at least one book.
|
| 6 |
+
|
| 7 |
+
List of clients that bought the book whose ISBN= 4554672899910.
|
| 8 |
+
|
| 9 |
+
List of clients whose name contains ‘Jo’ and the books that they have bought.
|
| 10 |
+
|
| 11 |
+
List of clients that have bought at least a book whose price is greater than 10.
|
| 12 |
+
|
| 13 |
+
List of clients that have placed more than one order in the same date.
|
| 14 |
+
|
| 15 |
+
List of clients and dates in which they have placed orders that have not been sent yet.
|
| 16 |
+
|
| 17 |
+
List of clients that have not bought books whose price is greater than 10.
|
| 18 |
+
|
| 19 |
+
List of books whose sale price is greater than 30€ or that were published before 2000.
|
| 20 |
+
|
| 21 |
+
List of books and amount of copies of each of them that have been sold.
|
| 22 |
+
|
| 23 |
+
List of clients and the total amount that they have spent in the bookstore.
|
| 24 |
+
|
| 25 |
+
Profits obtained from sales of books.
|
| 26 |
+
|
| 27 |
+
Orders whose total amount is greater than 100.
|
| 28 |
+
|
| 29 |
+
Orders and the total amount of each of them that contains more than a book (title).
|
| 30 |
+
|
| 31 |
+
Orders and the total amount of each of them that contains more than 4 copies
|
| 32 |
+
|
| 33 |
+
List of the most expensive books.
|
| 34 |
+
|
| 35 |
+
List of books that have not been sold or that have been sold but the profit per copy is less than 5
|
| 36 |
+
|
| 37 |
+
List of clients that have bought more than one copy of a book sometime
|
spider-corpus-test/test_database/book_1/schema.sql
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
create table Client
|
| 3 |
+
(IdClient CHAR(10) PRIMARY KEY,
|
| 4 |
+
Name VARCHAR(25) NOT NULL,
|
| 5 |
+
Address VARCHAR(60) NOT NULL,
|
| 6 |
+
NumCC CHAR(16) NOT NULL);
|
| 7 |
+
|
| 8 |
+
create table Orders
|
| 9 |
+
(IdOrder CHAR(10) PRIMARY KEY,
|
| 10 |
+
IdClient CHAR(10) NOT NULL REFERENCES Client on delete cascade,
|
| 11 |
+
DateOrder DATE,
|
| 12 |
+
DateExped DATE);
|
| 13 |
+
|
| 14 |
+
create table Author
|
| 15 |
+
( idAuthor NUMBER PRIMARY KEY,
|
| 16 |
+
Name VARCHAR(25));
|
| 17 |
+
|
| 18 |
+
create table Book
|
| 19 |
+
(ISBN CHAR(15) PRIMARY KEY,
|
| 20 |
+
Title VARCHAR(60) NOT NULL,
|
| 21 |
+
Author CHAR(4) NOT NULL,
|
| 22 |
+
PurchasePrice NUMBER(6,2) DEFAULT 0,
|
| 23 |
+
SalePrice NUMBER(6,2) DEFAULT 0);
|
| 24 |
+
|
| 25 |
+
create table Author_Book
|
| 26 |
+
(ISBN CHAR(15),
|
| 27 |
+
Author NUMBER,
|
| 28 |
+
CONSTRAINT al_PK PRIMARY KEY (ISBN, Author),
|
| 29 |
+
CONSTRAINT BookA_FK FOREIGN KEY (ISBN) REFERENCES `Book`(ISBN) on delete cascade,
|
| 30 |
+
CONSTRAINT Author_FK FOREIGN KEY (Author) REFERENCES `Author`(idAuthorA));
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
create table Books_Order(
|
| 34 |
+
ISBN CHAR(15),
|
| 35 |
+
IdOrder CHAR(10),
|
| 36 |
+
amount NUMBER(3) CHECK (amount >0),
|
| 37 |
+
CONSTRAINT lp_PK PRIMARY KEY (ISBN, idOrder),
|
| 38 |
+
CONSTRAINT Book_FK FOREIGN KEY (ISBN) REFERENCES `Book`(ISBN) on delete cascade,
|
| 39 |
+
CONSTRAINT pedido_FK FOREIGN KEY (IdOrder) REFERENCES `Orders`(IdOrder) on delete cascade);
|
| 40 |
+
|
| 41 |
+
insert into Client values ('0000001','James Smith', 'Picadilly 2','1234567890123456');
|
| 42 |
+
insert into Client values ('0000002','Laura Jones', 'Holland Park 13', '1234567756953456');
|
| 43 |
+
insert into Client values ('0000003','Peter Doe', 'High Street 42', '1237596390123456');
|
| 44 |
+
insert into Client values ('0000004','Rose Johnson', 'Notting Hill 46', '4896357890123456');
|
| 45 |
+
insert into Client values ('0000005','Joseph Clinton', 'Leicester Square 1', '1224569890123456');
|
| 46 |
+
insert into Client values ('0000006','Betty Fraser', 'Whitehall 32', '2444889890123456' );
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
insert into Orders values ('0000001P','0000001', DATE('01/12/2011'),DATE('03/12/2011'));
|
| 50 |
+
insert into Orders values ('0000002P','0000001', DATE('01/12/2011'),null);
|
| 51 |
+
insert into Orders values ('0000003P','0000002', DATE('02/12/2011'),DATE('03/12/2011'));
|
| 52 |
+
insert into Orders values ('0000004P','0000004', DATE('02/12/2011'),DATE('05/12/2011'));
|
| 53 |
+
insert into Orders values ('0000005P','0000005', DATE('03/12/2011'),DATE('03/12/2011'));
|
| 54 |
+
insert into Orders values ('0000006P','0000003', DATE('04/12/2011'),null);
|
| 55 |
+
|
| 56 |
+
insert into Author values (1,'Jane Austin');
|
| 57 |
+
insert into Author values (2,'George Orwell');
|
| 58 |
+
insert into Author values (3,'J.R.R Tolkien');
|
| 59 |
+
insert into Author values (4,'Antoine de Saint-Exupy');
|
| 60 |
+
insert into Author values (5,'Bram Stoker');
|
| 61 |
+
insert into Author values (6,'Plato');
|
| 62 |
+
insert into Author values (7,'Vladimir Nabokov');
|
| 63 |
+
|
| 64 |
+
insert into Book values ('8233771378567', 'Pride and Prejudice', '2008', 9.45, 13.45);
|
| 65 |
+
insert into Book values ('1235271378662', '1984', '2009', 12.50, 19.25);
|
| 66 |
+
insert into Book values ('4554672899910', 'The Hobbit', '2002', 19.00, 33.15);
|
| 67 |
+
insert into Book values ('5463467723747', 'The Little Prince', '2000', 49.00, 73.45);
|
| 68 |
+
insert into Book values ('0853477468299', 'Dracula', '2011', 9.45, 13.45);
|
| 69 |
+
insert into Book values ('1243415243666', 'The Republic', '1997', 10.45, 15.75);
|
| 70 |
+
insert into Book values ('0482174555366', 'Lolita', '1998', 4.00, 9.45);
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
insert into Author_Book values ('8233771378567',1);
|
| 74 |
+
insert into Author_Book values ('1235271378662',2);
|
| 75 |
+
insert into Author_Book values ('4554672899910',3);
|
| 76 |
+
insert into Author_Book values ('5463467723747',4);
|
| 77 |
+
insert into Author_Book values ('0853477468299',5);
|
| 78 |
+
insert into Author_Book values ('1243415243666',6);
|
| 79 |
+
insert into Author_Book values ('0482174555366',7);
|
| 80 |
+
|
| 81 |
+
insert into Books_Order values ('8233771378567','0000001P', 1);
|
| 82 |
+
insert into Books_Order values ('5463467723747','0000001P', 2);
|
| 83 |
+
insert into Books_Order values ('0482174555366','0000002P', 1);
|
| 84 |
+
insert into Books_Order values ('4554672899910','0000003P', 1);
|
| 85 |
+
insert into Books_Order values ('8233771378567','0000003P', 1);
|
| 86 |
+
insert into Books_Order values ('1243415243666','0000003P', 1);
|
| 87 |
+
insert into Books_Order values ('8233771378567','0000004P', 1);
|
| 88 |
+
insert into Books_Order values ('4554672899910','0000005P', 1);
|
| 89 |
+
insert into Books_Order values ('1243415243666','0000005P', 1);
|
| 90 |
+
insert into Books_Order values ('5463467723747','0000005P', 3);
|
| 91 |
+
insert into Books_Order values ('8233771378567','0000006P', 5);
|
spider-corpus-test/test_database/book_1/schema_old.sql
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
create table Client
|
| 3 |
+
(IdClient CHAR(10) PRIMARY KEY,
|
| 4 |
+
Name VARCHAR(25) NOT NULL,
|
| 5 |
+
Address VARCHAR(60) NOT NULL,
|
| 6 |
+
NumCC CHAR(16) NOT NULL);
|
| 7 |
+
|
| 8 |
+
create table Orders
|
| 9 |
+
(IdOrder CHAR(10) PRIMARY KEY,
|
| 10 |
+
IdClient CHAR(10) NOT NULL REFERENCES Client on delete cascade,
|
| 11 |
+
DateOrder DATE,
|
| 12 |
+
DateExped DATE);
|
| 13 |
+
|
| 14 |
+
create table Author
|
| 15 |
+
( idAuthor NUMBER PRIMARY KEY,
|
| 16 |
+
Name VARCHAR(25));
|
| 17 |
+
|
| 18 |
+
create table Book
|
| 19 |
+
(ISBN CHAR(15) PRIMARY KEY,
|
| 20 |
+
Title VARCHAR(60) NOT NULL,
|
| 21 |
+
Author CHAR(4) NOT NULL,
|
| 22 |
+
PurchasePrice NUMBER(6,2) DEFAULT 0,
|
| 23 |
+
SalePrice NUMBER(6,2) DEFAULT 0);
|
| 24 |
+
|
| 25 |
+
create table Author_Book
|
| 26 |
+
(ISBN CHAR(15),
|
| 27 |
+
Author NUMBER,
|
| 28 |
+
CONSTRAINT al_PK PRIMARY KEY (ISBN, Author),
|
| 29 |
+
CONSTRAINT BookA_FK FOREIGN KEY (ISBN) REFERENCES Book on delete cascade,
|
| 30 |
+
CONSTRAINT Author_FK FOREIGN KEY (Author) REFERENCES Author);
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
create table Books_Order(
|
| 34 |
+
ISBN CHAR(15),
|
| 35 |
+
IdOrder CHAR(10),
|
| 36 |
+
amount NUMBER(3) CHECK (amount >0),
|
| 37 |
+
CONSTRAINT lp_PK PRIMARY KEY (ISBN, idOrder),
|
| 38 |
+
CONSTRAINT Book_FK FOREIGN KEY (ISBN) REFERENCES Book on delete cascade,
|
| 39 |
+
CONSTRAINT pedido_FK FOREIGN KEY (IdOrder) REFERENCES Orders on delete cascade);
|
| 40 |
+
|
| 41 |
+
insert into Client values ('0000001','James Smith', 'Picadilly 2','1234567890123456');
|
| 42 |
+
insert into Client values ('0000002','Laura Jones', 'Holland Park 13', '1234567756953456');
|
| 43 |
+
insert into Client values ('0000003','Peter Doe', 'High Street 42', '1237596390123456');
|
| 44 |
+
insert into Client values ('0000004','Rose Johnson', 'Notting Hill 46', '4896357890123456');
|
| 45 |
+
insert into Client values ('0000005','Joseph Clinton', 'Leicester Square 1', '1224569890123456');
|
| 46 |
+
insert into Client values ('0000006','Betty Fraser', 'Whitehall 32', '2444889890123456' );
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
insert into Orders values ('0000001P','0000001', DATE('01/12/2011'),DATE('03/12/2011'));
|
| 50 |
+
insert into Orders values ('0000002P','0000001', DATE('01/12/2011'),null);
|
| 51 |
+
insert into Orders values ('0000003P','0000002', DATE('02/12/2011'),DATE('03/12/2011'));
|
| 52 |
+
insert into Orders values ('0000004P','0000004', DATE('02/12/2011'),DATE('05/12/2011'));
|
| 53 |
+
insert into Orders values ('0000005P','0000005', DATE('03/12/2011'),DATE('03/12/2011'));
|
| 54 |
+
insert into Orders values ('0000006P','0000003', DATE('04/12/2011'),null);
|
| 55 |
+
|
| 56 |
+
insert into Author values (1,'Jane Austin');
|
| 57 |
+
insert into Author values (2,'George Orwell');
|
| 58 |
+
insert into Author values (3,'J.R.R Tolkien');
|
| 59 |
+
insert into Author values (4,'Antoine de Saint-Exupy');
|
| 60 |
+
insert into Author values (5,'Bram Stoker');
|
| 61 |
+
insert into Author values (6,'Plato');
|
| 62 |
+
insert into Author values (7,'Vladimir Nabokov');
|
| 63 |
+
|
| 64 |
+
insert into Book values ('8233771378567', 'Pride and Prejudice', '2008', 9.45, 13.45);
|
| 65 |
+
insert into Book values ('1235271378662', '1984', '2009', 12.50, 19.25);
|
| 66 |
+
insert into Book values ('4554672899910', 'The Hobbit', '2002', 19.00, 33.15);
|
| 67 |
+
insert into Book values ('5463467723747', 'The Little Prince', '2000', 49.00, 73.45);
|
| 68 |
+
insert into Book values ('0853477468299', 'Dracula', '2011', 9.45, 13.45);
|
| 69 |
+
insert into Book values ('1243415243666', 'The Republic', '1997', 10.45, 15.75);
|
| 70 |
+
insert into Book values ('0482174555366', 'Lolita', '1998', 4.00, 9.45);
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
insert into Author_Book values ('8233771378567',1);
|
| 74 |
+
insert into Author_Book values ('1235271378662',2);
|
| 75 |
+
insert into Author_Book values ('4554672899910',3);
|
| 76 |
+
insert into Author_Book values ('5463467723747',4);
|
| 77 |
+
insert into Author_Book values ('0853477468299',5);
|
| 78 |
+
insert into Author_Book values ('1243415243666',6);
|
| 79 |
+
insert into Author_Book values ('0482174555366',7);
|
| 80 |
+
|
| 81 |
+
insert into Books_Order values ('8233771378567','0000001P', 1);
|
| 82 |
+
insert into Books_Order values ('5463467723747','0000001P', 2);
|
| 83 |
+
insert into Books_Order values ('0482174555366','0000002P', 1);
|
| 84 |
+
insert into Books_Order values ('4554672899910','0000003P', 1);
|
| 85 |
+
insert into Books_Order values ('8233771378567','0000003P', 1);
|
| 86 |
+
insert into Books_Order values ('1243415243666','0000003P', 1);
|
| 87 |
+
insert into Books_Order values ('8233771378567','0000004P', 1);
|
| 88 |
+
insert into Books_Order values ('4554672899910','0000005P', 1);
|
| 89 |
+
insert into Books_Order values ('1243415243666','0000005P', 1);
|
| 90 |
+
insert into Books_Order values ('5463467723747','0000005P', 3);
|
| 91 |
+
insert into Books_Order values ('8233771378567','0000006P', 5);
|
spider-corpus-test/test_database/book_1/sql.txt
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
SELECT TITLE, AÑO "YEAR", NAME "Author name"
|
| 2 |
+
FROM BOOK NATURAL JOIN AUTHOR_BOOK, AUTHOR
|
| 3 |
+
WHERE AUTHOR_BOOK.AUTHOR=AUTHOR.IDAUTHOR
|
| 4 |
+
ORDER BY AÑO;
|
| 5 |
+
|
| 6 |
+
SELECT TITLE, AÑO
|
| 7 |
+
FROM BOOK
|
| 8 |
+
WHERE AÑO<'2000';
|
| 9 |
+
|
| 10 |
+
SELECT DISTINCT IDCLIENT, NAME
|
| 11 |
+
FROM CLIENT NATURAL JOIN ORDERS;
|
| 12 |
+
select distinct client.name, Client.IdClient
|
| 13 |
+
from Client, Orders where
|
| 14 |
+
Client.IdClient=Orders.IdClient;
|
| 15 |
+
|
| 16 |
+
SELECT IDCLIENT, NAME
|
| 17 |
+
FROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER
|
| 18 |
+
WHERE ISBN='4554672899910';
|
| 19 |
+
|
| 20 |
+
SELECT IDCLIENT, NAME, TITLE
|
| 21 |
+
FROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK
|
| 22 |
+
WHERE NAME LIKE '%Jo%';
|
| 23 |
+
|
| 24 |
+
SELECT DISTINCT IDCLIENT, NAME
|
| 25 |
+
FROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK
|
| 26 |
+
WHERE BOOK.SALEPRICE>10;
|
| 27 |
+
|
| 28 |
+
SELECT IDCLIENT, NAME
|
| 29 |
+
FROM CLIENT
|
| 30 |
+
WHERE IDCLIENT=(
|
| 31 |
+
SELECT IDCLIENT
|
| 32 |
+
FROM ORDERS
|
| 33 |
+
GROUP BY(IDCLIENT,DATEORDER)
|
| 34 |
+
HAVING COUNT(DATEORDER)>1
|
| 35 |
+
);
|
| 36 |
+
|
| 37 |
+
SELECT IDCLIENT, NAME, DATEORDER
|
| 38 |
+
FROM CLIENT NATURAL JOIN ORDERS
|
| 39 |
+
WHERE DATEEXPED IS NULL;
|
| 40 |
+
|
| 41 |
+
SELECT DISTINCT IDCLIENT, NAME
|
| 42 |
+
FROM CLIENT
|
| 43 |
+
WHERE IDCLIENT NOT IN (
|
| 44 |
+
SELECT IDCLIENT
|
| 45 |
+
FROM ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK
|
| 46 |
+
WHERE SALEPRICE < 10
|
| 47 |
+
);
|
| 48 |
+
|
| 49 |
+
SELECT TITLE, AÑO, SALEPRICE
|
| 50 |
+
FROM BOOK
|
| 51 |
+
WHERE AÑO<'2000' OR SALEPRICE>30;
|
| 52 |
+
|
| 53 |
+
SELECT TITLE, ISBN, SUM(AMOUNT)
|
| 54 |
+
FROM BOOKS_ORDER NATURAL JOIN BOOK
|
| 55 |
+
GROUP BY TITLE, ISBN
|
| 56 |
+
ORDER BY SUM(AMOUNT) DESC;
|
| 57 |
+
|
| 58 |
+
SELECT IDCLIENT, NAME, SUM(AMOUNT*SALEPRICE) "Total"
|
| 59 |
+
FROM CLIENT NATURAL JOIN ORDERS NATURAL JOIN BOOKS_ORDER NATURAL JOIN BOOK
|
| 60 |
+
GROUP BY IDCLIENT, NAME;
|
| 61 |
+
|
| 62 |
+
SELECT SUM(AMOUNT*(SALEPRICE-PURCHASEPRICE)) "Total"
|
| 63 |
+
FROM BOOKS_ORDER NATURAL JOIN BOOK;
|
| 64 |
+
|
| 65 |
+
SELECT IDORDER, SUM(AMOUNT*SALEPRICE) "TOTAL"
|
| 66 |
+
FROM BOOKS_ORDER NATURAL JOIN BOOK
|
| 67 |
+
GROUP BY IDORDER
|
| 68 |
+
HAVING SUM(AMOUNT*SALEPRICE)>100
|
| 69 |
+
ORDER BY IDORDER;
|
| 70 |
+
|
| 71 |
+
SELECT IDORDER, SUM(AMOUNT*SALEPRICE) "TOTAL"
|
| 72 |
+
FROM BOOKS_ORDER NATURAL JOIN BOOK
|
| 73 |
+
GROUP BY IDORDER
|
| 74 |
+
HAVING COUNT(TITLE)>1;
|
| 75 |
+
|
| 76 |
+
SELECT IDORDER, SUM(AMOUNT*SALEPRICE) "Total"
|
| 77 |
+
FROM BOOKS_ORDER NATURAL JOIN BOOK
|
| 78 |
+
WHERE AMOUNT>4
|
| 79 |
+
GROUP BY IDORDER;
|
| 80 |
+
|
| 81 |
+
SELECT ISBN, TITLE, SALEPRICE
|
| 82 |
+
FROM BOOK
|
| 83 |
+
WHERE SALEPRICE IN (SELECT MAX(SALEPRICE) FROM BOOK);
|
| 84 |
+
|
| 85 |
+
SELECT ISBN, TITLE
|
| 86 |
+
FROM BOOK
|
| 87 |
+
WHERE(SALEPRICE-PURCHASEPRICE)<5 OR ISBN NOT IN(
|
| 88 |
+
SELECT DISTINCT ISBN FROM BOOKS_ORDER
|
| 89 |
+
);
|
| 90 |
+
|
| 91 |
+
SELECT NAME
|
| 92 |
+
FROM CLIENT NATURAL JOIN ORDERS
|
| 93 |
+
WHERE IDORDER IN (
|
| 94 |
+
SELECT IDORDER
|
| 95 |
+
FROM BOOKS_ORDER
|
| 96 |
+
WHERE AMOUNT>1
|
| 97 |
+
);
|
spider-corpus-test/test_database/browser_web/browser_web.sqlite
ADDED
|
Binary file (28.7 kB). View file
|
|
|
spider-corpus-test/test_database/browser_web/schema.sql
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys=OFF;
|
| 2 |
+
BEGIN TRANSACTION;
|
| 3 |
+
CREATE TABLE IF NOT EXISTS "Web_client_accelerator" (
|
| 4 |
+
"id" int,
|
| 5 |
+
"name" text,
|
| 6 |
+
"Operating_system" text,
|
| 7 |
+
"Client" text,
|
| 8 |
+
"Connection" text,
|
| 9 |
+
primary key("id")
|
| 10 |
+
);
|
| 11 |
+
INSERT INTO Web_client_accelerator VALUES(1,'CACHEbox','Appliance (Linux)','End user, ISP','Broadband, Satellite, Wireless, Fiber, DSL');
|
| 12 |
+
INSERT INTO Web_client_accelerator VALUES(2,'CProxy','Windows','user','up to 756kbit/s');
|
| 13 |
+
INSERT INTO Web_client_accelerator VALUES(3,'Fasterfox','Windows, Mac, Linux and Mobile devices','user','Dialup, Wireless, Broadband, DSL');
|
| 14 |
+
INSERT INTO Web_client_accelerator VALUES(4,'fasTun','Any','All','Any');
|
| 15 |
+
INSERT INTO Web_client_accelerator VALUES(5,'Freewire','Windows, except NT and 95','ISP','Dial-up');
|
| 16 |
+
INSERT INTO Web_client_accelerator VALUES(6,'Google Web Accelerator (discontinued)','Windows','user/Google server','Broadband');
|
| 17 |
+
INSERT INTO Web_client_accelerator VALUES(7,'Heigh Speed','Windows','All','Any');
|
| 18 |
+
INSERT INTO Web_client_accelerator VALUES(8,'Netfury','Windows, Mac','End User, ISP','Dial-up, Broadband, DSL, ISDN, Satellite, Wireless');
|
| 19 |
+
INSERT INTO Web_client_accelerator VALUES(9,'Nitro','Windows, Mac','End User, ISP','Dial-up, Broadband, DSL, ISDN, Satellite, Wireless');
|
| 20 |
+
INSERT INTO Web_client_accelerator VALUES(10,'ONSPEED','Windows, Mac and Mobile devices','user','Dialup, Wireless, Broadband, DSL');
|
| 21 |
+
INSERT INTO Web_client_accelerator VALUES(11,'Opera Turbo','Android, Linux, Mac and Windows devices','user/Opera server','Any');
|
| 22 |
+
INSERT INTO Web_client_accelerator VALUES(12,'Polipo','Unix (Linux, *BSD, Mac OS X, others), Windows','user/ISP','Any');
|
| 23 |
+
INSERT INTO Web_client_accelerator VALUES(13,'Propel','Windows, Mac','End User, ISP','Dial, DSL, ISDN, Satellite, wireless');
|
| 24 |
+
INSERT INTO Web_client_accelerator VALUES(14,'Proxyconn Web Accelerator','Windows, Mac, Mobile devices','user','Dialup, Wireless, Broadband, DSL');
|
| 25 |
+
INSERT INTO Web_client_accelerator VALUES(15,'RabbIT','Any system with Java 1.6 VM available','ISP','Any');
|
| 26 |
+
INSERT INTO Web_client_accelerator VALUES(16,'Squid','Unix (Linux, *BSD, Mac OS X, others), Windows','user/ISP','Any');
|
| 27 |
+
INSERT INTO Web_client_accelerator VALUES(17,'Toonel','Windows, Linux, Mac OS, Symbian, WindowsMobile','user/ISP','Any');
|
| 28 |
+
INSERT INTO Web_client_accelerator VALUES(18,'WinGate','Windows (2000 onwards)','All','Any');
|
| 29 |
+
INSERT INTO Web_client_accelerator VALUES(19,'Ziproxy','Unix (Linux, *BSD, Mac OS X, others)','ISP','Any');
|
| 30 |
+
CREATE TABLE IF NOT EXISTS "browser" (
|
| 31 |
+
"id" int,
|
| 32 |
+
"name" text,
|
| 33 |
+
"market_share" real,
|
| 34 |
+
primary key("id")
|
| 35 |
+
);
|
| 36 |
+
INSERT INTO browser VALUES(1,'Internet Explorer',28.960000000000000852);
|
| 37 |
+
INSERT INTO browser VALUES(2,'Firefox',18.109999999999999431);
|
| 38 |
+
INSERT INTO browser VALUES(3,'Safari',8.5399999999999991473);
|
| 39 |
+
INSERT INTO browser VALUES(4,'Opera',1.1999999999999999555);
|
| 40 |
+
CREATE TABLE IF NOT EXISTS "accelerator_compatible_browser" (
|
| 41 |
+
"accelerator_id" int,
|
| 42 |
+
"browser_id" int,
|
| 43 |
+
"compatible_since_year" int,
|
| 44 |
+
primary key("accelerator_id", "browser_id"),
|
| 45 |
+
foreign key ("accelerator_id") references `Web_client_accelerator`("id"),
|
| 46 |
+
foreign key ("browser_id") references `browser`("id")
|
| 47 |
+
);
|
| 48 |
+
INSERT INTO accelerator_compatible_browser VALUES(1,1,1995);
|
| 49 |
+
INSERT INTO accelerator_compatible_browser VALUES(1,2,1996);
|
| 50 |
+
INSERT INTO accelerator_compatible_browser VALUES(2,3,1996);
|
| 51 |
+
INSERT INTO accelerator_compatible_browser VALUES(2,4,2000);
|
| 52 |
+
INSERT INTO accelerator_compatible_browser VALUES(3,1,2005);
|
| 53 |
+
INSERT INTO accelerator_compatible_browser VALUES(3,2,2007);
|
| 54 |
+
INSERT INTO accelerator_compatible_browser VALUES(3,3,2008);
|
| 55 |
+
INSERT INTO accelerator_compatible_browser VALUES(4,4,2009);
|
| 56 |
+
INSERT INTO accelerator_compatible_browser VALUES(9,1,2010);
|
| 57 |
+
COMMIT;
|
| 58 |
+
|
spider-corpus-test/test_database/candidate_poll/candidate_poll.sqlite
ADDED
|
Binary file (20.5 kB). View file
|
|
|
spider-corpus-test/test_database/candidate_poll/schema.sql
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
CREATE TABLE "candidate" (
|
| 4 |
+
"Candidate_ID" int,
|
| 5 |
+
"People_ID" int,
|
| 6 |
+
"Poll_Source" text,
|
| 7 |
+
"Date" text,
|
| 8 |
+
"Support_rate" real,
|
| 9 |
+
"Consider_rate" real,
|
| 10 |
+
"Oppose_rate" real,
|
| 11 |
+
"Unsure_rate" real,
|
| 12 |
+
PRIMARY KEY ("Candidate_ID"),
|
| 13 |
+
FOREIGN KEY ("People_ID") REFERENCES "people"("People_ID")
|
| 14 |
+
);
|
| 15 |
+
|
| 16 |
+
CREATE TABLE "people" (
|
| 17 |
+
"People_ID" int,
|
| 18 |
+
"Sex" text,
|
| 19 |
+
"Name" text,
|
| 20 |
+
"Date_of_Birth" text,
|
| 21 |
+
"Height" real,
|
| 22 |
+
"Weight" real,
|
| 23 |
+
PRIMARY KEY ("People_ID")
|
| 24 |
+
);
|
| 25 |
+
|
| 26 |
+
INSERT INTO "people" VALUES (1,"M","Hubert Henno","06.10.1976","188","83");
|
| 27 |
+
INSERT INTO "people" VALUES (2,"M","Dominique Daquin","10.11.1972","197","85");
|
| 28 |
+
INSERT INTO "people" VALUES (3,"F","Stéphane Antiga","03.02.1976","200","94");
|
| 29 |
+
INSERT INTO "people" VALUES (4,"M","Laurent Capet","05.05.1972","202","92");
|
| 30 |
+
INSERT INTO "people" VALUES (5,"F","Frantz Granvorka","10.03.1976","195","90");
|
| 31 |
+
INSERT INTO "people" VALUES (6,"M","Vincent Montméat","01.09.1977","196","88");
|
| 32 |
+
INSERT INTO "people" VALUES (7,"M","Loïc De Kergret","20.08.1970","193","89");
|
| 33 |
+
INSERT INTO "people" VALUES (8,"M","Philippe Barça-Cysique","22.04.1977","194","88");
|
| 34 |
+
INSERT INTO "people" VALUES (9,"M","Guillaume Samica","28.09.1981","196","82");
|
| 35 |
+
|
| 36 |
+
INSERT INTO "candidate" VALUES (1,1,"WNBC/Marist Poll","Feb 12–15, 2007","0.25","0.30","0.43","0.2");
|
| 37 |
+
INSERT INTO "candidate" VALUES (2,3,"WNBC/Marist Poll","Feb 12–15, 2007","0.17","0.42","0.32","0.9");
|
| 38 |
+
INSERT INTO "candidate" VALUES (3,4,"FOX News/Opinion Dynamics Poll","Feb 13–14, 2007","0.18","0.34","0.44","0.3");
|
| 39 |
+
INSERT INTO "candidate" VALUES (4,6,"Newsweek Poll","Nov 9–10, 2006","0.33","0.20","0.45","0.2");
|
| 40 |
+
INSERT INTO "candidate" VALUES (5,7,"Newsweek Poll","Nov 9–10, 2006","0.24","0.30","0.32","0.4");
|
| 41 |
+
INSERT INTO "candidate" VALUES (6,9,"Newsweek Poll","Nov 9–10, 2006","0.24","0.27","0.43","0.2");
|
| 42 |
+
|
spider-corpus-test/test_database/car_1/annotation.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label_id": null,
|
| 3 |
+
"data": [
|
| 4 |
+
{
|
| 5 |
+
"nl": "Find all Reanults (\u2019renault\u2019) in the database. For each, report the name and the year.\n",
|
| 6 |
+
"id": 0
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"nl": "Find all cars produced by Volvo between 1977 and 1981 (inclusive). Report the name of the car and the year it was produced.\n",
|
| 10 |
+
"id": 1
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"nl": "Report all Asian automakers. Output the full name of the automaker and the country of origin\n",
|
| 14 |
+
"id": 2
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"nl": "Find all non-four cylinder cars produced in 1980 that have a better fuel economy better than 20 MPG and that accelerate to 60 mph faster than in 15 seconds. Report the name of the car and the name of the automaker.\n",
|
| 18 |
+
"id": 3
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"nl": "For each saab released after 1978, compute the ratio between the weight of the car and its number of horsepowers. Report the full name of the car, the year it was produced and the ratio.\n",
|
| 22 |
+
"id": 4
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"nl": "Find the average, maximum and minimum horsepower for 4-cylinder vehicles manufactured by renault between 1971 and 1976 inclusively.\n",
|
| 26 |
+
"id": 5
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"nl": "Find how many different car manufacturers produced a vehicle heavier than 4000 lbs.\n",
|
| 30 |
+
"id": 6
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"nl": "Find the minimum horsepower for 4-cylinder vehicles manufactured by renault between 1971 and 1976 inclusively.\n",
|
| 34 |
+
"id": 7
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"nl": "For each year when US-manufactured cars averaged less than 100 horsepowers, report the highest and the lowest engine displacement number.\n",
|
| 38 |
+
"id": 8
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"nl": "For each year in which honda produced more than 2 models, report the best, the worst and the average gas milage of a toyota vehicle.\n",
|
| 42 |
+
"id": 9
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"nl": "Report all vehicles with the best gas mileage. For each vehicle, report its full name and the year of production.\n",
|
| 46 |
+
"id": 10
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"nl": "Among the vehicles with the gas mileage, report the one with the best acceleration. Report full name and the year of production.\n",
|
| 50 |
+
"id": 11
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"nl": "For each country report the automaker with the largest number of cars in the database. Report the name of the country.\n",
|
| 54 |
+
"id": 12
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"nl": "Find the difference in gas milage between the most fuel-efficient 8-cylinder model and the least fuel-efficient 4-cylinder model. Report just the number.\n",
|
| 58 |
+
"id": 13
|
| 59 |
+
}
|
| 60 |
+
],
|
| 61 |
+
"review_id": null
|
| 62 |
+
}
|
spider-corpus-test/test_database/car_1/car_1.json
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"col_data": [
|
| 4 |
+
{
|
| 5 |
+
"column_name": "ContId",
|
| 6 |
+
"data_type": "INTEGER",
|
| 7 |
+
"default_column_name": "ContId",
|
| 8 |
+
"default_value": null,
|
| 9 |
+
"not_null": 0,
|
| 10 |
+
"primary_key": 1
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"column_name": "Continent",
|
| 14 |
+
"data_type": "TEXT",
|
| 15 |
+
"default_column_name": "Continent",
|
| 16 |
+
"default_value": null,
|
| 17 |
+
"not_null": 0,
|
| 18 |
+
"primary_key": 0
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
+
"table": "continents"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"col_data": [
|
| 25 |
+
{
|
| 26 |
+
"column_name": "CountryId",
|
| 27 |
+
"data_type": "INTEGER",
|
| 28 |
+
"default_column_name": "CountryId",
|
| 29 |
+
"default_value": null,
|
| 30 |
+
"not_null": 0,
|
| 31 |
+
"primary_key": 1
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"column_name": "CountryName",
|
| 35 |
+
"data_type": "TEXT",
|
| 36 |
+
"default_column_name": "CountryName",
|
| 37 |
+
"default_value": null,
|
| 38 |
+
"not_null": 0,
|
| 39 |
+
"primary_key": 0
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"column_name": "Continent",
|
| 43 |
+
"data_type": "INTEGER",
|
| 44 |
+
"default_column_name": "Continent",
|
| 45 |
+
"default_value": null,
|
| 46 |
+
"not_null": 0,
|
| 47 |
+
"primary_key": 0
|
| 48 |
+
}
|
| 49 |
+
],
|
| 50 |
+
"table": "countries"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"col_data": [
|
| 54 |
+
{
|
| 55 |
+
"column_name": "Id",
|
| 56 |
+
"data_type": "INTEGER",
|
| 57 |
+
"default_column_name": "Id",
|
| 58 |
+
"default_value": null,
|
| 59 |
+
"not_null": 0,
|
| 60 |
+
"primary_key": 1
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"column_name": "Maker",
|
| 64 |
+
"data_type": "TEXT",
|
| 65 |
+
"default_column_name": "Maker",
|
| 66 |
+
"default_value": null,
|
| 67 |
+
"not_null": 0,
|
| 68 |
+
"primary_key": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"column_name": "FullName",
|
| 72 |
+
"data_type": "TEXT",
|
| 73 |
+
"default_column_name": "FullName",
|
| 74 |
+
"default_value": null,
|
| 75 |
+
"not_null": 0,
|
| 76 |
+
"primary_key": 0
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"column_name": "Country",
|
| 80 |
+
"data_type": "TEXT",
|
| 81 |
+
"default_column_name": "Country",
|
| 82 |
+
"default_value": null,
|
| 83 |
+
"not_null": 0,
|
| 84 |
+
"primary_key": 0
|
| 85 |
+
}
|
| 86 |
+
],
|
| 87 |
+
"table": "car-makers"
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"col_data": [
|
| 91 |
+
{
|
| 92 |
+
"column_name": "MakeId",
|
| 93 |
+
"data_type": "INTEGER",
|
| 94 |
+
"default_column_name": "MakeId",
|
| 95 |
+
"default_value": null,
|
| 96 |
+
"not_null": 0,
|
| 97 |
+
"primary_key": 1
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"column_name": "Model",
|
| 101 |
+
"data_type": "TEXT",
|
| 102 |
+
"default_column_name": "Model",
|
| 103 |
+
"default_value": null,
|
| 104 |
+
"not_null": 0,
|
| 105 |
+
"primary_key": 0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"column_name": "Make",
|
| 109 |
+
"data_type": "TEXT",
|
| 110 |
+
"default_column_name": "Make",
|
| 111 |
+
"default_value": null,
|
| 112 |
+
"not_null": 0,
|
| 113 |
+
"primary_key": 0
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
"table": "car-names"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"col_data": [
|
| 120 |
+
{
|
| 121 |
+
"column_name": "Id",
|
| 122 |
+
"data_type": "INTEGER",
|
| 123 |
+
"default_column_name": "Id",
|
| 124 |
+
"default_value": null,
|
| 125 |
+
"not_null": 0,
|
| 126 |
+
"primary_key": 1
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"column_name": "MPG",
|
| 130 |
+
"data_type": "TEXT",
|
| 131 |
+
"default_column_name": "MPG",
|
| 132 |
+
"default_value": null,
|
| 133 |
+
"not_null": 0,
|
| 134 |
+
"primary_key": 0
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"column_name": "Cylinders",
|
| 138 |
+
"data_type": "INTEGER",
|
| 139 |
+
"default_column_name": "Cylinders",
|
| 140 |
+
"default_value": null,
|
| 141 |
+
"not_null": 0,
|
| 142 |
+
"primary_key": 0
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"column_name": "Edispl",
|
| 146 |
+
"data_type": "REAL",
|
| 147 |
+
"default_column_name": "Edispl",
|
| 148 |
+
"default_value": null,
|
| 149 |
+
"not_null": 0,
|
| 150 |
+
"primary_key": 0
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"column_name": "Horsepower",
|
| 154 |
+
"data_type": "TEXT",
|
| 155 |
+
"default_column_name": "Horsepower",
|
| 156 |
+
"default_value": null,
|
| 157 |
+
"not_null": 0,
|
| 158 |
+
"primary_key": 0
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"column_name": "Weight",
|
| 162 |
+
"data_type": "INTEGER",
|
| 163 |
+
"default_column_name": "Weight",
|
| 164 |
+
"default_value": null,
|
| 165 |
+
"not_null": 0,
|
| 166 |
+
"primary_key": 0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"column_name": "Accelerate",
|
| 170 |
+
"data_type": "REAL",
|
| 171 |
+
"default_column_name": "Accelerate",
|
| 172 |
+
"default_value": null,
|
| 173 |
+
"not_null": 0,
|
| 174 |
+
"primary_key": 0
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"column_name": "Year",
|
| 178 |
+
"data_type": "INTEGER",
|
| 179 |
+
"default_column_name": "Year",
|
| 180 |
+
"default_value": null,
|
| 181 |
+
"not_null": 0,
|
| 182 |
+
"primary_key": 0
|
| 183 |
+
}
|
| 184 |
+
],
|
| 185 |
+
"table": "cars-data"
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"col_data": [
|
| 189 |
+
{
|
| 190 |
+
"column_name": "ModelId",
|
| 191 |
+
"data_type": "INTEGER",
|
| 192 |
+
"default_column_name": "ModelId",
|
| 193 |
+
"default_value": null,
|
| 194 |
+
"not_null": 0,
|
| 195 |
+
"primary_key": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"column_name": "Maker",
|
| 199 |
+
"data_type": "INTEGER",
|
| 200 |
+
"default_column_name": "Maker",
|
| 201 |
+
"default_value": null,
|
| 202 |
+
"not_null": 0,
|
| 203 |
+
"primary_key": 0
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"column_name": "Model",
|
| 207 |
+
"data_type": "TEXT",
|
| 208 |
+
"default_column_name": "Model",
|
| 209 |
+
"default_value": null,
|
| 210 |
+
"not_null": 0,
|
| 211 |
+
"primary_key": 0
|
| 212 |
+
}
|
| 213 |
+
],
|
| 214 |
+
"table": "model-list"
|
| 215 |
+
}
|
| 216 |
+
]
|
spider-corpus-test/test_database/car_1/car_1.sql
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CREATE TABLE "continents" (
|
| 2 |
+
"ContId" INTEGER PRIMARY KEY,
|
| 3 |
+
"Continent" TEXT
|
| 4 |
+
);
|
| 5 |
+
|
| 6 |
+
CREATE TABLE "countries" (
|
| 7 |
+
"CountryId" INTEGER PRIMARY KEY,
|
| 8 |
+
"CountryName" TEXT,
|
| 9 |
+
"Continent" INTEGER,
|
| 10 |
+
FOREIGN KEY (Continent) REFERENCES continents(ContId)
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
CREATE TABLE "car_makers" (
|
| 15 |
+
"Id" INTEGER PRIMARY KEY,
|
| 16 |
+
"Maker" TEXT,
|
| 17 |
+
"FullName" TEXT,
|
| 18 |
+
"Country" TEXT,
|
| 19 |
+
FOREIGN KEY (Country) REFERENCES countries(CountryId)
|
| 20 |
+
);
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
CREATE TABLE "model_list" (
|
| 24 |
+
"ModelId" INTEGER PRIMARY KEY,
|
| 25 |
+
"Maker" INTEGER,
|
| 26 |
+
"Model" TEXT UNIQUE,
|
| 27 |
+
FOREIGN KEY (Maker) REFERENCES car_makers (Id)
|
| 28 |
+
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
CREATE TABLE "car_names" (
|
| 34 |
+
"MakeId" INTEGER PRIMARY KEY,
|
| 35 |
+
"Model" TEXT,
|
| 36 |
+
"Make" TEXT,
|
| 37 |
+
FOREIGN KEY (Model) REFERENCES model_list (Model)
|
| 38 |
+
);
|
| 39 |
+
|
| 40 |
+
CREATE TABLE "cars_data" (
|
| 41 |
+
"Id" INTEGER PRIMARY KEY,
|
| 42 |
+
"MPG" TEXT,
|
| 43 |
+
"Cylinders" INTEGER,
|
| 44 |
+
"Edispl" REAL,
|
| 45 |
+
"Horsepower" TEXT,
|
| 46 |
+
"Weight" INTEGER,
|
| 47 |
+
"Accelerate" REAL,
|
| 48 |
+
"Year" INTEGER,
|
| 49 |
+
FOREIGN KEY (Id) REFERENCES car_names (MakeId)
|
| 50 |
+
);
|
| 51 |
+
|
| 52 |
+
|
spider-corpus-test/test_database/car_1/car_1.sqlite
ADDED
|
Binary file (65.5 kB). View file
|
|
|
spider-corpus-test/test_database/car_1/data_csv/README.CARS.TXT
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*****************************************************
|
| 2 |
+
CPE 365 Alex Dekhtyar
|
| 3 |
+
Cal Poly Computer Science Department
|
| 4 |
+
San Luis Obispo College of Engineering
|
| 5 |
+
California dekhtyar@csc.calpoly.edu
|
| 6 |
+
*****************************************************
|
| 7 |
+
CARS DATASET
|
| 8 |
+
Version 1.0
|
| 9 |
+
September 26, 2007
|
| 10 |
+
*****************************************************
|
| 11 |
+
Sources:
|
| 12 |
+
The Committee on Statistical Graphics of
|
| 13 |
+
the American Statistical Association (ASA)
|
| 14 |
+
1983 Cars dataset
|
| 15 |
+
available (among other places) from
|
| 16 |
+
CMU's StatLib server:
|
| 17 |
+
http://lib.stat.cmu.edu/datasets/
|
| 18 |
+
|
| 19 |
+
******************************************************
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
This file describes the contents of the CARS dataset
|
| 23 |
+
developed for the CPE 365, Introduction to Databases
|
| 24 |
+
course at Cal Poly.
|
| 25 |
+
|
| 26 |
+
The dataset is a normalized and slightly enhanced version
|
| 27 |
+
of the ASA's Committee on Statistical Graphics "cars"
|
| 28 |
+
dataset offered in 1983 for the visualization competition.
|
| 29 |
+
Please refer to the original dataset description
|
| 30 |
+
in the file "cars.desc" included with this distribution for
|
| 31 |
+
historical purposes. (please, note, cars.desc file does not
|
| 32 |
+
describe the format of this dataset correctly).
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
The dataset describes the origins and different parameters
|
| 36 |
+
of 406 car models produced in the world between 1970 and 1982.
|
| 37 |
+
The dataset consists of the following files:
|
| 38 |
+
|
| 39 |
+
General Conventions.
|
| 40 |
+
|
| 41 |
+
1. All files in the dataset are CSV (comma-separated values) files.
|
| 42 |
+
2. First line of each file provides the names of
|
| 43 |
+
columns. Second line may be empty, or may contain
|
| 44 |
+
the first row of the data
|
| 45 |
+
3. All string values are enclosed in single quotes (')
|
| 46 |
+
|
| 47 |
+
- car-makers.csv : information about companies that produce cars
|
| 48 |
+
- car-names.csv : information about specific cars (by name)
|
| 49 |
+
- cars-data.csv : operational parameters of the cars
|
| 50 |
+
- continents.csv : list of continents
|
| 51 |
+
- countries.csv : list of countries
|
| 52 |
+
- model-list.csv : information about car models produced by car makers
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
The core of the dataset consists of four files: car-makes.csv, model-list.csv,
|
| 56 |
+
car-names.csv and cars-data.csv. The first file identifies companies
|
| 57 |
+
that produce cars (e.g, "Ford Motor Company", "Toyota"), the second file
|
| 58 |
+
lists various models and identified their makes (e.g., "Ford" and "Mercury"
|
| 59 |
+
produced by Ford, "Oldsmobile" and "Chevrolet" produced by GM). The third
|
| 60 |
+
file is the masterlist of 406 car makes considered in the database
|
| 61 |
+
(e.g., "ford torino" or "amc rebel set"). The fourth file contains information
|
| 62 |
+
about the operating parameters (see below for a full list) for each make.
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
Individual files have the following formats.
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
**************************************************************************
|
| 69 |
+
|
| 70 |
+
car-makers.csv
|
| 71 |
+
|
| 72 |
+
Id : unique identifier of the car maker
|
| 73 |
+
Maker : short nickname for the car maker
|
| 74 |
+
FullName : full name of the car maker
|
| 75 |
+
Country : Id of the home country of the maker (see countries.CountryId)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
**************************************************************************
|
| 80 |
+
|
| 81 |
+
car-names.csv
|
| 82 |
+
|
| 83 |
+
MakeId : unique identifier of the car make
|
| 84 |
+
Model : unique name of the car model (see model-list.Model)
|
| 85 |
+
MakeDescription : description (name) of the car make
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
**************************************************************************
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
cars-data.csv
|
| 93 |
+
|
| 94 |
+
Id : unique identifier of the car make (see car-names.MakeId)
|
| 95 |
+
MPG : milage per gallon
|
| 96 |
+
Cylinders : number of cylinders
|
| 97 |
+
Edispl : engine displacement volume in cubic inches
|
| 98 |
+
Horsepower : power of the engine in horsepowers
|
| 99 |
+
Weight : weight of the car in lbs
|
| 100 |
+
Accelerate : time to accelerate from 0 to 60mph in seconds (possibly
|
| 101 |
+
with fractions of a second)
|
| 102 |
+
Year : year the car was made
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
NOTE: this file adds the Id attribute to the original cars.data file from
|
| 106 |
+
the ASA cars dataset, removes the Origin attribute (the origin is
|
| 107 |
+
now dealt with elsewhere), and modifies year to be the actual year
|
| 108 |
+
rather than "year - 1900".
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
**************************************************************************
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
continents.csv
|
| 116 |
+
|
| 117 |
+
ContId : unique identifier of the continent
|
| 118 |
+
Continent : name of the continent
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
**************************************************************************
|
| 122 |
+
|
| 123 |
+
countries.csv
|
| 124 |
+
|
| 125 |
+
CountryId : unique identifier of the country
|
| 126 |
+
CountryName : name of the country
|
| 127 |
+
Continent : unique identifier of the continent the country is on
|
| 128 |
+
(see continents.ContId)
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
**************************************************************************
|
| 132 |
+
|
| 133 |
+
model-list.csv
|
| 134 |
+
|
| 135 |
+
ModelId : unique identifier of the car model
|
| 136 |
+
Maker : unique identifier of the car maker (see car-makers.id)
|
| 137 |
+
Model : name of the car model (also unique)
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
**************************************************************************
|
| 142 |
+
**************************************************************************
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
|
spider-corpus-test/test_database/car_1/data_csv/car-makers.csv
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Id,Maker,FullName,Country
|
| 2 |
+
1,'amc','American Motor Company',1
|
| 3 |
+
2,'volkswagen','Volkswagen',2
|
| 4 |
+
3,'bmw','BMW',2
|
| 5 |
+
4,'gm','General Motors',1
|
| 6 |
+
5,'ford','Ford Motor Company',1
|
| 7 |
+
6,'chrysler','Chrysler',1
|
| 8 |
+
7,'citroen','Citroen',3
|
| 9 |
+
8,'nissan','Nissan Motors',4
|
| 10 |
+
9,'fiat','Fiat',5
|
| 11 |
+
10,'hi','hi',null
|
| 12 |
+
11,'honda','Honda',4
|
| 13 |
+
12,'mazda','Mazda',4
|
| 14 |
+
13,'daimler benz','Daimler Benz',2
|
| 15 |
+
14,'opel','Opel',2
|
| 16 |
+
15,'peugeaut','Peugeaut',3
|
| 17 |
+
16,'renault','Renault',3
|
| 18 |
+
17,'saab','Saab',6
|
| 19 |
+
18,'subaru','Subaru',4
|
| 20 |
+
19,'toyota','Toyota',4
|
| 21 |
+
20,'triumph','Triumph',7
|
| 22 |
+
21,'volvo','Volvo',6
|
| 23 |
+
22,'kia','Kia Motors',8
|
| 24 |
+
23,'hyundai','Hyundai',8
|
spider-corpus-test/test_database/car_1/data_csv/car-names.csv
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Id,Model,Make
|
| 2 |
+
1,'chevrolet','chevrolet chevelle malibu'
|
| 3 |
+
2,'buick','buick skylark 320'
|
| 4 |
+
3,'plymouth','plymouth satellite'
|
| 5 |
+
4,'amc','amc rebel sst'
|
| 6 |
+
5,'ford','ford torino'
|
| 7 |
+
6,'ford','ford galaxie 500'
|
| 8 |
+
7,'chevrolet','chevrolet impala'
|
| 9 |
+
8,'plymouth','plymouth fury iii'
|
| 10 |
+
9,'pontiac','pontiac catalina'
|
| 11 |
+
10,'amc','amc ambassador dpl'
|
| 12 |
+
11,'citroen','citroen ds-21 pallas'
|
| 13 |
+
12,'chevrolet','chevrolet chevelle concours (sw)'
|
| 14 |
+
13,'ford','ford torino (sw)'
|
| 15 |
+
14,'plymouth','plymouth satellite (sw)'
|
| 16 |
+
15,'amc','amc rebel sst (sw)'
|
| 17 |
+
16,'dodge','dodge challenger se'
|
| 18 |
+
17,'plymouth','plymouth cuda 340'
|
| 19 |
+
18,'ford','ford mustang boss 302'
|
| 20 |
+
19,'chevrolet','chevrolet monte carlo'
|
| 21 |
+
20,'buick','buick estate wagon (sw)'
|
| 22 |
+
21,'toyota','toyota corona mark ii'
|
| 23 |
+
22,'plymouth','plymouth duster'
|
| 24 |
+
23,'amc','amc hornet'
|
| 25 |
+
24,'ford','ford maverick'
|
| 26 |
+
25,'datsun','datsun pl510'
|
| 27 |
+
26,'volkswagen','volkswagen 1131 deluxe sedan'
|
| 28 |
+
27,'peugeot','peugeot 504'
|
| 29 |
+
28,'audi','audi 100 ls'
|
| 30 |
+
29,'saab','saab 99e'
|
| 31 |
+
30,'bmw','bmw 2002'
|
| 32 |
+
31,'amc','amc gremlin'
|
| 33 |
+
32,'ford','ford f250'
|
| 34 |
+
33,'chevrolet','chevy c20'
|
| 35 |
+
34,'dodge','dodge d200'
|
| 36 |
+
35,'hi','hi 1200d'
|
| 37 |
+
36,'datsun','datsun pl510'
|
| 38 |
+
37,'chevrolet','chevrolet vega 2300'
|
| 39 |
+
38,'toyota','toyota corona'
|
| 40 |
+
39,'ford','ford pinto'
|
| 41 |
+
40,'volkswagen','volkswagen super beetle 117'
|
| 42 |
+
41,'amc','amc gremlin'
|
| 43 |
+
42,'plymouth','plymouth satellite custom'
|
| 44 |
+
43,'chevrolet','chevrolet chevelle malibu'
|
| 45 |
+
44,'ford','ford torino 500'
|
| 46 |
+
45,'amc','amc matador'
|
| 47 |
+
46,'chevrolet','chevrolet impala'
|
| 48 |
+
47,'pontiac','pontiac catalina brougham'
|
| 49 |
+
48,'ford','ford galaxie 500'
|
| 50 |
+
49,'plymouth','plymouth fury iii'
|
| 51 |
+
50,'dodge','dodge monaco (sw)'
|
| 52 |
+
51,'ford','ford country squire (sw)'
|
| 53 |
+
52,'pontiac','pontiac safari (sw)'
|
| 54 |
+
53,'amc','amc hornet sportabout (sw)'
|
| 55 |
+
54,'chevrolet','chevrolet vega (sw)'
|
| 56 |
+
55,'pontiac','pontiac firebird'
|
| 57 |
+
56,'ford','ford mustang'
|
| 58 |
+
57,'mercury','mercury capri 2000'
|
| 59 |
+
58,'opel','opel 1900'
|
| 60 |
+
59,'peugeot','peugeot 304'
|
| 61 |
+
60,'fiat','fiat 124b'
|
| 62 |
+
61,'toyota','toyota corolla 1200'
|
| 63 |
+
62,'datsun','datsun 1200'
|
| 64 |
+
63,'volkswagen','volkswagen model 111'
|
| 65 |
+
64,'plymouth','plymouth cricket'
|
| 66 |
+
65,'toyota','toyota corona hardtop'
|
| 67 |
+
66,'dodge','dodge colt hardtop'
|
| 68 |
+
67,'volkswagen','volkswagen type 3'
|
| 69 |
+
68,'chevrolet','chevrolet vega'
|
| 70 |
+
69,'ford','ford pinto runabout'
|
| 71 |
+
70,'chevrolet','chevrolet impala'
|
| 72 |
+
71,'pontiac','pontiac catalina'
|
| 73 |
+
72,'plymouth','plymouth fury iii'
|
| 74 |
+
73,'ford','ford galaxie 500'
|
| 75 |
+
74,'amc','amc ambassador sst'
|
| 76 |
+
75,'mercury','mercury marquis'
|
| 77 |
+
76,'buick','buick lesabre custom'
|
| 78 |
+
77,'oldsmobile','oldsmobile delta 88 royale'
|
| 79 |
+
78,'chrysler','chrysler newport royal'
|
| 80 |
+
79,'mazda','mazda rx2 coupe'
|
| 81 |
+
80,'amc','amc matador (sw)'
|
| 82 |
+
81,'chevrolet','chevrolet chevelle concours (sw)'
|
| 83 |
+
82,'ford','ford gran torino (sw)'
|
| 84 |
+
83,'plymouth','plymouth satellite custom (sw)'
|
| 85 |
+
84,'volvo','volvo 145e (sw)'
|
| 86 |
+
85,'volkswagen','volkswagen 411 (sw)'
|
| 87 |
+
86,'peugeot','peugeot 504 (sw)'
|
| 88 |
+
87,'renault','renault 12 (sw)'
|
| 89 |
+
88,'ford','ford pinto (sw)'
|
| 90 |
+
89,'datsun','datsun 510 (sw)'
|
| 91 |
+
90,'toyota','toyota corona mark ii (sw)'
|
| 92 |
+
91,'dodge','dodge colt (sw)'
|
| 93 |
+
92,'toyota','toyota corolla 1600 (sw)'
|
| 94 |
+
93,'buick','buick century 350'
|
| 95 |
+
94,'amc','amc matador'
|
| 96 |
+
95,'chevrolet','chevrolet malibu'
|
| 97 |
+
96,'ford','ford gran torino'
|
| 98 |
+
97,'dodge','dodge coronet custom'
|
| 99 |
+
98,'mercury','mercury marquis brougham'
|
| 100 |
+
99,'chevrolet','chevrolet caprice classic'
|
| 101 |
+
100,'ford','ford ltd'
|
| 102 |
+
101,'plymouth','plymouth fury gran sedan'
|
| 103 |
+
102,'chrysler','chrysler new yorker brougham'
|
| 104 |
+
103,'buick','buick electra 225 custom'
|
| 105 |
+
104,'amc','amc ambassador brougham'
|
| 106 |
+
105,'plymouth','plymouth valiant'
|
| 107 |
+
106,'chevrolet','chevrolet nova custom'
|
| 108 |
+
107,'amc','amc hornet'
|
| 109 |
+
108,'ford','ford maverick'
|
| 110 |
+
109,'plymouth','plymouth duster'
|
| 111 |
+
110,'volkswagen','volkswagen super beetle'
|
| 112 |
+
111,'chevrolet','chevrolet impala'
|
| 113 |
+
112,'ford','ford country'
|
| 114 |
+
113,'plymouth','plymouth custom suburb'
|
| 115 |
+
114,'oldsmobile','oldsmobile vista cruiser'
|
| 116 |
+
115,'amc','amc gremlin'
|
| 117 |
+
116,'toyota','toyota carina'
|
| 118 |
+
117,'chevrolet','chevrolet vega'
|
| 119 |
+
118,'datsun','datsun 610'
|
| 120 |
+
119,'mazda','mazda rx3'
|
| 121 |
+
120,'ford','ford pinto'
|
| 122 |
+
121,'mercury','mercury capri v6'
|
| 123 |
+
122,'fiat','fiat 124 sport coupe'
|
| 124 |
+
123,'chevrolet','chevrolet monte carlo s'
|
| 125 |
+
124,'pontiac','pontiac grand prix'
|
| 126 |
+
125,'fiat','fiat 128'
|
| 127 |
+
126,'opel','opel manta'
|
| 128 |
+
127,'audi','audi 100ls'
|
| 129 |
+
128,'volvo','volvo 144ea'
|
| 130 |
+
129,'dodge','dodge dart custom'
|
| 131 |
+
130,'saab','saab 99le'
|
| 132 |
+
131,'toyota','toyota mark ii'
|
| 133 |
+
132,'oldsmobile','oldsmobile omega'
|
| 134 |
+
133,'plymouth','plymouth duster'
|
| 135 |
+
134,'ford','ford maverick'
|
| 136 |
+
135,'amc','amc hornet'
|
| 137 |
+
136,'chevrolet','chevrolet nova'
|
| 138 |
+
137,'datsun','datsun b210'
|
| 139 |
+
138,'ford','ford pinto'
|
| 140 |
+
139,'toyota','toyota corolla 1200'
|
| 141 |
+
140,'chevrolet','chevrolet vega'
|
| 142 |
+
141,'chevrolet','chevrolet chevelle malibu classic'
|
| 143 |
+
142,'amc','amc matador'
|
| 144 |
+
143,'plymouth','plymouth satellite sebring'
|
| 145 |
+
144,'ford','ford gran torino'
|
| 146 |
+
145,'buick','buick century luxus (sw)'
|
| 147 |
+
146,'dodge','dodge coronet custom (sw)'
|
| 148 |
+
147,'ford','ford gran torino (sw)'
|
| 149 |
+
148,'amc','amc matador (sw)'
|
| 150 |
+
149,'audi','audi fox'
|
| 151 |
+
150,'volkswagen','volkswagen dasher'
|
| 152 |
+
151,'opel','opel manta'
|
| 153 |
+
152,'toyota','toyota corona'
|
| 154 |
+
153,'datsun','datsun 710'
|
| 155 |
+
154,'dodge','dodge colt'
|
| 156 |
+
155,'fiat','fiat 128'
|
| 157 |
+
156,'fiat','fiat 124 tc'
|
| 158 |
+
157,'honda','honda civic'
|
| 159 |
+
158,'subaru','subaru'
|
| 160 |
+
159,'fiat','fiat x1.9'
|
| 161 |
+
160,'plymouth','plymouth valiant custom'
|
| 162 |
+
161,'chevrolet','chevrolet nova'
|
| 163 |
+
162,'mercury','mercury monarch'
|
| 164 |
+
163,'ford','ford maverick'
|
| 165 |
+
164,'pontiac','pontiac catalina'
|
| 166 |
+
165,'chevrolet','chevrolet bel air'
|
| 167 |
+
166,'plymouth','plymouth grand fury'
|
| 168 |
+
167,'ford','ford ltd'
|
| 169 |
+
168,'buick','buick century'
|
| 170 |
+
169,'chevrolet','chevrolet chevelle malibu'
|
| 171 |
+
170,'amc','amc matador'
|
| 172 |
+
171,'plymouth','plymouth fury'
|
| 173 |
+
172,'buick','buick skyhawk'
|
| 174 |
+
173,'chevrolet','chevrolet monza 2+2'
|
| 175 |
+
174,'ford','ford mustang ii'
|
| 176 |
+
175,'toyota','toyota corolla'
|
| 177 |
+
176,'ford','ford pinto'
|
| 178 |
+
177,'amc','amc gremlin'
|
| 179 |
+
178,'pontiac','pontiac astro'
|
| 180 |
+
179,'toyota','toyota corona'
|
| 181 |
+
180,'volkswagen','volkswagen dasher'
|
| 182 |
+
181,'datsun','datsun 710'
|
| 183 |
+
182,'ford','ford pinto'
|
| 184 |
+
183,'volkswagen','volkswagen rabbit'
|
| 185 |
+
184,'amc','amc pacer'
|
| 186 |
+
185,'audi','audi 100ls'
|
| 187 |
+
186,'peugeot','peugeot 504'
|
| 188 |
+
187,'volvo','volvo 244dl'
|
| 189 |
+
188,'saab','saab 99le'
|
| 190 |
+
189,'honda','honda civic cvcc'
|
| 191 |
+
190,'fiat','fiat 131'
|
| 192 |
+
191,'opel','opel 1900'
|
| 193 |
+
192,'capri','capri ii'
|
| 194 |
+
193,'dodge','dodge colt'
|
| 195 |
+
194,'renault','renault 12tl'
|
| 196 |
+
195,'chevrolet','chevrolet chevelle malibu classic'
|
| 197 |
+
196,'dodge','dodge coronet brougham'
|
| 198 |
+
197,'amc','amc matador'
|
| 199 |
+
198,'ford','ford gran torino'
|
| 200 |
+
199,'plymouth','plymouth valiant'
|
| 201 |
+
200,'chevrolet','chevrolet nova'
|
| 202 |
+
201,'ford','ford maverick'
|
| 203 |
+
202,'amc','amc hornet'
|
| 204 |
+
203,'chevrolet','chevrolet chevette'
|
| 205 |
+
204,'chevrolet','chevrolet woody'
|
| 206 |
+
205,'volkswagen','vw rabbit'
|
| 207 |
+
206,'honda','honda civic'
|
| 208 |
+
207,'dodge','dodge aspen se'
|
| 209 |
+
208,'ford','ford granada ghia'
|
| 210 |
+
209,'pontiac','pontiac ventura sj'
|
| 211 |
+
210,'amc','amc pacer d/l'
|
| 212 |
+
211,'volkswagen','volkswagen rabbit'
|
| 213 |
+
212,'datsun','datsun b-210'
|
| 214 |
+
213,'toyota','toyota corolla'
|
| 215 |
+
214,'ford','ford pinto'
|
| 216 |
+
215,'volvo','volvo 245'
|
| 217 |
+
216,'plymouth','plymouth volare premier v8'
|
| 218 |
+
217,'peugeot','peugeot 504'
|
| 219 |
+
218,'toyota','toyota mark ii'
|
| 220 |
+
219,'mercedes-benz','mercedes-benz 280s'
|
| 221 |
+
220,'cadillac','cadillac seville'
|
| 222 |
+
221,'chevrolet','chevy c10'
|
| 223 |
+
222,'ford','ford f108'
|
| 224 |
+
223,'dodge','dodge d100'
|
| 225 |
+
224,'honda','honda accord cvcc'
|
| 226 |
+
225,'buick','buick opel isuzu deluxe'
|
| 227 |
+
226,'renault','renault 5 gtl'
|
| 228 |
+
227,'plymouth','plymouth arrow gs'
|
| 229 |
+
228,'datsun','datsun f-10 hatchback'
|
| 230 |
+
229,'chevrolet','chevrolet caprice classic'
|
| 231 |
+
230,'oldsmobile','oldsmobile cutlass supreme'
|
| 232 |
+
231,'dodge','dodge monaco brougham'
|
| 233 |
+
232,'mercury','mercury cougar brougham'
|
| 234 |
+
233,'chevrolet','chevrolet concours'
|
| 235 |
+
234,'buick','buick skylark'
|
| 236 |
+
235,'plymouth','plymouth volare custom'
|
| 237 |
+
236,'ford','ford granada'
|
| 238 |
+
237,'pontiac','pontiac grand prix lj'
|
| 239 |
+
238,'chevrolet','chevrolet monte carlo landau'
|
| 240 |
+
239,'chrysler','chrysler cordoba'
|
| 241 |
+
240,'ford','ford thunderbird'
|
| 242 |
+
241,'volkswagen','volkswagen rabbit custom'
|
| 243 |
+
242,'pontiac','pontiac sunbird coupe'
|
| 244 |
+
243,'toyota','toyota corolla liftback'
|
| 245 |
+
244,'ford','ford mustang ii 2+2'
|
| 246 |
+
245,'chevrolet','chevrolet chevette'
|
| 247 |
+
246,'dodge','dodge colt m/m'
|
| 248 |
+
247,'subaru','subaru dl'
|
| 249 |
+
248,'volkswagen','volkswagen dasher'
|
| 250 |
+
249,'datsun','datsun 810'
|
| 251 |
+
250,'bmw','bmw 320i'
|
| 252 |
+
251,'mazda','mazda rx-4'
|
| 253 |
+
252,'volkswagen','volkswagen rabbit custom diesel'
|
| 254 |
+
253,'ford','ford fiesta'
|
| 255 |
+
254,'mazda','mazda glc deluxe'
|
| 256 |
+
255,'datsun','datsun b210 gx'
|
| 257 |
+
256,'honda','honda civic cvcc'
|
| 258 |
+
257,'oldsmobile','oldsmobile cutlass salon brougham'
|
| 259 |
+
258,'dodge','dodge diplomat'
|
| 260 |
+
259,'mercury','mercury monarch ghia'
|
| 261 |
+
260,'pontiac','pontiac phoenix lj'
|
| 262 |
+
261,'chevrolet','chevrolet malibu'
|
| 263 |
+
262,'ford','ford fairmont (auto)'
|
| 264 |
+
263,'ford','ford fairmont (man)'
|
| 265 |
+
264,'plymouth','plymouth volare'
|
| 266 |
+
265,'amc','amc concord'
|
| 267 |
+
266,'buick','buick century special'
|
| 268 |
+
267,'mercury','mercury zephyr'
|
| 269 |
+
268,'dodge','dodge aspen'
|
| 270 |
+
269,'amc','amc concord d/l'
|
| 271 |
+
270,'chevrolet','chevrolet monte carlo landau'
|
| 272 |
+
271,'buick','buick regal sport coupe (turbo)'
|
| 273 |
+
272,'ford','ford futura'
|
| 274 |
+
273,'dodge','dodge magnum xe'
|
| 275 |
+
274,'chevrolet','chevrolet chevette'
|
| 276 |
+
275,'toyota','toyota corona'
|
| 277 |
+
276,'datsun','datsun 510'
|
| 278 |
+
277,'dodge','dodge omni'
|
| 279 |
+
278,'toyota','toyota celica gt liftback'
|
| 280 |
+
279,'plymouth','plymouth sapporo'
|
| 281 |
+
280,'oldsmobile','oldsmobile starfire sx'
|
| 282 |
+
281,'datsun','datsun 200-sx'
|
| 283 |
+
282,'audi','audi 5000'
|
| 284 |
+
283,'volvo','volvo 264gl'
|
| 285 |
+
284,'saab','saab 99gle'
|
| 286 |
+
285,'peugeot','peugeot 604sl'
|
| 287 |
+
286,'volkswagen','volkswagen scirocco'
|
| 288 |
+
287,'honda','honda accord lx'
|
| 289 |
+
288,'pontiac','pontiac lemans v6'
|
| 290 |
+
289,'mercury','mercury zephyr 6'
|
| 291 |
+
290,'ford','ford fairmont 4'
|
| 292 |
+
291,'amc','amc concord dl 6'
|
| 293 |
+
292,'dodge','dodge aspen 6'
|
| 294 |
+
293,'chevrolet','chevrolet caprice classic'
|
| 295 |
+
294,'ford','ford ltd landau'
|
| 296 |
+
295,'mercury','mercury grand marquis'
|
| 297 |
+
296,'dodge','dodge st. regis'
|
| 298 |
+
297,'buick','buick estate wagon (sw)'
|
| 299 |
+
298,'ford','ford country squire (sw)'
|
| 300 |
+
299,'chevrolet','chevrolet malibu classic (sw)'
|
| 301 |
+
300,'chrysler','chrysler lebaron town @ country (sw)'
|
| 302 |
+
301,'volkswagen','vw rabbit custom'
|
| 303 |
+
302,'mazda', 'mazda glc deluxe'
|
| 304 |
+
303,'dodge','dodge colt hatchback custom'
|
| 305 |
+
304,'amc','amc spirit dl'
|
| 306 |
+
305,'mercedes','mercedes benz 300d'
|
| 307 |
+
306,'cadillac','cadillac eldorado'
|
| 308 |
+
307,'peugeot','peugeot 504'
|
| 309 |
+
308,'oldsmobile','oldsmobile cutlass salon brougham'
|
| 310 |
+
309,'plymouth','plymouth horizon'
|
| 311 |
+
310,'plymouth','plymouth horizon tc3'
|
| 312 |
+
311,'datsun','datsun 210'
|
| 313 |
+
312,'fiat','fiat strada custom'
|
| 314 |
+
313,'buick','buick skylark limited'
|
| 315 |
+
314,'chevrolet','chevrolet citation'
|
| 316 |
+
315,'oldsmobile','oldsmobile omega brougham'
|
| 317 |
+
316,'pontiac','pontiac phoenix'
|
| 318 |
+
317,'volkswagen','vw rabbit'
|
| 319 |
+
318,'toyota','toyota corolla tercel'
|
| 320 |
+
319,'chevrolet','chevrolet chevette'
|
| 321 |
+
320,'datsun','datsun 310'
|
| 322 |
+
321,'chevrolet','chevrolet citation'
|
| 323 |
+
322,'ford','ford fairmont'
|
| 324 |
+
323,'amc','amc concord'
|
| 325 |
+
324,'dodge','dodge aspen'
|
| 326 |
+
325,'audi','audi 4000'
|
| 327 |
+
326,'toyota','toyota corona liftback'
|
| 328 |
+
327,'mazda','mazda 626'
|
| 329 |
+
328,'datsun','datsun 510 hatchback'
|
| 330 |
+
329,'toyota','toyota corolla'
|
| 331 |
+
330,'mazda','mazda glc'
|
| 332 |
+
331,'dodge','dodge colt'
|
| 333 |
+
332,'datsun','datsun 210'
|
| 334 |
+
333,'volkswagen','vw rabbit c (diesel)'
|
| 335 |
+
334,'volkswagen','vw dasher (diesel)'
|
| 336 |
+
335,'audi','audi 5000s (diesel)'
|
| 337 |
+
336,'mercedes-benz','mercedes-benz 240d'
|
| 338 |
+
337,'honda','honda civic 1500 gl'
|
| 339 |
+
338,'renault','renault lecar deluxe'
|
| 340 |
+
339,'subaru','subaru dl'
|
| 341 |
+
340, 'volkswagen','volkswagen rabbit'
|
| 342 |
+
341,'datsun','datsun 280-zx'
|
| 343 |
+
342,'mazda','mazda rx-7 gs'
|
| 344 |
+
343,'triumph','triumph tr7 coupe'
|
| 345 |
+
344,'ford','ford mustang cobra'
|
| 346 |
+
345,'honda','honda accord'
|
| 347 |
+
346,'plymouth','plymouth reliant'
|
| 348 |
+
347,'buick','buick skylark'
|
| 349 |
+
348,'dodge','dodge aries wagon (sw)'
|
| 350 |
+
349,'chevrolet','chevrolet citation'
|
| 351 |
+
350,'plymouth','plymouth reliant'
|
| 352 |
+
351,'toyota','toyota starlet'
|
| 353 |
+
352,'plymouth','plymouth champ'
|
| 354 |
+
353,'honda','honda civic 1300'
|
| 355 |
+
354,'subaru','subaru'
|
| 356 |
+
355,'datsun','datsun 210 mpg'
|
| 357 |
+
356,'toyota','toyota tercel'
|
| 358 |
+
357,'mazda','mazda glc 4'
|
| 359 |
+
358,'plymouth','plymouth horizon 4'
|
| 360 |
+
359,'ford','ford escort 4w'
|
| 361 |
+
360,'ford','ford escort 2h'
|
| 362 |
+
361,'volkswagen','volkswagen jetta'
|
| 363 |
+
362,'renault','renault 18i'
|
| 364 |
+
363,'honda','honda prelude'
|
| 365 |
+
364,'toyota','toyota corolla'
|
| 366 |
+
365,'datsun','datsun 200sx'
|
| 367 |
+
366,'mazda','mazda 626'
|
| 368 |
+
367,'peugeot','peugeot 505s turbo diesel'
|
| 369 |
+
368,'saab','saab 900s'
|
| 370 |
+
369,'volvo','volvo diesel'
|
| 371 |
+
370,'toyota','toyota cressida'
|
| 372 |
+
371,'datsun','datsun 810 maxima'
|
| 373 |
+
372,'buick','buick century'
|
| 374 |
+
373,'oldsmobile','oldsmobile cutlass ls'
|
| 375 |
+
374,'ford','ford granada gl'
|
| 376 |
+
375,'chrysler','chrysler lebaron salon'
|
| 377 |
+
376,'chevrolet','chevrolet cavalier'
|
| 378 |
+
377,'chevrolet','chevrolet cavalier wagon'
|
| 379 |
+
378,'chevrolet','chevrolet cavalier 2-door'
|
| 380 |
+
379,'pontiac','pontiac j2000 se hatchback'
|
| 381 |
+
380,'dodge','dodge aries se'
|
| 382 |
+
381,'pontiac','pontiac phoenix'
|
| 383 |
+
382,'ford','ford fairmont futura'
|
| 384 |
+
383,'amc','amc concord dl'
|
| 385 |
+
384,'volkswagen','volkswagen rabbit l'
|
| 386 |
+
385,'mazda','mazda glc custom l'
|
| 387 |
+
386,'mazda','mazda glc custom'
|
| 388 |
+
387,'plymouth','plymouth horizon miser'
|
| 389 |
+
388,'mercury','mercury lynx l'
|
| 390 |
+
389,'nissan','nissan stanza xe'
|
| 391 |
+
390,'honda','honda accord'
|
| 392 |
+
391,'toyota','toyota corolla'
|
| 393 |
+
392,'honda','honda civic'
|
| 394 |
+
393,'honda','honda civic (auto)'
|
| 395 |
+
394,'datsun','datsun 310 gx'
|
| 396 |
+
395,'buick','buick century limited'
|
| 397 |
+
396,'oldsmobile','oldsmobile cutlass ciera (diesel)'
|
| 398 |
+
397,'chrysler','chrysler lebaron medallion'
|
| 399 |
+
398,'ford','ford granada l'
|
| 400 |
+
399,'toyota','toyota celica gt'
|
| 401 |
+
400,'dodge','dodge charger 2.2'
|
| 402 |
+
401,'chevrolet','chevrolet camaro'
|
| 403 |
+
402,'ford','ford mustang gl'
|
| 404 |
+
403,'volkswagen','vw pickup'
|
| 405 |
+
404,'dodge','dodge rampage'
|
| 406 |
+
405,'ford','ford ranger'
|
| 407 |
+
406,'chevrolet','chevy s-10'
|
spider-corpus-test/test_database/car_1/data_csv/cars-data.csv
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Id,MPG,Cylinders,Edispl,Horsepower,Weight,Accelerate,Year
|
| 2 |
+
1,18,8,307,130,3504,12,1970
|
| 3 |
+
2,15,8,350,165,3693,11.5,1970
|
| 4 |
+
3,18,8,318,150,3436,11,1970
|
| 5 |
+
4,16,8,304,150,3433,12,1970
|
| 6 |
+
5,17,8,302,140,3449,10.5,1970
|
| 7 |
+
6,15,8,429,198,4341,10,1970
|
| 8 |
+
7,14,8,454,220,4354,9,1970
|
| 9 |
+
8,14,8,440,215,4312,8.5,1970
|
| 10 |
+
9,14,8,455,225,4425,10,1970
|
| 11 |
+
10,15,8,390,190,3850,8.5,1970
|
| 12 |
+
11,null,4,133,115,3090,17.5,1970
|
| 13 |
+
12,null,8,350,165,4142,11.5,1970
|
| 14 |
+
13,null,8,351,153,4034,11,1970
|
| 15 |
+
14,null,8,383,175,4166,10.5,1970
|
| 16 |
+
15,null,8,360,175,3850,11,1970
|
| 17 |
+
16,15,8,383,170,3563,10,1970
|
| 18 |
+
17,14,8,340,160,3609,8,1970
|
| 19 |
+
18,null,8,302,140,3353,8,1970
|
| 20 |
+
19,15,8,400,150,3761,9.5,1970
|
| 21 |
+
20,14,8,455,225,3086,10,1970
|
| 22 |
+
21,24,4,113,95,2372,15,1970
|
| 23 |
+
22,22,6,198,95,2833,15.5,1970
|
| 24 |
+
23,18,6,199,97,2774,15.5,1970
|
| 25 |
+
24,21,6,200,85,2587,16,1970
|
| 26 |
+
25,27,4,97,88,2130,14.5,1970
|
| 27 |
+
26,26,4,97,46,1835,20.5,1970
|
| 28 |
+
27,25,4,110,87,2672,17.5,1970
|
| 29 |
+
28,24,4,107,90,2430,14.5,1970
|
| 30 |
+
29,25,4,104,95,2375,17.5,1970
|
| 31 |
+
30,26,4,121,113,2234,12.5,1970
|
| 32 |
+
31,21,6,199,90,2648,15,1970
|
| 33 |
+
32,10,8,360,215,4615,14,1970
|
| 34 |
+
33,10,8,307,200,4376,15,1970
|
| 35 |
+
34,11,8,318,210,4382,13.5,1970
|
| 36 |
+
35,9,8,304,193,4732,18.5,1970
|
| 37 |
+
36,27,4,97,88,2130,14.5,1971
|
| 38 |
+
37,28,4,140,90,2264,15.5,1971
|
| 39 |
+
38,25,4,113,95,2228,14,1971
|
| 40 |
+
39,25,4,98,null,2046,19,1971
|
| 41 |
+
40,null,4,97,48,1978,20,1971
|
| 42 |
+
41,19,6,232,100,2634,13,1971
|
| 43 |
+
42,16,6,225,105,3439,15.5,1971
|
| 44 |
+
43,17,6,250,100,3329,15.5,1971
|
| 45 |
+
44,19,6,250,88,3302,15.5,1971
|
| 46 |
+
45,18,6,232,100,3288,15.5,1971
|
| 47 |
+
46,14,8,350,165,4209,12,1971
|
| 48 |
+
47,14,8,400,175,4464,11.5,1971
|
| 49 |
+
48,14,8,351,153,4154,13.5,1971
|
| 50 |
+
49,14,8,318,150,4096,13,1971
|
| 51 |
+
50,12,8,383,180,4955,11.5,1971
|
| 52 |
+
51,13,8,400,170,4746,12,1971
|
| 53 |
+
52,13,8,400,175,5140,12,1971
|
| 54 |
+
53,18,6,258,110,2962,13.5,1971
|
| 55 |
+
54,22,4,140,72,2408,19,1971
|
| 56 |
+
55,19,6,250,100,3282,15,1971
|
| 57 |
+
56,18,6,250,88,3139,14.5,1971
|
| 58 |
+
57,23,4,122,86,2220,14,1971
|
| 59 |
+
58,28,4,116,90,2123,14,1971
|
| 60 |
+
59,30,4,79,70,2074,19.5,1971
|
| 61 |
+
60,30,4,88,76,2065,14.5,1971
|
| 62 |
+
61,31,4,71,65,1773,19,1971
|
| 63 |
+
62,35,4,72,69,1613,18,1971
|
| 64 |
+
63,27,4,97,60,1834,19,1971
|
| 65 |
+
64,26,4,91,70,1955,20.5,1971
|
| 66 |
+
65,24,4,113,95,2278,15.5,1972
|
| 67 |
+
66,25,4,97.5,80,2126,17,1972
|
| 68 |
+
67,23,4,97,54,2254,23.5,1972
|
| 69 |
+
68,20,4,140,90,2408,19.5,1972
|
| 70 |
+
69,21,4,122,86,2226,16.5,1972
|
| 71 |
+
70,13,8,350,165,4274,12,1972
|
| 72 |
+
71,14,8,400,175,4385,12,1972
|
| 73 |
+
72,15,8,318,150,4135,13.5,1972
|
| 74 |
+
73,14,8,351,153,4129,13,1972
|
| 75 |
+
74,17,8,304,150,3672,11.5,1972
|
| 76 |
+
75,11,8,429,208,4633,11,1972
|
| 77 |
+
76,13,8,350,155,4502,13.5,1972
|
| 78 |
+
77,12,8,350,160,4456,13.5,1972
|
| 79 |
+
78,13,8,400,190,4422,12.5,1972
|
| 80 |
+
79,19,3,70,97,2330,13.5,1972
|
| 81 |
+
80,15,8,304,150,3892,12.5,1972
|
| 82 |
+
81,13,8,307,130,4098,14,1972
|
| 83 |
+
82,13,8,302,140,4294,16,1972
|
| 84 |
+
83,14,8,318,150,4077,14,1972
|
| 85 |
+
84,18,4,121,112,2933,14.5,1972
|
| 86 |
+
85,22,4,121,76,2511,18,1972
|
| 87 |
+
86,21,4,120,87,2979,19.5,1972
|
| 88 |
+
87,26,4,96,69,2189,18,1972
|
| 89 |
+
88,22,4,122,86,2395,16,1972
|
| 90 |
+
89,28,4,97,92,2288,17,1972
|
| 91 |
+
90,23,4,120,97,2506,14.5,1972
|
| 92 |
+
91,28,4,98,80,2164,15,1972
|
| 93 |
+
92,27,4,97,88,2100,16.5,1972
|
| 94 |
+
93,13,8,350,175,4100,13,1973
|
| 95 |
+
94,14,8,304,150,3672,11.5,1973
|
| 96 |
+
95,13,8,350,145,3988,13,1973
|
| 97 |
+
96,14,8,302,137,4042,14.5,1973
|
| 98 |
+
97,15,8,318,150,3777,12.5,1973
|
| 99 |
+
98,12,8,429,198,4952,11.5,1973
|
| 100 |
+
99,13,8,400,150,4464,12,1973
|
| 101 |
+
100,13,8,351,158,4363,13,1973
|
| 102 |
+
101,14,8,318,150,4237,14.5,1973
|
| 103 |
+
102,13,8,440,215,4735,11,1973
|
| 104 |
+
103,12,8,455,225,4951,11,1973
|
| 105 |
+
104,13,8,360,175,3821,11,1973
|
| 106 |
+
105,18,6,225,105,3121,16.5,1973
|
| 107 |
+
106,16,6,250,100,3278,18,1973
|
| 108 |
+
107,18,6,232,100,2945,16,1973
|
| 109 |
+
108,18,6,250,88,3021,16.5,1973
|
| 110 |
+
109,23,6,198,95,2904,16,1973
|
| 111 |
+
110,26,4,97,46,1950,21,1973
|
| 112 |
+
111,11,8,400,150,4997,14,1973
|
| 113 |
+
112,12,8,400,167,4906,12.5,1973
|
| 114 |
+
113,13,8,360,170,4654,13,1973
|
| 115 |
+
114,12,8,350,180,4499,12.5,1973
|
| 116 |
+
115,18,6,232,100,2789,15,1973
|
| 117 |
+
116,20,4,97,88,2279,19,1973
|
| 118 |
+
117,21,4,140,72,2401,19.5,1973
|
| 119 |
+
118,22,4,108,94,2379,16.5,1973
|
| 120 |
+
119,18,3,70,90,2124,13.5,1973
|
| 121 |
+
120,19,4,122,85,2310,18.5,1973
|
| 122 |
+
121,21,6,155,107,2472,14,1973
|
| 123 |
+
122,26,4,98,90,2265,15.5,1973
|
| 124 |
+
123,15,8,350,145,4082,13,1973
|
| 125 |
+
124,16,8,400,230,4278,9.5,1973
|
| 126 |
+
125,29,4,68,49,1867,19.5,1973
|
| 127 |
+
126,24,4,116,75,2158,15.5,1973
|
| 128 |
+
127,20,4,114,91,2582,14,1973
|
| 129 |
+
128,19,4,121,112,2868,15.5,1973
|
| 130 |
+
129,15,8,318,150,3399,11,1973
|
| 131 |
+
130,24,4,121,110,2660,14,1973
|
| 132 |
+
131,20,6,156,122,2807,13.5,1973
|
| 133 |
+
132,11,8,350,180,3664,11,1973
|
| 134 |
+
133,20,6,198,95,3102,16.5,1974
|
| 135 |
+
134,21,6,200,null,2875,17,1974
|
| 136 |
+
135,19,6,232,100,2901,16,1974
|
| 137 |
+
136,15,6,250,100,3336,17,1974
|
| 138 |
+
137,31,4,79,67,1950,19,1974
|
| 139 |
+
138,26,4,122,80,2451,16.5,1974
|
| 140 |
+
139,32,4,71,65,1836,21,1974
|
| 141 |
+
140,25,4,140,75,2542,17,1974
|
| 142 |
+
141,16,6,250,100,3781,17,1974
|
| 143 |
+
142,16,6,258,110,3632,18,1974
|
| 144 |
+
143,18,6,225,105,3613,16.5,1974
|
| 145 |
+
144,16,8,302,140,4141,14,1974
|
| 146 |
+
145,13,8,350,150,4699,14.5,1974
|
| 147 |
+
146,14,8,318,150,4457,13.5,1974
|
| 148 |
+
147,14,8,302,140,4638,16,1974
|
| 149 |
+
148,14,8,304,150,4257,15.5,1974
|
| 150 |
+
149,29,4,98,83,2219,16.5,1974
|
| 151 |
+
150,26,4,79,67,1963,15.5,1974
|
| 152 |
+
151,26,4,97,78,2300,14.5,1974
|
| 153 |
+
152,31,4,76,52,1649,16.5,1974
|
| 154 |
+
153,32,4,83,61,2003,19,1974
|
| 155 |
+
154,28,4,90,75,2125,14.5,1974
|
| 156 |
+
155,24,4,90,75,2108,15.5,1974
|
| 157 |
+
156,26,4,116,75,2246,14,1974
|
| 158 |
+
157,24,4,120,97,2489,15,1974
|
| 159 |
+
158,26,4,108,93,2391,15.5,1974
|
| 160 |
+
159,31,4,79,67,2000,16,1974
|
| 161 |
+
160,19,6,225,95,3264,16,1975
|
| 162 |
+
161,18,6,250,105,3459,16,1975
|
| 163 |
+
162,15,6,250,72,3432,21,1975
|
| 164 |
+
163,15,6,250,72,3158,19.5,1975
|
| 165 |
+
164,16,8,400,170,4668,11.5,1975
|
| 166 |
+
165,15,8,350,145,4440,14,1975
|
| 167 |
+
166,16,8,318,150,4498,14.5,1975
|
| 168 |
+
167,14,8,351,148,4657,13.5,1975
|
| 169 |
+
168,17,6,231,110,3907,21,1975
|
| 170 |
+
169,16,6,250,105,3897,18.5,1975
|
| 171 |
+
170,15,6,258,110,3730,19,1975
|
| 172 |
+
171,18,6,225,95,3785,19,1975
|
| 173 |
+
172,21,6,231,110,3039,15,1975
|
| 174 |
+
173,20,8,262,110,3221,13.5,1975
|
| 175 |
+
174,13,8,302,129,3169,12,1975
|
| 176 |
+
175,29,4,97,75,2171,16,1975
|
| 177 |
+
176,23,4,140,83,2639,17,1975
|
| 178 |
+
177,20,6,232,100,2914,16,1975
|
| 179 |
+
178,23,4,140,78,2592,18.5,1975
|
| 180 |
+
179,24,4,134,96,2702,13.5,1975
|
| 181 |
+
180,25,4,90,71,2223,16.5,1975
|
| 182 |
+
181,24,4,119,97,2545,17,1975
|
| 183 |
+
182,18,6,171,97,2984,14.5,1975
|
| 184 |
+
183,29,4,90,70,1937,14,1975
|
| 185 |
+
184,19,6,232,90,3211,17,1975
|
| 186 |
+
185,23,4,115,95,2694,15,1975
|
| 187 |
+
186,23,4,120,88,2957,17,1975
|
| 188 |
+
187,22,4,121,98,2945,14.5,1975
|
| 189 |
+
188,25,4,121,115,2671,13.5,1975
|
| 190 |
+
189,33,4,91,53,1795,17.5,1975
|
| 191 |
+
190,28,4,107,86,2464,15.5,1976
|
| 192 |
+
191,25,4,116,81,2220,16.9,1976
|
| 193 |
+
192,25,4,140,92,2572,14.9,1976
|
| 194 |
+
193,26,4,98,79,2255,17.7,1976
|
| 195 |
+
194,27,4,101,83,2202,15.3,1976
|
| 196 |
+
195,17.5,8,305,140,4215,13,1976
|
| 197 |
+
196,16,8,318,150,4190,13,1976
|
| 198 |
+
197,15.5,8,304,120,3962,13.9,1976
|
| 199 |
+
198,14.5,8,351,152,4215,12.8,1976
|
| 200 |
+
199,22,6,225,100,3233,15.4,1976
|
| 201 |
+
200,22,6,250,105,3353,14.5,1976
|
| 202 |
+
201,24,6,200,81,3012,17.6,1976
|
| 203 |
+
202,22.5,6,232,90,3085,17.6,1976
|
| 204 |
+
203,29,4,85,52,2035,22.2,1976
|
| 205 |
+
204,24.5,4,98,60,2164,22.1,1976
|
| 206 |
+
205,29,4,90,70,1937,14.2,1976
|
| 207 |
+
206,33,4,91,53,1795,17.4,1976
|
| 208 |
+
207,20,6,225,100,3651,17.7,1976
|
| 209 |
+
208,18,6,250,78,3574,21,1976
|
| 210 |
+
209,18.5,6,250,110,3645,16.2,1976
|
| 211 |
+
210,17.5,6,258,95,3193,17.8,1976
|
| 212 |
+
211,29.5,4,97,71,1825,12.2,1976
|
| 213 |
+
212,32,4,85,70,1990,17,1976
|
| 214 |
+
213,28,4,97,75,2155,16.4,1976
|
| 215 |
+
214,26.5,4,140,72,2565,13.6,1976
|
| 216 |
+
215,20,4,130,102,3150,15.7,1976
|
| 217 |
+
216,13,8,318,150,3940,13.2,1976
|
| 218 |
+
217,19,4,120,88,3270,21.9,1976
|
| 219 |
+
218,19,6,156,108,2930,15.5,1976
|
| 220 |
+
219,16.5,6,168,120,3820,16.7,1976
|
| 221 |
+
220,16.5,8,350,180,4380,12.1,1976
|
| 222 |
+
221,13,8,350,145,4055,12,1976
|
| 223 |
+
222,13,8,302,130,3870,15,1976
|
| 224 |
+
223,13,8,318,150,3755,14,1976
|
| 225 |
+
224,31.5,4,98,68,2045,18.5,1977
|
| 226 |
+
225,30,4,111,80,2155,14.8,1977
|
| 227 |
+
226,36,4,79,58,1825,18.6,1977
|
| 228 |
+
227,25.5,4,122,96,2300,15.5,1977
|
| 229 |
+
228,33.5,4,85,70,1945,16.8,1977
|
| 230 |
+
229,17.5,8,305,145,3880,12.5,1977
|
| 231 |
+
230,17,8,260,110,4060,19,1977
|
| 232 |
+
231,15.5,8,318,145,4140,13.7,1977
|
| 233 |
+
232,15,8,302,130,4295,14.9,1977
|
| 234 |
+
233,17.5,6,250,110,3520,16.4,1977
|
| 235 |
+
234,20.5,6,231,105,3425,16.9,1977
|
| 236 |
+
235,19,6,225,100,3630,17.7,1977
|
| 237 |
+
236,18.5,6,250,98,3525,19,1977
|
| 238 |
+
237,16,8,400,180,4220,11.1,1977
|
| 239 |
+
238,15.5,8,350,170,4165,11.4,1977
|
| 240 |
+
239,15.5,8,400,190,4325,12.2,1977
|
| 241 |
+
240,16,8,351,149,4335,14.5,1977
|
| 242 |
+
241,29,4,97,78,1940,14.5,1977
|
| 243 |
+
242,24.5,4,151,88,2740,16,1977
|
| 244 |
+
243,26,4,97,75,2265,18.2,1977
|
| 245 |
+
244,25.5,4,140,89,2755,15.8,1977
|
| 246 |
+
245,30.5,4,98,63,2051,17,1977
|
| 247 |
+
246,33.5,4,98,83,2075,15.9,1977
|
| 248 |
+
247,30,4,97,67,1985,16.4,1977
|
| 249 |
+
248,30.5,4,97,78,2190,14.1,1977
|
| 250 |
+
249,22,6,146,97,2815,14.5,1977
|
| 251 |
+
250,21.5,4,121,110,2600,12.8,1977
|
| 252 |
+
251,21.5,3,80,110,2720,13.5,1977
|
| 253 |
+
252,43.1,4,90,48,1985,21.5,1978
|
| 254 |
+
253,36.1,4,98,66,1800,14.4,1978
|
| 255 |
+
254,32.8,4,78,52,1985,19.4,1978
|
| 256 |
+
255,39.4,4,85,70,2070,18.6,1978
|
| 257 |
+
256,36.1,4,91,60,1800,16.4,1978
|
| 258 |
+
257,19.9,8,260,110,3365,15.5,1978
|
| 259 |
+
258,19.4,8,318,140,3735,13.2,1978
|
| 260 |
+
259,20.2,8,302,139,3570,12.8,1978
|
| 261 |
+
260,19.2,6,231,105,3535,19.2,1978
|
| 262 |
+
261,20.5,6,200,95,3155,18.2,1978
|
| 263 |
+
262,20.2,6,200,85,2965,15.8,1978
|
| 264 |
+
263,25.1,4,140,88,2720,15.4,1978
|
| 265 |
+
264,20.5,6,225,100,3430,17.2,1978
|
| 266 |
+
265,19.4,6,232,90,3210,17.2,1978
|
| 267 |
+
266,20.6,6,231,105,3380,15.8,1978
|
| 268 |
+
267,20.8,6,200,85,3070,16.7,1978
|
| 269 |
+
268,18.6,6,225,110,3620,18.7,1978
|
| 270 |
+
269,18.1,6,258,120,3410,15.1,1978
|
| 271 |
+
270,19.2,8,305,145,3425,13.2,1978
|
| 272 |
+
271,17.7,6,231,165,3445,13.4,1978
|
| 273 |
+
272,18.1,8,302,139,3205,11.2,1978
|
| 274 |
+
273,17.5,8,318,140,4080,13.7,1978
|
| 275 |
+
274,30,4,98,68,2155,16.5,1978
|
| 276 |
+
275,27.5,4,134,95,2560,14.2,1978
|
| 277 |
+
276,27.2,4,119,97,2300,14.7,1978
|
| 278 |
+
277,30.9,4,105,75,2230,14.5,1978
|
| 279 |
+
278,21.1,4,134,95,2515,14.8,1978
|
| 280 |
+
279,23.2,4,156,105,2745,16.7,1978
|
| 281 |
+
280,23.8,4,151,85,2855,17.6,1978
|
| 282 |
+
281,23.9,4,119,97,2405,14.9,1978
|
| 283 |
+
282,20.3,5,131,103,2830,15.9,1978
|
| 284 |
+
283,17,6,163,125,3140,13.6,1978
|
| 285 |
+
284,21.6,4,121,115,2795,15.7,1978
|
| 286 |
+
285,16.2,6,163,133,3410,15.8,1978
|
| 287 |
+
286,31.5,4,89,71,1990,14.9,1978
|
| 288 |
+
287,29.5,4,98,68,2135,16.6,1978
|
| 289 |
+
288,21.5,6,231,115,3245,15.4,1979
|
| 290 |
+
289,19.8,6,200,85,2990,18.2,1979
|
| 291 |
+
290,22.3,4,140,88,2890,17.3,1979
|
| 292 |
+
291,20.2,6,232,90,3265,18.2,1979
|
| 293 |
+
292,20.6,6,225,110,3360,16.6,1979
|
| 294 |
+
293,17,8,305,130,3840,15.4,1979
|
| 295 |
+
294,17.6,8,302,129,3725,13.4,1979
|
| 296 |
+
295,16.5,8,351,138,3955,13.2,1979
|
| 297 |
+
296,18.2,8,318,135,3830,15.2,1979
|
| 298 |
+
297,16.9,8,350,155,4360,14.9,1979
|
| 299 |
+
298,15.5,8,351,142,4054,14.3,1979
|
| 300 |
+
299,19.2,8,267,125,3605,15,1979
|
| 301 |
+
300,18.5,8,360,150,3940,13,1979
|
| 302 |
+
301,31.9,4,89,71,1925,14,1979
|
| 303 |
+
302,34.1,4,86,65,1975,15.2,1979
|
| 304 |
+
303,35.7,4,98,80,1915,14.4,1979
|
| 305 |
+
304,27.4,4,121,80,2670,15,1979
|
| 306 |
+
305,25.4,5,183,77,3530,20.1,1979
|
| 307 |
+
306,23,8,350,125,3900,17.4,1979
|
| 308 |
+
307,27.2,4,141,71,3190,24.8,1979
|
| 309 |
+
308,23.9,8,260,90,3420,22.2,1979
|
| 310 |
+
309,34.2,4,105,70,2200,13.2,1979
|
| 311 |
+
310,34.5,4,105,70,2150,14.9,1979
|
| 312 |
+
311,31.8,4,85,65,2020,19.2,1979
|
| 313 |
+
312,37.3,4,91,69,2130,14.7,1979
|
| 314 |
+
313,28.4,4,151,90,2670,16,1979
|
| 315 |
+
314,28.8,6,173,115,2595,11.3,1979
|
| 316 |
+
315,26.8,6,173,115,2700,12.9,1979
|
| 317 |
+
316,33.5,4,151,90,2556,13.2,1979
|
| 318 |
+
317,41.5,4,98,76,2144,14.7,1980
|
| 319 |
+
318,38.1,4,89,60,1968,18.8,1980
|
| 320 |
+
319,32.1,4,98,70,2120,15.5,1980
|
| 321 |
+
320,37.2,4,86,65,2019,16.4,1980
|
| 322 |
+
321,28,4,151,90,2678,16.5,1980
|
| 323 |
+
322,26.4,4,140,88,2870,18.1,1980
|
| 324 |
+
323,24.3,4,151,90,3003,20.1,1980
|
| 325 |
+
324,19.1,6,225,90,3381,18.7,1980
|
| 326 |
+
325,34.3,4,97,78,2188,15.8,1980
|
| 327 |
+
326,29.8,4,134,90,2711,15.5,1980
|
| 328 |
+
327,31.3,4,120,75,2542,17.5,1980
|
| 329 |
+
328,37,4,119,92,2434,15,1980
|
| 330 |
+
329,32.2,4,108,75,2265,15.2,1980
|
| 331 |
+
330,46.6,4,86,65,2110,17.9,1980
|
| 332 |
+
331,27.9,4,156,105,2800,14.4,1980
|
| 333 |
+
332,40.8,4,85,65,2110,19.2,1980
|
| 334 |
+
333,44.3,4,90,48,2085,21.7,1980
|
| 335 |
+
334,43.4,4,90,48,2335,23.7,1980
|
| 336 |
+
335,36.4,5,121,67,2950,19.9,1980
|
| 337 |
+
336,30,4,146,67,3250,21.8,1980
|
| 338 |
+
337,44.6,4,91,67,1850,13.8,1980
|
| 339 |
+
338,40.9,4,85,null,1835,17.3,1980
|
| 340 |
+
339,33.8,4,97,67,2145,18,1980
|
| 341 |
+
340,29.8,4,89,62,1845,15.3,1980
|
| 342 |
+
341,32.7,6,168,132,2910,11.4,1980
|
| 343 |
+
342,23.7,3,70,100,2420,12.5,1980
|
| 344 |
+
343,35,4,122,88,2500,15.1,1980
|
| 345 |
+
344,23.6,4,140,null,2905,14.3,1980
|
| 346 |
+
345,32.4,4,107,72,2290,17,1980
|
| 347 |
+
346,27.2,4,135,84,2490,15.7,1981
|
| 348 |
+
347,26.6,4,151,84,2635,16.4,1981
|
| 349 |
+
348,25.8,4,156,92,2620,14.4,1981
|
| 350 |
+
349,23.5,6,173,110,2725,12.6,1981
|
| 351 |
+
350,30,4,135,84,2385,12.9,1981
|
| 352 |
+
351,39.1,4,79,58,1755,16.9,1981
|
| 353 |
+
352,39,4,86,64,1875,16.4,1981
|
| 354 |
+
353,35.1,4,81,60,1760,16.1,1981
|
| 355 |
+
354,32.3,4,97,67,2065,17.8,1981
|
| 356 |
+
355,37,4,85,65,1975,19.4,1981
|
| 357 |
+
356,37.7,4,89,62,2050,17.3,1981
|
| 358 |
+
357,34.1,4,91,68,1985,16,1981
|
| 359 |
+
358,34.7,4,105,63,2215,14.9,1981
|
| 360 |
+
359,34.4,4,98,65,2045,16.2,1981
|
| 361 |
+
360,29.9,4,98,65,2380,20.7,1981
|
| 362 |
+
361,33,4,105,74,2190,14.2,1981
|
| 363 |
+
362,34.5,4,100,null,2320,15.8,1981
|
| 364 |
+
363,33.7,4,107,75,2210,14.4,1981
|
| 365 |
+
364,32.4,4,108,75,2350,16.8,1981
|
| 366 |
+
365,32.9,4,119,100,2615,14.8,1981
|
| 367 |
+
366,31.6,4,120,74,2635,18.3,1981
|
| 368 |
+
367,28.1,4,141,80,3230,20.4,1981
|
| 369 |
+
368,null,4,121,110,2800,15.4,1981
|
| 370 |
+
369,30.7,6,145,76,3160,19.6,1981
|
| 371 |
+
370,25.4,6,168,116,2900,12.6,1981
|
| 372 |
+
371,24.2,6,146,120,2930,13.8,1981
|
| 373 |
+
372,22.4,6,231,110,3415,15.8,1981
|
| 374 |
+
373,26.6,8,350,105,3725,19,1981
|
| 375 |
+
374,20.2,6,200,88,3060,17.1,1981
|
| 376 |
+
375,17.6,6,225,85,3465,16.6,1981
|
| 377 |
+
376,28,4,112,88,2605,19.6,1982
|
| 378 |
+
377,27,4,112,88,2640,18.6,1982
|
| 379 |
+
378,34,4,112,88,2395,18,1982
|
| 380 |
+
379,31,4,112,85,2575,16.2,1982
|
| 381 |
+
380,29,4,135,84,2525,16,1982
|
| 382 |
+
381,27,4,151,90,2735,18,1982
|
| 383 |
+
382,24,4,140,92,2865,16.4,1982
|
| 384 |
+
383,23,4,151,null,3035,20.5,1982
|
| 385 |
+
384,36,4,105,74,1980,15.3,1982
|
| 386 |
+
385,37,4,91,68,2025,18.2,1982
|
| 387 |
+
386,31,4,91,68,1970,17.6,1982
|
| 388 |
+
387,38,4,105,63,2125,14.7,1982
|
| 389 |
+
388,36,4,98,70,2125,17.3,1982
|
| 390 |
+
389,36,4,120,88,2160,14.5,1982
|
| 391 |
+
390,36,4,107,75,2205,14.5,1982
|
| 392 |
+
391,34,4,108,70,2245,16.9,1982
|
| 393 |
+
392,38,4,91,67,1965,15,1982
|
| 394 |
+
393,32,4,91,67,1965,15.7,1982
|
| 395 |
+
394,38,4,91,67,1995,16.2,1982
|
| 396 |
+
395,25,6,181,110,2945,16.4,1982
|
| 397 |
+
396,38,6,262,85,3015,17,1982
|
| 398 |
+
397,26,4,156,92,2585,14.5,1982
|
| 399 |
+
398,22,6,232,112,2835,14.7,1982
|
| 400 |
+
399,32,4,144,96,2665,13.9,1982
|
| 401 |
+
400,36,4,135,84,2370,13,1982
|
| 402 |
+
401,27,4,151,90,2950,17.3,1982
|
| 403 |
+
402,27,4,140,86,2790,15.6,1982
|
| 404 |
+
403,44,4,97,52,2130,24.6,1982
|
| 405 |
+
404,32,4,135,84,2295,11.6,1982
|
| 406 |
+
405,28,4,120,79,2625,18.6,1982
|
| 407 |
+
406,31,4,119,82,2720,19.4,1982
|
spider-corpus-test/test_database/car_1/data_csv/cars.desc
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The Committee on Statistical Graphics of the American Statistical
|
| 2 |
+
Association (ASA) invites you to participate in its Second (1983)
|
| 3 |
+
Exposition of Statistical Graphics Technology. The purposes of the
|
| 4 |
+
Exposition are (l) to provide a forum in which users and providers of
|
| 5 |
+
statistical graphics technology can exchange information and ideas and
|
| 6 |
+
(2) to expose those members of the ASA community who are less familiar
|
| 7 |
+
with statistical graphics to its capabilities and potential benefits
|
| 8 |
+
to them. The Exposition wil1 be held in conjunction with the Annual
|
| 9 |
+
Meetings in Toronto, August 15-18, 1983 and is tentatively scheduled
|
| 10 |
+
for the afternoon of Wednesday, August 17.
|
| 11 |
+
|
| 12 |
+
Seven providers of statistical graphics technology participated in the
|
| 13 |
+
l982 Exposition. By all accounts, the Exposition was well received by
|
| 14 |
+
the ASA community and was a worthwhile experience for the
|
| 15 |
+
participants. We hope to have those seven involved again this year,
|
| 16 |
+
along with as many new participants as we can muster. The 1982
|
| 17 |
+
Exposition was summarized in a paper to appear in the Proceeding of
|
| 18 |
+
the Statistical Computing Section. A copy of that paper is enclosed
|
| 19 |
+
for your information.
|
| 20 |
+
|
| 21 |
+
The basic format of the 1983 Exposition will be similar to that of
|
| 22 |
+
1982. However, based upon comments received and experience gained,
|
| 23 |
+
there are some changes. The basic structure, intended to be simpler
|
| 24 |
+
and more flexible than last year, is as follows:
|
| 25 |
+
|
| 26 |
+
A fixed data set is to be analyzed. This data set is a version of the
|
| 27 |
+
CRCARS data set of
|
| 28 |
+
|
| 29 |
+
Donoho, David and Ramos, Ernesto (1982), ``PRIMDATA:
|
| 30 |
+
Data Sets for Use With PRIM-H'' (DRAFT).
|
| 31 |
+
|
| 32 |
+
Because of the Committee's limited (zero) budget for the Exposition,
|
| 33 |
+
we are forced to provide the data in hardcopy form only (enclosed).
|
| 34 |
+
(Sorry!)
|
| 35 |
+
|
| 36 |
+
There are 406 observations on the following 8 variables: MPG (miles
|
| 37 |
+
per gallon), # cylinders, engine displacement (cu. inches), horsepower,
|
| 38 |
+
vehicle weight (lbs.), time to accelerate from O to 60 mph (sec.),
|
| 39 |
+
model year (modulo 100), and origin of car (1. American, 2. European,
|
| 40 |
+
3. Japanese). These data appear on seven pages. Also provided are the
|
| 41 |
+
car labels (types) in the same order as the 8 variables on seven
|
| 42 |
+
separate pages. Missing data values are marked by series of question
|
| 43 |
+
marks.
|
| 44 |
+
|
| 45 |
+
You are asked to analyze these data using your statistical graphics
|
| 46 |
+
software. Your objective should be to achieve graphical displays which
|
| 47 |
+
will be meaningful to the viewers and highlight relevant aspects of
|
| 48 |
+
the data. If you can best achieve this using simple graphical formats,
|
| 49 |
+
fine. If you choose to illustrate some of the more sophisticated
|
| 50 |
+
capabilities of your software and can do so without losing relevancy
|
| 51 |
+
to the data, that is fine, too. This year, there will be no Committee
|
| 52 |
+
commentary on the individual presentations, so you are not competing
|
| 53 |
+
with other presenters. The role of each presenter is to do his/her
|
| 54 |
+
best job of presenting their statistical graphics technology to the
|
| 55 |
+
viewers.
|
| 56 |
+
|
| 57 |
+
Each participant will be provided with a 6'(long) by 4'(tall)
|
| 58 |
+
posterboard on which to display the results of their analyses. This is
|
| 59 |
+
the same format as last year. You are encouraged to remain by your
|
| 60 |
+
presentation during the Exposition to answer viewers' questions. Three
|
| 61 |
+
copies of your presentation must be submitted to me by July 1. Movie
|
| 62 |
+
or slide show presentations cannot be accommodated (sorry). The
|
| 63 |
+
Committee will prepare its own poster presentation which will orient
|
| 64 |
+
the viewers to the data and the purposes of the Exposition.
|
| 65 |
+
|
| 66 |
+
The ASA has asked us to remind all participants that the Exposition is
|
| 67 |
+
intended for educational and scientific purposes and is not a
|
| 68 |
+
marketing activity. Even though last year's participants did an
|
| 69 |
+
excellent job of maintaining that distinction, a cautionary note at
|
| 70 |
+
this point is appropriate.
|
| 71 |
+
|
| 72 |
+
Those of us who were involved with the 1982 Exposition found it
|
| 73 |
+
worthwhile and fun to do. We would very much like to have you
|
| 74 |
+
participate this year. For planning purposes, please RSVP (to me, in
|
| 75 |
+
writing please) by April 15 as to whether you plan to accept the
|
| 76 |
+
Committee's invitation.
|
| 77 |
+
|
| 78 |
+
If you have any questions about the Exposition, please call me on
|
| 79 |
+
(301/763-5350). If you have specific questions about the data, or the
|
| 80 |
+
analysis, please call Karen Kafadar on (301/921-3651). If you cannot
|
| 81 |
+
participate but know of another person or group in your organization
|
| 82 |
+
who can, please pass this invitation along to them.
|
| 83 |
+
|
| 84 |
+
Sincerely,
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
LAWRENCE H. COX
|
| 89 |
+
Statistical Research Division
|
| 90 |
+
Bureau of the Census
|
| 91 |
+
Room 3524-3
|
| 92 |
+
Washington, DC 20233
|
| 93 |
+
|
| 94 |
+
|
spider-corpus-test/test_database/car_1/data_csv/continents.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ContId,Continent
|
| 2 |
+
1,'america'
|
| 3 |
+
2,'europe'
|
| 4 |
+
3,'asia'
|
| 5 |
+
4,'africa'
|
| 6 |
+
5,'australia'
|
spider-corpus-test/test_database/car_1/data_csv/countries.csv
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CountryId,CountryName,Continent
|
| 2 |
+
1,'usa',1
|
| 3 |
+
2,'germany',2
|
| 4 |
+
3,'france',2
|
| 5 |
+
4,'japan',3
|
| 6 |
+
5,'italy',2
|
| 7 |
+
6,'sweden',2
|
| 8 |
+
7,'uk',2
|
| 9 |
+
8,'korea',3
|
| 10 |
+
9,'russia',2
|
| 11 |
+
10,'nigeria',4
|
| 12 |
+
11,'australia',5
|
| 13 |
+
12,'new zealand',5
|
| 14 |
+
13,'egypt',4
|
| 15 |
+
14,'mexico',1
|
| 16 |
+
15,'brazil',1
|
spider-corpus-test/test_database/car_1/data_csv/model-list.csv
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ModelId,Maker,Model
|
| 2 |
+
1,1,'amc'
|
| 3 |
+
2,2,'audi'
|
| 4 |
+
3,3,'bmw'
|
| 5 |
+
4,4,'buick'
|
| 6 |
+
5,4,'cadillac'
|
| 7 |
+
6,5,'capri'
|
| 8 |
+
7,4,'chevrolet'
|
| 9 |
+
8,6,'chrysler'
|
| 10 |
+
9,7,'citroen'
|
| 11 |
+
10,8,'datsun'
|
| 12 |
+
11,6,'dodge'
|
| 13 |
+
12,9,'fiat'
|
| 14 |
+
13,5,'ford'
|
| 15 |
+
14,10,'hi'
|
| 16 |
+
15,11,'honda'
|
| 17 |
+
16,12,'mazda'
|
| 18 |
+
17,13,'mercedes'
|
| 19 |
+
18,13,'mercedes-benz'
|
| 20 |
+
19,5,'mercury'
|
| 21 |
+
20,8,'nissan'
|
| 22 |
+
21,4,'oldsmobile'
|
| 23 |
+
22,14,'opel'
|
| 24 |
+
23,15,'peugeot'
|
| 25 |
+
24,6,'plymouth'
|
| 26 |
+
25,4,'pontiac'
|
| 27 |
+
26,16,'renault'
|
| 28 |
+
27,17,'saab'
|
| 29 |
+
28,18,'subaru'
|
| 30 |
+
29,19,'toyota'
|
| 31 |
+
30,20,'triumph'
|
| 32 |
+
31,2,'volkswagen'
|
| 33 |
+
32,21,'volvo'
|
| 34 |
+
33,22,'kia'
|
| 35 |
+
34,23,'hyundai'
|
| 36 |
+
35,6,'jeep'
|
| 37 |
+
36,19,'scion'
|
spider-corpus-test/test_database/car_1/link.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
http://users.csc.calpoly.edu/~dekhtyar/365-Spring2017/index.html
|
spider-corpus-test/test_database/car_1/q.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Find all Reanults (’renault’) in the database. For each, report the name and the year.
|
| 2 |
+
|
| 3 |
+
Find all cars produced by Volvo between 1977 and 1981 (inclusive). Report the name of the car and the year it was produced.
|
| 4 |
+
|
| 5 |
+
Report all Asian automakers. Output the full name of the automaker and the country of origin
|
| 6 |
+
|
| 7 |
+
Find all non-four cylinder cars produced in 1980 that have a better fuel economy better than 20 MPG and that accelerate to 60 mph faster than in 15 seconds. Report the name of the car and the name of the automaker.
|
| 8 |
+
|
| 9 |
+
For each saab released after 1978, compute the ratio between the weight of the car and its number of horsepowers. Report the full name of the car, the year it was produced and the ratio.
|
| 10 |
+
|
| 11 |
+
Find the average, maximum and minimum horsepower for 4-cylinder vehicles manufactured by renault between 1971 and 1976 inclusively.
|
| 12 |
+
|
| 13 |
+
Find how many different car manufacturers produced a vehicle heavier than 4000 lbs.
|
| 14 |
+
|
| 15 |
+
Find the minimum horsepower for 4-cylinder vehicles manufactured by renault between 1971 and 1976 inclusively.
|
| 16 |
+
|
| 17 |
+
For each year when US-manufactured cars averaged less than 100 horsepowers, report the highest and the lowest engine displacement number.
|
| 18 |
+
|
| 19 |
+
For each year in which honda produced more than 2 models, report the best, the worst and the average gas milage of a toyota vehicle.
|
| 20 |
+
|
| 21 |
+
Report all vehicles with the best gas mileage. For each vehicle, report its full name and the year of production.
|
| 22 |
+
|
| 23 |
+
Among the vehicles with the gas mileage, report the one with the best acceleration. Report full name and the year of production.
|
| 24 |
+
|
| 25 |
+
For each country report the automaker with the largest number of cars in the database. Report the name of the country.
|
| 26 |
+
|
| 27 |
+
Find the difference in gas milage between the most fuel-efficient 8-cylinder model and the least fuel-efficient 4-cylinder model. Report just the number.
|
spider-corpus-test/test_database/car_racing/car_racing.sqlite
ADDED
|
Binary file (36.9 kB). View file
|
|
|
spider-corpus-test/test_database/car_racing/schema.sql
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PRAGMA foreign_keys = ON;
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
CREATE TABLE "country" (
|
| 5 |
+
"Country_Id" int,
|
| 6 |
+
"Country" text,
|
| 7 |
+
"Capital" text,
|
| 8 |
+
"Official_native_language" text,
|
| 9 |
+
"Regoin" text,
|
| 10 |
+
PRIMARY KEY ("Country_Id")
|
| 11 |
+
);
|
| 12 |
+
|
| 13 |
+
INSERT INTO "country" VALUES (1,"Japan","Tokyo","Japanese","Asia");
|
| 14 |
+
INSERT INTO "country" VALUES (2,"USA","Washington","English","North America");
|
| 15 |
+
INSERT INTO "country" VALUES (6,"Britain","London","British English","Europe");
|
| 16 |
+
INSERT INTO "country" VALUES (3,"China","Beijing","Chinese","Asia");
|
| 17 |
+
INSERT INTO "country" VALUES (4,"Ireland","Dublin","Irish English","Europe");
|
| 18 |
+
INSERT INTO "country" VALUES (5,"Isle of Man","Douglas","English Manx","Europe");
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
CREATE TABLE `team` (
|
| 23 |
+
"Team_ID" int,
|
| 24 |
+
"Team" text,
|
| 25 |
+
"Make" text,
|
| 26 |
+
"Manager" text,
|
| 27 |
+
"Sponsor" text,
|
| 28 |
+
"Car_Owner" text,
|
| 29 |
+
PRIMARY KEY ("Team_ID")
|
| 30 |
+
);
|
| 31 |
+
|
| 32 |
+
CREATE TABLE `driver` (
|
| 33 |
+
"Driver_ID" int,
|
| 34 |
+
"Driver" text,
|
| 35 |
+
"Country" int,
|
| 36 |
+
"Age" int,
|
| 37 |
+
"Car_#" real,
|
| 38 |
+
"Make" text,
|
| 39 |
+
"Points" text,
|
| 40 |
+
"Laps" real,
|
| 41 |
+
"Winnings" text,
|
| 42 |
+
PRIMARY KEY ("Driver_ID"),
|
| 43 |
+
FOREIGN KEY (`Country`) REFERENCES `country`(`Country_ID`)
|
| 44 |
+
);
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
CREATE TABLE `team_driver` (
|
| 49 |
+
"Team_ID" int,
|
| 50 |
+
"Driver_ID" int,
|
| 51 |
+
PRIMARY KEY ("Team_ID","Driver_ID"),
|
| 52 |
+
FOREIGN KEY (`Team_ID`) REFERENCES `team`(`Team_ID`),
|
| 53 |
+
FOREIGN KEY (`Driver_ID`) REFERENCES `driver`(`Driver_ID`)
|
| 54 |
+
);
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
INSERT INTO "team" VALUES (1,"Arrington Racing","Chrysler Imperial","Buddy Arrington","Arrington Racing","Buddy Arrington");
|
| 58 |
+
INSERT INTO "team" VALUES (2,"Benfield Racing","Buick Regal","Joe Ruttman","Levi Garrett","Ron Benfield");
|
| 59 |
+
INSERT INTO "team" VALUES (3,"Blue Max Racing","Pontiac Grand Prix","Tim Richmond","Old Milwaukee","Raymond Beadle");
|
| 60 |
+
INSERT INTO "team" VALUES (4,"Bobby Hawkins Racing","Chevrolet Monte Carlo","David Pearson","Chattanooga Chew","Bobby Hawkins");
|
| 61 |
+
INSERT INTO "team" VALUES (5,"Bud Moore Engineering","Ford Thunderbird","Dale Earnhardt","Wrangler Jeans","Bud Moore");
|
| 62 |
+
INSERT INTO "team" VALUES (6,"Cliff Stewart Racing","Pontiac Grand Prix","Geoff Bodine","Gatorade","Cliff Stewart");
|
| 63 |
+
INSERT INTO "team" VALUES (7,"DiGard Motorsports","Buick Regal","Bobby Allison","Miller American","Bill Gardner");
|
| 64 |
+
INSERT INTO "team" VALUES (8,"Donlavey Racing","Ford Thunderbird","Dick Brooks","Chameleon Sunglasses","Junie Donlavey");
|
| 65 |
+
INSERT INTO "team" VALUES (9,"Ellington Racing","Chevrolet Monte Carlo","Lake Speed","UNO / Bull Frog Knits","Hoss Ellington");
|
| 66 |
+
INSERT INTO "team" VALUES (10,"Hagan Racing","Chevrolet Monte Carlo","Terry Labonte","Budweiser","Billy Hagan");
|
| 67 |
+
INSERT INTO "team" VALUES (11,"Hamby Motorsports","Pontiac Grand Prix","Sterling Marlin (R)","Hesco Exhaust Systems","Roger Hamby");
|
| 68 |
+
INSERT INTO "team" VALUES (12,"Henderson Motorsports","Chevrolet Monte Carlo Buick Regal","Ronnie Hopkins (R)","Food Country USA","Charlie Henderson");
|
| 69 |
+
|
| 70 |
+
INSERT INTO "driver" VALUES (1,"Kasey Kahne",2,23,"9","Dodge","185","334","$530,164");
|
| 71 |
+
INSERT INTO "driver" VALUES (2,"Matt Kenseth",2,21,"17","Ford","175","334","$362,491");
|
| 72 |
+
INSERT INTO "driver" VALUES (3,"Tony Stewart",2,19,"20","Chevrolet","175","334","$286,386");
|
| 73 |
+
INSERT INTO "driver" VALUES (4,"Denny Hamlin *",2,25,"11","Chevrolet","165","334","$208,500");
|
| 74 |
+
INSERT INTO "driver" VALUES (5,"Kevin Li",3,23,"29","Chevrolet","160","334","$204,511");
|
| 75 |
+
INSERT INTO "driver" VALUES (6,"Jeff Chen",3,25,"31","Chevrolet","150","334","$172,220");
|
| 76 |
+
INSERT INTO "driver" VALUES (7,"Scott Riggs",1,22,"10","Dodge","146","334","$133,850");
|
| 77 |
+
INSERT INTO "driver" VALUES (8,"Mali Lu Jr. *",3,29,"1","Chevrolet","147","334","$156,608");
|
| 78 |
+
INSERT INTO "driver" VALUES (9,"Mark Martin",5,21,"6","Ford","143","334","$151,850");
|
| 79 |
+
INSERT INTO "driver" VALUES (10,"Bobby Labonte",4,25,"43","Dodge","134","334","$164,211");
|
| 80 |
+
|
| 81 |
+
INSERT INTO "team_driver" VALUES (1,1);
|
| 82 |
+
INSERT INTO "team_driver" VALUES (2,3);
|
| 83 |
+
INSERT INTO "team_driver" VALUES (1,5);
|
| 84 |
+
INSERT INTO "team_driver" VALUES (5,4);
|
| 85 |
+
INSERT INTO "team_driver" VALUES (1,9);
|
| 86 |
+
INSERT INTO "team_driver" VALUES (1,10);
|
| 87 |
+
INSERT INTO "team_driver" VALUES (10,7);
|
| 88 |
+
INSERT INTO "team_driver" VALUES (9,6);
|
| 89 |
+
INSERT INTO "team_driver" VALUES (1,2);
|
| 90 |
+
INSERT INTO "team_driver" VALUES (1,8);
|
| 91 |
+
|