q_id
int64 0
9.43k
| input_ids
sequencelengths 450
49.1k
| attention_mask
sequencelengths 450
49.1k
| labels
sequencelengths 450
49.1k
| input_text
stringlengths 1.82k
193k
| output_text
stringlengths 51
837
| input_prompt
stringclasses 215
values |
---|---|---|---|---|---|---|
802 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
1423,
279,
1396,
315,
6928,
24025,
505,
14433,
2360,
72,
627,
100069,
2461,
25,
6928,
12072,
19813,
311,
24248,
3904,
871,
220,
15,
26,
364,
34042,
2360,
72,
6,
374,
279,
3314,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
815,
306,
3904,
871,
220,
15,
3651,
350,
17,
19478,
284,
364,
34042,
2360,
72,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
815,
306,
3904,
871,
220,
15,
3651,
350,
17,
19478,
284,
364,
34042,
2360,
72,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
State the number of positive tweets from Ha Noi.
Clarification: positive tweet refers to Sentiment > 0; 'Ha Noi' is the State
| [query_database(**{'query': 'SELECT COUNT(T1.TweetID) FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID WHERE T1.Sentiment > 0 AND T2.State = 'Ha Noi''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
806 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
36227,
279,
836,
315,
279,
3363,
315,
279,
1217,
889,
27045,
1595,
4054,
315,
1057,
7075,
7493,
374,
571,
17167,
5726,
1635,
28844,
596,
3351,
311,
279,
9624,
449,
24124,
26551,
9365,
0,
3788,
1129,
1141,
24820,
916,
5574,
14,
24606,
26244,
69,
16,
12,
21235,
20,
12,
19,
291,
66,
7561,
2421,
69,
5773,
2614,
9988,
2545,
64,
2437,
64,
19154,
100069,
2461,
25,
330,
4054,
315,
1057,
7075,
7493,
374,
571,
17167,
5726,
1635,
28844,
596,
3351,
311,
279,
9624,
449,
24124,
26551,
9365,
0,
3788,
1129,
1141,
24820,
916,
5574,
14,
24606,
26244,
69,
16,
12,
21235,
20,
12,
19,
291,
66,
7561,
2421,
69,
5773,
2614,
9988,
2545,
64,
2437,
64,
1,
374,
279,
1495,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
2858,
284,
364,
4054,
315,
1057,
7075,
7493,
374,
571,
17167,
5726,
1635,
28844,
4708,
82,
3351,
311,
279,
9624,
449,
24124,
26551,
9365,
0,
3788,
1129,
1141,
24820,
916,
5574,
14,
24606,
26244,
69,
16,
12,
21235,
20,
12,
19,
291,
66,
7561,
2421,
69,
5773,
2614,
9988,
2545,
64,
2437,
64,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
2858,
284,
364,
4054,
315,
1057,
7075,
7493,
374,
571,
17167,
5726,
1635,
28844,
4708,
82,
3351,
311,
279,
9624,
449,
24124,
26551,
9365,
0,
3788,
1129,
1141,
24820,
916,
5574,
14,
24606,
26244,
69,
16,
12,
21235,
20,
12,
19,
291,
66,
7561,
2421,
69,
5773,
2614,
9988,
2545,
64,
2437,
64,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Give the name of the city of the user who tweeted `One of our favorite stories is @FINRA_News's move to the cloud with AWS Enterprise Support! https://amp.twimg.com/v/991837f1-4815-4edc-a88f-e68ded09a02a`.
Clarification: "One of our favorite stories is @FINRA_News's move to the cloud with AWS Enterprise Support! https://amp.twimg.com/v/991837f1-4815-4edc-a88f-e68ded09a02a" is the text
| [query_database(**{'query': 'SELECT T2.City FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID WHERE T1.text = 'One of our favorite stories is @FINRA_News''s move to the cloud with AWS Enterprise Support! https://amp.twimg.com/v/991837f1-4815-4edc-a88f-e68ded09a02a''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
810 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
1423,
279,
1396,
315,
24025,
505,
14972,
389,
83785,
14097,
627,
100069,
2461,
25,
330,
82657,
1,
374,
279,
3314,
26,
364,
38888,
6,
374,
279,
10563,
1316,
26,
1396,
315,
24025,
19813,
311,
4605,
4233,
4589,
926,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
23210,
1247,
1316,
284,
364,
38888,
6,
3651,
350,
17,
19478,
284,
364,
82657,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
17,
4616,
926,
284,
350,
16,
4616,
926,
5401,
350,
16,
23210,
1247,
1316,
284,
364,
38888,
6,
3651,
350,
17,
19478,
284,
364,
82657,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
State the number of tweets from Michigan on Thursdays.
Clarification: "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID)
| [query_database(**{'query': 'SELECT COUNT(T1.TweetID) FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID WHERE T1.Weekday = 'Thursday' AND T2.State = 'Michigan''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
814 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
1938,
315,
279,
2046,
430,
12072,
449,
3110,
4483,
12,
25178,
22708,
25747,
17079,
21032,
23736,
574,
8621,
5380,
100069,
2461,
25,
330,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1,
374,
279,
26213,
926,
26,
1938,
315,
279,
2046,
19813,
311,
10563,
1316,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
10563,
1316,
4393,
23068,
5401,
26213,
926,
284,
364,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
10563,
1316,
4393,
23068,
5401,
26213,
926,
284,
364,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
What is the day of the week that tweet with ID tw-682712873332805633 was posted?
Clarification: "tw-682712873332805633" is the TweetID; day of the week refers to Weekday
| [query_database(**{'query': 'SELECT Weekday FROM twitter WHERE TweetID = 'tw-682712873332805633''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
818 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
4438,
1690,
24025,
617,
1027,
8621,
389,
8079,
5380,
100069,
2461,
25,
330,
41619,
1,
374,
279,
10563,
1316,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
4589,
926,
8,
4393,
23068,
5401,
10563,
1316,
284,
364,
41619,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
4589,
926,
8,
4393,
23068,
5401,
10563,
1316,
284,
364,
41619,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
How many tweets have been posted on Wednesday?
Clarification: "Wednesday" is the Weekday
| [query_database(**{'query': 'SELECT COUNT(TweetID) FROM twitter WHERE Weekday = 'Wednesday''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
822 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
48966,
279,
2860,
1396,
315,
8762,
12072,
29460,
627,
100069,
2461,
25,
330,
37521,
1,
374,
279,
29317,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
1217,
5871,
350,
17,
6328,
350,
16,
63181,
284,
350,
17,
63181,
5401,
350,
17,
1246,
1693,
284,
364,
37521,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
844,
4589,
926,
8,
4393,
23068,
5871,
350,
16,
31448,
13369,
1217,
5871,
350,
17,
6328,
350,
16,
63181,
284,
350,
17,
63181,
5401,
350,
17,
1246,
1693,
284,
364,
37521,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Calculate the total number of male tweet IDs.
Clarification: "Male" is the Gender
| [query_database(**{'query': 'SELECT COUNT(T1.TweetID) FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T2.Gender = 'Male''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
826 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
23956,
3224,
596,
24025,
14890,
279,
1455,
13452,
5380,
100069,
2461,
25,
3224,
14890,
279,
1455,
13452,
19813,
311,
14438,
1405,
7639,
3844,
372,
5063,
12732,
595,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
63513,
4393,
320,
19638,
350,
17,
63513,
11,
31835,
4233,
16,
1236,
12732,
8,
5871,
1661,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
27968,
7866,
350,
17,
63513,
883,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
63513,
4393,
320,
19638,
350,
17,
63513,
11,
31835,
4233,
16,
1236,
12732,
8,
5871,
1661,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
27968,
7866,
350,
17,
63513,
883,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Which country's tweets collected the most likes?
Clarification: country collected the most likes refers to Country where Max(Sum(Likes))
| [query_database(**{'query': 'SELECT T.Country FROM ( SELECT T2.Country, SUM(T1.Likes) AS num FROM twitter AS T1 INNER JOIN location AS T2 ON T1.LocationID = T2.LocationID GROUP BY T2.Country ) T ORDER BY T.num DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
830 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
51,
26488,
430,
1051,
8621,
505,
16327,
527,
304,
1148,
83400,
4768,
5380,
100069,
2461,
25,
330,
68299,
1,
374,
279,
14438,
26,
4221,
19813,
311,
23272,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
79016,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
5401,
350,
17,
63513,
284,
364,
68299,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
79016,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
5401,
350,
17,
63513,
284,
364,
68299,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Tweets that were posted from Brazil are in what languague?
Clarification: "Brazil" is the Country; language refers to Lang
| [query_database(**{'query': 'SELECT DISTINCT T1.Lang FROM twitter AS T1 INNER JOIN location AS T2 ON T1.LocationID = T2.LocationID WHERE T2.Country = 'Brazil''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
834 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
4438,
1690,
24025,
617,
264,
20839,
412,
315,
927,
220,
1135,
5380,
100069,
2461,
25,
20839,
412,
315,
927,
220,
1135,
19813,
311,
29041,
412,
871,
220,
1135,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
26213,
926,
8,
4393,
23068,
5401,
29041,
412,
871,
220,
1135,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
26213,
926,
8,
4393,
23068,
5401,
29041,
412,
871,
220,
1135,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
How many tweets have a klout of over 50?
Clarification: klout of over 50 refers to Klout > 50
| [query_database(**{'query': 'SELECT COUNT(DISTINCT TweetID) FROM twitter WHERE Klout > 50'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
838 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
22755,
315,
279,
1948,
220,
18,
24025,
449,
279,
1455,
1396,
315,
5016,
3932,
9298,
279,
12072,
627,
100069,
2461,
25,
279,
1455,
1396,
315,
5016,
3932,
9298,
19813,
311,
7639,
7,
49468,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
1495,
4393,
23068,
15888,
7866,
50942,
16477,
10592,
220,
18,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
1495,
4393,
23068,
15888,
7866,
50942,
16477,
10592,
220,
18,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Please list the texts of the top 3 tweets with the most number of unique users seeing the tweet.
Clarification: the most number of unique users seeing refers to Max(Reach)
| [query_database(**{'query': 'SELECT text FROM twitter ORDER BY Reach DESC LIMIT 3'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
842 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
22755,
315,
682,
279,
24025,
304,
8753,
8621,
555,
8762,
3932,
627,
100069,
2461,
25,
330,
44297,
1,
374,
279,
4221,
323,
19813,
311,
23272,
284,
364,
1658,
7112,
8762,
1217,
19813,
311,
29317,
284,
364,
37521,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2858,
4393,
23068,
5871,
350,
16,
31448,
13369,
1217,
5871,
350,
17,
6328,
350,
16,
63181,
284,
350,
17,
63181,
5401,
350,
17,
1246,
1693,
284,
364,
37521,
6,
3651,
350,
16,
79016,
284,
364,
1658,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2858,
4393,
23068,
5871,
350,
16,
31448,
13369,
1217,
5871,
350,
17,
6328,
350,
16,
63181,
284,
350,
17,
63181,
5401,
350,
17,
1246,
1693,
284,
364,
37521,
6,
3651,
350,
16,
79016,
284,
364,
1658,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Please list the texts of all the tweets in French posted by male users.
Clarification: "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male'
| [query_database(**{'query': 'SELECT T1.text FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T2.Gender = 'Male' AND T1.Lang = 'fr''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
846 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
3915,
902,
3363,
574,
279,
12072,
449,
279,
1455,
1396,
315,
2160,
26488,
8621,
5380,
100069,
2461,
25,
12072,
449,
1455,
1396,
315,
2160,
4589,
1772,
19813,
311,
7639,
2855,
295,
4589,
2568,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
15888,
7866,
350,
16,
53946,
4589,
2568,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
15888,
7866,
350,
16,
53946,
4589,
2568,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
From which city was the tweet with the most number of retweets posted?
Clarification: tweet with most number of retweet post refers to Max(RetweetCount)
| [query_database(**{'query': 'SELECT T2.City FROM twitter AS T1 INNER JOIN location AS T2 ON T1.LocationID = T2.LocationID ORDER BY T1.RetweetCount DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
850 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3813,
198,
1021,
262,
10067,
926,
31481,
198,
286,
22295,
3813,
34421,
198,
310,
6156,
1401,
345,
262,
14438,
262,
16139,
345,
262,
3314,
415,
16139,
345,
262,
3314,
2123,
220,
16139,
345,
262,
4409,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3813,
10592,
220,
16,
26,
4815,
10067,
926,
1393,
16813,
1393,
220,
3314,
1393,
1423,
2123,
1393,
256,
4409,
720,
260,
220,
16,
1393,
2149,
6993,
689,
1393,
6719,
18275,
276,
1393,
996,
8927,
1393,
6719,
18275,
276,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4812,
926,
794,
330,
9782,
887,
315,
279,
3813,
761,
197,
1,
16813,
794,
330,
1820,
3224,
761,
197,
1,
1423,
794,
330,
1820,
1614,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
13020,
794,
330,
1820,
3363,
702,
69077,
23421,
14700,
1217,
198,
1021,
262,
69667,
16139,
198,
286,
22295,
1217,
34421,
198,
310,
6156,
1401,
345,
262,
29317,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
10592,
220,
16,
26,
4815,
286,
69667,
1393,
29317,
720,
15930,
12,
9390,
19423,
20165,
19,
1393,
14109,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
37999,
794,
330,
1820,
5016,
887,
315,
279,
1217,
761,
197,
1,
30014,
794,
330,
882,
596,
10026,
702,
69077,
23421,
14700,
23068,
198,
1021,
262,
26213,
926,
260,
16139,
198,
310,
6156,
1401,
345,
262,
10563,
1316,
260,
16139,
345,
262,
31933,
260,
31481,
345,
262,
6187,
692,
31481,
345,
262,
23272,
260,
16139,
345,
262,
2209,
1079,
77811,
262,
16139,
345,
262,
50942,
286,
31481,
345,
262,
10608,
4589,
2568,
31481,
345,
262,
52014,
286,
31481,
345,
262,
29041,
412,
286,
31481,
345,
262,
24248,
3904,
262,
26339,
345,
262,
330,
1342,
1,
260,
16139,
345,
262,
10067,
926,
256,
31481,
345,
262,
69667,
996,
16139,
345,
262,
7362,
1401,
320,
4812,
926,
8,
15407,
3813,
59079,
926,
1350,
262,
7362,
1401,
320,
37999,
8,
15407,
1217,
13388,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23068,
10592,
220,
16,
26,
4815,
2342,
26213,
926,
1393,
10563,
1316,
1393,
31354,
1393,
10369,
1393,
27317,
1393,
3957,
1079,
77811,
1393,
49468,
1393,
12289,
4589,
2568,
1393,
73147,
1393,
42,
75,
412,
1393,
32458,
3904,
1393,
58040,
5351,
13771,
1495,
1393,
4812,
926,
1393,
257,
69667,
720,
15930,
12,
25178,
22708,
25747,
17079,
21032,
23736,
1393,
38888,
1393,
220,
220,
1114,
1393,
220,
2148,
1393,
220,
665,
1393,
262,
7989,
1393,
256,
220,
2096,
1393,
1881,
220,
15,
1393,
262,
220,
15,
1393,
256,
220,
1758,
1393,
415,
220,
15,
13,
15,
1393,
1687,
527,
24009,
25,
19903,
4476,
29483,
482,
58777,
1795,
1129,
2185,
49469,
12641,
916,
4537,
5598,
14,
24758,
24678,
18236,
74,
28,
15,
8921,
62077,
55,
84,
37,
86,
14088,
82,
16,
68,
843,
57,
1539,
35170,
2026,
55246,
44,
19377,
1308,
22,
33,
447,
8653,
48,
339,
25554,
56,
71013,
10561,
28,
15021,
71013,
59661,
85116,
16440,
10821,
677,
4226,
674,
8975,
571,
8805,
12641,
674,
8975,
674,
17447,
674,
17969,
287,
674,
8805,
674,
4503,
561,
1259,
287,
1393,
415,
220,
12935,
16,
1393,
15930,
12,
12378,
16723,
966,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
49462,
926,
794,
330,
1820,
5016,
887,
315,
279,
12072,
761,
197,
10944,
1247,
1316,
794,
330,
1820,
47678,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
31354,
794,
330,
1820,
6596,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
10369,
794,
330,
1820,
1938,
430,
279,
12072,
706,
1027,
8621,
761,
197,
1,
27317,
794,
330,
1820,
4221,
315,
279,
12072,
761,
197,
1,
3957,
1079,
77811,
794,
330,
49864,
279,
12072,
374,
64793,
1636,
761,
197,
1,
49468,
794,
330,
1820,
5662,
315,
279,
12072,
761,
197,
1,
12289,
4589,
2568,
794,
330,
1820,
2160,
4589,
1797,
761,
197,
1,
73147,
794,
330,
1820,
1396,
315,
13452,
22549,
197,
1,
42,
75,
412,
794,
330,
1820,
20839,
412,
315,
279,
12072,
761,
197,
1,
32458,
3904,
794,
330,
1820,
27065,
315,
279,
12072,
761,
197,
67351,
794,
330,
1820,
1495,
315,
279,
12072,
761,
197,
1,
4812,
926,
794,
330,
1820,
3813,
887,
315,
279,
23163,
761,
197,
1,
37999,
794,
330,
1820,
1217,
887,
315,
279,
23163,
702,
69077,
14711,
16225,
198,
5618,
1160,
682,
279,
9919,
505,
1405,
24025,
449,
21277,
58214,
1051,
8621,
627,
100069,
2461,
25,
21277,
27065,
19813,
311,
24248,
3904,
284,
220,
15,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
5401,
24248,
3904,
284,
220,
15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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
59894,
4393,
23068,
5871,
350,
16,
31448,
13369,
3813,
5871,
350,
17,
6328,
350,
16,
4616,
926,
284,
350,
17,
4616,
926,
5401,
24248,
3904,
284,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
### Question
Please list all the cities from where tweets with neutral sentiments were posted.
Clarification: neutral sentiment refers to Sentiment = 0
| [query_database(**{'query': 'SELECT DISTINCT T2.City FROM twitter AS T1 INNER JOIN location AS T2 ON T1.LocationID = T2.LocationID WHERE Sentiment = 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE location
(
LocationID INTEGER
constraint location_pk
primary key,
Country TEXT,
State TEXT,
StateCode TEXT,
City TEXT
)
/*
1 example row:
SELECT * FROM location LIMIT 1;
LocationID ||Country || State ||StateCode || City
1 ||Albania ||Elbasan || AL ||Elbasan
*/
/* column definitions {
"LocationID": "unique id of the location",
"Country": "the country",
"State": "the state",
"StateCode": "state code",
"City": "the city"
}*/
CREATE TABLE user
(
UserID TEXT
constraint user_pk
primary key,
Gender TEXT
)
/*
1 example row:
SELECT * FROM user LIMIT 1;
UserID || Gender
tw-1267804344 ||Unknown
*/
/* column definitions {
"UserID": "the unique id of the user",
"Gender": "user's gender"
}*/
CREATE TABLE twitter
(
TweetID TEXT
primary key,
Weekday TEXT,
Hour INTEGER,
Day INTEGER,
Lang TEXT,
IsReshare TEXT,
Reach INTEGER,
RetweetCount INTEGER,
Likes INTEGER,
Klout INTEGER,
Sentiment REAL,
"text" TEXT,
LocationID INTEGER,
UserID TEXT,
foreign key (LocationID) references location(LocationID),
foreign key (UserID) references user(UserID)
)
/*
1 example row:
SELECT * FROM twitter LIMIT 1;
TweetID || Weekday ||Hour ||Day ||Lang ||IsReshare ||Reach ||RetweetCount ||Likes ||Klout ||Sentiment || text ||LocationID || UserID
tw-682712873332805633 ||Thursday || 17 || 31 || en || FALSE || 44 || 0 || 0 || 35 || 0.0 ||We are hiring: Senior Software Engineer - Proto http://www.reqcloud.com/jobs/719865/?k=0LaPxXuFwczs1e32ZURJKrgCIDMQtRO7BquFSQthUKY&utm_source=twitter&utm_campaign=reqCloud_JobPost #job @awscloud #job #protocol #networking #aws #mediastreaming || 3751 ||tw-40932430
*/
/* column definitions {
"TweetID": "the unique id of the tweet",
"Weekday": "the weekday that the tweet has been posted",
"Hour": "the hour that the tweet has been posted",
"Day": "the day that the tweet has been posted",
"Lang": "the language of the tweet",
"IsReshare": "whether the tweet is reshared",
"Reach": "the reach of the tweet",
"RetweetCount": "the retweet count",
"Likes": "the number of likes ",
"Klout": "the klout of the tweet",
"Sentiment": "the sentiment of the tweet",
"text": "the text of the tweet",
"LocationID": "the location id of the poster",
"UserID": "the user id of the poster"
}*/
|
854 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
23956,
3388,
374,
810,
5107,
11,
53086,
311,
8527,
19368,
477,
17863,
8304,
5380,
100069,
2461,
25,
3722,
19813,
311,
17250,
26,
3722,
374,
5190,
3445,
279,
3388,
374,
810,
5107,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
836,
284,
364,
62669,
311,
8527,
19368,
6,
2794,
836,
284,
364,
38432,
8304,
6,
15888,
7866,
3722,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
836,
284,
364,
62669,
311,
8527,
19368,
6,
2794,
836,
284,
364,
38432,
8304,
6,
15888,
7866,
3722,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Which course is more difficult, Intro to BlockChain or Computer Network?
Clarification: diff refers to difficulty; diff is higher means the course is more difficult;
| [query_database(**{'query': 'SELECT name FROM course WHERE name = 'Intro to BlockChain' OR name = 'Computer Network' ORDER BY diff DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
858 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
23956,
14561,
26160,
435,
73722,
32498,
14080,
311,
3719,
264,
3495,
18328,
30,
5321,
3041,
813,
477,
1077,
2539,
836,
627,
100069,
2461,
25,
3495,
18328,
19813,
311,
279,
5575,
889,
17482,
369,
3495,
1405,
279,
72578,
374,
29556,
26,
2539,
836,
19813,
311,
282,
1292,
323,
326,
1292,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
17,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
18,
840,
1292,
284,
364,
37,
73722,
6,
3651,
350,
18,
929,
1292,
284,
364,
44,
543,
14080,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
17,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
18,
840,
1292,
284,
364,
37,
73722,
6,
3651,
350,
18,
929,
1292,
284,
364,
44,
543,
14080,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Which professor advised Faina Mallinar to become a research assistant? Please give his or her full name.
Clarification: research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;
| [query_database(**{'query': 'SELECT T1.first_name, T1.last_name FROM prof AS T1 INNER JOIN RA AS T2 ON T1.prof_id = T2.prof_id INNER JOIN student AS T3 ON T2.student_id = T3.student_id WHERE T3.f_name = 'Faina' AND T3.l_name = 'Mallinar''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
862 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
2539,
5144,
315,
682,
279,
4236,
889,
3952,
279,
3388,
13257,
21579,
31535,
627,
100069,
2461,
25,
2539,
836,
19813,
311,
282,
1292,
323,
326,
1292,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
22333,
21579,
31535,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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| [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
22333,
21579,
31535,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Please list the full names of all the students who took the course Machine Learning Theory.
Clarification: full name refers to f_name and l_name;
| [query_database(**{'query': 'SELECT T1.f_name, T1.l_name FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.name = 'Machine Learning Theory''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
866 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
23956,
5575,
374,
810,
20097,
449,
279,
3388,
13257,
21579,
31535,
11,
62985,
1050,
331,
531,
477,
5034,
3948,
263,
23245,
5380,
100069,
2461,
25,
7731,
19813,
311,
5575,
596,
24617,
8547,
449,
279,
3388,
26,
810,
20097,
19813,
311,
8498,
1161,
266,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
320,
51,
16,
840,
1292,
284,
364,
8921,
3948,
263,
6,
2794,
350,
16,
840,
1292,
284,
364,
10149,
648,
873,
3651,
320,
51,
16,
929,
1292,
284,
364,
17555,
82513,
6,
2794,
350,
16,
929,
1292,
284,
364,
697,
331,
531,
873,
3651,
350,
18,
2710,
284,
364,
22333,
21579,
31535,
6,
15888,
7866,
350,
17,
94103,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
320,
51,
16,
840,
1292,
284,
364,
8921,
3948,
263,
6,
2794,
350,
16,
840,
1292,
284,
364,
10149,
648,
873,
3651,
320,
51,
16,
929,
1292,
284,
364,
17555,
82513,
6,
2794,
350,
16,
929,
1292,
284,
364,
697,
331,
531,
873,
3651,
350,
18,
2710,
284,
364,
22333,
21579,
31535,
6,
15888,
7866,
350,
17,
94103,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Which student is more satisfied with the course Machine Learning Theory, Willie Rechert or Laughton Antonio?
Clarification: sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);
| [query_database(**{'query': 'SELECT T1.f_name, T1.l_name FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE (T1.f_name = 'Laughton' OR T1.f_name = 'Willie') AND (T1.l_name = 'Antonio' OR T1.l_name = 'Rechert') AND T3.name = 'Machine Learning Theory' ORDER BY T2.sat DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
870 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
342,
6733,
315,
41937,
15357,
87654,
21878,
72,
596,
3495,
57619,
5380,
100069,
2461,
25,
3495,
18328,
19813,
311,
279,
5575,
889,
17482,
369,
3495,
1405,
279,
72578,
374,
29556,
26,
2848,
851,
19813,
311,
14561,
753,
3110,
26,
71155,
374,
459,
95875,
836,
315,
24749,
5236,
24478,
1405,
5578,
284,
71514,
3348,
6733,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
18,
1326,
6733,
8,
611,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
16,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
17,
7541,
1292,
284,
364,
46,
70,
15357,
6,
3651,
350,
17,
9288,
1292,
284,
364,
57,
88,
21878,
72,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
18,
1326,
6733,
8,
611,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
16,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
17,
7541,
1292,
284,
364,
46,
70,
15357,
6,
3651,
350,
17,
9288,
1292,
284,
364,
57,
88,
21878,
72,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the average gpa of Ogdon Zywicki's research assistants?
Clarification: research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average = AVG(gpa);
| [query_database(**{'query': 'SELECT SUM(T3.gpa) / COUNT(T1.student_id) FROM RA AS T1 INNER JOIN prof AS T2 ON T1.prof_id = T2.prof_id INNER JOIN student AS T3 ON T1.student_id = T3.student_id WHERE T2.first_name = 'Ogdon' AND T2.last_name = 'Zywicki''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
875 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
4438,
1690,
4236,
3952,
279,
37554,
3388,
5380,
100069,
2461,
25,
3722,
19813,
311,
17250,
26,
3722,
374,
5190,
3445,
279,
3388,
374,
810,
5107,
304,
902,
37554,
17250,
374,
13605,
439,
3722,
284,
220,
20,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
12506,
5871,
350,
16,
31448,
13369,
3388,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
41779,
284,
220,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
12506,
5871,
350,
16,
31448,
13369,
3388,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
41779,
284,
220,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
How many students took the hardest course?
Clarification: diff refers to difficulty; diff is higher means the course is more difficult in which hardest difficulty is expressed as diff = 5;
| [query_database(**{'query': 'SELECT COUNT(T1.student_id) FROM registration AS T1 INNER JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.diff = 5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
879 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
2520,
279,
45724,
889,
32113,
810,
1109,
220,
17,
4236,
11,
902,
14561,
706,
264,
5190,
12917,
5845,
30,
21335,
279,
2539,
836,
627,
100069,
2461,
25,
14561,
63779,
810,
1109,
220,
17,
4236,
19813,
311,
24945,
40104,
851,
8,
871,
220,
17,
26,
5190,
4639,
2968,
19813,
311,
8498,
72947,
12092,
2968,
1237,
2539,
836,
19813,
311,
282,
1292,
323,
326,
1292,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
7541,
1292,
11,
350,
9288,
1292,
4393,
320,
19638,
350,
17,
7541,
1292,
11,
350,
17,
9288,
1292,
11,
350,
17,
32953,
12092,
2968,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,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,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
7541,
1292,
11,
350,
9288,
1292,
4393,
320,
19638,
350,
17,
7541,
1292,
11,
350,
17,
9288,
1292,
11,
350,
17,
32953,
12092,
2968,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
27968,
7866,
350,
16,
93605,
851,
473,
84822,
24945,
40104,
851,
8,
871,
220,
17,
883,
350,
15888,
7866,
350,
32953,
12092,
2968,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
For the professors who advise more than 2 students, which professor has a higher teaching ability? Give the full name.
Clarification: professor advising more than 2 students refers to COUNT(student_id) > 2; higher teachability refers to MAX(teachingability); full name refers to f_name and l_name;
| [query_database(**{'query': 'SELECT T.first_name, T.last_name FROM ( SELECT T2.first_name, T2.last_name, T2.teachingability FROM RA AS T1 INNER JOIN prof AS T2 ON T1.prof_id = T2.prof_id GROUP BY T1.prof_id HAVING COUNT(student_id) > 2 ) T ORDER BY T.teachingability DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
883 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
61524,
279,
1396,
315,
4236,
37191,
304,
279,
330,
16257,
40596,
21579,
1,
3388,
627,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
41213,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
16,
2710,
284,
364,
16257,
40596,
6975,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
41213,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
16,
2710,
284,
364,
16257,
40596,
6975,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Provide the number of students enrolled in the "Statistical Learning" course.
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T2.student_id) FROM course AS T1 INNER JOIN registration AS T2 ON T1.course_id = T2.course_id WHERE T1.name = 'Statistical learning''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
887 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
11668,
315,
4236,
889,
636,
264,
330,
33,
1,
304,
279,
3388,
330,
38432,
8304,
1,
5380,
100069,
2461,
25,
47360,
12420,
3100,
7615,
40104,
851,
7,
7082,
284,
364,
33,
6,
323,
836,
284,
364,
38432,
8304,
47359,
24945,
40104,
851,
1405,
836,
284,
364,
17863,
8304,
3874,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
83116,
284,
364,
33,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
41213,
851,
8,
4393,
12506,
5871,
350,
16,
31448,
13369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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
83116,
284,
364,
33,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
41213,
851,
8,
4393,
12506,
5871,
350,
16,
31448,
13369,
3388,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
2710,
284,
364,
38432,
8304,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the percentage of students who get a "B" in the course "Computer Network"?
Clarification: DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T1.grade = 'B' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.student_id) FROM registration AS T1 INNER JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.name = 'Computer Network''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
890 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
279,
1455,
3062,
14307,
11,
1148,
374,
279,
836,
315,
279,
1455,
5107,
3388,
5380,
100069,
2461,
25,
35321,
6807,
3445,
810,
3062,
304,
902,
1455,
3062,
19813,
311,
8498,
7,
24193,
1237,
3722,
19813,
311,
17250,
26,
279,
1455,
5107,
3388,
19813,
311,
8498,
38224,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
6807,
284,
320,
19638,
8498,
7,
24193,
8,
4393,
3388,
883,
3651,
3722,
284,
320,
19638,
8498,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
6807,
284,
320,
19638,
8498,
7,
24193,
8,
4393,
3388,
883,
3651,
3722,
284,
320,
19638,
8498,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among the most important courses, what is the name of the most difficult course?
Clarification: Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);
| [query_database(**{'query': 'SELECT name FROM course WHERE credit = ( SELECT MAX(credit) FROM course ) AND diff = ( SELECT MAX(diff) FROM course )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
894 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
4438,
1690,
4236,
2751,
459,
362,
304,
43608,
18682,
21579,
5380,
100069,
2461,
25,
362,
19813,
311,
459,
9250,
12239,
304,
902,
12239,
284,
364,
32,
6,
369,
279,
3388,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
41213,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
83116,
284,
364,
32,
6,
3651,
350,
16,
2710,
284,
364,
76956,
18682,
21579,
3436,
5525,
60,
128009
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
41213,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
83116,
284,
364,
32,
6,
3651,
350,
16,
2710,
284,
364,
76956,
18682,
21579,
3436,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
How many students got an A in Applied Deep Learning?
Clarification: A refers to an excellent grade in which grade = 'A' for the course;
| [query_database(**{'query': 'SELECT COUNT(T2.student_id) FROM course AS T1 INNER JOIN registration AS T2 ON T1.course_id = T2.course_id WHERE T2.grade = 'A' AND T1.name = 'Applied Deep Learning ''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
898 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
4438,
1690,
4236,
1587,
41937,
15357,
87654,
21878,
72,
32113,
5380,
100069,
2461,
25,
41937,
15357,
87654,
21878,
72,
374,
264,
14561,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
5401,
350,
17,
7541,
1292,
284,
364,
46,
70,
15357,
6,
3651,
350,
17,
9288,
1292,
284,
364,
57,
88,
21878,
72,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
5401,
350,
17,
7541,
1292,
284,
364,
46,
70,
15357,
6,
3651,
350,
17,
9288,
1292,
284,
364,
57,
88,
21878,
72,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
How many students does Ogdon Zywicki advise?
Clarification: Ogdon Zywicki is a professor;
| [query_database(**{'query': 'SELECT COUNT(T1.student_id) FROM RA AS T1 INNER JOIN prof AS T2 ON T1.prof_id = T2.prof_id WHERE T2.first_name = 'Ogdon' AND T2.last_name = 'Zywicki''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
902 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
23354,
315,
279,
14561,
889,
70074,
279,
8592,
1396,
315,
4236,
449,
279,
8592,
3495,
5845,
5380,
100069,
2461,
25,
14561,
449,
279,
8592,
3495,
5845,
19813,
311,
2848,
851,
1405,
8498,
52486,
2968,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
8452,
30079,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
27968,
7866,
350,
16,
93605,
851,
11,
350,
16,
28488,
2968,
15888,
7866,
24945,
4233,
16,
41213,
851,
8,
16477,
11,
350,
16,
28488,
2968,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
8452,
30079,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
27968,
7866,
350,
16,
93605,
851,
11,
350,
16,
28488,
2968,
15888,
7866,
24945,
4233,
16,
41213,
851,
8,
16477,
11,
350,
16,
28488,
2968,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the popularity of the professor who advises the highest number of students with the highest research ability?
Clarification: professor with the highest research ability refers to prof_id where MAX(capability);
| [query_database(**{'query': 'SELECT T2.popularity FROM RA AS T1 INNER JOIN prof AS T2 ON T1.prof_id = T2.prof_id GROUP BY T1.prof_id, T1.capability ORDER BY COUNT(T1.student_id) DESC, T1.capability DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
906 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
71155,
315,
279,
4236,
449,
279,
8592,
3495,
23099,
323,
1579,
16498,
30,
1796,
279,
2539,
5144,
315,
279,
4236,
627,
100069,
2461,
25,
279,
8592,
3495,
23099,
19813,
311,
23099,
284,
220,
20,
26,
1579,
16498,
19813,
311,
16498,
284,
364,
12156,
7112,
2848,
851,
19813,
311,
14561,
753,
3110,
26,
71155,
374,
459,
95875,
836,
315,
24749,
5236,
24478,
1405,
5578,
71155,
19813,
311,
71514,
3348,
6733,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
17,
1326,
6733,
705,
350,
17,
840,
1292,
11,
350,
17,
929,
1292,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
16,
94586,
284,
364,
12156,
6,
3651,
350,
16,
28488,
2968,
284,
220,
20,
27968,
7866,
350,
17,
41213,
851,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
17,
1326,
6733,
705,
350,
17,
840,
1292,
11,
350,
17,
929,
1292,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
16,
94586,
284,
364,
12156,
6,
3651,
350,
16,
28488,
2968,
284,
220,
20,
27968,
7866,
350,
17,
41213,
851,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the average GPA of the students with the highest research capability and high salary? List the full names of the students.
Clarification: the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);
| [query_database(**{'query': 'SELECT AVG(T2.gpa), T2.f_name, T2.l_name FROM RA AS T1 INNER JOIN student AS T2 ON T1.student_id = T2.student_id WHERE T1.salary = 'high' AND T1.capability = 5 GROUP BY T2.student_id'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
911 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
75885,
279,
5144,
323,
20746,
315,
279,
3325,
5107,
14307,
627,
100069,
2461,
25,
3722,
19813,
311,
17250,
26,
279,
3325,
5107,
14307,
8464,
311,
17116,
38224,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
11,
6807,
4393,
3388,
5401,
3722,
284,
320,
19638,
17116,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
11,
6807,
4393,
3388,
5401,
3722,
284,
320,
19638,
17116,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Describe the names and credits of the least difficult courses.
Clarification: diff refers to difficulty; the least difficult courses refer to MIN(diff);
| [query_database(**{'query': 'SELECT name, credit FROM course WHERE diff = ( SELECT MIN(diff) FROM course )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
915 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
75885,
279,
4236,
6,
2539,
5144,
323,
28711,
304,
53086,
311,
8527,
19368,
3388,
627,
100069,
2461,
25,
5575,
596,
2539,
5144,
284,
282,
1292,
11,
326,
1292,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
11,
350,
17,
83116,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
62669,
311,
8527,
19368,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
11,
350,
17,
83116,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
62669,
311,
8527,
19368,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Describe the students' full names and grades in Intro to BlockChain course.
Clarification: student's full names = f_name, l_name;
| [query_database(**{'query': 'SELECT T1.f_name, T1.l_name, T2.grade FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.name = 'Intro to BlockChain''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
918 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
678,
279,
4236,
315,
279,
21844,
10199,
15264,
3388,
449,
279,
8592,
24617,
627,
100069,
2461,
25,
2539,
279,
4236,
284,
282,
1292,
11,
326,
1292,
26,
3388,
19813,
311,
836,
26,
24617,
19813,
311,
7731,
26,
8592,
24617,
19813,
311,
8498,
1161,
266,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
36557,
10199,
15264,
6,
15888,
7866,
350,
17,
94103,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
840,
1292,
11,
350,
16,
929,
1292,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
2710,
284,
364,
36557,
10199,
15264,
6,
15888,
7866,
350,
17,
94103,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Name the students of the Advanced Database Systems course with the highest satisfaction.
Clarification: full the students = f_name, l_name; course refers to name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);
| [query_database(**{'query': 'SELECT T1.f_name, T1.l_name FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.name = 'Advanced Database Systems' ORDER BY T2.sat DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
922 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
75885,
279,
2539,
5144,
11,
14633,
323,
11478,
315,
279,
4236,
449,
279,
8592,
23099,
323,
16498,
627,
100069,
2461,
25,
2539,
5144,
315,
279,
4236,
284,
282,
1292,
26,
326,
1292,
26,
8592,
23099,
19813,
311,
8498,
52486,
2968,
1237,
8592,
16498,
19813,
311,
16498,
284,
364,
12156,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
282,
1292,
11,
326,
1292,
11,
2613,
11,
11478,
4393,
5575,
5401,
5575,
851,
2006,
320,
19638,
5575,
851,
4393,
29556,
5401,
16498,
284,
364,
12156,
6,
3651,
23099,
284,
320,
19638,
8498,
52486,
2968,
8,
4393,
29556,
883,
883,
66360,
60,
128009
] | [
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
282,
1292,
11,
326,
1292,
11,
2613,
11,
11478,
4393,
5575,
5401,
5575,
851,
2006,
320,
19638,
5575,
851,
4393,
29556,
5401,
16498,
284,
364,
12156,
6,
3651,
23099,
284,
320,
19638,
8498,
52486,
2968,
8,
4393,
29556,
883,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Describe the full names, emails and intelligence of the students with the highest capability and salary.
Clarification: full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';
| [query_database(**{'query': 'SELECT f_name, l_name, email, intelligence FROM student WHERE student_id IN ( SELECT student_id FROM RA WHERE salary = 'high' AND capability = ( SELECT MAX(capability) FROM RA ) )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
926 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
279,
4236,
449,
264,
342,
6733,
315,
220,
18,
13,
16,
311,
220,
18,
13,
22,
11,
1268,
1690,
315,
1124,
527,
41534,
4236,
5380,
100069,
2461,
25,
342,
6733,
315,
220,
18,
13,
16,
311,
220,
18,
13,
22,
19813,
311,
342,
6733,
57739,
220,
18,
13,
16,
3651,
220,
18,
13,
22,
26,
41534,
4236,
19813,
311,
955,
284,
364,
3014,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
40104,
851,
8,
4393,
5575,
5401,
342,
6733,
57739,
220,
18,
13,
16,
3651,
220,
18,
13,
22,
3651,
955,
284,
364,
3014,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
40104,
851,
8,
4393,
5575,
5401,
342,
6733,
57739,
220,
18,
13,
16,
3651,
220,
18,
13,
22,
3651,
955,
284,
364,
3014,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among the students with a gpa of 3.1 to 3.7, how many of them are undergraduate students?
Clarification: gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';
| [query_database(**{'query': 'SELECT COUNT(student_id) FROM student WHERE gpa BETWEEN 3.1 AND 3.7 AND type = 'UG''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
930 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
279,
4236,
449,
1579,
16498,
11,
1148,
374,
2860,
1396,
315,
4236,
449,
264,
71155,
5190,
1109,
220,
18,
5380,
100069,
2461,
25,
1579,
16498,
19813,
311,
16498,
284,
364,
12156,
7112,
71155,
5190,
1109,
220,
18,
19813,
311,
342,
6733,
871,
220,
18,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
16,
94586,
284,
364,
12156,
6,
3651,
350,
17,
1326,
6733,
871,
220,
18,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
16,
94586,
284,
364,
12156,
6,
3651,
350,
17,
1326,
6733,
871,
220,
18,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among the students with high salary, what is total number of students with a GPA higher than 3?
Clarification: high salary refers to salary = 'high'; GPA higher than 3 refers to gpa > 3;
| [query_database(**{'query': 'SELECT COUNT(T1.student_id) FROM RA AS T1 INNER JOIN student AS T2 ON T1.student_id = T2.student_id WHERE T1.salary = 'high' AND T2.gpa > 3'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
934 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
17250,
315,
279,
3388,
304,
902,
264,
5575,
449,
2237,
315,
528,
616,
833,
768,
315,
220,
20,
2751,
459,
362,
12239,
5380,
100069,
2461,
25,
17250,
315,
279,
3388,
19813,
311,
3722,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
41779,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
17,
83116,
284,
364,
32,
6,
3651,
350,
16,
6537,
8677,
284,
220,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
41779,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
17,
83116,
284,
364,
32,
6,
3651,
350,
16,
6537,
8677,
284,
220,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the difficulty of the course in which a student with level of intellengence of 5 got an A grade?
Clarification: difficulty of the course refers to diff;
| [query_database(**{'query': 'SELECT T3.diff FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T2.grade = 'A' AND T1.intelligence = 5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
938 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
2173,
14307,
449,
220,
18,
6807,
11,
1268,
1690,
4236,
617,
71155,
315,
220,
18,
13,
17,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
86528,
284,
220,
18,
3651,
350,
16,
1326,
6733,
284,
220,
18,
13,
17,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
41213,
851,
8,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
18,
86528,
284,
220,
18,
3651,
350,
16,
1326,
6733,
284,
220,
18,
13,
17,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Of courses with 3 credit, how many students have GPA of 3.2?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T1.student_id) FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.credit = 3 AND T1.gpa = 3.2'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
942 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
10086,
279,
1455,
3062,
323,
1455,
5107,
14307,
627,
100069,
2461,
25,
1455,
3062,
19813,
311,
8498,
7,
24193,
1237,
1455,
5107,
19813,
311,
8498,
38224,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
6807,
284,
320,
19638,
8498,
7,
24193,
8,
4393,
3388,
883,
3651,
3722,
284,
320,
19638,
8498,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
836,
4393,
3388,
5401,
6807,
284,
320,
19638,
8498,
7,
24193,
8,
4393,
3388,
883,
3651,
3722,
284,
320,
19638,
8498,
38224,
8,
4393,
3388,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Find the most important and most difficult courses.
Clarification: most important refers to MAX(credit); most difficult refers to MAX(diff);
| [query_database(**{'query': 'SELECT name FROM course WHERE credit = ( SELECT MAX(credit) FROM course ) AND diff = ( SELECT MAX(diff) FROM course )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
945 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
279,
4236,
449,
2753,
1109,
3116,
11478,
11,
1160,
279,
2539,
836,
323,
4641,
1396,
315,
4236,
449,
264,
7191,
1109,
220,
18,
71155,
627,
100069,
2461,
25,
11478,
366,
220,
19,
26,
2539,
836,
284,
282,
1292,
11,
326,
1292,
26,
342,
6733,
871,
220,
18,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
282,
1292,
11,
326,
1292,
11,
4641,
5617,
4393,
5575,
5401,
342,
6733,
871,
220,
18,
3651,
11478,
366,
220,
19,
66360,
60,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
282,
1292,
11,
326,
1292,
11,
4641,
5617,
4393,
5575,
5401,
342,
6733,
871,
220,
18,
3651,
11478,
366,
220,
19,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among the students with less than four intelligence, list the full name and phone number of students with a greater than 3 GPA.
Clarification: intelligence < 4; full name = f_name, l_name; gpa > 3;
| [query_database(**{'query': 'SELECT f_name, l_name, phone_number FROM student WHERE gpa > 3 AND intelligence < 4'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
949 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
861,
279,
2539,
836,
315,
279,
45724,
889,
26160,
4236,
449,
11478,
220,
16,
627,
100069,
2461,
25,
2539,
836,
315,
279,
45724,
284,
1176,
1292,
11,
1566,
1292,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
17,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
18,
6537,
8677,
284,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
31448,
13369,
5575,
5871,
350,
18,
6328,
350,
17,
41213,
851,
284,
350,
18,
41213,
851,
5401,
350,
18,
6537,
8677,
284,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
List the full name of the professors who advised students with intelligence 1.
Clarification: full name of the professors = first_name, last_name;
| [query_database(**{'query': 'SELECT T1.first_name, T1.last_name FROM prof AS T1 INNER JOIN RA AS T2 ON T1.prof_id = T2.prof_id INNER JOIN student AS T3 ON T2.student_id = T3.student_id WHERE T3.intelligence = 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
953 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
10086,
279,
2539,
836,
323,
23354,
315,
279,
14561,
889,
70074,
279,
1455,
1396,
315,
4236,
627,
100069,
2461,
25,
2539,
836,
315,
279,
14561,
284,
1176,
1292,
11,
1566,
1292,
26,
1455,
1396,
315,
4236,
19813,
311,
8498,
3100,
7615,
40104,
851,
6030,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
11,
350,
16,
8452,
30079,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
27968,
7866,
350,
16,
93605,
851,
15888,
7866,
24945,
4233,
17,
41213,
851,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
7541,
1292,
11,
350,
16,
9288,
1292,
11,
350,
16,
8452,
30079,
4393,
2848,
5871,
350,
16,
31448,
13369,
29556,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
27968,
7866,
350,
16,
93605,
851,
15888,
7866,
24945,
4233,
17,
41213,
851,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Find the full name and popularity of the professor who advises the most number of students.
Clarification: full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));
| [query_database(**{'query': 'SELECT T1.first_name, T1.last_name, T1.popularity FROM prof AS T1 INNER JOIN RA AS T2 ON T1.prof_id = T2.prof_id GROUP BY T1.prof_id ORDER BY COUNT(T2.student_id) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
957 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
279,
45724,
449,
810,
1109,
5578,
12917,
5845,
11,
1160,
279,
2539,
836,
323,
2613,
2686,
315,
279,
45724,
889,
32113,
1403,
477,
810,
4236,
627,
100069,
2461,
25,
810,
1109,
5578,
12917,
5845,
19813,
311,
12917,
2968,
871,
71514,
72947,
12092,
2968,
1237,
2539,
1292,
315,
279,
14561,
284,
1176,
1292,
11,
1566,
1292,
26,
2613,
2686,
315,
279,
14561,
19813,
311,
2613,
26,
70074,
1403,
477,
810,
4236,
19813,
311,
24945,
40104,
851,
8,
871,
284,
220,
17,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
7541,
1292,
11,
350,
17,
9288,
1292,
11,
350,
17,
10048,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
5401,
350,
17,
32953,
12092,
2968,
871,
320,
19638,
71514,
72947,
12092,
2968,
8,
4393,
2848,
883,
27968,
7866,
350,
17,
93605,
851,
473,
84822,
24945,
4233,
16,
41213,
851,
8,
2669,
220,
17,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
7541,
1292,
11,
350,
17,
9288,
1292,
11,
350,
17,
10048,
4393,
29556,
5871,
350,
16,
31448,
13369,
2848,
5871,
350,
17,
6328,
350,
16,
93605,
851,
284,
350,
17,
93605,
851,
5401,
350,
17,
32953,
12092,
2968,
871,
320,
19638,
71514,
72947,
12092,
2968,
8,
4393,
2848,
883,
27968,
7866,
350,
17,
93605,
851,
473,
84822,
24945,
4233,
16,
41213,
851,
8,
2669,
220,
17,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among the professors with more than average teaching ability, list the full name and email address of the professors who advise two or more students.
Clarification: more than average teaching ability refers to teachingability > AVG(teachingability); full_name of the professor = first_name, last_name; email address of the professor refers to email; advises two or more students refers to COUNT(student_id) > = 2;
| [query_database(**{'query': 'SELECT T2.first_name, T2.last_name, T2.email FROM RA AS T1 INNER JOIN prof AS T2 ON T1.prof_id = T2.prof_id WHERE T2.teachingability > ( SELECT AVG(teachingability) FROM prof ) GROUP BY T2.prof_id HAVING COUNT(T1.student_id) >= 2'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
961 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
16498,
2134,
315,
279,
5575,
449,
459,
2613,
315,
25500,
616,
70,
31,
71,
12407,
870,
74,
5380,
100069,
2461,
25,
16498,
2134,
19813,
311,
16498,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
94586,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
17,
10048,
284,
364,
70,
3714,
616,
70,
31,
71,
12407,
870,
74,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
94586,
4393,
29556,
5871,
350,
16,
31448,
13369,
5575,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
5401,
350,
17,
10048,
284,
364,
70,
3714,
616,
70,
31,
71,
12407,
870,
74,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
What is the salary range of the student with an email of [email protected]?
Clarification: salary range refers to salary;
| [query_database(**{'query': 'SELECT T1.salary FROM RA AS T1 INNER JOIN student AS T2 ON T1.student_id = T2.student_id WHERE T2.email = '[email protected]''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
965 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
12120,
702,
1021,
262,
3388,
851,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
836,
415,
16139,
345,
262,
6807,
262,
31481,
345,
262,
3722,
415,
31481,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
4391,
836,
1393,
24193,
1393,
13798,
720,
286,
220,
16,
1393,
22333,
21579,
31535,
1393,
257,
220,
18,
1393,
256,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
14393,
279,
3388,
761,
197,
32586,
794,
330,
609,
315,
279,
3388,
761,
197,
1,
24193,
794,
330,
24193,
315,
279,
3388,
761,
197,
1,
13798,
794,
330,
72964,
315,
279,
3388,
702,
69077,
23421,
14700,
2848,
198,
1021,
262,
2848,
851,
260,
31481,
198,
286,
22295,
2848,
34421,
198,
310,
6156,
1401,
345,
262,
10026,
692,
16139,
345,
262,
1176,
1292,
415,
16139,
345,
262,
1566,
1292,
996,
16139,
345,
262,
2613,
1881,
16139,
345,
262,
23354,
415,
31481,
345,
262,
12917,
2968,
31481,
345,
262,
19560,
5791,
256,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2848,
10592,
220,
16,
26,
4815,
2848,
851,
1393,
13265,
1393,
3983,
1292,
1393,
4354,
1292,
1393,
1881,
2613,
1393,
8539,
30079,
1393,
668,
12092,
2968,
1393,
1881,
19560,
5791,
720,
415,
220,
16,
1393,
220,
19960,
1393,
61909,
12315,
1393,
220,
49654,
8350,
1393,
6331,
343,
8350,
15,
31,
71,
12407,
870,
74,
1393,
260,
220,
18,
1393,
1078,
220,
20,
1393,
31272,
315,
6652,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
22579,
851,
794,
330,
9782,
887,
369,
45724,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
14561,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
14561,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
14561,
22549,
197,
1,
2386,
794,
330,
2386,
315,
279,
14561,
761,
197,
1,
8539,
30079,
794,
330,
8539,
30079,
315,
279,
14561,
761,
197,
1,
668,
12092,
2968,
794,
330,
1820,
12917,
5845,
315,
279,
14561,
761,
197,
1,
28770,
5791,
794,
330,
1820,
2978,
1405,
279,
14561,
33109,
505,
702,
69077,
23421,
14700,
29556,
198,
1021,
262,
5575,
851,
31481,
345,
262,
23099,
31481,
345,
262,
2848,
851,
262,
31481,
345,
262,
16498,
257,
16139,
345,
262,
6156,
1401,
320,
12307,
851,
11,
2848,
851,
1350,
262,
7362,
1401,
320,
22579,
851,
8,
15407,
2848,
10553,
69,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15473,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
82351,
1393,
22579,
851,
1393,
52710,
720,
286,
220,
845,
1393,
260,
220,
17,
1393,
257,
220,
806,
1393,
256,
1812,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
887,
1661,
1395,
14393,
1855,
5575,
761,
197,
1,
82351,
794,
330,
1820,
23099,
315,
5575,
389,
3495,
1734,
10953,
838,
13148,
555,
279,
14561,
16129,
197,
1,
22579,
851,
794,
330,
22579,
8473,
889,
70074,
420,
5575,
761,
197,
1,
52710,
794,
330,
1820,
16498,
315,
420,
5575,
10246,
69077,
23421,
14700,
12506,
198,
1021,
262,
3388,
851,
220,
31481,
345,
262,
5575,
851,
31481,
345,
262,
12239,
415,
16139,
345,
262,
7731,
286,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
5575,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
1350,
262,
7362,
1401,
320,
12307,
851,
8,
15407,
5575,
40104,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
12506,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12307,
851,
1393,
7082,
1393,
37568,
720,
286,
220,
16,
1393,
260,
220,
22,
1393,
262,
362,
1393,
220,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
887,
315,
14307,
761,
197,
1,
12307,
851,
794,
330,
1820,
887,
315,
4236,
761,
197,
1,
7082,
794,
330,
1820,
28711,
430,
279,
4236,
21953,
304,
420,
3388,
761,
197,
1,
37568,
794,
330,
12307,
24617,
449,
279,
3388,
702,
69077,
23421,
14700,
5575,
198,
1021,
262,
5575,
851,
256,
31481,
198,
310,
6156,
1401,
345,
262,
282,
1292,
996,
16139,
345,
262,
326,
1292,
996,
16139,
345,
262,
4641,
5617,
16139,
345,
262,
2613,
286,
16139,
345,
262,
11478,
31481,
345,
262,
342,
6733,
692,
26339,
345,
262,
955,
260,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
5575,
10592,
220,
16,
26,
4815,
5575,
851,
1393,
69,
1292,
1393,
75,
1292,
1393,
4641,
5617,
1393,
260,
2613,
1393,
93375,
1393,
70,
6733,
1393,
1337,
720,
260,
220,
16,
1393,
40340,
1393,
74514,
269,
1393,
7,
14052,
8,
220,
24887,
22644,
17,
1393,
74,
652,
48320,
15,
31,
71,
12407,
870,
74,
1393,
1881,
220,
20,
1393,
17,
13,
19,
1393,
34602,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12307,
851,
794,
330,
1820,
5016,
887,
311,
10765,
4236,
761,
197,
97271,
1292,
794,
330,
1820,
1176,
836,
315,
279,
5575,
761,
197,
1,
75,
1292,
794,
330,
1820,
1566,
836,
315,
279,
5575,
761,
197,
1,
4949,
5617,
794,
330,
4949,
1396,
761,
197,
1,
2386,
794,
330,
2386,
22549,
197,
1,
93375,
794,
330,
93375,
315,
279,
5575,
761,
197,
60819,
6733,
794,
330,
70,
6733,
22549,
197,
45570,
794,
330,
1337,
315,
279,
5575,
702,
69077,
14711,
16225,
198,
34710,
3495,
1772,
28770,
4236,
11,
3041,
279,
836,
315,
279,
3388,
449,
279,
5575,
24617,
907,
315,
220,
16,
627,
100069,
2461,
25,
3495,
1772,
28770,
4236,
19813,
311,
955,
284,
364,
49,
11637,
7112,
836,
315,
279,
3388,
19813,
311,
836,
26,
24617,
19813,
311,
7731,
26,
7731,
284,
220,
16,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
2710,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
17,
94103,
284,
220,
16,
3651,
350,
16,
4957,
284,
364,
49,
11637,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
2710,
4393,
5575,
5871,
350,
16,
31448,
13369,
12506,
5871,
350,
17,
6328,
350,
16,
41213,
851,
284,
350,
17,
41213,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
17,
37382,
851,
284,
350,
18,
37382,
851,
5401,
350,
17,
94103,
284,
220,
16,
3651,
350,
16,
4957,
284,
364,
49,
11637,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
### Question
Among research postgraduate students, give the name of the course with the student satisfaction value of 1.
Clarification: research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;
| [query_database(**{'query': 'SELECT T3.name FROM student AS T1 INNER JOIN registration AS T2 ON T1.student_id = T2.student_id INNER JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T2.sat = 1 AND T1.type = 'RPG''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "course"
(
course_id INTEGER
constraint course_pk
primary key,
name TEXT,
credit INTEGER,
diff INTEGER
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id || name ||credit ||diff
1 ||Machine Learning Theory || 3 || 3
*/
/* column definitions {
"course_id": "unique id representing the course",
"name": "name of the course",
"credit": "credit of the course",
"diff": "difficulty of the course"
}*/
CREATE TABLE prof
(
prof_id INTEGER
constraint prof_pk
primary key,
gender TEXT,
first_name TEXT,
last_name TEXT,
email TEXT,
popularity INTEGER,
teachingability INTEGER,
graduate_from TEXT
)
/*
1 example row:
SELECT * FROM prof LIMIT 1;
prof_id ||gender ||first_name ||last_name || email ||popularity ||teachingability || graduate_from
1 || Male || Nathaniel || Pigford ||[email protected] || 3 || 5 ||University of Washington
*/
/* column definitions {
"prof_id": "unique id for professors",
"gender": "gender of the professor",
"first_name": "the first name of the professor",
"last_name": "the last name of the professor ",
"email": "email of the professor",
"popularity": "popularity of the professor",
"teachingability": "the teaching ability of the professor",
"graduate_from": "the school where the professor graduated from"
}*/
CREATE TABLE RA
(
student_id INTEGER,
capability INTEGER,
prof_id INTEGER,
salary TEXT,
primary key (student_id, prof_id),
foreign key (prof_id) references prof(prof_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM ra LIMIT 1;
student_id ||capability ||prof_id ||salary
16 || 2 || 11 || med
*/
/* column definitions {
"student_id": "the id numbe representing each student",
"capability": "the capability of student on research\n(Evaluated by the professor)",
"prof_id": "professor who advises this student",
"salary": "the salary of this student."
}*/
CREATE TABLE registration
(
course_id INTEGER,
student_id INTEGER,
grade TEXT,
sat INTEGER,
primary key (course_id, student_id),
foreign key (course_id) references course(course_id),
foreign key (student_id) references student(student_id)
)
/*
1 example row:
SELECT * FROM registration LIMIT 1;
course_id ||student_id ||grade ||sat
1 || 7 || A || 5
*/
/* column definitions {
"course_id": "the id of courses",
"student_id": "the id of students",
"grade": "the grades that the students acquire in this course",
"sat": "student satisfaction with the course"
}*/
CREATE TABLE student
(
student_id INTEGER
primary key,
f_name TEXT,
l_name TEXT,
phone_number TEXT,
email TEXT,
intelligence INTEGER,
gpa REAL,
type TEXT
)
/*
1 example row:
SELECT * FROM student LIMIT 1;
student_id ||f_name ||l_name || phone_number || email ||intelligence ||gpa ||type
1 || Kerry || Pryor ||(243) 6836472 ||[email protected] || 5 ||2.4 || RPG
*/
/* column definitions {
"student_id": "the unique id to identify students",
"f_name": "the first name of the student",
"l_name": "the last name of the student",
"phone_number": "phone number",
"email": "email ",
"intelligence": "intelligence of the student",
"gpa": "gpa ",
"type": "type of the student"
}*/
|
970 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
4438,
1690,
14307,
527,
1070,
369,
6913,
477,
11298,
41534,
14307,
5380,
100069,
2461,
25,
6913,
477,
11298,
41534,
14307,
19813,
311,
3388,
4549,
284,
364,
4549,
62,
3101,
7112,
14307,
19813,
311,
3388,
37382,
851,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
47024,
851,
8,
4393,
3388,
5401,
3388,
4549,
284,
364,
4549,
62,
3101,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
47024,
851,
8,
4393,
3388,
5401,
3388,
4549,
284,
364,
4549,
62,
3101,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
How many courses are there for basic or medium undergraduate courses?
Clarification: basic or medium undergraduate courses refers to courseLevel = 'Level_300'; courses refers to course.course_id
| [query_database(**{'query': 'SELECT COUNT(course_id) FROM course WHERE courseLevel = 'Level_300''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
974 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
678,
279,
58784,
369,
4236,
304,
9941,
220,
18,
315,
279,
2068,
627,
100069,
2461,
25,
58784,
19813,
311,
281,
851,
61421,
26,
4236,
304,
9941,
220,
18,
315,
279,
2068,
19813,
311,
1667,
644,
10920,
284,
364,
9679,
62,
18,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
18,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Name the advisors for students in Year 3 of the program.
Clarification: advisors refers to p_id_dummy; students in Year 3 of the program refers to yearsInProgram = 'Year_3'
| [query_database(**{'query': 'SELECT T1.p_id FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T2.yearsInProgram = 'Year_3''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
978 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
1423,
279,
14307,
323,
2237,
315,
14307,
555,
45724,
889,
527,
22291,
8420,
627,
100069,
2461,
25,
45724,
889,
527,
22291,
8420,
19813,
311,
14561,
284,
220,
16,
26,
22291,
8420,
19813,
311,
706,
3897,
284,
364,
95767,
62,
3981,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
37382,
851,
11,
350,
18,
37382,
4549,
4393,
15972,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
18,
37382,
851,
284,
350,
16,
37382,
851,
5401,
350,
17,
7001,
3897,
284,
364,
95767,
62,
3981,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18,
37382,
851,
11,
350,
18,
37382,
4549,
4393,
15972,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
18,
37382,
851,
284,
350,
16,
37382,
851,
5401,
350,
17,
7001,
3897,
284,
364,
95767,
62,
3981,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
State the courses and level of courses by professors who are faculty employees.
Clarification: professors who are faculty employees refers to professor = 1; faculty employees refers to hasPosition = 'Faculty_eme'
| [query_database(**{'query': 'SELECT T3.course_id, T3.courseLevel FROM taughtBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id INNER JOIN course AS T3 ON T3.course_id = T1.course_id WHERE T2.hasPosition = 'Faculty_eme''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
982 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
23956,
527,
279,
14307,
449,
279,
1455,
1396,
315,
45724,
30,
3314,
279,
3388,
3110,
323,
279,
2237,
315,
279,
3388,
627,
100069,
2461,
25,
14307,
19813,
15972,
1383,
37382,
851,
26,
1455,
1396,
315,
45724,
4194,
19813,
311,
1973,
11773,
1175,
64,
3948,
1383,
558,
851,
6030,
2237,
315,
279,
3388,
19813,
311,
3388,
4549,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
37382,
851,
11,
350,
16,
37382,
4549,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
27968,
7866,
350,
16,
37382,
851,
11,
350,
16,
37382,
4549,
15888,
7866,
24945,
4233,
16,
37382,
851,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
37382,
851,
11,
350,
16,
37382,
4549,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
27968,
7866,
350,
16,
37382,
851,
11,
350,
16,
37382,
4549,
15888,
7866,
24945,
4233,
16,
37382,
851,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Which are the courses with the most number of professors? State the course ID and the level of the course.
Clarification: courses refers taughtBy.course_id; most number of professors refers to max(count(taughtBy.p_id)); level of the course refers to courseLevel
| [query_database(**{'query': 'SELECT T1.course_id, T1.courseLevel FROM course AS T1 INNER JOIN taughtBy AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id, T1.courseLevel ORDER BY COUNT(T1.course_id) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
987 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
29460,
315,
279,
13639,
889,
617,
26160,
810,
1109,
220,
19,
3885,
311,
4639,
627,
100069,
2461,
25,
13639,
19813,
311,
281,
851,
61421,
26,
617,
26160,
810,
1109,
220,
19,
3885,
19813,
311,
1797,
44879,
26451,
1383,
558,
851,
8,
871,
220,
19,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
281,
851,
61421,
4393,
26160,
1383,
27968,
7866,
281,
851,
61421,
473,
84822,
24945,
1319,
851,
61421,
8,
871,
220,
19,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
281,
851,
61421,
4393,
26160,
1383,
27968,
7866,
281,
851,
61421,
473,
84822,
24945,
1319,
851,
61421,
8,
871,
220,
19,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Please list the IDs of the teachers who have advised more than 4 others to teach.
Clarification: teachers refers to p_id_dummy; have advised more than 4 others refers to count(advisedBy.p_id) > 4
| [query_database(**{'query': 'SELECT p_id_dummy FROM advisedBy GROUP BY p_id_dummy HAVING COUNT(p_id_dummy) > 4'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
991 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
5990,
315,
279,
682,
14307,
15972,
555,
11326,
912,
13,
4643,
627,
100069,
2461,
25,
5990,
315,
279,
682,
14307,
19813,
311,
3388,
4549,
26,
11326,
912,
13,
4643,
19813,
311,
15972,
1383,
558,
851,
284,
220,
4643,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
37382,
4549,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
558,
851,
284,
220,
4643,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
37382,
4549,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
17,
558,
851,
284,
220,
4643,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Please list the levels of the all courses taught by teacher no.79.
Clarification: levels of the all courses refers to courseLevel; teacher no.79 refers to taughtBy.p_id = 79
| [query_database(**{'query': 'SELECT T1.courseLevel FROM course AS T1 INNER JOIN taughtBy AS T2 ON T1.course_id = T2.course_id WHERE T2.p_id = 79'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
995 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
2520,
279,
14561,
889,
26160,
5575,
912,
13,
21,
11,
4587,
1160,
279,
29460,
315,
279,
14307,
568,
477,
1364,
33992,
627,
100069,
2461,
25,
14561,
19813,
311,
281,
851,
61421,
323,
14561,
284,
220,
16,
26,
5575,
912,
13,
21,
19813,
311,
26160,
1383,
558,
851,
284,
220,
21,
26,
29460,
315,
279,
14307,
19813,
311,
15972,
1383,
37382,
851,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
37382,
851,
4393,
15972,
1383,
5871,
350,
16,
31448,
13369,
3388,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
31448,
13369,
26160,
1383,
5871,
350,
18,
6328,
350,
18,
558,
851,
284,
350,
16,
558,
851,
5401,
350,
16,
558,
851,
284,
220,
24,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
37382,
851,
4393,
15972,
1383,
5871,
350,
16,
31448,
13369,
3388,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
31448,
13369,
26160,
1383,
5871,
350,
18,
6328,
350,
18,
558,
851,
284,
350,
16,
558,
851,
5401,
350,
16,
558,
851,
284,
220,
24,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
For the professor who advised student no.6, please list the IDs of the courses he or she teaches.
Clarification: professor refers to p_id_dummy and professor = 1; student no.6 refers to advisedBy.p_id = 6; IDs of the courses refers to taughtBy.course_id
| [query_database(**{'query': 'SELECT T2.course_id FROM taughtBy AS T1 INNER JOIN course AS T2 ON T1.course_id = T2.course_id INNER JOIN advisedBy AS T3 ON T3.p_id = T1.p_id WHERE T1.p_id = 9'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
999 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
644,
2860,
11,
682,
279,
4236,
304,
279,
220,
18,
6634,
1060,
315,
872,
2068,
527,
26160,
555,
1268,
1690,
45724,
5380,
100069,
2461,
25,
220,
18,
6634,
1060,
315,
872,
2068,
19813,
311,
1667,
644,
10920,
284,
364,
9679,
62,
18,
7112,
45724,
19813,
311,
281,
851,
61421,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
16,
558,
851,
61421,
8,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
18,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
16,
558,
851,
61421,
8,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
18,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
In total, all the students in the 3rd year of their program are advised by how many professors?
Clarification: 3rd year of their program refers to yearsInProgram = 'Year_3'; professors refers to p_id_dummy
| [query_database(**{'query': 'SELECT COUNT(DISTINCT T1.p_id_dummy) FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T2.yearsInProgram = 'Year_3''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,003 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
861,
1523,
682,
279,
1732,
29460,
889,
15972,
3388,
3110,
315,
220,
972,
627,
100069,
2461,
25,
1732,
29460,
19813,
311,
15972,
1383,
558,
851,
26,
3388,
3110,
315,
220,
972,
4194,
19813,
311,
15972,
1383,
37382,
851,
284,
220,
972,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
281,
851,
4393,
15972,
1383,
5401,
3388,
851,
284,
220,
972,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
281,
851,
4393,
15972,
1383,
5401,
3388,
851,
284,
220,
972,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
List down all the person IDs who taught course ID of 18.
Clarification: person IDs refers to taughtBy.p_id; course ID of 18 refers to taughtBy.course_id = 18
| [query_database(**{'query': 'SELECT p_id FROM taughtBy WHERE course_id = 18'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,007 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
861,
1523,
279,
26160,
5575,
29460,
323,
29460,
315,
51297,
14561,
304,
22291,
627,
100069,
2461,
25,
26160,
5575,
29460,
19813,
311,
1732,
558,
851,
26,
29460,
315,
51297,
14561,
304,
22291,
19813,
311,
281,
851,
61421,
323,
706,
3897,
284,
364,
95767,
62,
3981,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
11,
350,
17,
558,
851,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
61421,
284,
350,
17,
558,
851,
5401,
706,
3897,
284,
364,
95767,
62,
3981,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
11,
350,
17,
558,
851,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
61421,
284,
350,
17,
558,
851,
5401,
706,
3897,
284,
364,
95767,
62,
3981,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
List down the advised student IDs and IDs of employing professor in faculty.
Clarification: advised student IDs refers to person.p_id; IDs of employing professor in faculty refers to p_id_dummy and hasPosition = 'Faculty_eme'
| [query_database(**{'query': 'SELECT T1.p_id, T2.p_id FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id_dummy = T2.p_id WHERE hasPosition = 'Faculty_eme''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,011 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
10086,
279,
14561,
3110,
323,
2361,
304,
22291,
889,
15972,
1579,
11852,
41534,
3388,
315,
2753,
1109,
220,
605,
304,
3110,
627,
100069,
2461,
25,
14561,
3110,
19813,
311,
1732,
558,
851,
994,
14561,
284,
220,
16,
26,
2361,
304,
22291,
19813,
311,
706,
3897,
26,
1579,
11852,
41534,
3388,
19813,
311,
3388,
4549,
284,
364,
4549,
62,
3443,
7112,
2753,
1109,
220,
605,
304,
3110,
19813,
311,
3388,
37382,
851,
366,
220,
605,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
11,
350,
16,
7001,
3897,
4393,
1732,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
18,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
18,
37382,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
558,
851,
11,
350,
16,
7001,
3897,
4393,
1732,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
31448,
13369,
3388,
5871,
350,
18,
6328,
350,
18,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
18,
37382,
4549,
284,
364,
4549,
62,
3443,
6,
3651,
350,
17,
37382,
851,
366,
220,
605,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Find the professor ID and position in faculty who taught high-level undergraduate course of less than 10 in ID.
Clarification: professor ID refers to person.p_id when professor = 1; position in faculty refers to hasPosition; high-level undergraduate course refers to courseLevel = 'Level_400'; less than 10 in ID refers to course.course_id < 10
| [query_database(**{'query': 'SELECT T1.p_id, T1.hasPosition FROM person AS T1 INNER JOIN taughtBy AS T2 ON T1.p_id = T2.p_id INNER JOIN course AS T3 ON T3.course_id = T2.course_id WHERE T3.courseLevel = 'Level_400' AND T2.course_id < 10'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,015 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
4438,
1690,
4236,
527,
1234,
37713,
220,
18136,
5380,
100069,
2461,
25,
37713,
220,
18136,
19813,
311,
281,
851,
61421,
284,
220,
18136,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
26160,
1383,
5401,
281,
851,
61421,
284,
220,
18136,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
26160,
1383,
5401,
281,
851,
61421,
284,
220,
18136,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
How many students are under advisor 415?
Clarification: advisor 415 refers to p_id_dummy = 415
| [query_database(**{'query': 'SELECT COUNT(*) FROM advisedBy WHERE p_id_dummy = 415'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,019 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
34710,
279,
4236,
1694,
26160,
555,
54432,
220,
20,
11,
1268,
1690,
4236,
527,
304,
279,
220,
20,
339,
1060,
5380,
100069,
2461,
25,
54432,
220,
20,
19813,
311,
281,
851,
61421,
284,
220,
20,
26,
527,
304,
279,
220,
20,
339,
1060,
19813,
311,
1667,
644,
10920,
284,
364,
9679,
62,
20,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
16,
558,
851,
61421,
284,
220,
20,
3651,
350,
17,
41213,
284,
220,
16,
3651,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
20,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
16,
558,
851,
61421,
284,
220,
20,
3651,
350,
17,
41213,
284,
220,
16,
3651,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
20,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
Among the students being advised by Advisor 5, how many students are in the 5th year?
Clarification: Advisor 5 refers to p_id_dummy = 5; are in the 5th year refers to yearsInProgram = 'Year_5'
| [query_database(**{'query': 'SELECT COUNT(*) FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T1.p_id_dummy = 5 AND T2.student = 1 AND T2.yearsInProgram = 'Year_5''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,023 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
4438,
1690,
58784,
527,
304,
6900,
315,
63779,
682,
279,
4236,
304,
220,
16,
267,
1060,
5380,
100069,
2461,
25,
58784,
19813,
311,
281,
851,
61421,
26,
4236,
304,
220,
16,
267,
1060,
19813,
311,
5575,
284,
220,
16,
323,
1667,
644,
10920,
284,
364,
9679,
62,
16,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
558,
851,
61421,
8,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
558,
851,
61421,
8,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
2441,
7596,
644,
10920,
284,
364,
9679,
62,
16,
6,
3651,
350,
17,
41213,
284,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
How many advisors are in charge of advising all the students in 1st year?
Clarification: advisors refers to p_id_dummy; students in 1st year refers to student = 1 and yearsInProgram = 'Year_1'
| [query_database(**{'query': 'SELECT COUNT(T1.p_id_dummy) FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T2.yearsInProgram = 'Year_1' AND T2.student = 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,027 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
3923,
1060,
304,
279,
2068,
656,
279,
4236,
449,
810,
1109,
220,
17,
58784,
527,
304,
5380,
100069,
2461,
25,
4236,
19813,
311,
5575,
284,
220,
16,
26,
810,
1109,
220,
17,
58784,
19813,
311,
1797,
1319,
851,
61421,
8,
871,
220,
17,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
2441,
7596,
644,
10920,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
41213,
284,
220,
16,
27968,
7866,
350,
17,
558,
851,
473,
84822,
24945,
4233,
17,
558,
851,
8,
871,
220,
17,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
2441,
7596,
644,
10920,
4393,
26160,
1383,
5871,
350,
16,
31448,
13369,
1732,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
17,
41213,
284,
220,
16,
27968,
7866,
350,
17,
558,
851,
473,
84822,
24945,
4233,
17,
558,
851,
8,
871,
220,
17,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
What year in the program do the students with more than 2 advisors are in?
Clarification: students refers to student = 1; more than 2 advisors refers to count(p_id_dummy) > 2
| [query_database(**{'query': 'SELECT T2.yearsInProgram FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T2.student = 1 GROUP BY T2.p_id HAVING COUNT(T2.p_id) > 2'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,031 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
1396,
315,
6721,
477,
7491,
14,
8154,
28770,
14307,
1694,
15972,
555,
1855,
14561,
5380,
100069,
2461,
25,
6721,
477,
7491,
14,
8154,
28770,
14307,
19813,
311,
3388,
4549,
284,
364,
4549,
62,
2636,
7112,
5578,
1396,
284,
22497,
11773,
1175,
64,
3948,
1383,
37382,
851,
705,
1797,
1175,
64,
3948,
1383,
558,
851,
595,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
4233,
16,
37382,
851,
8,
5871,
26339,
8,
611,
24945,
5549,
3931,
46419,
350,
17,
558,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
16,
37382,
4549,
284,
364,
4549,
62,
2636,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
4233,
16,
37382,
851,
8,
5871,
26339,
8,
611,
24945,
5549,
3931,
46419,
350,
17,
558,
851,
8,
4393,
3388,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
37382,
851,
284,
350,
17,
37382,
851,
5401,
350,
16,
37382,
4549,
284,
364,
4549,
62,
2636,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
What is the average number of professional or master/undergraduate courses being taught by each professor?
Clarification: professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
| [query_database(**{'query': 'SELECT CAST(COUNT(T1.course_id) AS REAL) / COUNT(DISTINCT T2.p_id) FROM course AS T1 INNER JOIN taughtBy AS T2 ON T1.course_id = T2.course_id WHERE T1.courseLevel = 'Level_500''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,035 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
3388,
198,
1021,
262,
3388,
851,
256,
31481,
198,
286,
22295,
3388,
34421,
198,
310,
6156,
1401,
345,
262,
3388,
4549,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3388,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
12120,
4549,
720,
286,
220,
15,
1393,
220,
9580,
62,
2636,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
9782,
887,
1396,
25607,
14307,
761,
197,
1,
12120,
4549,
794,
330,
12120,
2237,
702,
69077,
23421,
14700,
1732,
198,
1021,
262,
281,
851,
1881,
31481,
198,
286,
22295,
1732,
34421,
198,
310,
6156,
1401,
345,
262,
14561,
415,
31481,
345,
262,
5575,
286,
31481,
345,
262,
706,
3897,
262,
16139,
345,
262,
304,
31833,
286,
16139,
345,
262,
1667,
644,
10920,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1732,
10592,
220,
16,
26,
4815,
281,
851,
1393,
22579,
8473,
1393,
12307,
1393,
4752,
3897,
1393,
258,
31833,
1393,
42820,
644,
10920,
720,
256,
220,
18,
1393,
286,
220,
15,
1393,
415,
220,
16,
1393,
692,
220,
15,
1393,
415,
220,
15,
1393,
1835,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
1820,
5016,
1396,
25607,
1855,
1732,
761,
197,
1,
22579,
8473,
794,
330,
49864,
279,
1732,
374,
264,
14561,
761,
197,
1,
12307,
794,
330,
49864,
279,
1732,
374,
264,
5575,
761,
197,
1,
4752,
3897,
794,
330,
49864,
279,
1732,
706,
264,
2361,
304,
279,
22291,
761,
197,
55501,
31833,
794,
330,
1820,
10474,
315,
46160,
279,
1732,
374,
47397,
761,
197,
1,
42820,
644,
10920,
794,
330,
1820,
1060,
315,
279,
2068,
279,
1732,
374,
520,
702,
69077,
23421,
14700,
330,
329,
26451,
1383,
702,
1021,
262,
281,
851,
996,
31481,
345,
262,
281,
851,
61421,
31481,
345,
262,
22295,
26160,
1383,
34421,
198,
286,
6156,
1401,
320,
79,
851,
11,
281,
851,
61421,
1350,
262,
22295,
26160,
1383,
24309,
623,
851,
623,
851,
66986,
198,
286,
7362,
1401,
320,
79,
851,
11,
281,
851,
61421,
8,
15407,
1732,
320,
79,
851,
11,
281,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
26160,
1729,
10592,
220,
16,
26,
4815,
281,
851,
1393,
79,
851,
61421,
720,
220,
220,
4161,
1393,
260,
220,
20,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
79,
851,
794,
330,
307,
1396,
25607,
1855,
1732,
761,
197,
1,
79,
851,
61421,
794,
330,
1820,
887,
1396,
25607,
279,
37713,
702,
69077,
23421,
14700,
15972,
1383,
198,
1021,
262,
3388,
851,
31481,
345,
262,
281,
851,
415,
31481,
345,
262,
6156,
1401,
320,
12120,
851,
11,
281,
851,
1350,
262,
7362,
1401,
320,
79,
851,
8,
15407,
1732,
1319,
851,
1350,
262,
7362,
1401,
320,
12120,
851,
8,
15407,
3388,
47024,
851,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15972,
1729,
10592,
220,
16,
26,
4815,
3388,
851,
1393,
79,
851,
720,
286,
220,
15,
1393,
220,
220,
1272,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12120,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
3388,
761,
197,
1,
79,
851,
794,
330,
1820,
22654,
1396,
25607,
1855,
1732,
702,
69077,
14711,
16225,
198,
4438,
1690,
14307,
1051,
15972,
555,
264,
14561,
889,
374,
5131,
279,
4562,
315,
22291,
5380,
100069,
2461,
25,
14561,
19813,
311,
14561,
284,
220,
16,
26,
4194,
4562,
315,
22291,
19813,
311,
706,
3897,
14729,
220,
15,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
1732,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
16,
93605,
8473,
284,
220,
16,
3651,
350,
16,
7001,
3897,
14729,
220,
15,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
1732,
5871,
350,
16,
31448,
13369,
15972,
1383,
5871,
350,
17,
6328,
350,
16,
558,
851,
284,
350,
17,
558,
851,
5401,
350,
16,
93605,
8473,
284,
220,
16,
3651,
350,
16,
7001,
3897,
14729,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
### Question
How many courses were taught by a professor who is currently the member of faculty?
Clarification: professor refers to professor = 1; member of faculty refers to hasPosition <> 0
| [query_database(**{'query': 'SELECT COUNT(*) FROM person AS T1 INNER JOIN taughtBy AS T2 ON T1.p_id = T2.p_id WHERE T1.professor = 1 AND T1.hasPosition <> 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE course
(
course_id INTEGER
constraint course_pk
primary key,
courseLevel TEXT
)
/*
1 example row:
SELECT * FROM course LIMIT 1;
course_id ||courseLevel
0 || Level_500
*/
/* column definitions {
"course_id": "unique id number identifying courses",
"courseLevel": "course level"
}*/
CREATE TABLE person
(
p_id INTEGER
constraint person_pk
primary key,
professor INTEGER,
student INTEGER,
hasPosition TEXT,
inPhase TEXT,
yearsInProgram TEXT
)
/*
1 example row:
SELECT * FROM person LIMIT 1;
p_id ||professor ||student ||hasPosition ||inPhase ||yearsInProgram
3 || 0 || 1 || 0 || 0 || 0
*/
/* column definitions {
"p_id": "the unique number identifying each person",
"professor": "whether the person is a professor",
"student": "whether the person is a student",
"hasPosition": "whether the person has a position in the faculty",
"inPhase": "the phase of qualification the person is undergoing",
"yearsInProgram": "the year of the program the person is at"
}*/
CREATE TABLE "advisedBy"
(
p_id INTEGER,
p_id_dummy INTEGER,
constraint advisedBy_pk
primary key (p_id, p_id_dummy),
constraint advisedBy_person_p_id_p_id_fk
foreign key (p_id, p_id_dummy) references person (p_id, p_id)
)
/*
1 example row:
SELECT * FROM advisedby LIMIT 1;
p_id ||p_id_dummy
96 || 5
*/
/* column definitions {
"p_id": "id number identifying each person",
"p_id_dummy": "the id number identifying the advisor"
}*/
CREATE TABLE taughtBy
(
course_id INTEGER,
p_id INTEGER,
primary key (course_id, p_id),
foreign key (p_id) references person(p_id),
foreign key (course_id) references course(course_id)
)
/*
1 example row:
SELECT * FROM taughtby LIMIT 1;
course_id ||p_id
0 || 40
*/
/* column definitions {
"course_id": "the identification number identifying each course",
"p_id": "the identification number identifying each person"
}*/
|
1,039 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
3756,
887,
315,
279,
24417,
1217,
5380,
100069,
2461,
25,
24417,
1217,
19813,
311,
8498,
67695,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
3756,
851,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
3756,
851,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the device id of the oldest user?
Clarification: oldest user refers to MAX(age);
| [query_database(**{'query': 'SELECT device_id FROM gender_age WHERE age = ( SELECT MAX(age) FROM gender_age )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,043 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
4642,
3932,
1051,
1070,
304,
279,
1567,
887,
220,
17,
5380,
100069,
2461,
25,
4642,
3932,
19813,
311,
374,
13226,
284,
220,
16,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
9820,
13226,
8,
4393,
917,
20269,
5401,
1567,
851,
284,
220,
17,
3651,
374,
13226,
284,
220,
16,
66360,
60,
128009
] | [
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
9820,
13226,
8,
4393,
917,
20269,
5401,
1567,
851,
284,
220,
17,
3651,
374,
13226,
284,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many active users were there in the event id 2?
Clarification: active users refers to is_active = 1;
| [query_database(**{'query': 'SELECT COUNT(is_active) FROM app_events WHERE event_id = 2 AND is_active = 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,047 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
527,
1070,
304,
279,
5492,
65119,
5699,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1632,
851,
8,
4393,
917,
14889,
5871,
350,
16,
31448,
13369,
2440,
28642,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
17,
18898,
284,
364,
7778,
65119,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1632,
851,
8,
4393,
917,
14889,
5871,
350,
16,
31448,
13369,
2440,
28642,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
17,
18898,
284,
364,
7778,
65119,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users are there in the Home Decoration category?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T1.app_id) FROM app_labels AS T1 INNER JOIN label_categories AS T2 ON T2.label_id = T1.label_id WHERE T2.category = 'Home Decoration''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,051 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
1455,
4279,
3756,
1646,
4315,
8954,
3932,
1990,
279,
17051,
220,
1544,
311,
220,
1591,
5380,
100069,
2461,
25,
1455,
4279,
3756,
1646,
19813,
311,
8498,
3100,
7615,
18329,
851,
6030,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
1990,
279,
17051,
220,
1544,
311,
220,
1591,
19813,
311,
1912,
284,
364,
37,
1544,
12,
1591,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
18861,
5156,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
15254,
4166,
63,
284,
364,
37,
1544,
12,
1591,
6,
3651,
350,
16,
49437,
284,
364,
37,
6,
15888,
7866,
350,
17,
18861,
851,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
18861,
5156,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
15254,
4166,
63,
284,
364,
37,
1544,
12,
1591,
6,
3651,
350,
16,
49437,
284,
364,
37,
6,
15888,
7866,
350,
17,
18861,
851,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the most common device model among female users between the ages 27 to 28?
Clarification: most common device model refers to MAX(COUNT(device_id)); female refers to gender = 'F'; between the ages 27 to 28 refers to group = 'F27-28';
| [query_database(**{'query': 'SELECT T2.device_model FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T1.`group` = 'F27-28' AND T1.gender = 'F' ORDER BY T2.device_id DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,055 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
9352,
311,
279,
11672,
7209,
5699,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
1632,
851,
8,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
16,
18898,
284,
364,
10754,
7209,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
1632,
851,
8,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
16,
18898,
284,
364,
10754,
7209,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users belong to the MOBA category?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T2.app_id) FROM label_categories AS T1 INNER JOIN app_labels AS T2 ON T2.label_id = T1.label_id WHERE T1.category = 'MOBA''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,059 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
4455,
1051,
1070,
389,
220,
966,
339,
5936,
11,
220,
679,
21,
5380,
100069,
2461,
25,
389,
220,
966,
339,
5936,
11,
220,
679,
21,
19813,
311,
1595,
13333,
63,
21170,
364,
679,
21,
12,
2371,
12,
966,
4,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2371,
12,
966,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2371,
12,
966,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many events were there on 30th April, 2016?
Clarification: on 30th April, 2016 refers to `timestamp` LIKE '2016-04-30%';
| [query_database(**{'query': 'SELECT COUNT(event_id) FROM events WHERE SUBSTR(`timestamp`, 1, 10) = '2016-04-30''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,063 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
75885,
279,
4641,
16097,
323,
4211,
315,
279,
3932,
889,
31408,
304,
4455,
389,
220,
20,
339,
3297,
11,
220,
679,
21,
520,
279,
14259,
315,
320,
7261,
11,
2096,
4390,
100069,
2461,
25,
4211,
19813,
311,
3756,
5156,
26,
389,
220,
20,
339,
3297,
11,
220,
679,
21,
19813,
311,
11695,
21170,
364,
679,
21,
12,
2304,
12,
2304,
4,
7112,
14259,
315,
320,
7261,
11,
2096,
8,
19813,
311,
21155,
284,
220,
7261,
3651,
21518,
284,
220,
2096,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
25869,
55958,
11,
350,
17,
18861,
5156,
4393,
4455,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
17,
18861,
851,
284,
350,
16,
18861,
851,
5401,
350,
16,
23327,
21170,
364,
679,
21,
12,
2304,
12,
2304,
28337,
3651,
350,
16,
35370,
284,
220,
7261,
3651,
350,
16,
34732,
284,
220,
2096,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
25869,
55958,
11,
350,
17,
18861,
5156,
4393,
4455,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
17,
18861,
851,
284,
350,
16,
18861,
851,
5401,
350,
16,
23327,
21170,
364,
679,
21,
12,
2304,
12,
2304,
28337,
3651,
350,
16,
35370,
284,
220,
7261,
3651,
350,
16,
34732,
284,
220,
2096,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Describe the phone brands and models of the users who participated in events on 5th May, 2016 at the coordinates of (112,44).
Clarification: models refers to device_model; on 5th May, 2016 refers to timestamp LIKE '2016-05-05%'; coordinates of (112,44) refers to longitude = 112 AND latitude = 44;
| [query_database(**{'query': 'SELECT DISTINCT T2.phone_brand, T2.device_model FROM events AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T2.device_id = T1.device_id WHERE T1.timestamp LIKE '2016-05-05%' AND T1.longitude = 112 AND T1.latitude = 44'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,067 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
75885,
279,
17051,
11,
82428,
323,
5219,
315,
4455,
31408,
555,
279,
3932,
520,
14259,
315,
10505,
4278,
11,
1987,
4390,
100069,
2461,
25,
14259,
315,
10505,
4278,
11,
1987,
8,
19813,
311,
21155,
284,
482,
4278,
11,
21518,
284,
220,
1987,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
31910,
11,
350,
16,
49437,
11,
24945,
4233,
17,
5892,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
1595,
12670,
63,
5871,
350,
17,
6328,
350,
17,
18861,
851,
284,
350,
16,
18861,
851,
5401,
350,
17,
35370,
284,
482,
4278,
3651,
350,
17,
34732,
284,
220,
1987,
27968,
7866,
350,
16,
31910,
11,
350,
16,
49437,
11,
350,
17,
35370,
11,
350,
17,
34732,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
31910,
11,
350,
16,
49437,
11,
24945,
4233,
17,
5892,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
1595,
12670,
63,
5871,
350,
17,
6328,
350,
17,
18861,
851,
284,
350,
16,
18861,
851,
5401,
350,
17,
35370,
284,
482,
4278,
3651,
350,
17,
34732,
284,
220,
1987,
27968,
7866,
350,
16,
31910,
11,
350,
16,
49437,
11,
350,
17,
35370,
11,
350,
17,
34732,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Describe the ages, genders and numbers of events participated by the users at coordinates of (-102,38).
Clarification: coordinates of (-102,38) refers to longitude = -102, latitude = 38;
| [query_database(**{'query': 'SELECT DISTINCT T1.age, T1.gender, COUNT(T2.event_id) FROM gender_age AS T1 INNER JOIN `events` AS T2 ON T2.device_id = T1.device_id WHERE T2.longitude = -102 AND T2.latitude = 38 GROUP BY T1.age, T1.gender, T2.longitude, T2.latitude'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,071 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
917,
29460,
1051,
5343,
1234,
8198,
17422,
5699,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
1632,
851,
8,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
16,
18898,
284,
364,
40657,
17422,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
1632,
851,
8,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
17,
2981,
851,
284,
350,
16,
2981,
851,
5401,
350,
16,
18898,
284,
364,
40657,
17422,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many app IDs were included under science fiction category?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T2.app_id) FROM label_categories AS T1 INNER JOIN app_labels AS T2 ON T2.label_id = T1.label_id WHERE T1.category = 'science fiction''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,075 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
315,
279,
917,
1051,
539,
4642,
994,
1567,
912,
13,
17,
7077,
5380,
100069,
2461,
25,
539,
4642,
19813,
311,
374,
13226,
284,
220,
15,
26,
1567,
912,
13,
19813,
311,
1567,
851,
26,
1567,
851,
284,
220,
17,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
917,
20269,
5401,
1567,
851,
284,
220,
17,
3651,
374,
13226,
284,
220,
15,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
917,
20269,
5401,
1567,
851,
284,
220,
17,
3651,
374,
13226,
284,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users of the app were not active when event no.2 happened?
Clarification: not active refers to is_active = 0; event no. refers to event_id; event_id = 2;
| [query_database(**{'query': 'SELECT COUNT(event_id) FROM app_events WHERE event_id = 2 AND is_active = 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,079 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
4325,
315,
279,
24417,
3756,
1217,
5380,
100069,
2461,
25,
24417,
3756,
1217,
19813,
311,
8498,
67695,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
8498,
67695,
8,
4393,
10026,
33153,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
8498,
67695,
8,
4393,
10026,
33153,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the age of the oldest device user?
Clarification: oldest device user refers to MAX(age);
| [query_database(**{'query': 'SELECT MAX(age) FROM gender_age'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,083 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
3756,
1646,
315,
279,
3756,
1511,
555,
279,
24417,
1217,
5380,
100069,
2461,
25,
24417,
1217,
19813,
311,
8498,
67695,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
3756,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
851,
2006,
320,
19638,
3756,
851,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
3756,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
851,
2006,
320,
19638,
3756,
851,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the device model of the device used by the oldest user?
Clarification: oldest user refers to MAX(age);
| [query_database(**{'query': 'SELECT device_model FROM phone_brand_device_model2 WHERE device_id IN ( SELECT device_id FROM gender_age WHERE age = ( SELECT MAX(age) FROM gender_age ) )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,087 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
5618,
1160,
279,
11306,
315,
279,
917,
3932,
889,
527,
539,
4642,
994,
1567,
912,
13,
17,
7077,
627,
100069,
2461,
25,
539,
4642,
19813,
311,
374,
13226,
284,
220,
15,
26,
1567,
912,
13,
19813,
311,
1567,
851,
26,
1567,
851,
284,
220,
17,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
18898,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
18898,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
16,
2981,
851,
284,
350,
17,
2981,
851,
31448,
13369,
917,
20269,
5871,
350,
18,
6328,
350,
17,
1632,
851,
284,
350,
18,
1632,
851,
5401,
350,
18,
5892,
851,
284,
220,
17,
3651,
350,
18,
2124,
13226,
284,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Please list the categories of the app users who are not active when event no.2 happened.
Clarification: not active refers to is_active = 0; event no. refers to event_id; event_id = 2;
| [query_database(**{'query': 'SELECT DISTINCT T1.category FROM label_categories AS T1 INNER JOIN app_labels AS T2 ON T1.label_id = T2.label_id INNER JOIN app_events AS T3 ON T2.app_id = T3.app_id WHERE T3.event_id = 2 AND T3.is_active = 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,091 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
34710,
279,
7766,
449,
1567,
912,
13,
17,
12765,
11,
1268,
1690,
315,
1124,
527,
41294,
7766,
5380,
100069,
2461,
25,
1567,
912,
13,
19813,
311,
1567,
851,
26,
1567,
851,
284,
220,
17,
26,
41294,
7766,
19813,
311,
4641,
55958,
284,
364,
85,
6632,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
17,
18861,
851,
284,
350,
16,
18861,
851,
5401,
350,
16,
25869,
55958,
284,
364,
85,
6632,
6,
3651,
350,
17,
5892,
851,
284,
220,
17,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Among the devices with event no.2 happening, how many of them are vivo devices?
Clarification: event no. refers to event_id; event_id = 2; vivo devices refers to phone_brand = 'vivo';
| [query_database(**{'query': 'SELECT COUNT(T1.device_id) FROM phone_brand_device_model2 AS T1 INNER JOIN events AS T2 ON T2.device_id = T1.device_id WHERE T1.phone_brand = 'vivo' AND T2.event_id = 2'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,095 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
5699,
430,
279,
1455,
917,
3932,
9352,
311,
5380,
100069,
2461,
25,
1455,
917,
3932,
19813,
311,
8498,
3100,
7615,
11718,
851,
6030,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18898,
4393,
320,
19638,
350,
16,
18898,
11,
24945,
4233,
17,
1632,
851,
8,
5871,
1661,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
16,
2981,
851,
284,
350,
17,
2981,
851,
27968,
7866,
350,
16,
2981,
851,
883,
5871,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18898,
4393,
320,
19638,
350,
16,
18898,
11,
24945,
4233,
17,
1632,
851,
8,
5871,
1661,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
16,
2981,
851,
284,
350,
17,
2981,
851,
27968,
7866,
350,
16,
2981,
851,
883,
5871,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the category that the most app users belong to?
Clarification: most app users refers to MAX(COUNT(app_id));
| [query_database(**{'query': 'SELECT T.category FROM ( SELECT T1.category, COUNT(T2.app_id) AS num FROM label_categories AS T1 INNER JOIN app_labels AS T2 ON T1.label_id = T2.label_id GROUP BY T1.label_id ) AS T ORDER BY T.num DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,099 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
34710,
682,
279,
7766,
449,
1567,
912,
13,
17,
12765,
11,
1148,
374,
279,
11668,
315,
279,
3756,
1694,
264,
41294,
4641,
5380,
100069,
2461,
25,
1567,
912,
13,
19813,
311,
1567,
851,
26,
1567,
851,
284,
364,
17,
7112,
11668,
284,
31835,
91435,
50255,
55958,
284,
364,
85,
6632,
518,
16,
11,
15,
5850,
24945,
18329,
851,
8,
5401,
1567,
851,
284,
364,
17,
7112,
41294,
4641,
19813,
311,
4641,
55958,
284,
364,
85,
6632,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
17,
25869,
55958,
284,
364,
85,
6632,
518,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
4455,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
5892,
851,
284,
364,
17,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
17,
25869,
55958,
284,
364,
85,
6632,
518,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
4455,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
5892,
851,
284,
364,
17,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Among all the devices with event no.2 happening, what is the percentage of the device being a vivo phone?
Clarification: event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';
| [query_database(**{'query': 'SELECT SUM(IIF(T2.phone_brand = 'vivo', 1, 0)) / COUNT(T1.device_id) AS per FROM events AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.event_id = T2.device_id WHERE T1.event_id = '2''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,103 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
10487,
279,
917,
719,
527,
539,
4642,
5380,
100069,
2461,
25,
10487,
19813,
311,
374,
80165,
284,
220,
16,
26,
539,
4642,
19813,
311,
374,
13226,
284,
220,
15,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
11718,
851,
8,
4393,
917,
20269,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
11718,
851,
8,
4393,
917,
20269,
5401,
374,
80165,
284,
220,
16,
3651,
374,
13226,
284,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users installed the app but are not active?
Clarification: installed refers to is_installed = 1; not active refers to is_active = 0;
| [query_database(**{'query': 'SELECT COUNT(app_id) FROM app_events WHERE is_installed = 1 AND is_active = 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,107 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
861,
520,
3325,
220,
605,
3756,
4211,
430,
8762,
3932,
927,
279,
4325,
315,
220,
2137,
6118,
1005,
627,
100069,
2461,
25,
8762,
19813,
311,
10026,
284,
364,
44,
7112,
927,
279,
4325,
315,
220,
2137,
19813,
311,
1912,
284,
364,
44,
2137,
6972,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
18861,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
15254,
4166,
63,
284,
364,
44,
2137,
6972,
3651,
350,
17,
49437,
284,
364,
44,
6,
10592,
220,
605,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
18861,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
15254,
4166,
63,
284,
364,
44,
2137,
6972,
3651,
350,
17,
49437,
284,
364,
44,
6,
10592,
220,
605,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
List at least 10 device models that male users over the age of 39 usually use.
Clarification: male refers to gender = 'M'; over the age of 39 refers to group = 'M39+';
| [query_database(**{'query': 'SELECT T1.device_model FROM phone_brand_device_model2 AS T1 INNER JOIN gender_age AS T2 ON T1.device_id = T2.device_id WHERE T2.`group` = 'M39+' AND T2.gender = 'M' LIMIT 10'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,111 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
61524,
279,
2860,
1396,
315,
279,
8762,
3932,
430,
1005,
13435,
2089,
439,
872,
4641,
6883,
627,
100069,
2461,
25,
8762,
19813,
311,
10026,
284,
364,
37521,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
3143,
2089,
6,
3651,
350,
16,
49437,
284,
364,
44,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
3143,
2089,
6,
3651,
350,
16,
49437,
284,
364,
44,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Provide the total number of the male users that use OPPO as their phone brand.
Clarification: male refers to gender = 'Male';
| [query_database(**{'query': 'SELECT COUNT(T1.device_id) FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'OPPO' AND T1.gender = 'M''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,115 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
4325,
1912,
315,
1455,
13435,
2089,
3932,
5380,
100069,
2461,
25,
4325,
1912,
19813,
311,
1912,
26,
1455,
13435,
2089,
3932,
19813,
311,
8498,
3100,
7615,
50255,
55958,
284,
364,
3143,
2089,
25433,
13435,
2089,
3932,
19813,
311,
4641,
55958,
284,
364,
3143,
2089,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
15254,
4166,
63,
4393,
320,
19638,
350,
16,
15254,
4166,
7964,
24945,
4233,
16,
15254,
4166,
33981,
5871,
1661,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
3143,
2089,
6,
27968,
7866,
350,
16,
15254,
4166,
63,
883,
5871,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
15254,
4166,
63,
4393,
320,
19638,
350,
16,
15254,
4166,
7964,
24945,
4233,
16,
15254,
4166,
33981,
5871,
1661,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
3143,
2089,
6,
27968,
7866,
350,
16,
15254,
4166,
63,
883,
5871,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the age group of most OPPO users?
Clarification: age group refers to group; most OPPO users refers to MAX(COUNT(phone_brand = 'OPPO')); OPPO users refers to phone_brand = 'OPPO';
| [query_database(**{'query': 'SELECT T.`group` FROM ( SELECT T1.`group`, COUNT(T1.`group`) AS num FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'OPPO' GROUP BY T1.`group` ) AS T ORDER BY T.num DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,119 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
4641,
6883,
315,
279,
3756,
1646,
330,
114248,
28873,
59505,
1,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
4641,
55958,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
5156,
284,
364,
114248,
28873,
59505,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
4641,
55958,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
5156,
284,
364,
114248,
28873,
59505,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the phone brand of the device model "坚果手机"?
Clarification:
| [query_database(**{'query': 'SELECT phone_brand FROM phone_brand_device_model2 WHERE device_model = '坚果手机''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,123 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
61524,
279,
1396,
315,
4455,
430,
7077,
389,
220,
679,
21,
14,
20,
14,
21,
627,
100069,
2461,
25,
389,
220,
679,
21,
14,
20,
14,
21,
19813,
311,
11695,
284,
364,
679,
21,
14,
20,
14,
21,
30388,
25,
6277,
25,
6277,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2705,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2705,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Provide the number of events that happened on 2016/5/6.
Clarification: on 2016/5/6 refers to timestamp = '2016/5/6 XX:XX:XX';
| [query_database(**{'query': 'SELECT COUNT(event_id) FROM events WHERE SUBSTR(`timestamp`, 1, 10) = '2016-05-06''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,127 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
36227,
279,
1396,
315,
220,
966,
4771,
6418,
3932,
889,
1051,
4642,
304,
279,
4455,
389,
220,
679,
21,
14,
20,
14,
17,
627,
100069,
2461,
25,
220,
966,
4771,
6418,
19813,
311,
4325,
284,
364,
966,
7112,
4642,
19813,
311,
374,
13226,
284,
220,
16,
26,
389,
220,
679,
21,
14,
20,
14,
17,
19813,
311,
11695,
284,
364,
679,
21,
14,
20,
14,
17,
30388,
25,
6277,
25,
6277,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
18,
18861,
851,
8,
4393,
917,
20269,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
5892,
851,
31448,
13369,
10026,
33153,
5871,
350,
18,
6328,
350,
17,
18861,
851,
284,
350,
18,
18861,
851,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2437,
6,
3651,
350,
16,
2124,
13226,
284,
220,
16,
3651,
350,
18,
31910,
284,
364,
966,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
18,
18861,
851,
8,
4393,
917,
20269,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
5892,
851,
31448,
13369,
10026,
33153,
5871,
350,
18,
6328,
350,
17,
18861,
851,
284,
350,
18,
18861,
851,
5401,
16532,
6805,
5931,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2437,
6,
3651,
350,
16,
2124,
13226,
284,
220,
16,
3651,
350,
18,
31910,
284,
364,
966,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Give the number of 30-year-old users who were active in the events on 2016/5/2.
Clarification: 30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';
| [query_database(**{'query': 'SELECT COUNT(T3.device_id) FROM app_events AS T1 INNER JOIN events AS T2 ON T1.event_id = T2.event_id INNER JOIN gender_age AS T3 ON T2.device_id = T3.device_id WHERE SUBSTR(`timestamp`, 1, 10) = '2016-05-02' AND T1.is_active = 1 AND T3.age = '30''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,131 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
505,
279,
1912,
330,
37,
1682,
12,
843,
1,
889,
1051,
4642,
304,
279,
4455,
389,
220,
679,
21,
14,
20,
14,
22,
5380,
100069,
2461,
25,
4642,
3932,
19813,
311,
374,
13226,
284,
364,
16,
7112,
389,
220,
679,
21,
14,
20,
14,
22,
19813,
311,
11695,
284,
364,
679,
21,
14,
20,
14,
22,
30388,
25,
6277,
25,
6277,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1632,
851,
8,
4393,
917,
20269,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
5892,
851,
31448,
13369,
10026,
33153,
5871,
350,
18,
6328,
350,
17,
5892,
851,
284,
350,
18,
18861,
851,
5401,
16532,
6805,
4233,
17,
15254,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2589,
6,
3651,
350,
16,
2124,
13226,
284,
364,
16,
6,
3651,
350,
18,
15254,
4166,
63,
284,
364,
37,
1682,
12,
843,
4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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1632,
851,
8,
4393,
917,
20269,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
5892,
851,
284,
350,
17,
5892,
851,
31448,
13369,
10026,
33153,
5871,
350,
18,
6328,
350,
17,
5892,
851,
284,
350,
18,
18861,
851,
5401,
16532,
6805,
4233,
17,
15254,
13333,
7964,
220,
16,
11,
220,
605,
8,
284,
364,
679,
21,
12,
2304,
12,
2589,
6,
3651,
350,
16,
2124,
13226,
284,
364,
16,
6,
3651,
350,
18,
15254,
4166,
63,
284,
364,
37,
1682,
12,
843,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users from the group "F29-32" who were active in the events on 2016/5/7?
Clarification: active users refers to is_active = '1'; on 2016/5/7 refers to timestamp = '2016/5/7 XX:XX:XX';
| [query_database(**{'query': 'SELECT COUNT(T1.app_id) FROM app_events AS T1 INNER JOIN events AS T2 ON T1.event_id = T2.event_id INNER JOIN gender_age AS T3 ON T2.event_id = T3.device_id WHERE SUBSTR(T2.`timestamp`, 1, 10) = '2016-05-07' AND T1.is_active = '1' AND T3.`group` = 'F29-32''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,135 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
7766,
527,
315,
279,
6883,
41294,
5380,
100069,
2461,
25,
6883,
41294,
19813,
311,
4641,
55958,
284,
364,
85,
6632,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
18329,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5401,
4641,
55958,
284,
364,
85,
6632,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
18329,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5401,
4641,
55958,
284,
364,
85,
6632,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many devices are of the brand vivo?
Clarification: brand vivo refers to phone_brand = 'vivo';
| [query_database(**{'query': 'SELECT COUNT(device_id) FROM phone_brand_device_model2 WHERE phone_brand = 'vivo''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,139 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3957,
279,
24417,
3756,
1217,
8762,
477,
8954,
5380,
100069,
2461,
25,
8498,
4444,
713,
8,
3651,
10026,
284,
364,
44,
6,
3445,
430,
279,
24417,
3756,
1217,
374,
8762,
26,
8498,
4444,
713,
8,
3651,
10026,
284,
364,
37,
6,
3445,
430,
279,
24417,
3756,
1217,
374,
8954,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
10026,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
10026,
4393,
10026,
33153,
5401,
4325,
284,
320,
19638,
8498,
67695,
8,
4393,
10026,
33153,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Is the oldest device user male or female?
Clarification: MAX(Age) AND gender = 'M' means that the oldest device user is male; MAX(Age) AND gender = 'F' means that the oldest device user is female;
| [query_database(**{'query': 'SELECT gender FROM gender_age WHERE age = ( SELECT MAX(age) FROM gender_age )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,143 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
2520,
279,
3756,
449,
459,
1567,
31965,
389,
220,
679,
21,
14,
20,
14,
16,
520,
220,
15,
25,
2131,
25,
914,
11,
1148,
374,
279,
10026,
315,
1202,
1217,
5380,
100069,
2461,
25,
389,
220,
679,
21,
14,
20,
14,
16,
520,
220,
15,
25,
2131,
25,
914,
19813,
311,
11695,
284,
364,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
49437,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
23327,
284,
364,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
49437,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4455,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
23327,
284,
364,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
For the device with an event occurring on 2016/5/1 at 0:55:25, what is the gender of its user?
Clarification: on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';
| [query_database(**{'query': 'SELECT T1.gender FROM gender_age AS T1 INNER JOIN events AS T2 ON T1.device_id = T2.device_id WHERE T2.timestamp = '2016-05-01 00:55:25''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,147 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
5618,
1160,
682,
279,
4211,
315,
279,
7766,
1511,
555,
264,
8954,
1217,
627,
100069,
2461,
25,
4211,
315,
279,
7766,
19813,
311,
3756,
5156,
26,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
18861,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
18861,
5156,
4393,
4641,
55958,
9385,
5156,
17,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Please list all the models of the devices used by a female user.
Clarification: models of the devices refers to device_model; female refers to gender = 'F';
| [query_database(**{'query': 'SELECT T1.device_model FROM phone_brand_device_model2 AS T1 INNER JOIN gender_age AS T2 ON T1.device_id = T2.device_id WHERE T2.gender = 'F''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,151 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
3756,
1646,
1511,
555,
279,
1455,
8954,
3932,
927,
220,
966,
5380,
100069,
2461,
25,
8954,
3932,
19813,
311,
10026,
284,
364,
37,
7112,
1455,
8954,
3932,
19813,
311,
8498,
3100,
7615,
3348,
1693,
284,
364,
37,
25433,
927,
220,
966,
19813,
311,
4325,
871,
220,
966,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18861,
5156,
4393,
320,
19638,
350,
17,
18861,
5156,
11,
24945,
4233,
17,
18861,
5156,
8,
5871,
1661,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
31910,
871,
220,
966,
3651,
350,
16,
49437,
284,
364,
37,
6,
27968,
7866,
350,
17,
18861,
5156,
883,
5871,
350,
15888,
7866,
350,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
18861,
5156,
4393,
320,
19638,
350,
17,
18861,
5156,
11,
24945,
4233,
17,
18861,
5156,
8,
5871,
1661,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
16,
31910,
871,
220,
966,
3651,
350,
16,
49437,
284,
364,
37,
6,
27968,
7866,
350,
17,
18861,
5156,
883,
5871,
350,
15888,
7866,
350,
10744,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the device model used by the most female users over 30?
Clarification: female users refers to gender = 'F'; most female users refers to MAX(COUNT(gender = 'F')); over 30 refers to age > 30;
| [query_database(**{'query': 'SELECT T.device_model FROM ( SELECT T2.device_model, COUNT(T2.device_model) AS num FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T1.age > 30 AND T1.gender = 'F' GROUP BY T2.device_model ) AS T ORDER BY T.num DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,155 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
4455,
617,
7077,
389,
279,
3756,
315,
279,
39637,
8954,
1217,
5380,
100069,
2461,
25,
39637,
19813,
311,
17116,
67695,
1237,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
5892,
851,
8,
4393,
4455,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
49437,
284,
364,
37,
6,
27968,
7866,
350,
16,
5892,
851,
11,
350,
17,
31910,
15888,
7866,
350,
17,
31910,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
5892,
851,
8,
4393,
4455,
5871,
350,
16,
31448,
13369,
10026,
33153,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
49437,
284,
364,
37,
6,
27968,
7866,
350,
16,
5892,
851,
11,
350,
17,
31910,
15888,
7866,
350,
17,
31910,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many events have happened on the device of the youngest female user?
Clarification: youngest refers to MIN(age); female refers to gender = 'F';
| [query_database(**{'query': 'SELECT COUNT(T1.event_id) FROM events AS T1 INNER JOIN gender_age AS T2 ON T1.device_id = T2.device_id WHERE T2.gender = 'F' GROUP BY T1.event_id, T2.age ORDER BY T2.age LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,159 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
4325,
315,
279,
8954,
3932,
889,
5829,
264,
41294,
3756,
5380,
100069,
2461,
25,
5578,
4325,
284,
71514,
67695,
1237,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
41294,
3756,
19813,
311,
4641,
55958,
284,
364,
85,
6632,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
16,
31910,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
85,
6632,
6,
3651,
350,
16,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
16,
31910,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
85,
6632,
6,
3651,
350,
16,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the average age of the female users who uses a vivo device?
Clarification: average age = AVG(age); female refers to gender = 'F'; vivo device refers to phone_brand = 'vivo';
| [query_database(**{'query': 'SELECT AVG(T1.age) FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'vivo' AND T1.gender = 'F''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,162 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
2440,
3110,
315,
330,
38075,
24993,
3786,
6373,
1,
5699,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
2440,
851,
4393,
2440,
28642,
5401,
5699,
284,
364,
38075,
24993,
3786,
6373,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
2440,
851,
4393,
2440,
28642,
5401,
5699,
284,
364,
38075,
24993,
3786,
6373,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the label ID of "Third-party card management" category?
Clarification:
| [query_database(**{'query': 'SELECT label_id FROM label_categories WHERE category = 'Third-party card management''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,166 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
4455,
1051,
31408,
555,
279,
3932,
520,
21155,
315,
6660,
10132,
1,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
21155,
284,
482,
10132,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
6368,
851,
8,
4393,
4455,
5401,
21155,
284,
482,
10132,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many events were participated by the users at longitude of "-156"?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(event_id) FROM events WHERE longitude = -156'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,172 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
527,
279,
2440,
29460,
323,
917,
29460,
315,
279,
8620,
68533,
47595,
2508,
5699,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2981,
851,
11,
350,
17,
1632,
851,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
16,
2981,
851,
284,
350,
17,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2981,
851,
11,
350,
17,
1632,
851,
4393,
2440,
28642,
5871,
350,
16,
31448,
13369,
917,
14889,
5871,
350,
17,
6328,
350,
16,
2981,
851,
284,
350,
17,
2981,
851,
5401,
350,
16,
18898,
284,
364,
46023,
68533,
47595,
2508,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What are the label IDs and app IDs of the Chinese Classical Mythology category?
Clarification:
| [query_database(**{'query': 'SELECT T1.label_id, T2.app_id FROM label_categories AS T1 INNER JOIN app_labels AS T2 ON T1.label_id = T2.label_id WHERE T1.category = 'Chinese Classical Mythology''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,176 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
11595,
315,
8762,
323,
8954,
3932,
315,
41294,
1630,
20,
782,
1646,
5380,
100069,
2461,
25,
11595,
284,
47360,
12420,
3844,
2864,
3348,
1693,
284,
364,
44,
6,
5401,
3756,
5156,
284,
364,
55,
20,
1360,
4670,
31835,
3348,
1693,
284,
364,
37,
6,
5401,
3756,
5156,
284,
364,
55,
20,
1360,
25433,
8762,
19813,
311,
10026,
284,
364,
44,
7112,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
41294,
1630,
20,
782,
1646,
19813,
311,
4641,
55958,
284,
364,
85,
6632,
6,
3651,
3756,
5156,
284,
364,
55,
20,
1360,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
44,
518,
220,
16,
11,
220,
15,
595,
611,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
37,
518,
220,
16,
11,
220,
15,
595,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
85,
6632,
6,
3651,
350,
17,
18861,
5156,
284,
364,
55,
20,
1360,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
44,
518,
220,
16,
11,
220,
15,
595,
611,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
37,
518,
220,
16,
11,
220,
15,
595,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
85,
6632,
6,
3651,
350,
17,
18861,
5156,
284,
364,
55,
20,
1360,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
What is the ratio of male and female users of vivo X5pro model?
Clarification: ratio = DIVIDE(SUM(gender = 'M' WHERE device_model = 'X5Pro'), SUM(gender = 'F' WHERE device_model = 'X5Pro')); male refers to gender = 'M'; female refers to gender = 'F'; vivo X5pro model refers to phone_brand = 'vivo' AND device_model = 'X5Pro';
| [query_database(**{'query': 'SELECT SUM(IIF(T1.gender = 'M', 1, 0)) / SUM(IIF(T1.gender = 'F', 1, 0)) AS per FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'vivo' AND T2.device_model = 'X5Pro''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,179 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
34710,
279,
49367,
3932,
11,
11294,
279,
11668,
315,
8954,
3932,
889,
527,
927,
220,
1490,
627,
100069,
2461,
25,
49367,
19813,
311,
4641,
55958,
284,
364,
2607,
34,
7112,
11668,
284,
47360,
12420,
3844,
2864,
3348,
1693,
284,
364,
37,
6,
3651,
4325,
871,
220,
1490,
705,
24945,
18329,
851,
6030,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
927,
220,
1490,
19813,
311,
4325,
871,
220,
1490,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
37,
6,
3651,
350,
16,
31910,
871,
220,
1490,
11,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
2607,
34,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
49437,
284,
364,
37,
6,
3651,
350,
16,
31910,
871,
220,
1490,
11,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
2607,
34,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Among the HTC users, calculate the percentage of female users who are over 80.
Clarification: HTC refers to phone_brand = 'HTC'; percentage = DIVIDE(SUM(gender = 'F' AND age > 80), COUNT(device_id)); female refers to gender = 'F'; over 80 refers to age > 80
| [query_database(**{'query': 'SELECT SUM(IIF(T1.gender = 'F' AND T1.age > 80, 1, 0)) / COUNT(T1.device_id) AS per FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'HTC''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,184 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
7766,
9352,
311,
1646,
330,
32,
3971,
1,
5380,
100069,
2461,
25,
1646,
19813,
311,
3756,
5156,
26,
3756,
5156,
284,
364,
32,
3971,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
18329,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
5156,
284,
364,
32,
3971,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
18329,
851,
8,
4393,
4641,
55958,
9385,
5156,
17,
5401,
3756,
5156,
284,
364,
32,
3971,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many devices belong to model "A51"?
Clarification: model refers to device_model; device_model = 'A51';
| [query_database(**{'query': 'SELECT COUNT(device_id) FROM phone_brand_device_model2 WHERE device_model = 'A51''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,188 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
4438,
1690,
3932,
889,
527,
1234,
220,
966,
1667,
2362,
1005,
3756,
1646,
315,
20238,
7181,
220,
17,
5380,
100069,
2461,
25,
1234,
220,
966,
19813,
311,
4325,
366,
220,
966,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
18861,
5156,
284,
364,
53619,
14092,
7181,
220,
17,
6,
3651,
350,
16,
31910,
366,
220,
966,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
18861,
5156,
284,
364,
53619,
14092,
7181,
220,
17,
6,
3651,
350,
16,
31910,
366,
220,
966,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
How many users who are under 30 years old use device model of Galaxy Note 2?
Clarification: under 30 refers to age < 30;
| [query_database(**{'query': 'SELECT COUNT(T1.device_id) FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.device_model = 'Galaxy Note 2' AND T1.age < 30'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,192 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
44,
3012,
279,
1912,
315,
4325,
315,
3932,
889,
1005,
4641,
6883,
315,
24294,
627,
100069,
2461,
25,
1912,
315,
4325,
19813,
311,
1912,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4166,
63,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
48230,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4166,
63,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
48230,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Mention the group of age of users who use phone brand of LG.
Clarification: group of age refers to group;
| [query_database(**{'query': 'SELECT T1.`group` FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'LG''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,196 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
34710,
279,
3932,
889,
527,
3485,
220,
508,
11,
1268,
1690,
3932,
1005,
3756,
1646,
315,
17705,
40777,
469,
22,
20217,
5380,
100069,
2461,
25,
3485,
220,
508,
19813,
311,
4325,
871,
220,
508,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
18861,
5156,
284,
364,
2818,
40777,
469,
22,
20217,
6,
3651,
350,
16,
31910,
871,
220,
508,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
18861,
851,
8,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
18861,
5156,
284,
364,
2818,
40777,
469,
22,
20217,
6,
3651,
350,
16,
31910,
871,
220,
508,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Among the users who are above 20, how many users use device model of ELIFE E7 Mini?
Clarification: above 20 refers to age > 20;
| [query_database(**{'query': 'SELECT COUNT(T1.device_id) FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.device_model = 'ELIFE E7 Mini' AND T1.age > 20'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|
1,200 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1595,
680,
5823,
4077,
1021,
262,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
262,
38567,
12282,
29754,
680,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
5823,
10592,
220,
16,
26,
4815,
2342,
917,
851,
720,
12,
20275,
16884,
10465,
25926,
24443,
24887,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
8555,
69077,
23421,
14700,
1595,
680,
20269,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
1820,
887,
315,
4455,
761,
197,
1,
680,
851,
794,
330,
1820,
887,
315,
917,
3932,
761,
197,
73255,
80165,
794,
330,
49864,
420,
917,
374,
10487,
477,
539,
761,
197,
73255,
13226,
794,
330,
49864,
420,
1217,
374,
4642,
477,
539,
702,
69077,
23421,
14700,
1595,
680,
20269,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
285,
80165,
63,
31481,
12221,
1808,
345,
220,
1595,
285,
13226,
63,
31481,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
41281,
680,
851,
90846,
220,
82456,
12282,
29754,
3163,
851,
33981,
79756,
1595,
12670,
1311,
8532,
63,
29754,
3163,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
20269,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
1078,
917,
851,
1393,
285,
80165,
1393,
285,
13226,
720,
996,
220,
17,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
1881,
220,
16,
1393,
286,
220,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
680,
851,
794,
8488,
197,
73255,
80165,
794,
8488,
197,
73255,
13226,
794,
8555,
69077,
23421,
14700,
1595,
680,
14889,
63,
2456,
220,
1595,
680,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
82456,
12282,
29754,
1530,
851,
33981,
79756,
1595,
1530,
28642,
63,
29754,
1530,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
345,
220,
82456,
12282,
29754,
680,
851,
33981,
79756,
1595,
680,
5823,
63,
29754,
680,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
917,
14889,
10592,
220,
16,
26,
4815,
1078,
917,
851,
1393,
1530,
851,
720,
24289,
21310,
17711,
23213,
6726,
26234,
23,
1393,
257,
220,
13860,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
680,
851,
794,
330,
307,
315,
279,
917,
1217,
761,
197,
93767,
851,
794,
330,
307,
315,
9382,
11105,
902,
7865,
5699,
430,
1855,
1217,
17623,
311,
6360,
69077,
23421,
14700,
1595,
12670,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
12221,
1808,
345,
220,
1595,
26524,
63,
26339,
12221,
1808,
345,
220,
1595,
24649,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
286,
3756,
851,
1393,
310,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
16,
1393,
17335,
23038,
25622,
11738,
11123,
2075,
1393,
679,
21,
12,
2304,
12,
1721,
220,
410,
25,
2131,
25,
914,
13,
15,
1393,
262,
220,
7994,
13,
15,
1393,
262,
220,
2148,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
330,
9782,
887,
1396,
22797,
311,
279,
1567,
761,
197,
1,
6239,
851,
794,
330,
307,
1396,
22797,
279,
3756,
761,
197,
1,
13333,
794,
330,
1820,
892,
315,
279,
1567,
761,
197,
1,
26524,
794,
330,
26524,
22549,
197,
1,
24649,
794,
330,
24649,
702,
69077,
23421,
14700,
1595,
12670,
1311,
8532,
63,
2456,
220,
1595,
3163,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
6239,
851,
63,
31481,
12221,
1808,
345,
220,
1595,
13333,
63,
40462,
45718,
4276,
1808,
345,
220,
1595,
26524,
63,
26339,
4276,
1808,
345,
220,
1595,
24649,
63,
26339,
4276,
1808,
345,
220,
38567,
12282,
29754,
3163,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
13265,
33153,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4455,
1311,
8532,
10592,
220,
16,
26,
4815,
1567,
851,
1393,
6239,
851,
1393,
1881,
11695,
1393,
26524,
1393,
24649,
720,
996,
220,
17,
1393,
257,
2290,
1393,
12,
26227,
16955,
21791,
20062,
21996,
21535,
22,
1393,
415,
220,
16,
13,
15,
1393,
257,
220,
15,
13,
15,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3163,
851,
794,
8488,
197,
1,
6239,
851,
794,
8488,
197,
1,
13333,
794,
8488,
197,
1,
26524,
794,
8488,
197,
1,
24649,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
90846,
220,
82456,
12282,
29754,
6239,
851,
33981,
79756,
1595,
4949,
55958,
9385,
5156,
17,
63,
29754,
6239,
851,
33981,
6328,
17640,
98159,
6328,
23743,
98159,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
6640,
23654,
15894,
21033,
19773,
23,
1393,
257,
386,
1393,
220,
1682,
1393,
44,
1682,
12,
2148,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
9782,
1396,
315,
7766,
761,
197,
1,
13265,
794,
330,
13265,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
1,
425,
794,
330,
425,
315,
279,
1217,
889,
5829,
420,
3756,
761,
197,
29196,
794,
330,
4166,
315,
279,
17051,
702,
69077,
23421,
14700,
1595,
13265,
33153,
4552,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
4552,
10592,
220,
16,
26,
4815,
310,
3756,
851,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8555,
69077,
23421,
14700,
1595,
13265,
33153,
7745,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
13265,
63,
16139,
12221,
1808,
345,
220,
1595,
425,
63,
31481,
12221,
1808,
345,
220,
1595,
4166,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10026,
33153,
7745,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
13265,
1393,
425,
1393,
1912,
720,
12,
20275,
12879,
24735,
20555,
13302,
8259,
21,
1393,
257,
386,
1393,
220,
1187,
1393,
44,
1419,
12,
1627,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
1,
13265,
794,
8488,
197,
1,
425,
794,
8488,
197,
29196,
794,
8555,
69077,
23421,
14700,
1595,
1530,
28642,
63,
2456,
220,
1595,
1530,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
5588,
63,
16139,
12221,
1808,
345,
220,
38567,
12282,
29754,
1530,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2440,
28642,
10592,
220,
16,
26,
4815,
2440,
851,
1393,
5588,
720,
996,
220,
16,
1393,
262,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
93767,
851,
794,
330,
9782,
887,
315,
2440,
761,
197,
1,
5588,
794,
330,
5588,
315,
279,
2440,
702,
69077,
23421,
14700,
1595,
4949,
55958,
9385,
5156,
17,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
4949,
55958,
63,
16139,
4276,
1808,
345,
220,
1595,
6239,
5156,
63,
16139,
4276,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
41281,
4949,
55958,
41281,
6239,
5156,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4641,
55958,
9385,
5156,
17,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
4949,
55958,
1393,
6239,
5156,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
260,
103036,
73361,
1393,
415,
106992,
95,
73361,
10179,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
330,
1820,
887,
1396,
315,
279,
3756,
761,
197,
1,
4949,
55958,
794,
330,
4949,
6883,
761,
197,
1,
6239,
5156,
794,
330,
6239,
1646,
702,
69077,
23421,
14700,
1595,
13925,
76966,
63,
2456,
220,
1595,
6239,
851,
63,
31481,
4276,
1808,
345,
220,
1595,
37,
1419,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1187,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1682,
12,
843,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
1644,
12,
2983,
63,
26339,
12221,
1808,
345,
220,
1595,
37,
3391,
10,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1313,
12,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1419,
12,
1627,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1544,
12,
1591,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
1682,
12,
2148,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
843,
12,
1987,
63,
26339,
12221,
1808,
345,
220,
1595,
44,
2137,
10,
63,
26339,
12221,
1808,
345,
220,
38567,
12282,
29754,
6239,
851,
25158,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6205,
76966,
10592,
220,
16,
26,
4815,
310,
3756,
851,
1393,
220,
435,
1419,
12,
1393,
37,
1187,
12,
1627,
1393,
37,
1544,
12,
1591,
1393,
37,
1682,
12,
843,
1393,
37,
1644,
12,
2983,
1393,
220,
435,
3391,
10,
1393,
220,
386,
1313,
12,
1393,
44,
1419,
12,
1627,
1393,
44,
1544,
12,
1591,
1393,
44,
1682,
12,
2148,
1393,
44,
843,
12,
1987,
1393,
220,
386,
2137,
10,
720,
12,
20275,
17079,
5162,
19274,
25875,
12910,
21,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
1393,
15,
13,
25077,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6239,
851,
794,
8488,
197,
87655,
1419,
12,
794,
8488,
197,
87655,
1187,
12,
1627,
794,
8488,
197,
87655,
1544,
12,
1591,
794,
8488,
197,
87655,
1682,
12,
843,
794,
8488,
197,
87655,
1644,
12,
2983,
794,
8488,
197,
87655,
3391,
81579,
8488,
197,
74627,
1313,
12,
794,
8488,
197,
74627,
1419,
12,
1627,
794,
8488,
197,
74627,
1544,
12,
1591,
794,
8488,
197,
74627,
1682,
12,
2148,
794,
8488,
197,
74627,
843,
12,
1987,
794,
8488,
197,
74627,
2137,
81579,
8555,
69077,
14711,
16225,
198,
34710,
279,
3932,
889,
1005,
328,
3014,
946,
11,
11294,
279,
11668,
315,
1884,
889,
527,
3485,
220,
508,
1667,
2362,
627,
100069,
2461,
25,
328,
3014,
946,
19813,
311,
4641,
55958,
284,
364,
50,
3014,
946,
7112,
11668,
284,
83837,
25874,
5549,
3166,
12420,
3844,
2864,
67695,
871,
220,
508,
705,
24945,
18329,
851,
595,
220,
16,
13,
15,
1237,
3485,
220,
508,
1667,
2362,
19813,
311,
4325,
871,
220,
508,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
31910,
871,
220,
508,
11,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
50,
3014,
946,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
4233,
16,
31910,
871,
220,
508,
11,
220,
16,
11,
220,
15,
595,
611,
24945,
4233,
16,
18861,
851,
8,
5871,
824,
4393,
10026,
33153,
5871,
350,
16,
31448,
13369,
4641,
55958,
9385,
5156,
17,
5871,
350,
17,
6328,
350,
16,
18861,
851,
284,
350,
17,
18861,
851,
5401,
350,
17,
25869,
55958,
284,
364,
50,
3014,
946,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
### Question
Among the users who use SUGAR, calculate the percentage of those who are above 20 years old.
Clarification: SUGAR refers to phone_brand = 'SUGAR'; percentage = MULTIPLY(DIVIDE(SUM(age > 20), COUNT(device_id)) 1.0); above 20 years old refers to age > 20;
| [query_database(**{'query': 'SELECT SUM(IIF(T1.age > 20, 1, 0)) / COUNT(T1.device_id) AS per FROM gender_age AS T1 INNER JOIN phone_brand_device_model2 AS T2 ON T1.device_id = T2.device_id WHERE T2.phone_brand = 'SUGAR''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE `app_all`
(
`app_id` INTEGER NOT NULL,
PRIMARY KEY (`app_id`)
)
/*
1 example row:
SELECT * FROM app_all LIMIT 1;
app_id
-9223281467940916832
*/
/* column definitions {
"app_id": ""
}*/
CREATE TABLE `app_events` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER NOT NULL,
`is_active` INTEGER NOT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "the id of events",
"app_id": "the id of app users",
"is_installed": "whether this app is installed or not",
"is_active": "whether this user is active or not"
}*/
CREATE TABLE `app_events_relevant` (
`event_id` INTEGER NOT NULL,
`app_id` INTEGER NOT NULL,
`is_installed` INTEGER DEFAULT NULL,
`is_active` INTEGER DEFAULT NULL,
PRIMARY KEY (`event_id`,`app_id`),
FOREIGN KEY (`event_id`) REFERENCES `events_relevant` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_events_relevant LIMIT 1;
event_id || app_id ||is_installed ||is_active
2 ||-8942695423876075857 || 1 || 0
*/
/* column definitions {
"event_id": "",
"app_id": "",
"is_installed": "",
"is_active": ""
}*/
CREATE TABLE `app_labels` (
`app_id` INTEGER NOT NULL,
`label_id` INTEGER NOT NULL,
FOREIGN KEY (`label_id`) REFERENCES `label_categories` (`label_id`) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (`app_id`) REFERENCES `app_all` (`app_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM app_labels LIMIT 1;
app_id ||label_id
7324884708820027918 || 251
*/
/* column definitions {
"app_id": "id of the app user",
"label_id": "id of labels represents which behavior category that each user belongs to "
}*/
CREATE TABLE `events` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME DEFAULT NULL,
`longitude` REAL DEFAULT NULL,
`latitude` REAL DEFAULT NULL,
PRIMARY KEY (`event_id`)
)
/*
1 example row:
SELECT * FROM events LIMIT 1;
event_id || device_id || timestamp ||longitude ||latitude
1 ||29182687948017175 ||2016-05-01 00:55:25.0 || 121.0 || 31.0
*/
/* column definitions {
"event_id": "unique id number referring to the event",
"device_id": "id number referring the device",
"timestamp": "the time of the event",
"longitude": "longitude ",
"latitude": "latitude"
}*/
CREATE TABLE `events_relevant` (
`event_id` INTEGER NOT NULL,
`device_id` INTEGER DEFAULT NULL,
`timestamp` DATETIME NOT NULL,
`longitude` REAL NOT NULL,
`latitude` REAL NOT NULL,
PRIMARY KEY (`event_id`),
FOREIGN KEY (`device_id`) REFERENCES `gender_age` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM events_relevant LIMIT 1;
event_id ||device_id || timestamp ||longitude ||latitude
2 || None ||-8942695423876075857 || 1.0 || 0.0
*/
/* column definitions {
"event_id": "",
"device_id": "",
"timestamp": "",
"longitude": "",
"latitude": ""
}*/
CREATE TABLE `gender_age` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`),
FOREIGN KEY (`device_id`) REFERENCES `phone_brand_device_model2` (`device_id`) ON DELETE CASCADE ON UPDATE CASCADE
)
/*
1 example row:
SELECT * FROM gender_age LIMIT 1;
device_id ||gender ||age || group
-9221086586254644858 || M || 29 ||M29-31
*/
/* column definitions {
"device_id": "unique number of devices",
"gender": "gender of the user who uses this device",
"age": "age of the user who uses this device",
"group": "group of the ages"
}*/
CREATE TABLE `gender_age_test` (
`device_id` INTEGER NOT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_test LIMIT 1;
device_id
-9223321966609553846
*/
/* column definitions {
"device_id": ""
}*/
CREATE TABLE `gender_age_train` (
`device_id` INTEGER NOT NULL,
`gender` TEXT DEFAULT NULL,
`age` INTEGER DEFAULT NULL,
`group` TEXT DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM gender_age_train LIMIT 1;
device_id ||gender ||age || group
-9223067244542181226 || M || 24 ||M23-26
*/
/* column definitions {
"device_id": "",
"gender": "",
"age": "",
"group": ""
}*/
CREATE TABLE `label_categories` (
`label_id` INTEGER NOT NULL,
`category` TEXT DEFAULT NULL,
PRIMARY KEY (`label_id`)
)
/*
1 example row:
SELECT * FROM label_categories LIMIT 1;
label_id ||category
1 || None
*/
/* column definitions {
"label_id": "unique id of label",
"category": "category of the label"
}*/
CREATE TABLE `phone_brand_device_model2` (
`device_id` INTEGER NOT NULL,
`phone_brand` TEXT NOT NULL,
`device_model` TEXT NOT NULL,
PRIMARY KEY (`device_id`,`phone_brand`,`device_model`)
)
/*
1 example row:
SELECT * FROM phone_brand_device_model2 LIMIT 1;
device_id ||phone_brand ||device_model
-9223321966609553846 || 小米 || 红米note
*/
/* column definitions {
"device_id": "the id number of the device",
"phone_brand": "phone brand",
"device_model": "device model"
}*/
CREATE TABLE `sample_submission` (
`device_id` INTEGER NOT NULL,
`F23-` REAL DEFAULT NULL,
`F24-26` REAL DEFAULT NULL,
`F27-28` REAL DEFAULT NULL,
`F29-32` REAL DEFAULT NULL,
`F33-42` REAL DEFAULT NULL,
`F43+` REAL DEFAULT NULL,
`M22-` REAL DEFAULT NULL,
`M23-26` REAL DEFAULT NULL,
`M27-28` REAL DEFAULT NULL,
`M29-31` REAL DEFAULT NULL,
`M32-38` REAL DEFAULT NULL,
`M39+` REAL DEFAULT NULL,
PRIMARY KEY (`device_id`)
)
/*
1 example row:
SELECT * FROM sample_submission LIMIT 1;
device_id || F23- ||F24-26 ||F27-28 ||F29-32 ||F33-42 || F43+ || M22- ||M23-26 ||M27-28 ||M29-31 ||M32-38 || M39+
-9223321966609553846 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833 ||0.0833
*/
/* column definitions {
"device_id": "",
"F23-": "",
"F24-26": "",
"F27-28": "",
"F29-32": "",
"F33-42": "",
"F43+": "",
"M22-": "",
"M23-26": "",
"M27-28": "",
"M29-31": "",
"M32-38": "",
"M39+": ""
}*/
|