nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.relationship_type_23`
(
  relationship_type STRING,
  relationship_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.relationship_type_23` (relationship_type, relationship_desc) VALUES ('N', 'Non-molecular target assigned'), ('D', 'Direct protein target assigned'), ('H', 'Homologous protein target assigned'), ('M', 'Molecular target other than protein assigned'), ('S', 'Subcellular target assigned');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.go_classification`
(
  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` (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.metabolism_refs_28`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_28` (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.assays_28`
(
  assay_id STRING,
  doc_id STRING,
  description STRING,
  assay_type STRING,
  assay_test_type STRING,
  assay_category STRING,
  assay_organism STRING,
  assay_tax_id STRING,
  assay_strain STRING,
  assay_tissue STRING,
  assay_cell_type STRING,
  assay_subcellular_fraction STRING,
  tid STRING,
  relationship_type STRING,
  confidence_score STRING,
  curated_by STRING,
  src_id STRING,
  src_assay_id STRING,
  chembl_id STRING,
  cell_id STRING,
  bao_format STRING,
  tissue_id STRING,
  variant_id STRING,
  aidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assays_28` (assay_id, doc_id, description, assay_type, assay_test_type, assay_category, assay_organism, assay_tax_id, assay_strain, assay_tissue, assay_cell_type, assay_subcellular_fraction, tid, relationship_type, confidence_score, curated_by, src_id, src_assay_id, chembl_id, cell_id, bao_format, tissue_id, variant_id, aidx) VALUES ('1082', '12827', 'Binding affinity towards 5-hydroxytryptamine 1A receptor in pig frontal cortex membranes using [8H]-OH-DPAT', 'B', NULL, NULL, 'Sus scrofa', '9823', NULL, 'Frontal cortex', NULL, NULL, '51', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL616405', NULL, 'BAO_0000249', '1870', NULL, 'CLD0'), ('21799', '13249', 'Compound was tested for the half life time period in monkey liver S9', 'A', 'In vitro', NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, 'S9 fraction', '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL858553', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('25766', '17142', 'In vitro metabolic stability was determined using liver S9 fraction from monkey at initial concentration of 20 uM', 'A', NULL, NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, 'Liver S9 fraction', '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL875663', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('29657', '2944', 'Compound was measured for the inhibition of bafilomycin-sensitive ATPase activity in partially purified membrane preparation from chicken osteoclast (cOC)', 'B', NULL, NULL, 'Gallus gallus', '9031', NULL, NULL, NULL, NULL, '12860', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL636743', NULL, 'BAO_0000249', NULL, NULL, 'CLD0'), ('31442', '8974', 'Inhibition of LVP stimulated adenylate cyclase activity in pig kidney medullary membrane', 'F', NULL, NULL, 'Sus scrofa', '9823', NULL, 'Feces', NULL, NULL, '17076', 'D', '9', 'Expert', '1', NULL, 'CHEMBL645314', NULL, 'BAO_0000249', '1988', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.warning_refs_29`
(
  warnref_id STRING,
  warning_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.warning_refs_29` (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.molecule_synonyms_26`
(
  molregno STRING,
  syn_type STRING,
  molsyn_id STRING,
  res_stem_id STRING,
  synonyms STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_26` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('675371', 'ATC', '1829587', NULL, 'L04AB01'), ('675778', 'ATC', '1830586', NULL, 'L01XC08'), ('3012', 'ATC', '1855418', NULL, 'Melatonin'), ('9951', 'ATC', '1855423', NULL, 'Nicotinyl methylamide'), ('13616', 'ATC', '1855431', NULL, 'Propanol');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes_26`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_26` (patent_use_code, definition) VALUES ('U-158', 'ANGINA'), ('U-228', 'ASTHMA'), ('U-105', 'EMESIS'), ('U-111', 'DIABETES'), ('U-48', 'ANALGESIA');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hrac_classification_23`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_23` (mol_hrac_id, hrac_class_id, molregno) VALUES ('136', '1', '1238673'), ('8', '3', '51985'), ('161', '4', '1475652'), ('94', '5', '1205140'), ('179', '6', '1493346');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_classification_30`
(
  assay_class_id INT64 NOT NULL OPTIONS(description="Primary key"),
  l1 STRING OPTIONS(description=" High level classification e.g., by anatomical/therapeutic area"),
  l2 STRING OPTIONS(description=" Mid-level classification e.g., by phenotype/biological process"),
  l3 STRING OPTIONS(description="Fine-grained classification e.g., by assay type"),
  class_type STRING OPTIONS(description="The type of assay being classified e.g., in vivo efficacy"),
  source STRING OPTIONS(description="Source from which the assay class was obtained")
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_30` (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.action_type_25`
(
  action_type STRING,
  description STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_25` (action_type, description, parent_type) VALUES ('BINDING AGENT', 'Binds to a substance such as a cell surface antigen, targetting a drug to that location, but not necessarily affecting the functioning of the substance itself', 'OTHER'), ('CHELATING AGENT', 'Binds to a metal, reducing its availability for further interactions', 'OTHER'), ('CROSS-LINKING AGENT', 'Induces cross-linking of proteins or nucleic acids', 'OTHER'), ('DISRUPTING AGENT', 'Destabilises or disrupts a protein complex, macromolecular assembly, cell membrane etc', 'OTHER'), ('HYDROLYTIC ENZYME', 'Hydrolyses a substrate through enzymatic reaction', 'OTHER');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_mechanism`
(
  mec_id STRING,
  record_id STRING,
  molregno STRING,
  mechanism_of_action STRING,
  tid STRING,
  site_id STRING,
  action_type STRING,
  direct_interaction STRING,
  molecular_mechanism STRING,
  disease_efficacy STRING,
  mechanism_comment STRING,
  selectivity_comment STRING,
  binding_site_comment STRING,
  variant_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_mechanism` (mec_id, record_id, molregno, mechanism_of_action, tid, site_id, action_type, direct_interaction, molecular_mechanism, disease_efficacy, mechanism_comment, selectivity_comment, binding_site_comment, variant_id) VALUES ('9603', '3460820', '442342', NULL, '22228', NULL, NULL, '1', '1', '1', NULL, NULL, NULL, NULL), ('9604', '3841461', '2739482', NULL, '22228', NULL, NULL, '1', '1', '1', NULL, NULL, NULL, NULL), ('9240', '1696669', '1381160', 'Barrier', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL, NULL), ('2105', '3130881', '1336998', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL, NULL), ('2110', '1641031', '420212', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.product_patents_23`
(
  prod_pat_id STRING,
  product_id STRING,
  patent_no STRING,
  patent_expire_date STRING,
  drug_substance_flag STRING,
  drug_product_flag STRING,
  patent_use_code STRING,
  delist_flag STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.product_patents_23` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag) VALUES ('9474', 'PRODUCT_021462_002', '5344932', '2016-07-24', '1', '1', NULL, '0'), ('6732', 'PRODUCT_021462_001', '5344932', '2016-07-24', '1', '1', NULL, '0'), ('2295', 'PRODUCT_022088_001', '5362718', '2019-02-15', '1', '1', NULL, '1'), ('2708', 'PRODUCT_022206_002', '5387603', '2018-12-01', '1', '1', NULL, '0'), ('4148', 'PRODUCT_022206_001', '5387603', '2018-12-01', '1', '1', NULL, '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_30`
(
  product_id STRING NOT NULL OPTIONS(description="Unique identifier of the product. FK to PRODUCTS"),
  ingredient STRING OPTIONS(description=" Name of the approved ingredient within the product"),
  strength STRING OPTIONS(description=" Dose strength"),
  record_id INT64 NOT NULL OPTIONS(description="Foreign key to the compound_records table."),
  molregno INT64 OPTIONS(description="Unique identifier of the ingredient FK to MOLECULE_DICTIONARY"),
  formulation_id INT64 NOT NULL OPTIONS(description="Primary key.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_30` (product_id, ingredient, strength, record_id, molregno, formulation_id) VALUES ('PRODUCT_017406_001', 'CYANOCOBALAMIN', NULL, 1344800, 1383003, 148332), ('PRODUCT_016089_001', 'CYANOCOBALAMIN', NULL, 1344800, 1383003, 148336), ('PRODUCT_016090_001', 'CYANOCOBALAMIN', NULL, 1344800, 1383003, 148340), ('PRODUCT_016089_001', 'INTRINSIC FACTOR', NULL, 1343088, 675455, 148338), ('PRODUCT_016090_001', 'INTRINSIC FACTOR', NULL, 1343088, 675455, 148342);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_synonyms_24`
(
  compsyn_id STRING,
  component_id STRING,
  component_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_24` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('941957', '47', 'Gamma-aminobutyric acid receptor subunit beta-2', 'UNIPROT'), ('941958', '47', 'GABA(A) receptor subunit beta-2', 'UNIPROT'), ('941961', '48', 'Gamma-aminobutyric acid receptor subunit alpha-1', 'UNIPROT'), ('941962', '48', 'GABA(A) receptor subunit alpha-1', 'UNIPROT'), ('941965', '49', 'Gamma-aminobutyric acid receptor subunit beta-3', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_33`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_33` (comp_go_id, component_id, go_id) VALUES ('2230608', '86', 'GO:0000003'), ('2237099', '498', 'GO:0000003'), ('2252292', '1466', 'GO:0000003'), ('2264903', '2345', 'GO:0000003'), ('2283798', '3697', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go` (comp_go_id, component_id, go_id) VALUES ('2230608', '86', 'GO:0000003'), ('2237099', '498', 'GO:0000003'), ('2252292', '1466', 'GO:0000003'), ('2264903', '2345', 'GO:0000003'), ('2283798', '3697', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy_27`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_27` (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.target_type_27`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_27` (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.activity_properties_28`
(
  ap_id STRING,
  activity_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,
  result_flag STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_properties_28` (ap_id, activity_id, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments, result_flag) VALUES ('5324944', '17805440', 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, NULL, '0'), ('5324948', '17805440', 'N', '=', '16', NULL, NULL, 'N', '=', '16', NULL, NULL, NULL, '0'), ('5324957', '17805437', 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, NULL, '0'), ('5324961', '17805437', 'N', '=', '16', NULL, NULL, 'N', '=', '16', NULL, NULL, NULL, '0'), ('5324965', '17805437', 'STUDY_DOSING_DURATION', '=', '1', 'day', NULL, 'STUDY_DOSING_DURATION', '=', '1', 'day', NULL, NULL, '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification_26`
(
  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_26` (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.predicted_binding_domains`
(
  predbind_id STRING,
  activity_id STRING,
  site_id STRING,
  prediction_method STRING,
  confidence STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.predicted_binding_domains` (predbind_id, activity_id, site_id, prediction_method, confidence) VALUES ('7797342', '22413971', NULL, 'Multi domain', 'medium'), ('7899397', '22433085', NULL, 'Multi domain', 'medium'), ('7899403', '22469714', NULL, 'Multi domain', 'medium'), ('7955143', '22900108', NULL, 'Multi domain', 'medium'), ('8002137', '22414005', NULL, 'Multi domain', 'medium');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_27`
(
  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_27` (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 ('523060', 'SODIUM HEPARIN', 'CHEMBL526514', '3', '0', '0', 'MOL', NULL, 'Oligosaccharide', NULL, '0', '0', '0', '0', '1', '0', '-1', '0', '0', NULL, '-1', '-parin', '0', '-parin', 'heparin derivatives and low molecular weight (or depolymerized) heparins', NULL, '0', NULL, NULL, NULL, NULL), ('194', 'SULBACTAM', 'CHEMBL403', '4', '1', '0', 'MOL', '9321', 'Small molecule', '1986', '0', '1', '0', '0', '1', '0', '1', '0', '0', '1980', '1', '-bactam', '0', '-bactam', 'beta-lactamase inhibitors', 'Inhibitor (beta-lactamase); Synergist (penicillin/cephalosporin),Synergist (penicillin/cephalosporin); Inhibitor (beta-lactamase)', '0', NULL, NULL, NULL, NULL), ('207', 'TAZOBACTAM', 'CHEMBL404', '4', '1', '0', 'MOL', '9421', 'Small molecule', '1993', '0', '1', '0', '0', '1', '0', '1', '0', '0', '1989', '1', '-bactam', '0', '-bactam', 'beta-lactamase inhibitors', 'Inhibitor (beta-lactamase)', '0', NULL, NULL, NULL, NULL), ('556', 'ISOSORBIDE DINITRATE', 'CHEMBL6622', '4', '1', '1', 'MOL', '6061', 'Small molecule', '1986', '1', '0', '1', '0', '1', '0', '1', '1', '0', '1966', '1', NULL, '0', NULL, NULL, 'Vasodilator (coronary)', '0', NULL, NULL, NULL, NULL), ('601', 'LYSERGIDE', 'CHEMBL263881', '2', '0', '0', 'MOL', '6605', 'Small molecule', NULL, '0', '0', '0', '0', '1', '0', '1', '0', '0', NULL, '-1', '-erg-', '0', '-erg-', 'ergot alkaloid derivatives', NULL, '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_28`
(
  variant_id STRING,
  mutation STRING,
  accession STRING,
  version STRING,
  isoform STRING,
  sequence STRING,
  organism STRING,
  tax_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.variant_sequences_28` (variant_id, mutation, accession, version, isoform, sequence, organism, tax_id) VALUES ('-1', 'UNDEFINED MUTATION', NULL, NULL, NULL, NULL, NULL, NULL), ('1626', 'E84A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLAYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1627', 'E84D', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLDYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1628', 'E84Q', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLQYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1629', 'H125A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFAFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.chembl_id_lookup_23`
(
  chembl_id STRING,
  entity_type STRING,
  entity_id STRING,
  status STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.chembl_id_lookup_23` (chembl_id, entity_type, entity_id, status) VALUES ('CHEMBL3308697', 'CELL', '1198', 'OBS'), ('CHEMBL3308683', 'CELL', '1181', 'OBS'), ('CHEMBL1118407', 'ASSAY', '635941', 'OBS'), ('CHEMBL1118425', 'ASSAY', '635959', 'OBS'), ('CHEMBL1118964', 'ASSAY', '635819', 'OBS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_class_synonyms_28`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_28` (protclasssyn_id, protein_class_id, protein_class_synonym, syn_type) VALUES ('33670', '1', 'Biocatalysts', 'UMLS'), ('33671', '1', 'Enzymes', 'UMLS'), ('33680', '10', 'Dehydrogenases', 'UMLS'), ('33681', '10', 'Reductases', 'UMLS'), ('33682', '10', 'Reductase', 'UMLS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification_30`
(
  who_name STRING OPTIONS(description="WHO/INN name for the compound"),
  level1 STRING OPTIONS(description="First level of classification"),
  level2 STRING OPTIONS(description="Second level of classification"),
  level3 STRING OPTIONS(description="Third level of classification"),
  level4 STRING OPTIONS(description="Fourth level of classification"),
  level5 STRING NOT NULL OPTIONS(description="Complete ATC code for compound"),
  level1_description STRING OPTIONS(description="Description of first level of classification"),
  level2_description STRING OPTIONS(description="Description of second level of classification"),
  level3_description STRING OPTIONS(description="Description of third level of classification"),
  level4_description STRING OPTIONS(description="Description of fourth level of classification")
);

INSERT INTO `bigquery-public-data.ebi_chembl.atc_classification_30` (who_name, level1, level2, level3, level4, level5, level1_description, level2_description, level3_description, level4_description) VALUES ('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'), ('sodium fluoride, combinations', 'A', 'A01', 'A01A', 'A01AA', 'A01AA51', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_29`
(
  component_id STRING,
  component_type STRING,
  description STRING,
  sequence STRING,
  sequence_md5sum STRING,
  tax_id STRING,
  organism STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bio_component_sequences_29` (component_id, component_type, description, sequence, sequence_md5sum, tax_id, organism) VALUES ('6287', 'PROTEIN', 'Tigatuzumab heavy chain', 'EVQLVESGGGLVQPGGSLRLSCAASGFTFSSYVMSWVRQAPGKGLEWVATISSGGSYTYYPDSVKGRFTISRDNAKNTLYLQMNSLRAEDTAVYYCARRGDSMITTDYWGQGTLVTVSSASTKGPSVFPLAPSSKSTSGGTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSSLGTQTYICNVNHKPSNTKVDKRVEPKSCDKTHTCPPCPAPELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK', '72c2e91eedf4fbbfbb8f9581fe8f50cc', NULL, NULL), ('6288', 'PROTEIN', 'Tigatuzumab light chain', 'DIQMTQSPSSLSASVGDRVTITCKASQDVGTAVAWYQQKPGKAPKLLIYWASTRHTGVPSRFSGSGSGTDFTLTISSLQPEDFATYYCQQYSSYRTFGQGTKVEIKRTVAAPSVFIFPPSDEQLKSGTASVVCLLNNFYPREAKVQWKVDNALQSGNSQESVTEQDSKDSTYSLSSTLTLSKADYEKHKVYACEVTHQGLSSPVTKSFNRGEC', '19b1591070d7f2a101ea4dbea681e46e', NULL, NULL), ('6293', 'PROTEIN', 'Enavatuzumab heavy chain', 'EVQLVESGGGLVQPGGSLRLSCAASGFTFSSYWMSWVRQAPGKGLEWVAEIRLKSDNYATHYAESVKGRFTISRDDSKNSLYLQMNSLRAEDTAVYYCTGYYADAMDYWGQGTLVTVSSASTKGPSVFPLAPSSKSTSGGTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSSLGTQTYICNVNHKPSNTKVDKKVEPKSCDKTHTCPPCPAPELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK', 'a54c47ebb642b0597fb99b462ee644d0', NULL, NULL), ('6294', 'PROTEIN', 'Enavatuzumab light chain', 'DIQMTQSPSSLSASVGDRVTITCRASQSVSTSSYSYMHWYQQKPGKAPKLLIKYASNLESGVPSRFSGSGSGTDFTLTISSLQPEDFATYYCQHSWEIPYTFGGGTKVEIKRTVAAPSVFIFPPSDEQLKSGTASVVCLLNNFYPREAKVQWKVDNALQSGNSQESVTEQDSKDSTYSLSSTLTLSKADYEKHKVYACEVTHQGLSSPVTKSFNRGEC', 'a758f6dd8e919ec28c3717fe0a301c5d', NULL, NULL), ('6297', 'PROTEIN', 'Alacizumab pegol f(ab'')2 fragment', 'EVQLVESGGGLVQPGGSLRLSCAASGFTFSSYGMSWVRQAPGKGLEWVATITSGGSYTYYVDSVKGRFTISRDNAKNTLYLQMNSLRAEDTAVYYCVRIGEDALDYWGQGTLVTVSSASTKGPSVFPLAPSSKSTSGGTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSSLGTQTYICNVNHKPSNTKVDKKVEPKSCDKTHTCAA', '492649be3baaaa97804b4f60a77a2118', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_class_29`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_29` (component_id, protein_class_id, comp_class_id) VALUES ('210', '1', '213'), ('222', '1', '225'), ('282', '1', '285'), ('313', '1', '316'), ('337', '1', '340');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.frac_classification_23`
(
  frac_class_id STRING,
  active_ingredient STRING,
  level1 STRING,
  level1_description STRING,
  level2 STRING,
  level2_description STRING,
  level3 STRING,
  level3_description STRING,
  level4 STRING,
  level4_description STRING,
  level5 STRING,
  frac_code STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.frac_classification_23` (frac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, level4_description, level5, frac_code) VALUES ('522', 'FURALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A3', '4'), ('520', 'BENALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A1', '4'), ('524', 'METALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A5', '4'), ('521', 'BENALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A2', '4'), ('523', 'METALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A4', '4');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_25`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_25` (comp_go_id, component_id, go_id) VALUES ('367652', '2345', 'GO:0000003'), ('383681', '4115', 'GO:0000003'), ('384915', '3697', 'GO:0000003'), ('385095', '3569', 'GO:0000003'), ('387153', '4337', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_28`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_28` (site_id, site_name, tid) VALUES ('2630', 'Beta tubulin', '106199'), ('2631', 'Beta tubulin', '106200'), ('2632', 'Beta tubulin', '106201'), ('2620', '16S ribosomal RNA', '105830'), ('2621', '23S ribosomal RNA', '105830');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutic_components_28`
(
  biocomp_id STRING,
  molregno STRING,
  component_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_28` (biocomp_id, molregno, component_id) VALUES ('2', '1121951', '6287'), ('3', '1121951', '6288'), ('4', '1121907', '6289'), ('5', '1121907', '6290'), ('6', '1121879', '6291');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.usan_stems_23`
(
  usan_stem_id STRING,
  stem STRING,
  subgroup STRING,
  annotation STRING,
  stem_class STRING,
  major_class STRING,
  who_extra STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.usan_stems_23` (usan_stem_id, stem, subgroup, annotation, stem_class, major_class, who_extra) VALUES ('204', '-nidap', '-', 'nonsteroidal anti-inflammatory agents (tenidap type)', 'Suffix', NULL, '0'), ('240', '-pramine', '-', 'antidepressants (imipramine type)', 'Suffix', NULL, '0'), ('262', '-sulam', '-', 'antineoplastics, apoptosis inducing sulfonamide', 'Suffix', NULL, '0'), ('412', '-multin', '-', 'mucosal tolerance inductors', 'Suffix', NULL, '0'), ('429', 'peg-', '-', 'PEGylated compounds', 'Prefix', NULL, '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_28`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING,
  cidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_28` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('863976', '583637', '49165', 'GNF-Pf-411', 'GNF-Pf-411', '3', NULL, 'CLD0'), ('864010', '583669', '49165', 'GNF-Pf-445', 'GNF-Pf-445', '3', NULL, 'CLD0'), ('864059', '583716', '49165', 'GNF-Pf-494', 'GNF-Pf-494', '3', NULL, 'CLD0'), ('864064', '539332', '49165', 'GNF-Pf-499', 'GNF-Pf-499', '3', NULL, 'CLD0'), ('864166', '583820', '49165', 'GNF-Pf-601', 'GNF-Pf-601', '3', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_25`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_25` (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_25`
(
  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_25` (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.warning_refs_33`
(
  warnref_id STRING,
  warning_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.warning_refs_33` (warnref_id, warning_id, ref_type, ref_id, ref_url) VALUES ('6385', '2870', 'DOI', '10.1021/cen-v054n016.p007', 'https://pubs.acs.org/doi/pdf/10.1021/cen-v054n016.p007'), ('6469', '2959', 'DOI', '10.1016/S0140-6736(05)64289-4', 'https://doi.org/10.1016/S0140-6736(05)64289-4'), ('6471', '2961', 'DOI', '10.1136/dtb.1994.32215', 'http://dx.doi.org/10.1136/dtb.1994.32215'), ('6566', '3063', 'DOI', '10.1016/S0140-6736(05)64289-4', 'https://doi.org/10.1016/S0140-6736(05)64289-4'), ('6567', '3064', 'DOI', '10.1016/S0140-6736(05)64289-4', 'https://doi.org/10.1016/S0140-6736(05)64289-4');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.organism_class_26`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_26` (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.drug_indication`
(
  drugind_id STRING,
  record_id STRING,
  molregno STRING,
  max_phase_for_ind STRING,
  mesh_id STRING,
  mesh_heading STRING,
  efo_id STRING,
  efo_term STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_indication` (drugind_id, record_id, molregno, max_phase_for_ind, mesh_id, mesh_heading, efo_id, efo_term) VALUES ('140003', '1696807', '1381298', '0', 'D003248', 'Constipation', 'HP:0002019', 'Constipation'), ('42624', '1696199', '1380517', '0', 'D014648', 'Varicose Veins', 'HP:0002619', 'Varicose veins'), ('39690', '1696199', '1380517', '0', 'D013927', 'Thrombosis', 'HP:0004419', 'Recurrent thrombophlebitis'), ('43064', '1696918', '1381409', '0', 'D008173', 'Lung Diseases, Obstructive', 'HP:0006536', 'Airway obstruction'), ('121202', '1705482', '15423', '0', 'D001424', 'Bacterial Infections', 'EFO:0000771', 'bacterial disease');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assays_24`
(
  assay_id STRING,
  doc_id STRING,
  description STRING,
  assay_type STRING,
  assay_test_type STRING,
  assay_category STRING,
  assay_organism STRING,
  assay_tax_id STRING,
  assay_strain STRING,
  assay_tissue STRING,
  assay_cell_type STRING,
  assay_subcellular_fraction STRING,
  tid STRING,
  relationship_type STRING,
  confidence_score STRING,
  curated_by STRING,
  src_id STRING,
  src_assay_id STRING,
  chembl_id STRING,
  cell_id STRING,
  bao_format STRING,
  tissue_id STRING,
  variant_id STRING,
  aidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assays_24` (assay_id, doc_id, description, assay_type, assay_test_type, assay_category, assay_organism, assay_tax_id, assay_strain, assay_tissue, assay_cell_type, assay_subcellular_fraction, tid, relationship_type, confidence_score, curated_by, src_id, src_assay_id, chembl_id, cell_id, bao_format, tissue_id, variant_id, aidx) VALUES ('21799', '13249', 'Compound was tested for the half life time period in monkey liver S9', 'A', 'In vitro', NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, NULL, '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL858553', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('25766', '17142', 'In vitro metabolic stability was determined using liver S9 fraction from monkey at initial concentration of 20 uM', 'A', NULL, NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, NULL, '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL875663', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('42806', '17616', 'Inhibition of cyclin-dependent kinase 1/Cyclin B at 10 uM', 'B', NULL, NULL, 'Marthasterias glacialis', '7609', NULL, NULL, NULL, NULL, '104709', 'H', '6', 'Autocuration', '1', NULL, 'CHEMBL656371', NULL, 'BAO_0000223', NULL, NULL, 'CLD0'), ('46340', '6747', 'Inhibition of Casein kinase 2', 'B', NULL, NULL, 'Aplidium', '201956', NULL, NULL, NULL, NULL, '104775', 'H', '4', 'Autocuration', '1', NULL, 'CHEMBL657748', NULL, 'BAO_0000223', NULL, NULL, 'CLD0'), ('50336', '6747', 'Inhibition of cyclin-dependent kinase 1-cyclin B', 'B', NULL, NULL, 'Aplidium', '201956', NULL, NULL, NULL, NULL, '104709', 'H', '6', 'Autocuration', '1', NULL, 'CHEMBL660805', NULL, 'BAO_0000223', NULL, NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics_27`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_27` (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.organism_class_30`
(
  oc_id INT64 NOT NULL OPTIONS(description="Internal primary key"),
  tax_id INT64 OPTIONS(description="NCBI taxonomy ID for the organism (corresponding to tax_ids in assay2target and target_dictionary tables)"),
  l1 STRING OPTIONS(description=" Highest level classification (e.g., Eukaryotes, Bacteria, Fungi etc)"),
  l2 STRING OPTIONS(description=" Second level classification"),
  l3 STRING OPTIONS(description=" Third level classification")
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_30` (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.component_domains_23`
(
  compd_id STRING,
  domain_id STRING,
  component_id STRING,
  start_position STRING,
  end_position STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_23` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('4394', '2627', '1992', '1', '213'), ('16422', '2627', '8257', '1', '126'), ('12224', '2627', '3957', '1', '54'), ('12015', '2627', '5650', '1', '229'), ('5346', '2627', '2423', '1', '276');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_23`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_23` (cpd_str_alert_id, molregno, alert_id) VALUES ('34', '26', '1059'), ('220', '94', '157'), ('297', '104', '835'), ('660', '210', '1209'), ('678', '215', '213');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_24`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_24` (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_33`
(
  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_33` (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.compound_properties_27`
(
  molregno STRING,
  mw_freebase STRING,
  alogp STRING,
  hba STRING,
  hbd STRING,
  psa STRING,
  rtb STRING,
  ro3_pass STRING,
  num_ro5_violations STRING,
  cx_most_apka STRING,
  cx_most_bpka STRING,
  cx_logp STRING,
  cx_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_27` (molregno, mw_freebase, alogp, hba, hbd, psa, rtb, ro3_pass, num_ro5_violations, cx_most_apka, cx_most_bpka, cx_logp, cx_logd, molecular_species, full_mwt, aromatic_rings, heavy_atoms, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('15009', '826.96', '-4.03', '14', '14', '364.43', '12', 'N', '3', '10.61', '10.69', '-6.83', '-12.78', 'BASE', '826.96', '1', '59', '0.09', '826.4562', 'C37H58N14O8', '22', '18', '3'), ('21646', '745.79', '0.93', '9', '9', '284.86', '18', 'N', '2', '3.54', '10.83', '-0.84', '-3.68', 'ZWITTERION', '745.79', '3', '54', '0.05', '745.3071', 'C37H43N7O10', '17', '11', '3'), ('23605', '761.87', '-0.6', '10', '10', '309.44', '21', 'N', '2', '3.54', '7.73', '-2.73', '-5.73', 'ACID', '761.87', '1', '54', '0.08', '761.396', 'C36H55N7O11', '18', '12', '3'), ('45539', '748.29', '2.14', '8', '9', '262.96', '18', 'N', '2', '6.89', '11.58', '2.79', '2.68', 'BASE', '748.29', '3', '53', '0.04', '747.3372', 'C36H46ClN11O5', '16', '11', '3'), ('49410', '701.74', '-2.28', '12', '7', '300.14', '20', 'N', '3', '0.49', '8.28', '-5.74', '-11.82', 'ACID', '701.74', '2', '47', '0.08', '701.1785', 'C26H35N7O12S2', '19', '9', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_33`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_33` (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.products_23`
(
  dosage_form STRING,
  route STRING,
  trade_name STRING,
  approval_date STRING,
  ad_type STRING,
  oral STRING,
  topical STRING,
  parenteral STRING,
  black_box_warning STRING,
  applicant_full_name STRING,
  innovator_company STRING,
  product_id STRING,
  nda_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.products_23` (dosage_form, route, trade_name, approval_date, ad_type, oral, topical, parenteral, black_box_warning, applicant_full_name, innovator_company, product_id, nda_type) VALUES ('SOLUTION', 'DENTAL', 'PERIDEX', '1986-08-13', 'RX', '0', '1', '0', '0', '3M CO', '1', 'PRODUCT_019028_001', 'N'), ('SPONGE', 'TOPICAL', 'SCRUBTEAM SURGICAL SPONGEBRUSH', '1982-01-01', 'DISCN', '0', '1', '0', NULL, '3M CO', '0', 'PRODUCT_017413_001', 'N'), ('SOLUTION', 'INHALATION, ORAL', 'MUCOSIL-10', '1986-10-14', 'DISCN', '1', '1', '0', NULL, 'DEY LP', '0', 'PRODUCT_070575_001', 'A'), ('SOLUTION', 'INHALATION, ORAL', 'MUCOSIL-20', '1986-10-14', 'DISCN', '1', '1', '0', NULL, 'DEY LP', '0', 'PRODUCT_070576_001', 'A'), ('SOLUTION', 'INHALATION', 'METAPROTERENOL SULFATE', '1988-08-05', 'DISCN', '0', '1', '0', NULL, 'DEY LP', '0', 'PRODUCT_071806_001', 'A');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup_27`
(
  data_validity_comment STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_27` (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.action_type_29`
(
  action_type STRING,
  description STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_29` (action_type, description, parent_type) VALUES ('BINDING AGENT', 'Binds to a substance such as a cell surface antigen, targetting a drug to that location, but not necessarily affecting the functioning of the substance itself', 'OTHER'), ('CHELATING AGENT', 'Binds to a metal, reducing its availability for further interactions', 'OTHER'), ('CROSS-LINKING AGENT', 'Induces cross-linking of proteins or nucleic acids', 'OTHER'), ('DISRUPTING AGENT', 'Destabilises or disrupts a protein complex, macromolecular assembly, cell membrane etc', 'OTHER'), ('HYDROLYTIC ENZYME', 'Hydrolyses a substrate through enzymatic reaction', 'OTHER');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.irac_classification_23`
(
  irac_class_id STRING,
  active_ingredient STRING,
  level1 STRING,
  level1_description STRING,
  level2 STRING,
  level2_description STRING,
  level3 STRING,
  level3_description STRING,
  level4 STRING,
  irac_code STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.irac_classification_23` (irac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, irac_code) VALUES ('108', 'XMC', 'A', 'NERVE ACTION', 'A1', 'ACETYLCHOLINESTERASE (ACHE) INHIBITORS', 'A11A', 'CARBAMATES', 'A11A25', '1A'), ('99', 'METHOMYL', 'A', 'NERVE ACTION', 'A1', 'ACETYLCHOLINESTERASE (ACHE) INHIBITORS', 'A11A', 'CARBAMATES', 'A11A16', '1A'), ('98', 'METHIOCARB', 'A', 'NERVE ACTION', 'A1', 'ACETYLCHOLINESTERASE (ACHE) INHIBITORS', 'A11A', 'CARBAMATES', 'A11A15', '1A'), ('97', 'ISOPROCARB', 'A', 'NERVE ACTION', 'A1', 'ACETYLCHOLINESTERASE (ACHE) INHIBITORS', 'A11A', 'CARBAMATES', 'A11A14', '1A'), ('84', 'ALANYCARB', 'A', 'NERVE ACTION', 'A1', 'ACETYLCHOLINESTERASE (ACHE) INHIBITORS', 'A11A', 'CARBAMATES', 'A11A1', '1A');