nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_24`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_24` (product_id, ingredient, strength, record_id, molregno, formulation_id) VALUES ('PRODUCT_016110_001', 'FLUPHENAZINE ENANTHATE', '25MG/ML', '1343055', '674902', '115640'), ('PRODUCT_012259_002', 'FLUPREDNISOLONE', '1.5MG', '1343056', '674725', '125061'), ('PRODUCT_019726_001', 'GOSERELIN ACETATE', 'EQ 3.6MG BASE', '1343057', '674452', '143531'), ('PRODUCT_020578_001', 'GOSERELIN ACETATE', 'EQ 10.8MG BASE', '1343057', '674452', '143532'), ('PRODUCT_060707_002', 'NEOMYCIN SULFATE', 'EQ 800MG BASE/20ML', '1343058', '2197640', '23105');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_stds_lookup_23`
(
  std_act_id STRING,
  standard_type STRING,
  definition STRING,
  standard_units STRING,
  normal_range_min STRING,
  normal_range_max STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_stds_lookup_23` (std_act_id, standard_type, definition, standard_units, normal_range_min, normal_range_max) VALUES ('120', 'RETIRBC', 'A relative measurement (ratio or percentage) of reticulocytes to erythrocytes in a biological specimen.', '%', NULL, NULL), ('95', 'MCHC', 'A quantitative measurement of the mean amount of hemoglobin per erythrocytes in a specified volume of a biological specimen.', '%', NULL, NULL), ('110', 'NEUTLE', 'A relative measurement (ratio or percentage) of the neutrophils to leukocytes in a biological specimen.', '%', NULL, NULL), ('141', 'Radiolabel recovery', 'Recovery of radioactivity in plasma, tissue or excreta after administration of radiolabelled compound, as absolute measurement or percentage of dose', '%', NULL, NULL), ('103', 'EOSLE', 'A relative measurement (ratio or percentage) of the eosinophils to leukocytes in a biological specimen.', '%', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutic_components_26`
(
  biocomp_id STRING,
  molregno STRING,
  component_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_26` (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.tissue_dictionary`
(
  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` (tissue_id, uberon_id, pref_name, efo_id, chembl_id, bto_id, caloha_id) VALUES ('2', 'UBERON:0000002', 'Uterine cervix', 'EFO:0000979', 'CHEMBL3988026', 'BTO:0001421', 'TS-0134'), ('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');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_26`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_26` (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.predicted_binding_domains_23`
(
  predbind_id STRING,
  activity_id STRING,
  site_id STRING,
  prediction_method STRING,
  confidence STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.predicted_binding_domains_23` (predbind_id, activity_id, site_id, prediction_method, confidence) VALUES ('1548565', '2897288', '10', 'Manual', 'high'), ('1528851', '7598118', '10', 'Manual', 'high'), ('1370107', '7576617', '10', 'Manual', 'high'), ('1429622', '1779354', '10', 'Manual', 'high'), ('1548566', '2897289', '10', 'Manual', 'high');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alerts_24`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.activity_stds_lookup` (std_act_id, standard_type, definition, standard_units, normal_range_min, normal_range_max) VALUES ('81', 'HCT', 'The percentage of a whole blood specimen that is composed of red blood cells (erythrocytes).', '%', NULL, NULL), ('95', 'MCHC', 'A quantitative measurement of the mean amount of hemoglobin per erythrocytes in a specified volume of a biological specimen.', '%', NULL, NULL), ('103', 'EOSLE', 'A relative measurement (ratio or percentage) of the eosinophils to leukocytes in a biological specimen.', '%', NULL, NULL), ('104', 'LYMLE', 'A relative measurement (ratio or percentage) of the lymphocytes to leukocytes in a biological specimen.', '%', NULL, NULL), ('106', 'BASOLE', 'A relative measurement (ratio or percentage) of the basophils to leukocytes in a biological specimen.', '%', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_properties_30`
(
  ap_id INT64 NOT NULL OPTIONS(description="Unique ID for each record."),
  activity_id INT64 NOT NULL OPTIONS(description="FK to ACTIVITY_ID in ACTIVITIES table."),
  type STRING NOT NULL OPTIONS(description="The parameter or property type"),
  relation STRING OPTIONS(description="Symbol constraining the value (e.g. >, <, =)"),
  value FLOAT64 OPTIONS(description="Numberical value for the parameter or property"),
  units STRING OPTIONS(description=" Units of measurement"),
  text_value STRING OPTIONS(description="Non-numerical value of the parameter or property"),
  standard_type STRING OPTIONS(description=" Standardised form of the TYPE"),
  standard_relation STRING OPTIONS(description="Standardised form of the RELATION"),
  standard_value FLOAT64 OPTIONS(description="Standardised form of the VALUE"),
  standard_units STRING OPTIONS(description=" Standardised form of the UNITS"),
  standard_text_value STRING OPTIONS(description="Standardised form of the TEXT_VALUE"),
  comments STRING OPTIONS(description="A Comment."),
  result_flag INT64 NOT NULL OPTIONS(description="A flag to indicate, if set to 1, that this type is a dependent variable/result (e.g., slope) rather than an independent variable/parameter (0, the default).")
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_properties_30` (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 (5325076, 17805452, 'N', '=', 11.0, NULL, NULL, 'N', '=', 11.0, NULL, NULL, NULL, 0), (5328183, 17806042, 'DOSED_COMPOUND_ID', '=', 40.0, NULL, NULL, 'DOSED_COMPOUND_ID', '=', 40.0, NULL, NULL, NULL, 0), (5329353, 17806195, 'DOSED_COMPOUND_ID', '=', 50.0, NULL, NULL, 'DOSED_COMPOUND_ID', '=', 50.0, NULL, NULL, NULL, 0), (5334133, 17805740, 'N', '=', 38.0, NULL, NULL, 'N', '=', 38.0, NULL, NULL, NULL, 0), (5335533, 17805976, 'N', '=', 13.0, NULL, NULL, 'N', '=', 13.0, NULL, NULL, NULL, 0);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_26`
(
  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_26` (variant_id, mutation, accession, version, isoform, sequence, organism, tax_id) VALUES ('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), ('1630', 'H125N', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFNFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_class_synonyms_26`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_26` (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.tissue_dictionary_23`
(
  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_23` (tissue_id, uberon_id, pref_name, efo_id, chembl_id, bto_id, caloha_id) VALUES ('2082', 'UBERON:0002082', 'Cardiac ventricle', NULL, 'CHEMBL3833143', NULL, NULL), ('10000009', NULL, 'Bile/Urine', NULL, 'CHEMBL3832983', NULL, NULL), ('16530', 'UBERON:0016530', 'Parietal cortex', NULL, 'CHEMBL3638270', NULL, NULL), ('2353', 'UBERON:0002353', 'Atrioventricular bundle', NULL, 'CHEMBL3638248', NULL, NULL), ('2435', 'UBERON:0002435', 'Striatum', NULL, 'CHEMBL3638255', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_27`
(
  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_27` (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_27`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_27` (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.atc_classification_28`
(
  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_28` (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.protein_class_synonyms_30`
(
  protclasssyn_id INT64 NOT NULL OPTIONS(description="Primary key."),
  protein_class_id INT64 NOT NULL OPTIONS(description="Foreign key to the PROTEIN_CLASSIFICATION table. The protein_class to which this synonym applies."),
  protein_class_synonym STRING OPTIONS(description="The synonym for the protein class."),
  syn_type STRING OPTIONS(description="The type or origin of the synonym (e.g., ChEMBL, Concept Wiki, UMLS).")
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_30` (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.chembl_release_33`
(
  chembl_release_id STRING,
  chembl_release STRING,
  creation_date STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.chembl_release_33` (chembl_release_id, chembl_release, creation_date) VALUES ('1', 'CHEMBL_1', '2009-09-03 00:00:00.000000'), ('2', 'CHEMBL_2', '2009-11-30 00:00:00.000000'), ('3', 'CHEMBL_3', '2010-04-16 00:00:00.000000'), ('4', 'CHEMBL_4', '2010-05-18 00:00:00.000000'), ('5', 'CHEMBL_5', '2010-06-24 00:00:00.000000');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_30`
(
  variant_id INT64 NOT NULL OPTIONS(description="Primary key, numeric ID for each sequence variant."),
  mutation STRING OPTIONS(description="Details of variant(s) used, with residue positions adjusted to match provided sequence."),
  accession STRING OPTIONS(description="UniProt accesion for the representative sequence used as the base sequence (without variation)."),
  version INT64 OPTIONS(description="Version of the UniProt sequence used as the base sequence."),
  isoform INT64 OPTIONS(description="Details of the UniProt isoform used as the base sequence where relevant."),
  sequence STRING OPTIONS(description="Variant sequence formed by adjusting the UniProt base sequence with the specified mutations/variations."),
  organism STRING OPTIONS(description=" Organism from which the sequence was obtained."),
  tax_id INT64 OPTIONS(description="NCBI Tax ID for the organism from which the sequence was obtained")
);

INSERT INTO `bigquery-public-data.ebi_chembl.variant_sequences_30` (variant_id, mutation, accession, version, isoform, sequence, organism, tax_id) VALUES (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), (1630, 'H125N', 'A2RI47', NULL, 1, 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFNFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), (1631, 'H125F', 'A2RI47', NULL, 1, 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFFFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), (1632, 'W34A', 'A2RI47', NULL, 1, 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGAIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_properties_26`
(
  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_26` (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'), ('5324952', '17805440', 'STUDY_DOSING_DURATION', '=', '14', 'day', NULL, 'STUDY_DOSING_DURATION', '=', '14', 'day', 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');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_29`
(
  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_29` (molregno, pref_name, chembl_id, max_phase, therapeutic_flag, dosed_ingredient, structure_type, chebi_par_id, molecule_type, first_approval, oral, parenteral, topical, black_box_warning, natural_product, first_in_class, chirality, prodrug, inorganic_flag, usan_year, availability_type, usan_stem, polymer_flag, usan_substem, usan_stem_definition, indication_class, withdrawn_flag, withdrawn_year, withdrawn_country, withdrawn_reason, withdrawn_class) VALUES ('23779', 'EVERNIMICIN', 'CHEMBL263367', '0', '0', '0', 'MOL', NULL, 'Oligosaccharide', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', '1999', NULL, '-micin', '0', '-micin', 'antibiotics (Micromonospora strains)', NULL, '0', NULL, NULL, NULL, NULL), ('395055', 'BETADEX', 'CHEMBL415690', '3', '0', '0', 'MOL', '495055', 'Oligosaccharide', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', '1997', NULL, NULL, '0', NULL, NULL, 'Pharmaceutic Aid (sequestering agent)', '0', NULL, NULL, NULL, NULL), ('448986', 'ACARBOSE', 'CHEMBL1566', '4', '1', '1', 'MOL', NULL, 'Oligosaccharide', '1995', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1983', '1', NULL, '0', NULL, NULL, 'Inhibitor (alpha-glucosidase)', '0', NULL, NULL, NULL, NULL), ('456123', 'MIPOMERSEN SODIUM', 'CHEMBL502097', '4', '1', '1', 'MOL', NULL, 'Oligonucleotide', '2013', '0', '1', '0', '1', '0', '1', '1', '0', '0', '2007', '1', '-rsen', '0', '-rsen', 'antisense oligonucleotides', NULL, '0', NULL, NULL, NULL, NULL), ('456365', 'REBAUDIOSIDE A', 'CHEMBL430341', '1', '0', '0', 'MOL', NULL, 'Oligosaccharide', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.irac_classification`
(
  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` (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.mechanism_refs_24`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_29` (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.biotherapeutic_components_30`
(
  biocomp_id INT64 NOT NULL OPTIONS(description="Primary key."),
  molregno INT64 NOT NULL OPTIONS(description="Foreign key to the biotherapeutics table, indicating which biotherapeutic the component is part of."),
  component_id INT64 NOT NULL OPTIONS(description="Foreign key to the bio_component_sequences table, indicating which component is part of the biotherapeutic.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_30` (biocomp_id, molregno, component_id) VALUES (3, 1121951, 6288), (4, 1121907, 6289), (5, 1121907, 6290), (6, 1121879, 6291), (7, 1121879, 6292);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_family_classification_23`
(
  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_23` (protein_class_id, protein_class_desc, l1, l2, l3, l4, l5, l6, l7, l8) VALUES ('611', 'membrane receptor  7tm1  opsin  rhodopsin', 'Membrane receptor', 'Family A G protein-coupled receptor', 'Opsin', 'Rhodopsin', NULL, NULL, NULL, NULL), ('672', 'ion channel  other  aquaporin  aquaglyceroporin', 'Ion channel', 'Other ion channel', 'Aquaporin', 'Aquaglyceroporin', NULL, NULL, NULL, NULL), ('674', 'ion channel  other  aquaporin  unorthodox', 'Ion channel', 'Other ion channel', 'Aquaporin', 'Unorthodox aquaporin', NULL, NULL, NULL, NULL), ('675', 'ion channel  other  aquaporin  water-specific', 'Ion channel', 'Other ion channel', 'Aquaporin', 'Water-specific aquaporin', NULL, NULL, NULL, NULL), ('673', 'ion channel  other  aquaporin  aquaporin 8', 'Ion channel', 'Other ion channel', 'Aquaporin', 'Aquaporin 8', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_30`
(
  site_id INT64 NOT NULL OPTIONS(description="Primary key. Unique identifier for a binding site in a given target."),
  site_name STRING OPTIONS(description=" Name/label for the binding site."),
  tid INT64 OPTIONS(description="Foreign key to target_dictionary. Target on which the binding site is found.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_30` (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.molecule_hierarchy_29`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_29` (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.data_validity_lookup_25`
(
  data_validity_comment STRING,
  description STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_28` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('97', 'FDA', '4', NULL, 'Prazosin'), ('111', 'OTHER', '6', NULL, 'Zomepirac Sodium'), ('115', 'USAN', '11', NULL, 'Nicotine'), ('194', 'FDA', '52', NULL, 'Sulbactam'), ('33055', 'USAN', '55', NULL, 'Piperacillin');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes_28`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_28` (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.compound_properties_25`
(
  molregno STRING,
  mw_freebase STRING,
  alogp STRING,
  hba STRING,
  hbd STRING,
  psa STRING,
  rtb STRING,
  ro3_pass STRING,
  num_ro5_violations STRING,
  acd_most_apka STRING,
  acd_most_bpka STRING,
  acd_logp STRING,
  acd_logd STRING,
  molecular_species STRING,
  full_mwt STRING,
  aromatic_rings STRING,
  heavy_atoms STRING,
  qed_weighted STRING,
  mw_monoisotopic STRING,
  full_molformula STRING,
  hba_lipinski STRING,
  hbd_lipinski STRING,
  num_lipinski_ro5_violations STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_properties_25` (molregno, mw_freebase, alogp, hba, hbd, psa, rtb, ro3_pass, num_ro5_violations, acd_most_apka, acd_most_bpka, acd_logp, acd_logd, molecular_species, full_mwt, aromatic_rings, heavy_atoms, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('4393', '718.89', '2.19', '9', '7', '229.49', '18', 'N', '2', '3.41', '10.19', '2.61', '0.11', 'ZWITTERION', '718.89', '1', '51', '0.12', '718.4265', 'C36H58N6O9', '15', '8', NULL), ('23599', '752.87', '1.04', '8', '8', '263.19', '21', 'N', '2', '3.24', NULL, '3.01', '-1.74', 'ACID', '752.87', '2', '54', '0.09', '752.3745', 'C38H52N6O10', '16', '9', NULL), ('25076', '828.99', '-0.97', '11', '11', '301.24', '24', 'N', '3', '4.43', '7.17', '1.75', '-1.14', 'ACID', '828.99', '2', '58', '0.06', '828.384', 'C39H56N8O10S', '18', '12', NULL), ('26302', '750.98', '4.93', '8', '8', '221.89', '25', 'N', '2', '3.41', '10.64', '5.19', '1.71', 'ZWITTERION', '865', '3', '54', '0.05', '750.468', 'C43H63F3N6O9', '13', '10', NULL), ('38268', '813.91', '-4.7', '12', '12', '394.15', '25', 'N', '3', '3.37', '13.52', '-0.98', '-4.12', 'ZWITTERION', '813.91', '0', '57', '0.02', '813.4345', 'C34H59N11O12', '23', '16', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_26`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_26` (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.version`
(
  name STRING,
  creation_date STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.version` (name, creation_date, comments) VALUES ('ChEMBL_33', '2023-05-31 00:00:00.000000', 'ChEMBL Release 33');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_warning_30`
(
  warning_id INT64 NOT NULL OPTIONS(description="Primary key for the drug warning"),
  record_id INT64 OPTIONS(description="Foreign key to the compound_records table"),
  molregno INT64 OPTIONS(description="Foreign key to molecule_dictionary table"),
  warning_type STRING OPTIONS(description="Description of the drug warning type (e.g., withdrawn vs black box warning)"),
  warning_class STRING OPTIONS(description=" High-level class of the drug warning"),
  warning_description STRING OPTIONS(description="Description of the drug warning"),
  warning_country STRING OPTIONS(description="List of countries/regions associated with the drug warning"),
  warning_year INT64 OPTIONS(description="Year the drug was first shown the warning")
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_warning_30` (warning_id, record_id, molregno, warning_type, warning_class, warning_description, warning_country, warning_year) VALUES (5, 1344548, 237298, 'Black Box Warning', NULL, NULL, 'United States', NULL), (11, 1697433, 1380836, 'Black Box Warning', NULL, NULL, 'United States', NULL), (33, 1344035, 675482, 'Black Box Warning', NULL, NULL, 'United States', NULL), (47, 1343607, 864943, 'Black Box Warning', NULL, NULL, 'United States', NULL), (221, 1392876, 1121863, 'Black Box Warning', NULL, NULL, 'United States', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics_25`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_25` (molregno, description, helm_notation) VALUES ('3389', 'ENKEPHALIN', 'PEPTIDE1{Y.G.G.F.L}$$$$'), ('10633', '[Val5] - ANGIOTENSIN II', 'PEPTIDE1{D.R.V.Y.V.H.P.F}$$$$'), ('12246', 'MAGAININ 2', 'PEPTIDE1{G.I.G.K.F.L.H.S.A.K.K.F.G.K.A.F.V.G.E.I.M.N.S}$$$$'), ('15695', 'DYNORPHIN', 'PEPTIDE1{Y.G.G.F.L.R.R.[lalloI]}$$$$'), ('16264', 'NEUROPEPTIDE-Y', 'PEPTIDE1{Y.P.S.K.P.D.N.P.G.E.D.A.P.A.E.D.L.A.R.Y.Y.S.A.L.R.H.Y.I.N.L.I.T.R.Q.R.Y.[am]}$$$$');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_30`
(
  metref_id INT64 NOT NULL OPTIONS(description="Primary key"),
  met_id INT64 NOT NULL OPTIONS(description="Foreign key to record_metabolism table - indicating the metabolism information to which the references refer"),
  ref_type STRING NOT NULL OPTIONS(description="Type/source of reference (e.g., 'PubMed','DailyMed')"),
  ref_id STRING OPTIONS(description=" Identifier for the reference in the source (e.g., PubMed ID or DailyMed setid)"),
  ref_url STRING OPTIONS(description=" Full URL linking to the reference")
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_30` (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.go_classification_29`
(
  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_29` (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.biotherapeutics_33`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_33` (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_24`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_24` (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.data_validity_lookup_33`
(
  data_validity_comment STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_33` (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.assay_classification_28`
(
  assay_class_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  class_type STRING,
  source STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_28` (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.bioassay_ontology_27`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_27` (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.compound_properties_33`
(
  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_33` (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 ('51334', '1323.62', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1323.62', NULL, NULL, NULL, '1322.74', 'C68H94N18O10', NULL, NULL, NULL, NULL), ('68287', '605.42', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '605.42', NULL, NULL, NULL, '604.0972', 'C20H25Cl2N3O2Pt', NULL, NULL, NULL, NULL), ('75782', '1138.17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1182.13', NULL, NULL, NULL, '1137.4123', 'C60H66NNa2O19P', NULL, NULL, NULL, NULL), ('126588', '514.44', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '514.44', NULL, NULL, NULL, '514.0958', 'C19H17N3O2Pt+2', NULL, NULL, NULL, NULL), ('233579', '1347.66', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1347.66', NULL, NULL, NULL, '1346.7281', 'C63H98N18O13S', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_27`
(
  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_27` (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.assays`
(
  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` (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 ('155712', '5173', 'Concentration required to inhibit phosphodiesterase type 5 (PDE5) isolated from corpus cavernosum by 50% was determined', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Expert', '1', NULL, 'CHEMBL760590', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('579817', '47941', 'Inhibition of PDE5', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Intermediate', '1', NULL, 'CHEMBL1059718', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('814425', '61691', 'Inhibition of PDE5A at 10 uM', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Autocuration', '1', '443569', 'CHEMBL2019821', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('223970', '6237', 'Selectivity ratio of the compound against PDE6 to that of PED5', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Expert', '1', NULL, 'CHEMBL845490', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('562503', '46198', 'Inhibition of PDE5', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Intermediate', '1', NULL, 'CHEMBL1011852', NULL, 'BAO_0000357', NULL, NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_28`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_28` (product_id, ingredient, strength, record_id, molregno, formulation_id) VALUES ('PRODUCT_016089_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148338'), ('PRODUCT_016090_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148342'), ('PRODUCT_016090_001', 'COBALT CHLORIDE CO-60', NULL, '1344144', '675045', '148339'), ('PRODUCT_017406_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148333'), ('PRODUCT_016089_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148337');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_33`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_27` (comp_go_id, component_id, go_id) VALUES ('713418', '1466', 'GO:0000003'), ('730676', '2345', 'GO:0000003'), ('747363', '4115', 'GO:0000003'), ('748669', '3697', 'GO:0000003'), ('748824', '3569', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy_33`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_33` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');