1sf commited on
Commit
a94991c
·
verified ·
1 Parent(s): 07927c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -3
README.md CHANGED
@@ -1,3 +1,80 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ This is dev data with execution results of https://bird-bench.github.io/
6
+
7
+ Sample
8
+
9
+ ```
10
+ [
11
+ {
12
+ "question_id": 250,
13
+ "db_id": "toxicology",
14
+ "question": "Of all the carcinogenic molecules, which one has the most double bonds?",
15
+ "evidence": "label = '+' mean molecules are carcinogenic; double bond refers to bond_type = ' = ';",
16
+ "SQL": "SELECT T.molecule_id FROM ( SELECT T3.molecule_id, COUNT(T1.bond_type) FROM bond AS T1 INNER JOIN molecule AS T3 ON T1.molecule_id = T3.molecule_id WHERE T3.label = '+' AND T1.bond_type = '=' GROUP BY T3.molecule_id ORDER BY COUNT(T1.bond_type) DESC LIMIT 1 ) AS T",
17
+ "difficulty": "moderate",
18
+ "execution_result": {
19
+ "status": "success",
20
+ "error_message": null,
21
+ "execution_time": 0.012759923934936523,
22
+ "result": [
23
+ {
24
+ "molecule_id": "TR430"
25
+ }
26
+ ]
27
+ }
28
+ },
29
+ {
30
+ "question_id": 251,
31
+ "db_id": "toxicology",
32
+ "question": "What is the least common element of all carcinogenic molecules?",
33
+ "evidence": "label = '+' mean molecules are carcinogenic",
34
+ "SQL": "SELECT T.element FROM ( SELECT T2.element, COUNT(DISTINCT T2.molecule_id) FROM molecule AS T1 INNER JOIN atom AS T2 ON T1.molecule_id = T2.molecule_id WHERE T1.label = '+' GROUP BY T2.element ORDER BY COUNT(DISTINCT T2.molecule_id) LIMIT 1 ) t",
35
+ "difficulty": "moderate",
36
+ "execution_result": {
37
+ "status": "success",
38
+ "error_message": null,
39
+ "execution_time": 0.006305217742919922,
40
+ "result": [
41
+ {
42
+ "element": "cu"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "question_id": 252,
49
+ "db_id": "toxicology",
50
+ "question": "What are the atoms that can bond with the atom that has the element lead?",
51
+ "evidence": "atom that has the element lead refers to atom_id where element = 'pb'",
52
+ "SQL": "SELECT T2.atom_id, T2.atom_id2 FROM atom AS T1 INNER JOIN connected AS T2 ON T1.atom_id = T2.atom_id WHERE T1.element = 'pb'",
53
+ "difficulty": "simple",
54
+ "execution_result": {
55
+ "status": "success",
56
+ "error_message": null,
57
+ "execution_time": 0.0013871192932128906,
58
+ "result": [
59
+ {
60
+ "atom_id": "TR151_14",
61
+ "atom_id2": "TR151_15"
62
+ },
63
+ {
64
+ "atom_id": "TR151_14",
65
+ "atom_id2": "TR151_16"
66
+ },
67
+ {
68
+ "atom_id": "TR151_14",
69
+ "atom_id2": "TR151_17"
70
+ },
71
+ {
72
+ "atom_id": "TR151_14",
73
+ "atom_id2": "TR151_18"
74
+ }
75
+ ]
76
+ }
77
+ },
78
+ ...
79
+ ]
80
+ ```