nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_mechanism_33`
(
  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_33` (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.curation_lookup_33`
(
  curated_by STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.curation_lookup_33` (curated_by, description) VALUES ('Autocuration', 'Curated against extractor target assignment'), ('Expert', 'Curated against ChEMBL target assignment from original publication'), ('Intermediate', 'Curated against ChEMBL target assignment from assay description');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_family_classification_30`
(
  protein_class_id INT64 NOT NULL OPTIONS(description="Primary key. Unique identifier for each classification."),
  protein_class_desc STRING NOT NULL OPTIONS(description="Concatenated description of each classification for searching purposes etc."),
  l1 STRING NOT NULL OPTIONS(description="First level classification (e.g., Enzyme, Transporter, Ion Channel)."),
  l2 STRING OPTIONS(description=" Second level classification."),
  l3 STRING OPTIONS(description=" Third level classification."),
  l4 STRING OPTIONS(description=" Fourth level classification."),
  l5 STRING OPTIONS(description=" Fifth level classification."),
  l6 STRING OPTIONS(description=" Sixth level classification."),
  l7 STRING OPTIONS(description=" Seventh level classification."),
  l8 STRING OPTIONS(description=" Eighth level classification.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_family_classification_30` (protein_class_id, protein_class_desc, l1, l2, l3, l4, l5, l6, l7, l8) VALUES (890, 'enzyme  lyase  guanylate cyclase  soluble guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Soluble guanylate cyclase', NULL, NULL, NULL, NULL), (1315, 'enzyme  lyase  guanylate cyclase  receptor guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Receptor guanylate cyclase', NULL, NULL, NULL, NULL), (841, 'epigenetic regulator  eraser  hdac  hdac class i', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class I', NULL, NULL, NULL, NULL), (842, 'epigenetic regulator  eraser  hdac  hdac class iia', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIa', NULL, NULL, NULL, NULL), (843, 'epigenetic regulator  eraser  hdac  hdac class iib', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIb', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_23`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_23` (site_id, site_name, tid) VALUES ('2631', 'Beta tubulin', '106200'), ('2632', 'Beta tubulin', '106201'), ('2630', 'Beta tubulin', '106199'), ('2620', '16S ribosomal RNA', '105830'), ('2621', '23S ribosomal RNA', '105830');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.predicted_binding_domains_26`
(
  predbind_id STRING,
  activity_id STRING,
  site_id STRING,
  prediction_method STRING,
  confidence STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.predicted_binding_domains_26` (predbind_id, activity_id, site_id, prediction_method, confidence) VALUES ('3203750', '18085289', NULL, 'Multi domain', 'medium'), ('3206676', '17980436', NULL, 'Multi domain', 'medium'), ('3217965', '12563723', NULL, 'Multi domain', 'medium'), ('3225243', '18097729', NULL, 'Multi domain', 'medium'), ('3227967', '17980389', NULL, 'Multi domain', 'medium');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies_25`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_25` (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.biotherapeutic_components_23`
(
  biocomp_id STRING,
  molregno STRING,
  component_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_23` (biocomp_id, molregno, component_id) VALUES ('16', '1381704', '6301'), ('39', '1121923', '6324'), ('64', '1121880', '6347'), ('77', '1121861', '6358'), ('78', '1121863', '6359');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.usan_stems_28`
(
  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_28` (usan_stem_id, stem, subgroup, annotation, stem_class, major_class, who_extra) VALUES ('16', '-adol-', '-', 'analgesics (mixed opiate receptor agonists/antagonists)', 'Infix', 'GPCR', '0'), ('32', '-nab-', '-', 'cannabinol derivatives', 'Infix', 'GPCR', '0'), ('49', '-kef-', '-', 'enkephalin agonists', 'Infix', 'GPCR', '0'), ('73', '-prost-', '-', 'prostaglandins', 'Infix', 'GPCR', '0'), ('86', '-barb-', '-', 'barbituric acid derivatives', 'Infix', 'ion channel', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.indication_refs_29`
(
  indref_id STRING,
  drugind_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.indication_refs_29` (indref_id, drugind_id, ref_type, ref_id, ref_url) VALUES ('356214', '50045', 'ATC', 'A01AB02', 'http://www.whocc.no/atc_ddd_index/?code=A01AB02'), ('406584', '68675', 'ATC', 'A01AB03', 'http://www.whocc.no/atc_ddd_index/?code=A01AB03'), ('353421', '42687', 'ATC', 'A01AB04', 'http://www.whocc.no/atc_ddd_index/?code=A01AB04'), ('398256', '50046', 'ATC', 'A01AB05', 'http://www.whocc.no/atc_ddd_index/?code=A01AB05'), ('405189', '67819', 'ATC', 'A01AB06', 'http://www.whocc.no/atc_ddd_index/?code=A01AB06');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_23`
(
  variant_id STRING,
  mutation STRING,
  accession STRING,
  version STRING,
  isoform STRING,
  sequence STRING,
  organism STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.variant_sequences_23` (variant_id, mutation, accession, version, isoform, sequence, organism) VALUES ('1167', 'D280G', 'A0R612', '1', NULL, 'MTGPHAAGGSNHRTARLVAIIAGLLGTLMAIATPLLPVEQTTAELNWPQNGVWQSVDAPLIGYVATDLTVTVPCQAAAGLVGPENRNRSVLLSTVPKQAPKAIDRGLLIERINNDLTVIVRNTPVVSAPLEQVLSPDCRYLTFTAHADKVTGEFVGLTQGPDDDDPGEAVRGERSGYDFRPQIVGVFTDLSGPAPEGLQLSATIDTRYSTSPTLLKLLAMIVGVAMTVIALGALHVLDCADGRRHKRFLPSRWWSMTPLDGLVSAMLVWWHFVGANTADGGYILTMARVSEHAGYMANYYRWFGTPESPFGWYYDLLALWAHVSTASVWMRFPTLLMGLACWWVISREVIPRLGAAAKHSRAAAWTAAGLFLAFWLPLNNGLRPEPIIALGILLTWCSVERGVATSRLLPVAVAIIIGALTLFSGPTGIAAVGALLVAIGPLKTIVAAHVSRFGYWALLAPIAAAGTVTIFLIFRDQTLAAELQASSFKSAVGPSLAWFDEHIRYSRLFTTSPDGSVARRFAVLTLLLALAVSIAMTLRKGRIPGTALGPSRRIIGITIISFLAMMFTPTKWTHHFGVFAGLAGCLGALAAVAVTTTAMKSRRNRTVFGAAVLFVTALSFATVNGWWYVSNFGVPWSNSFPEFKFGFTTMLLGLSVLALLVAAWFHFSGRDVSPDRPQRRWQRLLVAPLAVATWALVIFEVVSLTLGMINQYPAWSVGRSNLNALTGKTCGLANDVLVEQNANAGMLTPIGEPAGQALGAVTSLGFGPNGIPSDVSADPVMEQPGTDNFADSDSGVVTGTEVGTEGGTTAAAGINGSRARLPYGLNPATTPVLGSWRSGTQQPAVLRSAWYRLPDRDQAGPLLVVSAAGRFDQGEVEVQWATDEQAAANEPGGSITFGDVGAAPAWRNLRAPLSSIPPEATQIRLVASDDDLAPQHWIALTPPRIPELRTLQEVVGSSDPVMLDWLVGLAFPCQRPFDHRYGVVEVPKWRILPDRFGAEANSPVMDYLGGGPLGITELLLRPSSVPTYLKDDWYRDWGSLQRLTPWYPDAQPARLDLGTATRSGWWSPAPLRLS', 'Mycobacterium smegmatis'), ('1254', 'Y70T,G131S', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICATVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTWYSKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440'), ('497', 'W129F', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICAYVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTFYGKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440'), ('985', 'Y70T', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICATVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTWYGKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440'), ('195', 'Y211A', 'A5K1A2', '1', NULL, 'MNDDNKEFSGRDIYQLIKNAKDKIKIDYKFWYTQPVPKINDEFNESVNEPFISDNKVEDVRKDEYKLPPGYSWYVCDVKDEKDRSEIYTLLTDNYVEDDDNIFRFNYSAEFLLWALTSPNYLKTWHIGVKYDASNKLIGFISAIPTDICIHKRTIKMAEVNFLCVHKTLRSKRLAPVLIKEITRRINLENIWQAIYTAGVYLPKPVSDARAYHRSINVKKLIEIGFSSLNSRLTMSRAIKLYRVEDTLNIKNMRLMKKKDVEGVHKLLGSYLEQFNLYAVFTKEEIAHWFLPIENVIYTYVNEENGKIKDMISFYSLPSQILGNDKYSTLNAAYSFYNVTTTATFKQLMQDAILLAKRNNFDVFNALEVMQNKSVFEDLKFGEGDGSLKYYLYNWKCASFAPAHVGIVLL', 'Plasmodium vivax');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.confidence_score_lookup_33`
(
  confidence_score STRING,
  description STRING,
  target_mapping STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.confidence_score_lookup_33` (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.protein_class_synonyms_23`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_23` (protclasssyn_id, protein_class_id, protein_class_synonym, syn_type) VALUES ('33670', '1', 'Biocatalysts', 'UMLS'), ('33671', '1', 'Enzymes', 'UMLS'), ('38928', '2', 'Cell Adhesion Molecules', 'UMLS'), ('38929', '2', 'Molecules, Cell Adhesion', 'UMLS'), ('38927', '2', 'Adhesion Molecules, Cell', 'UMLS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.chembl_id_lookup_28`
(
  chembl_id STRING,
  entity_type STRING,
  entity_id STRING,
  status STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.chembl_id_lookup_28` (chembl_id, entity_type, entity_id, status) VALUES ('CHEMBL1075365', 'TARGET', '103195', 'OBS'), ('CHEMBL1293201', 'TARGET', '103648', 'OBS'), ('CHEMBL1293225', 'TARGET', '103658', 'OBS'), ('CHEMBL1293261', 'TARGET', '103694', 'OBS'), ('CHEMBL1293262', 'TARGET', '103695', 'OBS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_type_25`
(
  assay_type STRING,
  assay_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_type_25` (assay_type, assay_desc) VALUES ('A', 'ADME'), ('B', 'Binding'), ('F', 'Functional'), ('P', 'Physicochemical'), ('T', 'Toxicity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alert_sets_29`
(
  alert_set_id STRING,
  set_name STRING,
  priority STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alert_sets_29` (alert_set_id, set_name, priority) VALUES ('1', 'Glaxo', '8'), ('2', 'Dundee', '4'), ('3', 'BMS', '7'), ('4', 'PAINS', '6'), ('6', 'MLSMR', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_27`
(
  as_id STRING,
  rgid STRING,
  smid 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.activity_supp_27` (as_id, rgid, smid, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments) VALUES ('1031369', '24038', '1027719', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '300', 'CELLS/uL', NULL, 'NEUTSG', '=', '300', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-013'), ('1031407', '24039', '1027757', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '679', 'CELLS/uL', NULL, 'NEUTSG', '=', '679', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-014; LIVER_Affymetrix: 95321.CEL; KIDNEY_Affymetrix: 92456.CEL; HEART_Affymetrix: 97415.CEL'), ('1031445', '24040', '1027795', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '850', 'CELLS/uL', NULL, 'NEUTSG', '=', '850', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-015; KIDNEY_Affymetrix: 92533.CEL'), ('1031483', '24041', '1027833', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '320', 'CELLS/uL', NULL, 'NEUTSG', '=', '320', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-016; HEART_Affymetrix: 97391.CEL'), ('1031521', '24042', '1027871', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '657', 'CELLS/uL', NULL, 'NEUTSG', '=', '657', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-017; LIVER_Affymetrix: 96875.CEL');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.frac_classification_28`
(
  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_28` (frac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, level4_description, level5, frac_code) VALUES ('520', 'BENALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A1', '4'), ('521', 'BENALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A2', '4'), ('522', 'FURALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A3', '4'), ('523', 'METALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A4', '4'), ('524', 'METALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A5', '4');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.tissue_dictionary_26`
(
  tissue_id STRING,
  uberon_id STRING,
  pref_name STRING,
  efo_id STRING,
  chembl_id STRING,
  bto_id STRING,
  caloha_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.tissue_dictionary_26` (tissue_id, uberon_id, pref_name, efo_id, chembl_id, bto_id, caloha_id) VALUES ('7', 'UBERON:0000007', 'Pituitary gland', 'UBERON:0000007', 'CHEMBL3638173', 'BTO:0001073', 'TS-0798'), ('29', 'UBERON:0000029', 'Lymph node', 'UBERON:0000029', 'CHEMBL3638175', 'BTO:0000784', 'TS-0579'), ('160', 'UBERON:0000160', 'Intestine', 'UBERON:0000160', 'CHEMBL3638176', 'BTO:0000648', 'TS-0490'), ('178', 'UBERON:0000178', 'Blood', 'UBERON:0000178', 'CHEMBL3638178', 'BTO:0000089', 'TS-0079'), ('362', 'UBERON:0000362', 'Renal medulla', 'UBERON:0000362', 'CHEMBL3638181', 'BTO:0001167', 'TS-1157');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.confidence_score_lookup_25`
(
  confidence_score STRING,
  description STRING,
  target_mapping STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.confidence_score_lookup_25` (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.assay_type_33`
(
  assay_type STRING,
  assay_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_type_33` (assay_type, assay_desc) VALUES ('A', 'ADME'), ('B', 'Binding'), ('F', 'Functional'), ('P', 'Physicochemical'), ('T', 'Toxicity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.tissue_dictionary_30`
(
  tissue_id INT64 NOT NULL OPTIONS(description="Primary key, numeric ID for each tissue."),
  uberon_id STRING OPTIONS(description="Uberon ontology identifier for this tissue."),
  pref_name STRING NOT NULL OPTIONS(description="Name for the tissue (in most cases Uberon name)."),
  efo_id STRING OPTIONS(description="Experimental Factor Ontology identifier for the tissue."),
  chembl_id STRING NOT NULL OPTIONS(description="ChEMBL identifier for this tissue (for use on web interface etc)"),
  bto_id STRING OPTIONS(description="BRENDA Tissue Ontology identifier for the tissue."),
  caloha_id STRING OPTIONS(description=" Swiss Institute for Bioinformatics CALOHA Ontology identifier for the tissue.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.tissue_dictionary_30` (tissue_id, uberon_id, pref_name, efo_id, chembl_id, bto_id, caloha_id) VALUES (6, 'UBERON:0000006', 'Islets of langerhans', 'EFO:0000856', 'CHEMBL4296343', 'BTO:0000991', 'TS-0741'), (7, 'UBERON:0000007', 'Pituitary gland', 'EFO:0000857', 'CHEMBL3638173', 'BTO:0001073', 'TS-0798'), (23, 'UBERON:0000023', 'Wing', 'EFO:0000885', 'CHEMBL3988049', 'BTO:0001463', NULL), (29, 'UBERON:0000029', 'Lymph node', 'EFO:0000872', 'CHEMBL3638175', 'BTO:0000784', 'TS-0579'), (33, 'UBERON:0000033', 'Head', 'EFO:0000964', 'CHEMBL3987761', 'BTO:0000282', 'TS-0436');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.curation_lookup_25`
(
  curated_by STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.curation_lookup_25` (curated_by, description) VALUES ('Autocuration', 'Curated against extractor target assignment'), ('Expert', 'Curated against ChEMBL target assignment from original publication'), ('Intermediate', 'Curated against ChEMBL target assignment from assay description');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_mechanism_25`
(
  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
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_mechanism_25` (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) VALUES ('2105', '1344045', '1336998', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2110', '1641031', '420212', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2114', '1343805', '675628', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Mode of action not fully understood; it seems to inhibit some HPV enzymes, and it has some antioxidant properties', NULL, NULL), ('2117', '1343219', '675438', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Hypotensive effect not fully understood', NULL, NULL), ('2118', '1344204', '675567', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.predicted_binding_domains_30`
(
  predbind_id INT64 NOT NULL OPTIONS(description="Primary key."),
  activity_id INT64 OPTIONS(description="Foreign key to the activities table, indicating the compound/assay(+target) combination for which this prediction is made."),
  site_id INT64 OPTIONS(description="Foreign key to the binding_sites table, indicating the binding site (domain) that the compound is predicted to bind to."),
  prediction_method STRING OPTIONS(description="The method used to assign the binding domain (e.g., 'Single domain' where the protein has only 1 domain, 'Multi domain' where the protein has multiple domains, but only 1 is known to bind small molecules in other proteins)."),
  confidence STRING OPTIONS(description="The level of confidence assigned to the prediction (high where the protein has only 1 domain, medium where the compound has multiple domains, but only 1 known small molecule-binding domain).")
);

INSERT INTO `bigquery-public-data.ebi_chembl.predicted_binding_domains_30` (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.protein_family_classification_26`
(
  protein_class_id STRING,
  protein_class_desc STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  l4 STRING,
  l5 STRING,
  l6 STRING,
  l7 STRING,
  l8 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_family_classification_26` (protein_class_id, protein_class_desc, l1, l2, l3, l4, l5, l6, l7, l8) VALUES ('890', 'enzyme  lyase  guanylate cyclase  soluble guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Soluble guanylate cyclase', NULL, NULL, NULL, NULL), ('1315', 'enzyme  lyase  guanylate cyclase  receptor guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Receptor guanylate cyclase', NULL, NULL, NULL, NULL), ('841', 'epigenetic regulator  eraser  hdac  hdac class i', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class I', NULL, NULL, NULL, NULL), ('842', 'epigenetic regulator  eraser  hdac  hdac class iia', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIa', NULL, NULL, NULL, NULL), ('843', 'epigenetic regulator  eraser  hdac  hdac class iib', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIb', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_27`
(
  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_27` (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 ('390', '2468884', '2470350', '2469667', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('391', '2468884', '2469096', '2469361', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('392', '2468884', '2468884', '2469074', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('393', '2468884', '2468884', '2468885', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('394', '2468884', '2468884', '2469668', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_properties`
(
  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,
  np_likeness_score STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_properties` (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, np_likeness_score) VALUES ('39845', '1182.39', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1182.39', NULL, NULL, NULL, '1181.4886', 'C54H75N11O15S2', NULL, NULL, NULL, NULL), ('114774', '1163.43', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1163.43', NULL, NULL, NULL, '1162.5304', 'C55H78N12O12S2', NULL, NULL, NULL, NULL), ('178306', '1095.42', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1095.42', NULL, NULL, NULL, '1094.3491', 'C45H62ClF6N4O16P', NULL, NULL, NULL, NULL), ('201633', '1125.48', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1125.48', NULL, NULL, NULL, '1124.7011', 'C62H88N14O6', NULL, NULL, NULL, NULL), ('293382', '1374.72', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1374.72', NULL, NULL, NULL, '1373.7206', 'C71H99N13O13S', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies_33`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_33` (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.products_24`
(
  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_24` (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 ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GE HEALTHCARE', '0', 'PRODUCT_017256_002', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'RX', '0', '1', '0', NULL, 'LANTHEUS MEDICAL IMAGING INC', '0', 'PRODUCT_017284_001', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'RX', '0', '1', '0', NULL, 'LANTHEUS MEDICAL IMAGING INC', '0', 'PRODUCT_017284_002', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GENERAL ELECTRIC CO', '0', 'PRODUCT_017550_001', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GENERAL ELECTRIC CO', '0', 'PRODUCT_017550_003', 'N');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hrac_classification_28`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_28` (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.defined_daily_dose_33`
(
  atc_code STRING,
  ddd_units STRING,
  ddd_admr STRING,
  ddd_comment STRING,
  ddd_id STRING,
  ddd_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose_33` (atc_code, ddd_units, ddd_admr, ddd_comment, ddd_id, ddd_value) VALUES ('A02AD01', NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15', NULL), ('R03BB05', NULL, NULL, NULL, '2979', NULL), ('R03BB06', NULL, NULL, NULL, '2981', NULL), ('V03AE09', NULL, NULL, NULL, '3237', NULL), ('B06AC05', NULL, NULL, NULL, '3282', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.irac_classification_25`
(
  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_25` (irac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, irac_code) VALUES ('13', 'BENSULTAP', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A1', '14'), ('14', 'CARTAP HYDROCHLORIDE', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A2', '14'), ('15', 'THIOCYCLAM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A3', '14'), ('16', 'THIOSULTAP-SODIUM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A4', '14'), ('34', 'AMITRAZ', 'A', 'NERVE ACTION', 'A19', 'OCTOPAMINE RECEPTOR AGONISTS', 'A1919A', 'AMITRAZ', 'A1919A1', '19');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.product_patents_28`
(
  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,
  submission_date STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.product_patents_28` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag, submission_date) VALUES ('1796', 'PRODUCT_021313_001', '6100274*PED', '2020-01-07 00:00:00.000000', '0', '0', NULL, '0', NULL), ('3170', 'PRODUCT_021312_001', '6100274*PED', '2020-01-07 00:00:00.000000', '0', '0', NULL, '0', NULL), ('5277', 'PRODUCT_021165_001', '6100274*PED', '2020-01-07 00:00:00.000000', '0', '0', NULL, '0', NULL), ('5301', 'PRODUCT_021312_002', '6100274*PED', '2020-01-07 00:00:00.000000', '0', '0', NULL, '0', NULL), ('11753', 'PRODUCT_021605_001', '6100274*PED', '2020-01-07 00:00:00.000000', '0', '0', NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_stem_29`
(
  res_stem_id STRING,
  research_stem STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem_29` (res_stem_id, research_stem) VALUES ('2', '4SC'), ('3', 'A'), ('4', 'AA'), ('5', 'AB'), ('6', 'ABI');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.ligand_eff_25`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.ligand_eff_25` (activity_id, bei, sei, le, lle) VALUES ('31889', '17.52', '6.06', '0.59', '4.7'), ('31890', '24', '8.3', '0.81', '6.63'), ('31891', '21.96', '7.59', '0.74', '6.03'), ('31892', '24.49', '8.47', '0.83', '6.78'), ('31893', '24.51', '5.2', '0.56', '8.65');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_stem`
(
  res_stem_id STRING,
  research_stem STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem` (res_stem_id, research_stem) VALUES ('2', '4SC'), ('3', 'A'), ('4', 'AA'), ('5', 'AB'), ('6', 'ABI');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_warning`
(
  warning_id STRING,
  record_id STRING,
  molregno STRING,
  warning_type STRING,
  warning_class STRING,
  warning_description STRING,
  warning_country STRING,
  warning_year STRING,
  efo_term STRING,
  efo_id STRING,
  efo_id_for_warning_class STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_warning` (warning_id, record_id, molregno, warning_type, warning_class, warning_description, warning_country, warning_year, efo_term, efo_id, efo_id_for_warning_class) VALUES ('5', '1344548', '237298', 'Black Box Warning', NULL, NULL, 'United States', NULL, NULL, NULL, NULL), ('11', '1697433', '1380836', 'Black Box Warning', NULL, NULL, 'United States', NULL, NULL, NULL, NULL), ('33', '1344035', '675482', 'Black Box Warning', NULL, NULL, 'United States', NULL, NULL, NULL, NULL), ('47', '1343607', '864943', 'Black Box Warning', NULL, NULL, 'United States', NULL, NULL, NULL, NULL), ('221', '1392876', '1121863', 'Black Box Warning', NULL, NULL, 'United States', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_components_29`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_components_29` (tid, component_id, targcomp_id, homologue) VALUES ('104301', '1', '1888', '0'), ('104838', '1', '6807', '0'), ('104282', '2', '1889', '0'), ('10819', '2', '3836', '0'), ('105709', '2', '7895', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_relations_25`
(
  tid STRING,
  relationship STRING,
  related_tid STRING,
  targrel_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_25` (tid, relationship, related_tid, targrel_id) VALUES ('10193', 'SUBSET OF', '104764', '100683'), ('12071', 'SUBSET OF', '104709', '100687'), ('12071', 'SUBSET OF', '107893', '100688'), ('12071', 'SUBSET OF', '117095', '100689'), ('12071', 'SUBSET OF', '107894', '100690');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_23`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_23` (metref_id, met_id, ref_type, ref_id, ref_url) VALUES ('11338', '905', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10363', '1332', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('11340', '906', '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'), ('10370', '1333', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_25`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_25` (domain_id, domain_type, source_domain_id, domain_name, domain_description) VALUES ('2627', 'Pfam-A', 'PF00001', '7tm_1', NULL), ('2628', 'Pfam-A', 'PF00002', '7tm_2', NULL), ('2629', 'Pfam-A', 'PF00003', '7tm_3', NULL), ('2630', 'Pfam-A', 'PF00004', 'AAA', NULL), ('2631', 'Pfam-A', 'PF00005', 'ABC_tran', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_24`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_24` (cpd_str_alert_id, molregno, alert_id) VALUES ('3', '3', '1017'), ('12', '10', '138'), ('13', '10', '235'), ('14', '10', '1183'), ('18', '23', '1059');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_domains_24`
(
  compd_id STRING,
  domain_id STRING,
  component_id STRING,
  start_position STRING,
  end_position STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_24` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('37172', '2627', '1992', '1', '213'), ('38122', '2627', '2421', '1', '222'), ('38124', '2627', '2423', '1', '276'), ('38729', '2627', '2782', '1', '234'), ('39563', '2627', '2671', '1', '98');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assays_23`
(
  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
);

INSERT INTO `bigquery-public-data.ebi_chembl.assays_23` (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) VALUES ('70267', '5456', 'Inhibition of Farnesyltransferase in v-Ha-ras-transformed Rat1 cells using Radiotracer Assay (CRAFT1); ND=Not determined', 'B', NULL, NULL, 'Bos taurus', '9913', NULL, NULL, 'Rat1', NULL, '104762', 'D', '7', 'Autocuration', '1', NULL, 'CHEMBL681406', '662', 'BAO_0000219', NULL, NULL), ('70282', '14090', 'Inhibition of bovine Farnesyltransferase', 'B', NULL, NULL, 'Bos taurus', '9913', NULL, NULL, NULL, NULL, '104762', 'D', '7', 'Autocuration', '1', NULL, 'CHEMBL679601', NULL, 'BAO_0000223', NULL, NULL), ('76058', '2439', 'The compound was tested for its inhibitory activity against H+/K+ ATPase by using hog stomach membrane fractions (pH 6.4) at 4 uM', 'B', NULL, NULL, 'Sus scrofa', '9823', NULL, 'Stomach', NULL, NULL, '104800', 'D', '7', 'Intermediate', '1', NULL, 'CHEMBL687664', NULL, 'BAO_0000019', '945', NULL), ('143081', '9640', 'Inhibition of [3H]MCC binding to torpedo electroplax membranes', 'B', NULL, NULL, 'Torpedo', '7786', NULL, NULL, NULL, NULL, '104855', 'H', '6', 'Autocuration', '1', NULL, 'CHEMBL748731', NULL, 'BAO_0000019', NULL, NULL), ('211304', '15490', 'Effective concentration for enhancement of tubulin assembly rate was determined', 'F', NULL, NULL, 'Bos taurus', '9913', NULL, NULL, NULL, NULL, '104990', 'D', '7', 'Expert', '1', NULL, 'CHEMBL820430', NULL, 'BAO_0000019', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.version_27`
(
  name STRING,
  creation_date STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.version_27` (name, creation_date, comments) VALUES ('ChEMBL_27', '2020-05-18 00:00:00.000000', 'ChEMBL Release 27');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.site_components_33`
(
  sitecomp_id STRING,
  site_id STRING,
  component_id STRING,
  domain_id STRING,
  site_residues STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_33` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2691', '2616', '3269', NULL, NULL), ('2695', '2616', '4850', NULL, NULL), ('2700', '2617', '3269', NULL, NULL), ('2703', '2617', '2363', NULL, NULL), ('2705', '2617', '1075', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.sqlite_stat1`
(
  tbl STRING,
  idx STRING,
  stat STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.sqlite_stat1` (tbl, idx, stat) VALUES ('action_type', 'sqlite_autoindex_action_type_1', '32 1'), ('activities', 'idx_act_std_type', '20334684 3188'), ('activities', 'fk_act_assay_id', '20334684 13'), ('activities', 'idx_act_rel', '20334684 813388'), ('activities', 'idx_acc_relation', '20334684 2259410');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_33`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_33` (domain_id, domain_type, source_domain_id, domain_name, domain_description) VALUES ('13192', 'Pfam-A', 'PF09793', 'AD', NULL), ('12967', 'Pfam-A', 'PF03484', 'B5', NULL), ('2762', 'Pfam-A', 'PF00168', 'C2', NULL), ('10484', 'Pfam-A', 'PF01413', 'C4', NULL), ('4131', 'Pfam-A', 'PF08742', 'C8', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_relations_33`
(
  tid STRING,
  relationship STRING,
  related_tid STRING,
  targrel_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_33` (tid, relationship, related_tid, targrel_id) VALUES ('11699', 'SUBSET OF', '104812', '385604'), ('12261', 'SUBSET OF', '104822', '385605'), ('12261', 'SUBSET OF', '118329', '385606'), ('12755', 'SUBSET OF', '104684', '385607'), ('12735', 'SUBSET OF', '105018', '385608');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.warning_refs`
(
  warnref_id STRING,
  warning_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.warning_refs` (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.relationship_type_28`
(
  relationship_type STRING,
  relationship_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.relationship_type_28` (relationship_type, relationship_desc) VALUES ('D', 'Direct protein target assigned'), ('H', 'Homologous protein target assigned'), ('M', 'Molecular target other than protein assigned'), ('N', 'Non-molecular target assigned'), ('S', 'Subcellular target assigned');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.site_components_25`
(
  sitecomp_id STRING,
  site_id STRING,
  component_id STRING,
  domain_id STRING,
  site_residues STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_25` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2690', '2616', '23', NULL, NULL), ('2691', '2616', '3269', NULL, NULL), ('2693', '2616', '813', NULL, NULL), ('2694', '2616', '3417', NULL, NULL), ('2696', '2616', '2875', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.irac_classification_33`
(
  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_33` (irac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, irac_code) VALUES ('13', 'BENSULTAP', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A1', '14'), ('14', 'CARTAP HYDROCHLORIDE', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A2', '14'), ('15', 'THIOCYCLAM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A3', '14'), ('16', 'THIOSULTAP-SODIUM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A4', '14'), ('34', 'AMITRAZ', 'A', 'NERVE ACTION', 'A19', 'OCTOPAMINE RECEPTOR AGONISTS', 'A1919A', 'AMITRAZ', 'A1919A1', '19');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_25`
(
  atc_code STRING,
  ddd_units STRING,
  ddd_admr STRING,
  ddd_comment STRING,
  ddd_id STRING,
  ddd_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose_25` (atc_code, ddd_units, ddd_admr, ddd_comment, ddd_id, ddd_value) VALUES ('A02AD01', NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15', NULL), ('R03BB05', NULL, NULL, NULL, '2979', NULL), ('R03BB06', NULL, NULL, NULL, '2981', NULL), ('S01EB04', 'ml', NULL, NULL, '1742', '0.1'), ('S01EB03', 'ml', NULL, NULL, '1741', '0.2');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.ligand_eff_33`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.ligand_eff_33` (activity_id, bei, sei, le, lle) VALUES ('31889', '17.52', '6.06', '0.59', '4.7'), ('31890', '24', '8.3', '0.81', '6.63'), ('31891', '21.96', '7.59', '0.74', '6.03'), ('31892', '24.49', '8.47', '0.83', '6.78'), ('31893', '24.51', '5.2', '0.56', '8.65');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.usan_stems_24`
(
  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_24` (usan_stem_id, stem, subgroup, annotation, stem_class, major_class, who_extra) VALUES ('16', '-adol-', '-', 'analgesics (mixed opiate receptor agonists/antagonists)', 'Infix', 'GPCR', '0'), ('32', '-nab-', '-', 'cannabinol derivatives', 'Infix', 'GPCR', '0'), ('49', '-kef-', '-', 'enkephalin agonists', 'Infix', 'GPCR', '0'), ('73', '-prost-', '-', 'prostaglandins', 'Infix', 'GPCR', '0'), ('86', '-barb-', '-', 'barbituric acid derivatives', 'Infix', 'ion channel', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_irac_classification`
(
  mol_irac_id STRING,
  irac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_irac_classification` (mol_irac_id, irac_class_id, molregno) VALUES ('65', '1', '611681'), ('113', '3', '1222245'), ('74', '5', '782593'), ('84', '7', '896779'), ('80', '8', '839968');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies_29`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_29` (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');