nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_28`
(
  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_28` (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 ('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), ('674595', 'FONDAPARINUX SODIUM', 'CHEMBL1200644', '4', '1', '1', 'MOL', NULL, 'Oligosaccharide', '2001', '0', '1', '0', '1', '0', '0', '1', '0', '0', '2001', '1', '-parinux', '0', '-parinux', 'antithrombotyic indirect selective synthetic factor Xa inhibitors', NULL, '0', NULL, NULL, NULL, NULL), ('675153', 'FONDAPARINUX', 'CHEMBL1201202', '4', '1', '0', 'MOL', '61033', 'Oligosaccharide', '2001', '0', '1', '0', '1', '0', '0', '1', '0', '0', '2001', '1', '-parinux', '0', '-parinux', 'antithrombotyic indirect selective synthetic factor Xa inhibitors', NULL, '0', NULL, NULL, NULL, NULL), ('675374', 'LIPASE (PANCRELIPASE)', 'CHEMBL1201637', '4', '1', '1', 'SEQ', NULL, 'Enzyme', '1996', '1', '0', '0', '0', '0', '0', '1', '0', '0', NULL, '1', '-ase', '0', '-ase', 'enzymes', NULL, '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_class_30`
(
  component_id INT64 NOT NULL OPTIONS(description="Foreign key to component_sequences table."),
  protein_class_id INT64 NOT NULL OPTIONS(description="Foreign key to the protein_classification table."),
  comp_class_id INT64 NOT NULL OPTIONS(description="Primary key.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_30` (component_id, protein_class_id, comp_class_id) VALUES (2153, 256, 2193), (2626, 256, 2677), (3165, 256, 3219), (3355, 256, 3412), (3555, 256, 3615);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_30`
(
  component_id INT64 NOT NULL OPTIONS(description="Primary key. Unique identifier for each of the molecular components of biotherapeutics in ChEMBL (e.g., antibody chains, recombinant proteins, synthetic peptides)."),
  component_type STRING NOT NULL OPTIONS(description="Type of molecular component (e.g., 'PROTEIN','DNA','RNA')."),
  description STRING OPTIONS(description=" Description/name of molecular component."),
  sequence STRING OPTIONS(description="Sequence of the biotherapeutic component."),
  sequence_md5sum STRING OPTIONS(description="MD5 checksum of the sequence."),
  tax_id INT64 OPTIONS(description="NCBI tax ID for the species from which the sequence is derived. May be null for humanized monoclonal antibodies, synthetic peptides etc."),
  organism STRING OPTIONS(description=" Name of the species from which the sequence is derived.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.bio_component_sequences_30` (component_id, component_type, description, sequence, sequence_md5sum, tax_id, organism) VALUES (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), (6298, 'PROTEIN', 'Alacizumab pegol light chain', 'DIQMTQSPSSLSASVGDRVTITCRASQDIAGSLNWLQQKPGKAIKRLIYATSSLDSGVPKRFSGSRSGSDYTLTISSLQPEDFATYYCLQYGSFPPTFGQGTKVEIKRTVAAPSVFIFPPSDEQLKSGTASVVCLLNNFYPREAKVQWKVDNALQSGNSQESVTEQDSKDSTYSLSSTLTLSKADYEKHKVYACEVTHQGLSSPVTKSFNRGEC', '6c682f17ba959b62d601da3ccaa799e0', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.organism_class`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class` (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.atc_classification_29`
(
  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_29` (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.activity_properties_27`
(
  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_27` (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.structural_alert_sets`
(
  alert_set_id STRING,
  set_name STRING,
  priority STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alert_sets` (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.bio_component_sequences_26`
(
  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_26` (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_26`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_27` (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.binding_sites_27`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_27` (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.structural_alerts_25`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alerts_25` (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.source`
(
  src_id STRING,
  src_description STRING,
  src_short_name STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.source` (src_id, src_description, src_short_name) VALUES ('0', 'Undefined', 'UNDEFINED'), ('1', 'Scientific Literature', 'LITERATURE'), ('2', 'GSK Malaria Screening', 'GSK_TCMDC'), ('3', 'Novartis Malaria Screening', 'NOVARTIS'), ('4', 'St Jude Malaria Screening', 'ST_JUDE');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs_33`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_25` (assay_class_id, l1, l2, l3, class_type, source) VALUES ('9', 'ALIMENTARY TRACT AND METABOLISM', 'Experimental Obesity', 'Diet Induced Obesity', 'In vivo efficacy', 'Hock_2016'), ('25', 'ALIMENTARY TRACT AND METABOLISM', 'Gastric Function', 'Indomethacin Induced Ulcers in Rats', 'In vivo efficacy', 'Hock_2016'), ('81', 'ALIMENTARY TRACT AND METABOLISM', 'Test on Salivary Glands', 'Measurement of Salivation', 'In vivo efficacy', 'Hock_2016'), ('88', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Leukemia Oncology Models', 'L1210 Experimental Leukemia', 'In vivo efficacy', 'Hock_2016'), ('96', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Methods for Testing Immunological Factors', 'Adjuvant Arthritis in Rats', 'In vivo efficacy', 'Hock_2016');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.action_type_30`
(
  action_type STRING NOT NULL OPTIONS(description="Primary key. Type of action of the drug e.g., agonist, antagonist."),
  description STRING NOT NULL OPTIONS(description="Description of how the action type is used"),
  parent_type STRING OPTIONS(description="Higher-level grouping of action types e.g., positive vs negative action")
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_33` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('97', 'ATC', '2874063', NULL, 'Prazosin'), ('115', 'ATC', '2874075', NULL, 'Nicotine'), ('146', 'ATC', '2874111', NULL, 'Ofloxacin'), ('147', 'ATC', '2874130', NULL, 'Nalidixic acid'), ('173', 'ATC', '2874186', NULL, 'Indometacin');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes_33`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_33` (patent_use_code, definition) VALUES ('U-3315', 'METHOD TO TREAT IDA IN ADULTS &amp; PEDIATRIC PATIENTS 1 YR &amp; OLDER WITH INTOLERANCE OR UNSATISFACTORY RESPONSE TO ORAL IRON &amp; WEIGHING AT LEAST 40 KG BY ADMINISTERING IV AT LEAST ABOUT 0.6 G OF IRON AS FERRIC CARBOXYMALTOSE IN ABOUT 15 MIN OR LESS'), ('U-3023', 'TREATMENT OF CF IN PATIENTS 6 YEARS AND OLDER WHO HAVE A F508DEL OR G551D CFTR MUTATION AND A 2ND MUTATION SELECTED FROM R117H, A455E, 2789+5G-&gt;A, AND 3849+10KBC-&gt;T, COMPRISING CONCURRENT COADMINISTRATION OF THE COMPOSITIONS OF CLAIM 1 OF US 10058546'), ('U-3128', 'TREATMENT OF COMPLICATED URINARY TRACT INFECTIONS (CUTI) INCLUDING PYELONEPHRITIS CAUSED BY THE FOLLOWING SUSCEPTIBLE MICROORGANISMS: ESCHERICHIA COLI, KLEBSIELLA PNEUMONIA, ENTEROBACTER CLOACAE SPECIES COMPLEX WITH MEROPENEM &amp; VABORBACTAM AS SPECIFIED'), ('U-3022', 'TREATMENT OF CF IN PATIENTS 12 YEARS AND OLDER WHO HAVE A F508DEL OR G551D CFTR MUTATION AND A 2ND MUTATION SELECTED FROM R117H, A455E, 2789+5G-&gt;A, &amp; 3849+10KBC-&gt;T, COMPRISING CONCURRENT COADMINISTRATION OF THE COMPOSITIONS OF CLAIM 1 OF US 10058546'), ('U-3437', 'METHOD TO TREAT IDA IN ADULTS &amp; PEDIATRIC PATIENTS 1 YEAR &amp; OLDER WITH INTOLERANCE OR UNSATISFACTORY RESPONSE TO ORAL IRON &amp; HEAVY UTERINE BLEEDING OR GI DISORDER BY ADMINISTERING IV FERRIC CARBOXYMALTOSE TO GIVE AT LEAST 0.7 G OF IRON IN 15 MINUTES');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_27`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING,
  cidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_27` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('863959', '583620', '49165', 'GNF-Pf-394', 'GNF-Pf-394', '3', NULL, 'CLD0'), ('864008', '583667', '49165', 'GNF-Pf-443', 'GNF-Pf-443', '3', NULL, 'CLD0'), ('864012', '583671', '49165', 'GNF-Pf-447', 'GNF-Pf-447', '3', NULL, 'CLD0'), ('864116', '583771', '49165', 'GNF-Pf-551', 'GNF-Pf-551', '3', NULL, 'CLD0'), ('864185', '583838', '49165', 'GNF-Pf-620', 'GNF-Pf-620', '3', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_25`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_29` (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.assay_parameters_23`
(
  assay_param_id STRING,
  assay_id STRING,
  parameter_type STRING,
  parameter_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_parameters_23` (assay_param_id, assay_id, parameter_type, parameter_value) VALUES ('3273520', '1479159', 'HOLDING_POTENTIAL', '-80'), ('3273552', '1479162', 'T1_PULSE', '0.25'), ('3273870', '1479191', 'HOLDING_POTENTIAL', '-40'), ('3273897', '1479194', 'TEMP', 'Ambient'), ('3273906', '1479194', 'MEAS_VOLT_UNIT', 'mV');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup`
(
  data_validity_comment STRING,
  description STRING
);

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

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

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_33` (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.patent_use_codes_25`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_25` (patent_use_code, definition) VALUES ('U-158', 'ANGINA'), ('U-228', 'ASTHMA'), ('U-105', 'EMESIS'), ('U-111', 'DIABETES'), ('U-48', 'ANALGESIA');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_synonyms_25`
(
  molregno STRING,
  syn_type STRING,
  molsyn_id STRING,
  res_stem_id STRING,
  synonyms STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_25` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('675371', 'ATC', '1829587', NULL, 'L04AB01'), ('675778', 'ATC', '1830586', NULL, 'L01XC08'), ('3012', 'ATC', '1855418', NULL, 'Melatonin'), ('9951', 'ATC', '1855423', NULL, 'Nicotinyl methylamide'), ('13616', 'ATC', '1855431', NULL, 'Propanol');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_properties_28`
(
  molregno STRING,
  mw_freebase STRING,
  alogp STRING,
  hba STRING,
  hbd STRING,
  psa STRING,
  rtb STRING,
  ro3_pass STRING,
  num_ro5_violations STRING,
  cx_most_apka STRING,
  cx_most_bpka STRING,
  cx_logp STRING,
  cx_logd STRING,
  molecular_species STRING,
  full_mwt STRING,
  aromatic_rings STRING,
  heavy_atoms STRING,
  qed_weighted STRING,
  mw_monoisotopic STRING,
  full_molformula STRING,
  hba_lipinski STRING,
  hbd_lipinski STRING,
  num_lipinski_ro5_violations STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_properties_28` (molregno, mw_freebase, alogp, hba, hbd, psa, rtb, ro3_pass, num_ro5_violations, cx_most_apka, cx_most_bpka, cx_logp, cx_logd, molecular_species, full_mwt, aromatic_rings, heavy_atoms, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('1733', '728.89', '2.87', '6', '7', '208.82', '20', 'N', '2', '4.01', NULL, '4.24', '1.09', 'ACID', '728.89', '3', '53', '0.09', '728.3897', 'C40H52N6O7', '13', '8', '3'), ('11360', '788.87', '3.56', '7', '6', '224.9', '8', 'N', '2', '13.27', '8.48', '3.63', '2.06', 'NEUTRAL', '788.87', '5', '60', '0.13', '788.286', 'C48H36N8O4', '12', '10', '3'), ('17023', '909.06', '-3.69', '13', '13', '388.12', '28', 'N', '3', '3.88', '7.05', '-6.17', '-6.33', 'ACID', '909.06', '1', '64', '0.04', '908.508', 'C40H68N12O12', '24', '15', '3'), ('23434', '735.84', '-1.26', '10', '10', '295.45', '22', 'N', '2', '3.55', '8.31', '-3.36', '-6.24', 'ACID', '735.84', '1', '52', '0.07', '735.3803', 'C34H53N7O11', '18', '11', '3'), ('23749', '780.92', '1.3', '8', '8', '263.19', '23', 'N', '2', '3.55', NULL, '2.43', '-3.97', 'ACID', '780.92', '2', '56', '0.08', '780.4058', 'C40H56N6O10', '16', '9', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_indication_23`
(
  drugind_id STRING,
  record_id STRING,
  molregno STRING,
  max_phase_for_ind STRING,
  mesh_id STRING,
  mesh_heading STRING,
  efo_id STRING,
  efo_term STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_indication_23` (drugind_id, record_id, molregno, max_phase_for_ind, mesh_id, mesh_heading, efo_id, efo_term) VALUES ('54362', '2794905', '1380217', '0', 'D000375', 'AGING', 'GO:0007568', 'AGING'), ('51774', '1344763', '780491', '0', 'D051437', 'RENAL INSUFFICIENCY', 'HP:0000083', 'RENAL INSUFFICIENCY'), ('26080', '1344559', '6723', '0', 'D014012', 'TINNITUS', 'HP:0000360', 'TINNITUS'), ('51925', '1343895', '430124', '0', 'D001851', 'BONE DISEASES, METABOLIC', 'HP:0000938', 'OSTEOPENIA'), ('54805', '2793710', '1380731', '0', 'D005234', 'FATTY LIVER', 'HP:0001397', 'HEPATIC STEATOSIS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_33`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_33` (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.component_sequences`
(
  component_id STRING,
  component_type STRING,
  accession STRING,
  sequence STRING,
  sequence_md5sum STRING,
  description STRING,
  tax_id STRING,
  organism STRING,
  db_source STRING,
  db_version STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_sequences` (component_id, component_type, accession, sequence, sequence_md5sum, description, tax_id, organism, db_source, db_version) VALUES ('7600', 'RNA', NULL, NULL, NULL, '5S ribosomal RNA', '1773', 'Mycobacterium tuberculosis', 'Manual', NULL), ('7601', 'RNA', NULL, NULL, NULL, '16S ribosomal RNA', '1773', 'Mycobacterium tuberculosis', 'Manual', NULL), ('7602', 'RNA', NULL, NULL, NULL, '23S ribosomal RNA', '1773', 'Mycobacterium tuberculosis', 'Manual', NULL), ('7819', 'RNA', 'ENSG00000084674', NULL, NULL, 'Apo-B 100 mRNA', '9606', 'Homo sapiens', 'Manual', NULL), ('17009', 'RNA', 'ENSG00000198947', NULL, NULL, 'Dystrophin pre-mRNA', '9606', 'Homo sapiens', 'Manual', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup_23`
(
  data_validity_comment STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_23` (data_validity_comment, description) VALUES ('Manually validated', 'Data have been checked against the publication and are believed to be accurate'), ('Potential author error', 'Data have been checked against the publication and are as reported - possibly an error was made by the author'), ('Outside typical range', 'Values for this activity type are unusually large/small, so may not be accurate'), ('Author confirmed error', 'Error in publication - Author confirmed (personal communication)'), ('Non standard unit for type', 'Units for this activity type are unusual and may be incorrect (or the standard_type may be incorrect)');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_30`
(
  atc_code STRING NOT NULL OPTIONS(description="ATC code for the compound (foreign key to ATC_CLASSIFICATION table)"),
  ddd_units STRING OPTIONS(description=" Units of defined daily dose"),
  ddd_admr STRING OPTIONS(description="Administration route for dose"),
  ddd_comment STRING OPTIONS(description="Comment"),
  ddd_id INT64 NOT NULL OPTIONS(description="Internal primary key"),
  ddd_value FLOAT64 OPTIONS(description="Value of defined daily dose")
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose_30` (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, nan), ('R03BB05', NULL, NULL, NULL, 2979, nan), ('R03BB06', NULL, NULL, NULL, 2981, nan), ('V03AE09', NULL, NULL, NULL, 3237, nan), ('B06AC05', NULL, NULL, NULL, 3282, nan);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.irac_classification_26`
(
  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_26` (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.products_27`
(
  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_27` (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.compound_properties_23`
(
  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,
  num_alerts 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_23` (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, num_alerts, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('2556', '855.95', '7.23', '9', '6', '190.36', '20', 'N', '3', '12.22', '13.33', '6.93', '2.97', 'BASE', '855.95', '5', '62', '3', '0.03', '855.4044', 'C45H52F3N9O5', '14', '8', '3'), ('14344', '975.14', '1.21', '13', '10', '358.68', '29', 'N', '3', '4.19', NULL, '2.59', '-2.14', 'ACID', '975.14', '4', '68', '0', '0.04', '974.3666', 'C47H58N8O11S2', '19', '11', '2'), ('15048', '864.35', '-5.91', '15', '15', '378.87', '12', 'N', '3', '10.4', '13.46', '-0.85', '-4.98', 'BASE', '864.35', '1', '60', '1', '0.09', '863.3805', 'C36H54ClN13O10', '23', '18', '2'), ('15640', '874.94', '-5.79', '16', '15', '410.96', '15', 'N', '3', '10.14', '13.53', '-0.61', '-5.61', 'BASE', '874.94', '1', '62', '1', '0.07', '874.4409', 'C37H58N14O11', '25', '19', '2'), ('29007', '915.13', '9.6', '9', '7', '232.86', '26', 'N', '3', '8.32', NULL, '8.5', '8.45', 'NEUTRAL', '915.13', '5', '67', '5', '0.01', '914.5054', 'C52H66N8O7', '15', '8', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.ligand_eff_26`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.drug_indication_28` (drugind_id, record_id, molregno, max_phase_for_ind, mesh_id, mesh_heading, efo_id, efo_term) VALUES ('54362', '1697032', '1380217', '0', 'D000375', 'Aging', 'GO:0007568', 'aging'), ('122845', '1344486', '675637', '0', 'D000375', 'Aging', 'GO:0007568', 'aging'), ('121760', '1701733', '1377512', '0', 'D014549', 'Urinary Incontinence', 'HP:0000020', 'Urinary incontinence'), ('121019', '1344763', '858397', '0', 'D051437', 'Renal Insufficiency', 'HP:0000083', 'Renal insufficiency'), ('123918', '2795273', '372912', '0', 'D051437', 'Renal Insufficiency', 'HP:0000083', 'Renal insufficiency');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.match_24`
(
  patent_no STRING,
  publication_number STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.match_24` (patent_no, publication_number) VALUES ('5223510', 'US-5223510-A'), ('5288726', 'US-5288726-A'), ('5288726*PED', 'US-5288726-A'), ('5344932', 'US-5344932-A'), ('5344932*PED', 'US-5344932-A');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_26`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_26` (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.activities_29`
(
  activity_id STRING,
  assay_id STRING,
  doc_id STRING,
  record_id STRING,
  molregno STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_flag STRING,
  standard_type STRING,
  activity_comment STRING,
  data_validity_comment STRING,
  potential_duplicate STRING,
  pchembl_value STRING,
  bao_endpoint STRING,
  uo_units STRING,
  qudt_units STRING,
  toid STRING,
  upper_value STRING,
  standard_upper_value STRING,
  src_id STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_text_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activities_29` (activity_id, assay_id, doc_id, record_id, molregno, standard_relation, standard_value, standard_units, standard_flag, standard_type, activity_comment, data_validity_comment, potential_duplicate, pchembl_value, bao_endpoint, uo_units, qudt_units, toid, upper_value, standard_upper_value, src_id, type, relation, value, units, text_value, standard_text_value) VALUES ('52365', '25053', '16595', '242503', '209242', '=', '94', 'mL.min-1.kg-1', '1', 'CL', NULL, NULL, '0', NULL, 'BAO_0002759', NULL, NULL, NULL, NULL, NULL, '1', 'Clp', '=', '94', 'ml min-1 kg-1', NULL, NULL), ('94271', '5834', '5374', '330980', '281043', '=', '37', 'mL.min-1.kg-1', '1', 'CL', NULL, NULL, '0', NULL, 'BAO_0002759', NULL, NULL, NULL, NULL, NULL, '1', 'Clp', '=', '37', 'ml min-1 kg-1', NULL, NULL), ('94744', '131986', '10329', '172958', '152713', '=', '800', 'mg.kg-1', '1', 'LD50', NULL, NULL, '0', NULL, 'BAO_0002117', 'UO_0000308', NULL, NULL, NULL, NULL, '1', 'LD50', '=', '800', 'mg kg-1', NULL, NULL), ('102707', '27315', '15889', '56479', '52433', '=', '0.2167', 'hr', '1', 'T1/2', NULL, NULL, '0', NULL, 'BAO_0002115', 'UO_0000032', 'http://qudt.org/vocab/unit#Hour', NULL, NULL, NULL, '1', 'T1/2', '=', '13', 'min', NULL, NULL), ('117563', '20723', '14380', '269494', '231550', '=', '1.3', 'hr', '1', 'T1/2', NULL, NULL, '0', NULL, 'BAO_0002115', 'UO_0000032', 'http://qudt.org/vocab/unit#Hour', NULL, NULL, NULL, '1', 'T1/2', '=', '1.3', 'hr', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_relations_26`
(
  tid STRING,
  relationship STRING,
  related_tid STRING,
  targrel_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_26` (tid, relationship, related_tid, targrel_id) VALUES ('10193', 'SUBSET OF', '104764', '122077'), ('12071', 'SUBSET OF', '104709', '122081'), ('12071', 'SUBSET OF', '107893', '122082'), ('12071', 'SUBSET OF', '117095', '122083'), ('12071', 'SUBSET OF', '107894', '122084');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_parameters_28`
(
  assay_param_id STRING,
  assay_id STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_type STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_text_value STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_parameters_28` (assay_param_id, assay_id, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments) VALUES ('3730332', '100201', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, NULL, NULL, NULL), ('3730377', '100334', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, NULL, NULL, NULL), ('3771277', '132722', 'DOSE', NULL, NULL, 'mgkg', NULL, 'DOSE', NULL, NULL, NULL, NULL, NULL), ('3710902', '1640162', 'regeneration_stabilization_period', '=', '0', 's', NULL, 'regeneration_stabilization_period', '=', '0', 's', NULL, NULL), ('3711013', '1640168', 'regeneration_contact_time', '=', '0', 's', NULL, 'regeneration_contact_time', '=', '0', 's', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_atc_classification_29`
(
  mol_atc_id STRING,
  level5 STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification_29` (mol_atc_id, level5, molregno) VALUES ('59159', 'C02CA01', '97'), ('55241', 'N07BA01', '115'), ('55242', 'J01MA01', '146'), ('55243', 'S02AA16', '146'), ('58586', 'S01AE01', '146');