1sf commited on
Commit
3c3953f
·
verified ·
1 Parent(s): 588a1b7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +545 -3
README.md CHANGED
@@ -1,3 +1,545 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ Bird SQL https://bird-bench.github.io/ train dataset with schema
6
+
7
+ Preview
8
+
9
+ ```
10
+ [
11
+ {
12
+ "db_id": "movie_platform",
13
+ "question": "Name movie titles released in year 1945. Sort the listing by the descending order of movie popularity.",
14
+ "evidence": "released in the year 1945 refers to movie_release_year = 1945;",
15
+ "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 1945 ORDER BY movie_popularity DESC LIMIT 1",
16
+ "schema": {
17
+ "table_names_original": [
18
+ "lists",
19
+ "movies",
20
+ "ratings_users",
21
+ "lists_users",
22
+ "ratings"
23
+ ],
24
+ "table_names": [
25
+ "lists",
26
+ "movies",
27
+ "ratings_users",
28
+ "lists_users",
29
+ "ratings"
30
+ ],
31
+ "column_names_original": [
32
+ [
33
+ -1,
34
+ "*"
35
+ ],
36
+ [
37
+ 0,
38
+ "user_id"
39
+ ],
40
+ [
41
+ 0,
42
+ "list_id"
43
+ ],
44
+ [
45
+ 0,
46
+ "list_title"
47
+ ],
48
+ [
49
+ 0,
50
+ "list_movie_number"
51
+ ],
52
+ [
53
+ 0,
54
+ "list_update_timestamp_utc"
55
+ ],
56
+ [
57
+ 0,
58
+ "list_creation_timestamp_utc"
59
+ ],
60
+ [
61
+ 0,
62
+ "list_followers"
63
+ ],
64
+ [
65
+ 0,
66
+ "list_url"
67
+ ],
68
+ [
69
+ 0,
70
+ "list_comments"
71
+ ],
72
+ [
73
+ 0,
74
+ "list_description"
75
+ ],
76
+ [
77
+ 0,
78
+ "list_cover_image_url"
79
+ ],
80
+ [
81
+ 0,
82
+ "list_first_image_url"
83
+ ],
84
+ [
85
+ 0,
86
+ "list_second_image_url"
87
+ ],
88
+ [
89
+ 0,
90
+ "list_third_image_url"
91
+ ],
92
+ [
93
+ 1,
94
+ "movie_id"
95
+ ],
96
+ [
97
+ 1,
98
+ "movie_title"
99
+ ],
100
+ [
101
+ 1,
102
+ "movie_release_year"
103
+ ],
104
+ [
105
+ 1,
106
+ "movie_url"
107
+ ],
108
+ [
109
+ 1,
110
+ "movie_title_language"
111
+ ],
112
+ [
113
+ 1,
114
+ "movie_popularity"
115
+ ],
116
+ [
117
+ 1,
118
+ "movie_image_url"
119
+ ],
120
+ [
121
+ 1,
122
+ "director_id"
123
+ ],
124
+ [
125
+ 1,
126
+ "director_name"
127
+ ],
128
+ [
129
+ 1,
130
+ "director_url"
131
+ ],
132
+ [
133
+ 2,
134
+ "user_id"
135
+ ],
136
+ [
137
+ 2,
138
+ "rating_date_utc"
139
+ ],
140
+ [
141
+ 2,
142
+ "user_trialist"
143
+ ],
144
+ [
145
+ 2,
146
+ "user_subscriber"
147
+ ],
148
+ [
149
+ 2,
150
+ "user_avatar_image_url"
151
+ ],
152
+ [
153
+ 2,
154
+ "user_cover_image_url"
155
+ ],
156
+ [
157
+ 2,
158
+ "user_eligible_for_trial"
159
+ ],
160
+ [
161
+ 2,
162
+ "user_has_payment_method"
163
+ ],
164
+ [
165
+ 3,
166
+ "user_id"
167
+ ],
168
+ [
169
+ 3,
170
+ "list_id"
171
+ ],
172
+ [
173
+ 3,
174
+ "list_update_date_utc"
175
+ ],
176
+ [
177
+ 3,
178
+ "list_creation_date_utc"
179
+ ],
180
+ [
181
+ 3,
182
+ "user_trialist"
183
+ ],
184
+ [
185
+ 3,
186
+ "user_subscriber"
187
+ ],
188
+ [
189
+ 3,
190
+ "user_avatar_image_url"
191
+ ],
192
+ [
193
+ 3,
194
+ "user_cover_image_url"
195
+ ],
196
+ [
197
+ 3,
198
+ "user_eligible_for_trial"
199
+ ],
200
+ [
201
+ 3,
202
+ "user_has_payment_method"
203
+ ],
204
+ [
205
+ 4,
206
+ "movie_id"
207
+ ],
208
+ [
209
+ 4,
210
+ "rating_id"
211
+ ],
212
+ [
213
+ 4,
214
+ "rating_url"
215
+ ],
216
+ [
217
+ 4,
218
+ "rating_score"
219
+ ],
220
+ [
221
+ 4,
222
+ "rating_timestamp_utc"
223
+ ],
224
+ [
225
+ 4,
226
+ "critic"
227
+ ],
228
+ [
229
+ 4,
230
+ "critic_likes"
231
+ ],
232
+ [
233
+ 4,
234
+ "critic_comments"
235
+ ],
236
+ [
237
+ 4,
238
+ "user_id"
239
+ ],
240
+ [
241
+ 4,
242
+ "user_trialist"
243
+ ],
244
+ [
245
+ 4,
246
+ "user_subscriber"
247
+ ],
248
+ [
249
+ 4,
250
+ "user_eligible_for_trial"
251
+ ],
252
+ [
253
+ 4,
254
+ "user_has_payment_method"
255
+ ]
256
+ ],
257
+ "column_names": [
258
+ [
259
+ -1,
260
+ "*"
261
+ ],
262
+ [
263
+ 0,
264
+ "user_id"
265
+ ],
266
+ [
267
+ 0,
268
+ "list_id"
269
+ ],
270
+ [
271
+ 0,
272
+ "list_title"
273
+ ],
274
+ [
275
+ 0,
276
+ "list_movie_number"
277
+ ],
278
+ [
279
+ 0,
280
+ "list_update_timestamp_utc"
281
+ ],
282
+ [
283
+ 0,
284
+ "list_creation_timestamp_utc"
285
+ ],
286
+ [
287
+ 0,
288
+ "list_followers"
289
+ ],
290
+ [
291
+ 0,
292
+ "list_url"
293
+ ],
294
+ [
295
+ 0,
296
+ "list_comments"
297
+ ],
298
+ [
299
+ 0,
300
+ "list_description"
301
+ ],
302
+ [
303
+ 0,
304
+ "list_cover_image_url"
305
+ ],
306
+ [
307
+ 0,
308
+ "list_first_image_url"
309
+ ],
310
+ [
311
+ 0,
312
+ "list_second_image_url"
313
+ ],
314
+ [
315
+ 0,
316
+ "list_third_image_url"
317
+ ],
318
+ [
319
+ 1,
320
+ "movie_id"
321
+ ],
322
+ [
323
+ 1,
324
+ "movie_title"
325
+ ],
326
+ [
327
+ 1,
328
+ "movie_release_year"
329
+ ],
330
+ [
331
+ 1,
332
+ "movie_url"
333
+ ],
334
+ [
335
+ 1,
336
+ "movie_title_language"
337
+ ],
338
+ [
339
+ 1,
340
+ "movie_popularity"
341
+ ],
342
+ [
343
+ 1,
344
+ "movie_image_url"
345
+ ],
346
+ [
347
+ 1,
348
+ "director_id"
349
+ ],
350
+ [
351
+ 1,
352
+ "director_name"
353
+ ],
354
+ [
355
+ 1,
356
+ "director_url"
357
+ ],
358
+ [
359
+ 2,
360
+ "user_id"
361
+ ],
362
+ [
363
+ 2,
364
+ "rating_date_utc"
365
+ ],
366
+ [
367
+ 2,
368
+ "user_trialist"
369
+ ],
370
+ [
371
+ 2,
372
+ "user_subscriber"
373
+ ],
374
+ [
375
+ 2,
376
+ "user_avatar_image_url"
377
+ ],
378
+ [
379
+ 2,
380
+ "user_cover_image_url"
381
+ ],
382
+ [
383
+ 2,
384
+ "user_eligible_for_trial"
385
+ ],
386
+ [
387
+ 2,
388
+ "user_has_payment_method"
389
+ ],
390
+ [
391
+ 3,
392
+ "user_id"
393
+ ],
394
+ [
395
+ 3,
396
+ "list_id"
397
+ ],
398
+ [
399
+ 3,
400
+ "list_update_date_utc"
401
+ ],
402
+ [
403
+ 3,
404
+ "list_creation_date_utc"
405
+ ],
406
+ [
407
+ 3,
408
+ "user_trialist"
409
+ ],
410
+ [
411
+ 3,
412
+ "user_subscriber"
413
+ ],
414
+ [
415
+ 3,
416
+ "user_avatar_image_url"
417
+ ],
418
+ [
419
+ 3,
420
+ "user_cover_image_url"
421
+ ],
422
+ [
423
+ 3,
424
+ "user_eligible_for_trial"
425
+ ],
426
+ [
427
+ 3,
428
+ "user_has_payment_method"
429
+ ],
430
+ [
431
+ 4,
432
+ "movie_id"
433
+ ],
434
+ [
435
+ 4,
436
+ "rating_id"
437
+ ],
438
+ [
439
+ 4,
440
+ "rating_url"
441
+ ],
442
+ [
443
+ 4,
444
+ "rating_score"
445
+ ],
446
+ [
447
+ 4,
448
+ "rating_timestamp_utc"
449
+ ],
450
+ [
451
+ 4,
452
+ "critic"
453
+ ],
454
+ [
455
+ 4,
456
+ "critic_likes"
457
+ ],
458
+ [
459
+ 4,
460
+ "critic_comments"
461
+ ],
462
+ [
463
+ 4,
464
+ "user_id"
465
+ ],
466
+ [
467
+ 4,
468
+ "user_trialist"
469
+ ],
470
+ [
471
+ 4,
472
+ "user_subscriber"
473
+ ],
474
+ [
475
+ 4,
476
+ "user_eligible_for_trial"
477
+ ],
478
+ [
479
+ 4,
480
+ "user_has_payment_method"
481
+ ]
482
+ ],
483
+ "column_types": [
484
+ "text",
485
+ "integer",
486
+ "integer",
487
+ "text",
488
+ "integer",
489
+ "text",
490
+ "text",
491
+ "integer",
492
+ "text",
493
+ "integer",
494
+ "text",
495
+ "text",
496
+ "text",
497
+ "text",
498
+ "text",
499
+ "integer",
500
+ "text",
501
+ "integer",
502
+ "text",
503
+ "text",
504
+ "integer",
505
+ "text",
506
+ "text",
507
+ "text",
508
+ "text",
509
+ "integer",
510
+ "text",
511
+ "integer",
512
+ "integer",
513
+ "text",
514
+ "text",
515
+ "integer",
516
+ "integer",
517
+ "integer",
518
+ "integer",
519
+ "text",
520
+ "text",
521
+ "integer",
522
+ "integer",
523
+ "text",
524
+ "text",
525
+ "text",
526
+ "text",
527
+ "integer",
528
+ "integer",
529
+ "text",
530
+ "integer",
531
+ "text",
532
+ "text",
533
+ "integer",
534
+ "integer",
535
+ "integer",
536
+ "integer",
537
+ "integer",
538
+ "integer",
539
+ "integer"
540
+ ]
541
+ }
542
+ },
543
+ ...
544
+ ]
545
+ ```