nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.confidence_score_lookup`
(
  confidence_score STRING,
  description STRING,
  target_mapping STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.confidence_score_lookup` (confidence_score, description, target_mapping) VALUES ('0', 'Default value - Target unknown or has yet to be assigned', 'Unassigned'), ('1', 'Target assigned is non-molecular', 'Non-molecular'), ('2', 'Target assigned is subcellular fraction', 'Subcellular fraction'), ('3', 'Target assigned is molecular non-protein target', 'Molecular (non-protein)'), ('4', 'Multiple homologous protein targets may be assigned', 'Multiple homologous proteins');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_synonyms_30`
(
  compsyn_id INT64 NOT NULL OPTIONS(description="Primary key."),
  component_id INT64 NOT NULL OPTIONS(description="Foreign key to the component_sequences table. The component to which this synonym applies."),
  component_synonym STRING OPTIONS(description=" The synonym for the component."),
  syn_type STRING OPTIONS(description="The type or origin of the synonym (e.g., GENE_SYMBOL).")
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_30` (compsyn_id, component_id, component_synonym, syn_type) VALUES (1470665, 56, 'NMD-R1', 'UNIPROT'), (1471159, 17, 'PSK-J3', 'UNIPROT'), (1470608, 47, 'Gamma-aminobutyric acid receptor subunit beta-2', 'UNIPROT'), (1470609, 47, 'GABA(A) receptor subunit beta-2', 'UNIPROT'), (1470612, 48, 'Gamma-aminobutyric acid receptor subunit alpha-1', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.hrac_classification_23`
(
  hrac_class_id STRING,
  active_ingredient STRING,
  level1 STRING,
  level1_description STRING,
  level2 STRING,
  level2_description STRING,
  level3 STRING,
  hrac_code STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.hrac_classification_23` (hrac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, hrac_code) VALUES ('4', 'FENOXAPROP-P-ETHYL', 'A', 'INHIBITION OF ACETYL COA CARBOXYLASE (ACCASE)', 'A1', 'ARYLOXYPHENOXY-PROPIONATE ''FOPS''', 'A14', 'A'), ('6', 'HALOXYFOP-R-METHYL', 'A', 'INHIBITION OF ACETYL COA CARBOXYLASE (ACCASE)', 'A1', 'ARYLOXYPHENOXY-PROPIONATE ''FOPS''', 'A16', 'A'), ('2', 'CYHALOFOP-BUTYL', 'A', 'INHIBITION OF ACETYL COA CARBOXYLASE (ACCASE)', 'A1', 'ARYLOXYPHENOXY-PROPIONATE ''FOPS''', 'A12', 'A'), ('8', 'QUIZALOFOP-P-ETHYL', 'A', 'INHIBITION OF ACETYL COA CARBOXYLASE (ACCASE)', 'A1', 'ARYLOXYPHENOXY-PROPIONATE ''FOPS''', 'A18', 'A'), ('5', 'FLUAZIFOP-P-BUTYL', 'A', 'INHIBITION OF ACETYL COA CARBOXYLASE (ACCASE)', 'A1', 'ARYLOXYPHENOXY-PROPIONATE ''FOPS''', 'A15', 'A');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_33`
(
  molregno STRING,
  pref_name STRING,
  chembl_id STRING,
  max_phase STRING,
  therapeutic_flag STRING,
  dosed_ingredient STRING,
  structure_type STRING,
  chebi_par_id STRING,
  molecule_type STRING,
  first_approval STRING,
  oral STRING,
  parenteral STRING,
  topical STRING,
  black_box_warning STRING,
  first_in_class STRING,
  chirality STRING,
  prodrug STRING,
  inorganic_flag STRING,
  usan_year STRING,
  availability_type STRING,
  usan_stem STRING,
  polymer_flag STRING,
  usan_substem STRING,
  usan_stem_definition STRING,
  indication_class STRING,
  withdrawn_flag STRING,
  chemical_probe STRING,
  natural_product STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_dictionary_33` (molregno, pref_name, chembl_id, max_phase, therapeutic_flag, dosed_ingredient, structure_type, chebi_par_id, molecule_type, first_approval, oral, parenteral, topical, black_box_warning, first_in_class, chirality, prodrug, inorganic_flag, usan_year, availability_type, usan_stem, polymer_flag, usan_substem, usan_stem_definition, indication_class, withdrawn_flag, chemical_probe, natural_product) VALUES ('675587', 'DACLIZUMAB', 'CHEMBL1201605', '4', '1', '1', 'SEQ', NULL, 'Antibody', '1997', '0', '1', '0', '0', '1', '1', '0', '0', '1997', '1', '-mab', '0', '-mab', 'monoclonal antibodies', 'Monoclonal Antibody (immunosuppressant)', '1', '0', '0'), ('675779', 'ECULIZUMAB', 'CHEMBL1201828', '4', '1', '1', 'SEQ', NULL, 'Antibody', '2007', '0', '1', '0', '1', '1', '1', '0', '0', '2002', '1', '-mab', '0', '-mab', 'monoclonal antibodies', NULL, '0', '0', '0'), ('675786', 'USTEKINUMAB', 'CHEMBL1201835', '4', '1', '1', 'SEQ', NULL, 'Antibody', '2009', '0', '1', '0', '0', '1', '1', '0', '0', '2007', '1', '-mab', '0', '-mab', 'monoclonal antibodies', NULL, '0', '0', '0'), ('1121861', 'BELATACEPT', 'CHEMBL1742990', '4', '1', '1', 'SEQ', NULL, 'Protein', '2011', '0', '1', '0', '1', '1', '1', '0', '0', '2005', '1', '-cept', '0', '-cept (-tacept)', 'receptor molecules or membrane ligands, natural, modified or modified: T-cell receptors', NULL, '0', '0', '0'), ('1121862', 'BENRALIZUMAB', 'CHEMBL1742991', '4', '1', '1', 'SEQ', NULL, 'Antibody', '2017', '0', '1', '0', '0', '1', '1', '0', '0', '2009', '1', '-mab', '0', '-mab', 'monoclonal antibodies', NULL, '0', '0', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_25`
(
  molregno STRING,
  pref_name STRING,
  chembl_id STRING,
  max_phase STRING,
  therapeutic_flag STRING,
  dosed_ingredient STRING,
  structure_type STRING,
  chebi_par_id STRING,
  molecule_type STRING,
  first_approval STRING,
  oral STRING,
  parenteral STRING,
  topical STRING,
  black_box_warning STRING,
  natural_product STRING,
  first_in_class STRING,
  chirality STRING,
  prodrug STRING,
  inorganic_flag STRING,
  usan_year STRING,
  availability_type STRING,
  usan_stem STRING,
  polymer_flag STRING,
  usan_substem STRING,
  usan_stem_definition STRING,
  indication_class STRING,
  withdrawn_flag STRING,
  withdrawn_year STRING,
  withdrawn_country STRING,
  withdrawn_reason STRING,
  withdrawn_class STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_dictionary_25` (molregno, pref_name, chembl_id, max_phase, therapeutic_flag, dosed_ingredient, structure_type, chebi_par_id, molecule_type, first_approval, oral, parenteral, topical, black_box_warning, natural_product, first_in_class, chirality, prodrug, inorganic_flag, usan_year, availability_type, usan_stem, polymer_flag, usan_substem, usan_stem_definition, indication_class, withdrawn_flag, withdrawn_year, withdrawn_country, withdrawn_reason, withdrawn_class) VALUES ('23779', 'EVERNIMICIN', 'CHEMBL263367', '0', '0', '1', 'MOL', NULL, 'Unknown', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', '1999', '-1', '-micin', '0', '-micin', 'antibiotics (Micromonospora strains)', NULL, '0', NULL, NULL, NULL, NULL), ('456123', 'MIPOMERSEN SODIUM', 'CHEMBL502097', '4', '1', '1', 'MOL', NULL, 'Oligonucleotide', '2013', '0', '1', '0', '1', '0', '0', '0', '0', '0', '2007', '1', '-rsen', '0', '-rsen', 'antisense oligonucleotides', NULL, '0', NULL, NULL, NULL, NULL), ('464846', 'TANNIC ACID', 'CHEMBL506247', '4', '0', '1', 'MOL', '81066', 'Unknown', NULL, '0', '1', '0', '0', '0', '0', '1', '0', '0', NULL, '0', NULL, '0', NULL, NULL, 'Astringent', '0', NULL, NULL, NULL, NULL), ('626883', 'RISTOCETIN', 'CHEMBL1095986', '0', '0', '1', 'MOL', NULL, 'Unknown', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', NULL, '-1', NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL), ('674458', 'IODIXANOL', 'CHEMBL1200507', '4', '0', '1', 'MOL', '31705', 'Unknown', '1996', '0', '1', '0', '0', '0', '0', '0', '0', '0', '1990', '1', 'io-', '0', 'io-', 'iodine-containing contrast media', 'Diagnostic Aid (radiopaque medium)', '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.cell_dictionary_23`
(
  cell_id STRING,
  cell_name STRING,
  cell_description STRING,
  cell_source_tissue STRING,
  cell_source_organism STRING,
  cell_source_tax_id STRING,
  clo_id STRING,
  efo_id STRING,
  cellosaurus_id STRING,
  cl_lincs_id STRING,
  chembl_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.cell_dictionary_23` (cell_id, cell_name, cell_description, cell_source_tissue, cell_source_organism, cell_source_tax_id, clo_id, efo_id, cellosaurus_id, cl_lincs_id, chembl_id) VALUES ('1072', 'FHC', 'FHC cell line', NULL, NULL, NULL, 'CLO_0003236', NULL, 'CVCL_3688', NULL, 'CHEMBL3308603'), ('826', 'KG-1', 'KG-1', NULL, NULL, NULL, 'CLO_0007094', 'EFO_0002218', 'CVCL_0374', NULL, 'CHEMBL3307794'), ('898', 'KU812 cell line', 'KU812 cell line', NULL, NULL, NULL, 'CLO_0007125', 'EFO_0002222', 'CVCL_0379', NULL, 'CHEMBL3308504'), ('821', 'NCI-H596', 'NCI-H596', NULL, NULL, NULL, 'CLO_0008098', NULL, 'CVCL_1571', NULL, 'CHEMBL3307791'), ('899', 'KYSE-150 cell line', 'KYSE-150 cell line', NULL, NULL, NULL, 'CLO_0007129', NULL, 'CVCL_1348', NULL, 'CHEMBL3307840');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification_24`
(
  who_name STRING,
  level1 STRING,
  level2 STRING,
  level3 STRING,
  level4 STRING,
  level5 STRING,
  level1_description STRING,
  level2_description STRING,
  level3_description STRING,
  level4_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.atc_classification_24` (who_name, level1, level2, level3, level4, level5, level1_description, level2_description, level3_description, level4_description) VALUES ('sodium fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA01', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('sodium monofluorophosphate', 'A', 'A01', 'A01A', 'A01AA', 'A01AA02', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('olaflur', 'A', 'A01', 'A01A', 'A01AA', 'A01AA03', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('stannous fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA04', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('combinations', 'A', 'A01', 'A01A', 'A01AA', 'A01AA30', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_25`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_25` (target_type, target_desc, parent_type) VALUES ('MOLECULAR', 'Target has been identified as a defined molecular entity (e.g., protein or nucleic acid)', NULL), ('NON-MOLECULAR', 'Target has not been defined at a molecular level, only the non-molecular entity which is affected (e.g., organism, cell line etc)', NULL), ('UNDEFINED', 'No target has been defined', NULL), ('CHIMERIC PROTEIN', 'Target is a fusion of two different proteins, either a synthetic construct or naturally occurring fusion protein', 'PROTEIN'), ('PROTEIN COMPLEX', 'Target is a defined protein complex, consisting of multiple subunits', 'PROTEIN');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy_25`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_25` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs_28`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.mechanism_refs_28` (mecref_id, mec_id, ref_type, ref_id, ref_url) VALUES ('6365', '3900', 'DOI', '10.1038/nrd2397', 'http://www.nature.com/nrd/journal/v6/n10/full/nrd2397.html'), ('2681', '1394', 'DOI', '10.1021/ml1000257', 'http://pubs.acs.org/doi/abs/10.1021/ml1000257'), ('11037', '6702', 'DOI', '10.1007/BF01997391', 'https://link.springer.com/article/10.1007/BF01997391'), ('12117', '6283', 'DOI', '10.1007/BF03021345', 'https://link.springer.com/article/10.1007/BF03021345'), ('8391', '5076', 'DOI', '10.1155/2008/827096', 'http://www.hindawi.com/journals/ppar/2008/827096/');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_synonyms_26`
(
  compsyn_id STRING,
  component_id STRING,
  component_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_26` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('1162183', '18447', '60S acidic ribosomal protein P2', 'UNIPROT'), ('1162184', '18447', 'Large ribosomal subunit protein P2', 'UNIPROT'), ('1162185', '18447', 'Renal carcinoma antigen NY-REN-44', 'UNIPROT'), ('1162189', '18448', 'Diphosphoinositol polyphosphate phosphohydrolase 3-beta', 'UNIPROT'), ('1162190', '18448', 'Diadenosine 5'',5''''''-P1,P6-hexaphosphate hydrolase 3-beta', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs_29`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.mechanism_refs_29` (mecref_id, mec_id, ref_type, ref_id, ref_url) VALUES ('14359', '8478', 'BNF', 'https://bnf.nice.org.uk/drug/simeticone.html', 'https://bnf.nice.org.uk/drug/simeticone.html'), ('15068', '8036', 'BNF', 'https://bnf.nice.org.uk/drug/temocillin.html', 'https://bnf.nice.org.uk/drug/temocillin.html'), ('14855', '8429', 'BNF', 'https://bnf.nice.org.uk/drug/lenograstim.html', 'https://bnf.nice.org.uk/drug/lenograstim.html'), ('13349', '8039', 'BNF', 'https://bnf.nice.org.uk/drug/ceftobiprole.html', 'https://bnf.nice.org.uk/drug/ceftobiprole.html'), ('14621', '8206', 'BNF', 'https://bnf.nice.org.uk/drug/macrogol-3350.html', 'https://bnf.nice.org.uk/drug/macrogol-3350.html');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_synonyms_27`
(
  compsyn_id STRING,
  component_id STRING,
  component_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_27` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('1162183', '18447', '60S acidic ribosomal protein P2', 'UNIPROT'), ('1162184', '18447', 'Large ribosomal subunit protein P2', 'UNIPROT'), ('1162185', '18447', 'Renal carcinoma antigen NY-REN-44', 'UNIPROT'), ('1162189', '18448', 'Diphosphoinositol polyphosphate phosphohydrolase 3-beta', 'UNIPROT'), ('1162190', '18448', 'Diadenosine 5'',5''''''-P1,P6-hexaphosphate hydrolase 3-beta', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_24`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_24` (target_type, target_desc, parent_type) VALUES ('MOLECULAR', 'Target has been identified as a defined molecular entity (e.g., protein or nucleic acid)', NULL), ('NON-MOLECULAR', 'Target has not been defined at a molecular level, only the non-molecular entity which is affected (e.g., organism, cell line etc)', NULL), ('UNDEFINED', 'No target has been defined', NULL), ('CHIMERIC PROTEIN', 'Target is a fusion of two different proteins, either a synthetic construct or naturally occurring fusion protein', 'PROTEIN'), ('PROTEIN COMPLEX', 'Target is a defined protein complex, consisting of multiple subunits', 'PROTEIN');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy_24`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_24` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_30`
(
  comp_go_id INT64 NOT NULL OPTIONS(description="Primary key"),
  component_id INT64 NOT NULL OPTIONS(description="Foreign key to COMPONENT_SEQUENCES table. The protein component this GO term applies to"),
  go_id STRING NOT NULL OPTIONS(description="Foreign key to the GO_CLASSIFICATION table. The GO term that this protein is mapped to")
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_30` (comp_go_id, component_id, go_id) VALUES (1812346, 1466, 'GO:0000003'), (1825428, 2345, 'GO:0000003'), (1845101, 3697, 'GO:0000003'), (1851277, 4115, 'GO:0000003'), (1854407, 4337, 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification_25`
(
  who_name STRING,
  level1 STRING,
  level2 STRING,
  level3 STRING,
  level4 STRING,
  level5 STRING,
  level1_description STRING,
  level2_description STRING,
  level3_description STRING,
  level4_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.atc_classification_25` (who_name, level1, level2, level3, level4, level5, level1_description, level2_description, level3_description, level4_description) VALUES ('sodium fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA01', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('sodium monofluorophosphate', 'A', 'A01', 'A01A', 'A01AA', 'A01AA02', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('olaflur', 'A', 'A01', 'A01A', 'A01AA', 'A01AA03', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('stannous fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA04', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('combinations', 'A', 'A01', 'A01A', 'A01AA', 'A01AA30', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.sqlite_stat1_23`
(
  tbl STRING,
  idx STRING,
  stat STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.sqlite_stat1_23` (tbl, idx, stat) VALUES ('docs', 'docs_24ac1835', '67722 213'), ('docs', 'docs_410da6b7', '67722 779'), ('docs', 'sqlite_autoindex_docs_1', '67722 2'), ('docs', 'sqlite_autoindex_docs_2', '67722 1'), ('docs', 'docs_cfde7537', '67722 1575');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_24`
(
  molregno STRING,
  pref_name STRING,
  chembl_id STRING,
  max_phase STRING,
  therapeutic_flag STRING,
  dosed_ingredient STRING,
  structure_type STRING,
  chebi_par_id STRING,
  molecule_type STRING,
  first_approval STRING,
  oral STRING,
  parenteral STRING,
  topical STRING,
  black_box_warning STRING,
  natural_product STRING,
  first_in_class STRING,
  chirality STRING,
  prodrug STRING,
  inorganic_flag STRING,
  usan_year STRING,
  availability_type STRING,
  usan_stem STRING,
  polymer_flag STRING,
  usan_substem STRING,
  usan_stem_definition STRING,
  indication_class STRING,
  withdrawn_flag STRING,
  withdrawn_year STRING,
  withdrawn_country STRING,
  withdrawn_reason STRING,
  withdrawn_class STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_dictionary_24` (molregno, pref_name, chembl_id, max_phase, therapeutic_flag, dosed_ingredient, structure_type, chebi_par_id, molecule_type, first_approval, oral, parenteral, topical, black_box_warning, natural_product, first_in_class, chirality, prodrug, inorganic_flag, usan_year, availability_type, usan_stem, polymer_flag, usan_substem, usan_stem_definition, indication_class, withdrawn_flag, withdrawn_year, withdrawn_country, withdrawn_reason, withdrawn_class) VALUES ('675438', 'VERATRUM VIRIDE ROOT', 'CHEMBL1201531', '4', '1', '1', 'NONE', NULL, 'Small molecule', '1982', '1', '0', '0', '0', '1', '0', '1', '0', '0', NULL, '0', NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL), ('675460', 'CRYPTENAMINE ACETATES', 'CHEMBL1201444', '4', '1', '1', 'NONE', NULL, 'Small molecule', '1982', '0', '1', '0', '0', '1', '0', '1', '0', '0', NULL, '0', NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL), ('675463', 'ALSEROXYLON', 'CHEMBL1201454', '4', '1', '1', 'NONE', NULL, 'Small molecule', '1982', '1', '0', '0', '0', '1', '0', '1', '0', '0', NULL, '0', NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL), ('675500', 'GRAMICIDIN', 'CHEMBL1201469', '4', '1', '1', 'NONE', NULL, 'Small molecule', '1968', '0', '0', '1', '0', '1', '0', '1', '0', '0', NULL, '1', '-cidin', '0', '-cidin', 'natural antibiotics (undefined group)', 'Antibacterial', '0', NULL, NULL, NULL, NULL), ('675511', 'SOYBEAN OIL', 'CHEMBL1201485', '4', '0', '1', 'NONE', NULL, 'Small molecule', NULL, '0', '1', '0', '0', '1', '0', '1', '0', '0', NULL, '1', NULL, '0', NULL, NULL, 'Pharmaceutic Necessity', '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification_33`
(
  who_name STRING,
  level1 STRING,
  level2 STRING,
  level3 STRING,
  level4 STRING,
  level5 STRING,
  level1_description STRING,
  level2_description STRING,
  level3_description STRING,
  level4_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.atc_classification_33` (who_name, level1, level2, level3, level4, level5, level1_description, level2_description, level3_description, level4_description) VALUES ('sodium fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA01', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('sodium monofluorophosphate', 'A', 'A01', 'A01A', 'A01AA', 'A01AA02', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('olaflur', 'A', 'A01', 'A01A', 'A01AA', 'A01AA03', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('stannous fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA04', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('combinations', 'A', 'A01', 'A01A', 'A01AA', 'A01AA30', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_classification`
(
  assay_class_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  class_type STRING,
  source STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification` (assay_class_id, l1, l2, l3, class_type, source) VALUES ('9', 'ALIMENTARY TRACT AND METABOLISM', 'Experimental Obesity', 'Diet Induced Obesity', 'In vivo efficacy', 'Hock_2016'), ('25', 'ALIMENTARY TRACT AND METABOLISM', 'Gastric Function', 'Indomethacin Induced Ulcers in Rats', 'In vivo efficacy', 'Hock_2016'), ('81', 'ALIMENTARY TRACT AND METABOLISM', 'Test on Salivary Glands', 'Measurement of Salivation', 'In vivo efficacy', 'Hock_2016'), ('88', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Leukemia Oncology Models', 'L1210 Experimental Leukemia', 'In vivo efficacy', 'Hock_2016'), ('96', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Methods for Testing Immunological Factors', 'Adjuvant Arthritis in Rats', 'In vivo efficacy', 'Hock_2016');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alerts_29`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alerts_29` (alert_id, alert_set_id, alert_name, smarts) VALUES ('1', '1', 'R1 Reactive alkyl halides', '[Br,Cl,I][CX4;CH,CH2]'), ('2', '1', 'R2 Acid halides', '[S,C](=[O,S])[F,Br,Cl,I]'), ('3', '1', 'R3 Carbazides', 'O=CN=[N+]=[N-]'), ('4', '1', 'R4 Sulphate esters', 'COS(=O)O[C,c]'), ('5', '1', 'R5 Sulphonates', 'COS(=O)(=O)[C,c]');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_26`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_26` (comp_go_id, component_id, go_id) VALUES ('575021', '1466', 'GO:0000003'), ('592359', '2345', 'GO:0000003'), ('609125', '4115', 'GO:0000003'), ('610455', '3697', 'GO:0000003'), ('610608', '3569', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_26`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_26` (bao_id, label) VALUES ('BAO_0000006', 'percent cytotoxicity'), ('BAO_0000007', 'nucleosome format'), ('BAO_0000008', 'bioassay type'), ('BAO_0000009', 'ADMET'), ('BAO_0000010', 'functional');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_26`
(
  tid STRING,
  target_type STRING,
  pref_name STRING,
  tax_id STRING,
  organism STRING,
  chembl_id STRING,
  species_group_flag STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_dictionary_26` (tid, target_type, pref_name, tax_id, organism, chembl_id, species_group_flag) VALUES ('22224', 'ADMET', 'ADMET', NULL, NULL, 'CHEMBL612558', '0'), ('109711', 'LIPID', 'Cholesterol ester', NULL, NULL, 'CHEMBL3559388', '0'), ('109712', 'LIPID', 'Triglyceride', NULL, NULL, 'CHEMBL3559389', '0'), ('109803', 'LIPID', 'Ganglioside GD3', '9606', 'Homo sapiens', 'CHEMBL3580507', '0'), ('116872', 'LIPID', 'Ganglioside GM3 (NeuGcGM3)', '9606', 'Homo sapiens', 'CHEMBL3831292', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_29`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_29` (product_id, ingredient, strength, record_id, molregno, formulation_id) VALUES ('PRODUCT_016089_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148338'), ('PRODUCT_016090_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148342'), ('PRODUCT_016090_001', 'COBALT CHLORIDE CO-60', NULL, '1344144', '675045', '148339'), ('PRODUCT_017406_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148333'), ('PRODUCT_016089_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148337');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_classification_29`
(
  assay_class_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  class_type STRING,
  source STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_29` (assay_class_id, l1, l2, l3, class_type, source) VALUES ('9', 'ALIMENTARY TRACT AND METABOLISM', 'Experimental Obesity', 'Diet Induced Obesity', 'In vivo efficacy', 'Hock_2016'), ('25', 'ALIMENTARY TRACT AND METABOLISM', 'Gastric Function', 'Indomethacin Induced Ulcers in Rats', 'In vivo efficacy', 'Hock_2016'), ('81', 'ALIMENTARY TRACT AND METABOLISM', 'Test on Salivary Glands', 'Measurement of Salivation', 'In vivo efficacy', 'Hock_2016'), ('88', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Leukemia Oncology Models', 'L1210 Experimental Leukemia', 'In vivo efficacy', 'Hock_2016'), ('96', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Methods for Testing Immunological Factors', 'Adjuvant Arthritis in Rats', 'In vivo efficacy', 'Hock_2016');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.chembl_release`
(
  chembl_release_id STRING,
  chembl_release STRING,
  creation_date STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.chembl_release` (chembl_release_id, chembl_release, creation_date) VALUES ('1', 'CHEMBL_1', '2009-09-03 00:00:00.000000'), ('2', 'CHEMBL_2', '2009-11-30 00:00:00.000000'), ('3', 'CHEMBL_3', '2010-04-16 00:00:00.000000'), ('4', 'CHEMBL_4', '2010-05-18 00:00:00.000000'), ('5', 'CHEMBL_5', '2010-06-24 00:00:00.000000');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.warning_refs_30`
(
  warnref_id INT64 NOT NULL OPTIONS(description="Primary key for the warning reference"),
  warning_id INT64 OPTIONS(description="Foreign key to the drug_warning table"),
  ref_type STRING OPTIONS(description="Type/source of reference"),
  ref_id STRING OPTIONS(description="Identifier for the reference in the source"),
  ref_url STRING OPTIONS(description="Full URL linking to the reference")
);

INSERT INTO `bigquery-public-data.ebi_chembl.warning_refs_30` (warnref_id, warning_id, ref_type, ref_id, ref_url) VALUES (4224, 2052, 'DOI', '10.1177/009286150103500134', 'https://doi.org/10.1177/009286150103500134'), (4226, 2053, 'DOI', '10.1177/009286150103500134', 'https://doi.org/10.1177/009286150103500134'), (4242, 2064, 'DOI', '10.1177/009286150103500134', 'https://doi.org/10.1177/009286150103500134'), (4243, 2065, 'DOI', '10.1177/009286150103500134', 'https://doi.org/10.1177/009286150103500134'), (4252, 2071, 'DOI', '10.1177/009286150103500134', 'https://doi.org/10.1177/009286150103500134');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics` (molregno, description, helm_notation) VALUES ('3389', 'ENKEPHALIN', 'PEPTIDE1{Y.G.G.F.L}$$$$'), ('10633', '[Val5] - ANGIOTENSIN II', 'PEPTIDE1{D.R.V.Y.V.H.P.F}$$$$'), ('12246', 'MAGAININ 2', 'PEPTIDE1{G.I.G.K.F.L.H.S.A.K.K.F.G.K.A.F.V.G.E.I.M.N.S}$$$$'), ('15695', 'DYNORPHIN', 'PEPTIDE1{Y.G.G.F.L.R.R.[lalloI]}$$$$'), ('16264', 'NEUROPEPTIDE-Y', 'PEPTIDE1{Y.P.S.K.P.D.N.P.G.E.D.A.P.A.E.D.L.A.R.Y.Y.S.A.L.R.H.Y.I.N.L.I.T.R.Q.R.Y.[am]}$$$$');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.mechanism_refs` (mecref_id, mec_id, ref_type, ref_id, ref_url) VALUES ('15815', '9092', 'BNF', 'https://bnf.nice.org.uk/drug/enoximone.html', 'https://bnf.nice.org.uk/drug/enoximone.html'), ('14359', '8478', 'BNF', 'https://bnf.nice.org.uk/drug/simeticone.html', 'https://bnf.nice.org.uk/drug/simeticone.html'), ('15068', '8036', 'BNF', 'https://bnf.nice.org.uk/drug/temocillin.html', 'https://bnf.nice.org.uk/drug/temocillin.html'), ('14855', '8429', 'BNF', 'https://bnf.nice.org.uk/drug/lenograstim.html', 'https://bnf.nice.org.uk/drug/lenograstim.html'), ('15664', '8942', 'BNF', 'https://bnf.nice.org.uk/drug/quinagolide.html', 'https://bnf.nice.org.uk/drug/quinagolide.html');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.parameter_type_23`
(
  parameter_type STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.parameter_type_23` (parameter_type, description) VALUES ('INTER_CPD_DOS_DURATION', NULL), ('REAGENT_READOUT', NULL), ('STUDY_DOSING_DURATION_UNIT', NULL), ('SAMPLING_TIME1_UNIT', NULL), ('DOSAGE_FORM', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.organism_class_25`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_25` (oc_id, tax_id, l1, l2, l3) VALUES ('281', '2210', 'Archaea', NULL, NULL), ('282', '2261', 'Archaea', NULL, NULL), ('283', '2287', 'Archaea', NULL, NULL), ('284', '187420', 'Archaea', NULL, NULL), ('1218', '32644', 'Unclassified', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.go_classification_28`
(
  go_id STRING,
  parent_go_id STRING,
  pref_name STRING,
  class_level STRING,
  aspect STRING,
  path STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.go_classification_28` (go_id, parent_go_id, pref_name, class_level, aspect, path) VALUES ('GO:0003674', NULL, 'molecular_function', '0', 'F', 'molecular_function'), ('GO:0005575', NULL, 'cellular_component', '0', 'C', 'cellular_component'), ('GO:0008150', NULL, 'biological_process', '0', 'P', 'biological_process'), ('GO:0000166', 'GO:0003674', 'nucleotide binding', '1', 'F', 'molecular_function  nucleotide binding'), ('GO:0000988', 'GO:0003674', 'protein binding transcription factor activity', '1', 'F', 'molecular_function  protein binding transcription factor activity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.version_23`
(
  name STRING,
  creation_date STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.version_23` (name, creation_date, comments) VALUES ('ChEMBL_23', '2017-05-01', 'ChEMBL Release 23');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.organism_class_33`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_33` (oc_id, tax_id, l1, l2, l3) VALUES ('281', '2210', 'Archaea', NULL, NULL), ('282', '2261', 'Archaea', NULL, NULL), ('283', '2287', 'Archaea', NULL, NULL), ('284', '187420', 'Archaea', NULL, NULL), ('1218', '32644', 'Unclassified', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics_24`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_24` (molregno, description, helm_notation) VALUES ('3389', 'ENKEPHALIN', 'PEPTIDE1{Y.G.G.F.L}$$$$'), ('10633', '[Val5] - ANGIOTENSIN II', 'PEPTIDE1{D.R.V.Y.V.H.P.F}$$$$'), ('12246', 'MAGAININ 2', 'PEPTIDE1{G.I.G.K.F.L.H.S.A.K.K.F.G.K.A.F.V.G.E.I.M.N.S}$$$$'), ('15695', 'DYNORPHIN', 'PEPTIDE1{Y.G.G.F.L.R.R.[lalloI]}$$$$'), ('16264', 'NEUROPEPTIDE-Y', 'PEPTIDE1{Y.P.S.K.P.D.N.P.G.E.D.A.P.A.E.D.L.A.R.Y.Y.S.A.L.R.H.Y.I.N.L.I.T.R.Q.R.Y.[am]}$$$$');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_27`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_27` (metref_id, met_id, ref_type, ref_id, ref_url) VALUES ('10363', '1332', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10370', '1333', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10707', '1462', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10714', '1463', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10923', '691', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs` (metref_id, met_id, ref_type, ref_id, ref_url) VALUES ('10363', '1332', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10370', '1333', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10707', '1462', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10714', '1463', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10923', '691', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_30`
(
  tid INT64 NOT NULL OPTIONS(description="Unique ID for the target"),
  target_type STRING OPTIONS(description="Describes whether target is a protein, an organism, a tissue etc. Foreign key to TARGET_TYPE table."),
  pref_name STRING NOT NULL OPTIONS(description="Preferred target name: manually curated"),
  tax_id INT64 OPTIONS(description="NCBI taxonomy id of target"),
  organism STRING OPTIONS(description=" Source organism of molecuar target or tissue, or the target organism if compound activity is reported in an organism rather than a protein or tissue"),
  chembl_id STRING NOT NULL OPTIONS(description="ChEMBL identifier for this target (for use on web interface etc)"),
  species_group_flag INT64 NOT NULL OPTIONS(description="Flag to indicate whether the target represents a group of species, rather than an individual species (e.g., 'Bacterial DHFR'). Where set to 1, indicates that any associated target components will be a representative, rather than a comprehensive set.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_dictionary_30` (tid, target_type, pref_name, tax_id, organism, chembl_id, species_group_flag) VALUES (22224, 'ADMET', 'ADMET', NULL, NULL, 'CHEMBL612558', 0), (109711, 'LIPID', 'Cholesterol ester', NULL, NULL, 'CHEMBL3559388', 0), (109712, 'LIPID', 'Triglyceride', NULL, NULL, 'CHEMBL3559389', 0), (120037, 'LIPID', 'Lipid bilayer', NULL, NULL, 'CHEMBL4651323', 0), (109803, 'LIPID', 'Ganglioside GD3', 9606, 'Homo sapiens', 'CHEMBL3580507', 0);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies` (co_stem_id, res_stem_id, company, country, previous_company) VALUES ('541', '149', 'Vernalis', 'UK', 'Cita NeuroPharmaceuticals'), ('681', '28', 'GlaxoSmithKline', 'UK', 'Allen & Hanburys'), ('683', '3', 'AstraZeneca', 'UK', 'Astra'), ('687', '106', 'GlaxoSmithKline', 'UK', 'Borroughs Wellcome'), ('688', '77', 'Vernalis', 'UK', 'British Biotech');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_properties_24`
(
  molregno STRING,
  mw_freebase STRING,
  alogp STRING,
  hba STRING,
  hbd STRING,
  psa STRING,
  rtb STRING,
  ro3_pass STRING,
  num_ro5_violations STRING,
  acd_most_apka STRING,
  acd_most_bpka STRING,
  acd_logp STRING,
  acd_logd STRING,
  molecular_species STRING,
  full_mwt STRING,
  aromatic_rings STRING,
  heavy_atoms STRING,
  qed_weighted STRING,
  mw_monoisotopic STRING,
  full_molformula STRING,
  hba_lipinski STRING,
  hbd_lipinski STRING,
  num_lipinski_ro5_violations STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_properties_24` (molregno, mw_freebase, alogp, hba, hbd, psa, rtb, ro3_pass, num_ro5_violations, acd_most_apka, acd_most_bpka, acd_logp, acd_logd, molecular_species, full_mwt, aromatic_rings, heavy_atoms, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('2135', '484.5', '-6.37', '15', '11', '254.63', '7', 'N', '2', '12.74', '9', '-3.54', '-6.33', 'BASE', '484.5', '0', '33', '0.15', '484.2381', 'C18H36N4O11', '15', '13', NULL), ('4575', '499.62', '2.26', '4', '7', '161.91', '12', 'N', '1', '13.91', '13.39', '2.78', '0.66', 'BASE', '499.62', '4', '37', '0.09', '499.2696', 'C28H33N7O2', '9', '9', NULL), ('11749', '854.82', '1.84', '9', '13', '381.79', '27', 'N', '2', '4.34', '1.39', '-5.95', '-16.69', 'ACID', '854.82', '4', '61', '0.04', '854.2858', 'C40H46N4O17', '21', '13', NULL), ('21712', '703.71', '0.75', '9', '8', '263.55', '16', 'N', '2', '3.39', NULL, '2.45', '-2.29', 'ACID', '703.71', '3', '51', '0.1', '703.249', 'C35H37N5O11', '16', '9', NULL), ('22824', '706.79', '-0.46', '9', '9', '283.42', '21', 'N', '2', '3.24', NULL, '0.97', '-3.77', 'ACID', '706.79', '1', '50', '0.08', '706.3538', 'C33H50N6O11', '17', '10', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_30`
(
  bao_id STRING NOT NULL OPTIONS(description="Bioassay Ontology identifier (BAO version 2.0)"),
  label STRING NOT NULL OPTIONS(description="Bioassay Ontology label for the term (BAO version 2.0)")
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_30` (bao_id, label) VALUES ('BAO_0000007', 'nucleosome format'), ('BAO_0000008', 'bioassay type'), ('BAO_0000009', 'ADMET'), ('BAO_0000010', 'functional'), ('BAO_0000015', 'bioassay');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.match_23`
(
  patent_no STRING,
  publication_number STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.match_23` (patent_no, publication_number) VALUES ('5223510', 'US-5223510-A'), ('5288726', 'US-5288726-A'), ('5288726*PED', 'US-5288726-A'), ('5344932', 'US-5344932-A'), ('5344932*PED', 'US-5344932-A');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup_24`
(
  data_validity_comment STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_24` (data_validity_comment, description) VALUES ('Author confirmed error', 'Error in publication - Author confirmed (personal communication)'), ('Manually validated', 'Data have been checked against the publication and are believed to be accurate'), ('Non standard unit for type', 'Units for this activity type are unusual and may be incorrect (or the standard_type may be incorrect)'), ('Outside typical range', 'Values for this activity type are unusually large/small, so may not be accurate'), ('Potential author error', 'Data have been checked against the publication and are as reported - possibly an error was made by the author');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_synonyms_29`
(
  molregno STRING,
  syn_type STRING,
  molsyn_id STRING,
  res_stem_id STRING,
  synonyms STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_29` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('97', 'FDA', '4', NULL, 'Prazosin'), ('111', 'OTHER', '6', NULL, 'Zomepirac Sodium'), ('115', 'USAN', '11', NULL, 'Nicotine'), ('194', 'FDA', '52', NULL, 'Sulbactam'), ('33055', 'USAN', '55', NULL, 'Piperacillin');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.docs`
(
  doc_id STRING,
  journal STRING,
  year STRING,
  volume STRING,
  issue STRING,
  first_page STRING,
  last_page STRING,
  pubmed_id STRING,
  doi STRING,
  chembl_id STRING,
  title STRING,
  doc_type STRING,
  authors STRING,
  abstract STRING,
  patent_id STRING,
  ridx STRING,
  src_id STRING,
  chembl_release_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.docs` (doc_id, journal, year, volume, issue, first_page, last_page, pubmed_id, doi, chembl_id, title, doc_type, authors, abstract, patent_id, ridx, src_id, chembl_release_id) VALUES ('-1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'CHEMBL1158643', 'Unpublished dataset', 'DATASET', NULL, NULL, NULL, 'CLD0', '0', '7'), ('51886', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '10.6019/CHEMBL1201861', 'CHEMBL1201861', 'Genomics of Drug Sensitity in Cancer screening data, Wellcome Trust Sanger Institute', 'DATASET', NULL, NULL, NULL, 'CLD0', '5', '9'), ('51887', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'CHEMBL1201862', 'PubChem BioAssay data set', 'DATASET', NULL, NULL, NULL, 'CLD0', '7', '9'), ('52546', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'CHEMBL1229341', 'PDB Ligands', 'DATASET', NULL, NULL, NULL, 'CLD0', '6', '9'), ('54166', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'CHEMBL1615344', 'Cerep in vitro phospholipidosis assay data', 'DATASET', NULL, 'Training data from Cerep''s phospholipidosis screen.  For more details see: http://www.cerep.fr/Cerep/Users/index.asp', NULL, 'CLD0', '1', '10');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes_29`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_29` (patent_use_code, definition) VALUES ('U-3023', 'TREATMENT OF CF IN PATIENTS 6 YEARS AND OLDER WHO HAVE A F508DEL OR G551D CFTR MUTATION AND A 2ND MUTATION SELECTED FROM R117H, A455E, 2789+5G-&gt;A, AND 3849+10KBC-&gt;T, COMPRISING CONCURRENT COADMINISTRATION OF THE COMPOSITIONS OF CLAIM 1 OF US 10058546'), ('U-3022', 'TREATMENT OF CF IN PATIENTS 12 YEARS AND OLDER WHO HAVE A F508DEL OR G551D CFTR MUTATION AND A 2ND MUTATION SELECTED FROM R117H, A455E, 2789+5G-&gt;A, &amp; 3849+10KBC-&gt;T, COMPRISING CONCURRENT COADMINISTRATION OF THE COMPOSITIONS OF CLAIM 1 OF US 10058546'), ('U-158', 'ANGINA'), ('U-228', 'ASTHMA'), ('U-105', 'EMESIS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_28`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_28` (target_type, target_desc, parent_type) VALUES ('MOLECULAR', 'Target has been identified as a defined molecular entity (e.g., protein or nucleic acid)', NULL), ('NON-MOLECULAR', 'Target has not been defined at a molecular level, only the non-molecular entity which is affected (e.g., organism, cell line etc)', NULL), ('UNDEFINED', 'No target has been defined', NULL), ('CHIMERIC PROTEIN', 'Target is a fusion of two different proteins, either a synthetic construct or naturally occurring fusion protein', 'PROTEIN'), ('PROTEIN COMPLEX', 'Target is a defined protein complex, consisting of multiple subunits', 'PROTEIN');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alerts_33`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alerts_33` (alert_id, alert_set_id, alert_name, smarts) VALUES ('1', '1', 'R1 Reactive alkyl halides', '[Br,Cl,I][CX4;CH,CH2]'), ('2', '1', 'R2 Acid halides', '[S,C](=[O,S])[F,Br,Cl,I]'), ('3', '1', 'R3 Carbazides', 'O=CN=[N+]=[N-]'), ('4', '1', 'R4 Sulphate esters', 'COS(=O)O[C,c]'), ('5', '1', 'R5 Sulphonates', 'COS(=O)(=O)[C,c]');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_23`
(
  met_id STRING,
  drug_record_id STRING,
  substrate_record_id STRING,
  metabolite_record_id STRING,
  pathway_id STRING,
  pathway_key STRING,
  enzyme_name STRING,
  enzyme_tid STRING,
  met_conversion STRING,
  organism STRING,
  tax_id STRING,
  met_comment STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_23` (met_id, drug_record_id, substrate_record_id, metabolite_record_id, pathway_id, pathway_key, enzyme_name, enzyme_tid, met_conversion, organism, tax_id, met_comment) VALUES ('123', '2468083', '2468083', '2468090', '1', 'Fig. 2, p.19', NULL, NULL, NULL, 'Homo sapiens', '9606', NULL), ('120', '2468083', '2468083', '2468093', '1', 'Fig. 2, p.19', NULL, NULL, NULL, 'Homo sapiens', '9606', NULL), ('122', '2468083', '2468083', '2468094', '1', 'Fig. 2, p.19', NULL, NULL, NULL, 'Homo sapiens', '9606', NULL), ('121', '2468083', '2468083', '2468103', '1', 'Fig. 2, p.19', NULL, NULL, NULL, 'Homo sapiens', '9606', NULL), ('124', '2468083', '2468090', '2468091', '1', 'Fig. 2, p.19', NULL, NULL, NULL, 'Homo sapiens', '9606', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_parameters`
(
  assay_param_id STRING,
  assay_id STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_type STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_text_value STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_parameters` (assay_param_id, assay_id, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments) VALUES ('3730332', '100201', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, 'mg.kg-1', NULL, NULL), ('3730377', '100334', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, 'mg.kg-1', NULL, NULL), ('3771277', '132722', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, 'mg.kg-1', NULL, NULL), ('4059045', '2137251', 'reference compound Ki', NULL, NULL, NULL, NULL, 'reference compound Ki', NULL, NULL, NULL, NULL, NULL), ('4059046', '2137251', 'Ligand Bmax', NULL, NULL, NULL, NULL, 'Ligand Bmax', NULL, NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy_28`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_28` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs_25`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.mechanism_refs_25` (mecref_id, mec_id, ref_type, ref_id, ref_url) VALUES ('6365', '3900', 'DOI', '10.1038/nrd2397', 'http://www.nature.com/nrd/journal/v6/n10/full/nrd2397.html'), ('2681', '1394', 'DOI', '10.1021/ml1000257', 'http://pubs.acs.org/doi/abs/10.1021/ml1000257'), ('11037', '6702', 'DOI', '10.1007/BF01997391', 'https://link.springer.com/article/10.1007/BF01997391'), ('12117', '6283', 'DOI', '10.1007/BF03021345', 'https://link.springer.com/article/10.1007/BF03021345'), ('8391', '5076', 'DOI', '10.1155/2008/827096', 'http://www.hindawi.com/journals/ppar/2008/827096/');