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

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

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_28` (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.compound_properties_26`
(
  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_26` (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 ('8157', '884.98', '0.86', '14', '12', '295.86', '12', 'N', '3', '11.32', '4.77', '2.33', '2.33', 'NEUTRAL', '884.98', '3', '64', '0.12', '884.3956', 'C46H56N6O12', '18', '12', '3'), ('11101', '667.49', '-2.19', '18', '8', '318.04', '11', 'N', '3', '0.81', '4.92', '-7.39', '-9.23', 'ACID', '667.49', '3', '43', '0.1', '667.0863', 'C20H27N7O13P2S', '20', '10', '3'), ('11417', '830.76', '4.1', '10', '10', '355.76', '20', 'N', '2', '3.06', '4.49', '3.51', '-21.2', 'ACID', '830.76', '3', '60', '0.08', '830.2283', 'C40H38N4O16', '20', '10', '3'), ('13992', '767.91', '1.52', '9', '8', '250.91', '20', 'N', '2', '4', NULL, '1.05', '-2.11', 'ACID', '767.91', '3', '54', '0.08', '767.3312', 'C37H49N7O9S', '16', '9', '3'), ('16361', '882.08', '-1.68', '11', '13', '383.87', '27', 'N', '3', '9.22', '11.05', '-1.62', '-5.78', 'BASE', '882.08', '2', '63', '0.03', '881.5236', 'C42H67N13O8', '21', '19', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.ligand_eff_23`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.ligand_eff_23` (activity_id, bei, sei, le, lle) VALUES ('33392', '6.53', '2.44', '0.12', '1.21'), ('40527', '33.42', '36.14', '0.68', '4.53'), ('49652', '27.2', '3.99', '0.64', '7.38'), ('49839', '60.32', '16.77', '1.11', '5.56'), ('53445', '46.77', '9.21', '0.9', '8.12');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_23`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_23` (domain_id, domain_type, source_domain_id, domain_name, domain_description) VALUES ('2669', 'Pfam-A', 'PF00053', 'Laminin_EGF', NULL), ('2705', 'Pfam-A', 'PF00092', 'VWA', NULL), ('2710', 'Pfam-A', 'PF00098', 'zf-CCHC', NULL), ('2757', 'Pfam-A', 'PF00160', 'Pro_isomerase', NULL), ('2916', 'Pfam-A', 'PF00463', 'ICL', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_25`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_26` (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.drug_warning_33`
(
  warning_id STRING,
  record_id STRING,
  molregno STRING,
  warning_type STRING,
  warning_class STRING,
  warning_description STRING,
  warning_country STRING,
  warning_year STRING,
  efo_term STRING,
  efo_id STRING,
  efo_id_for_warning_class STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_27` (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.activity_smid_30`
(
  smid INT64 NOT NULL OPTIONS(description="FK to SMID in ACTIVITY_SUPP_MAP, and a FK to SMID in ACTIVITY_SUPP")
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_smid_30` (smid) VALUES (2), (3), (4), (5), (6);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics_30`
(
  molregno INT64 NOT NULL OPTIONS(description="Foreign key to molecule_dictionary"),
  description STRING OPTIONS(description="Description of the biotherapeutic."),
  helm_notation STRING OPTIONS(description="Sequence notation generated according to the HELM standard (http://www.openhelm.org/home). Currently for peptides only")
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_30` (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.assays_33`
(
  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_33` (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 ('34564', '14485', 'Compound was tested for binding affinity against alpha-glucosidase', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL649328', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('617531', '50340', 'Inhibition of maltase by HPLC', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL1099881', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('425850', '35036', 'Inhibition of alpha-glucosidase in 1.20 mg/200 uL', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', 'H', '8', 'Intermediate', '1', NULL, 'CHEMBL856853', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('635688', '51315', 'Inhibition of PDE5A', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL1119717', NULL, 'BAO_0000357', NULL, NULL, 'CLD0'), ('155200', '13875', 'Inhibition of Phosphodiesterase 5 from human', 'B', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', 'H', '8', 'Expert', '1', NULL, 'CHEMBL763673', NULL, 'BAO_0000357', NULL, NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_frac_classification`
(
  mol_frac_id STRING,
  frac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_frac_classification` (mol_frac_id, frac_class_id, molregno) VALUES ('129', '470', '1493237'), ('57', '471', '499374'), ('60', '472', '515306'), ('28', '473', '430452'), ('77', '474', '990518');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.site_components_23`
(
  sitecomp_id STRING,
  site_id STRING,
  component_id STRING,
  domain_id STRING,
  site_residues STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_23` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2713', '2622', '7481', NULL, NULL), ('2755', '2635', '131', NULL, NULL), ('2758', '2638', '7858', NULL, NULL), ('2781', '2654', '1125', NULL, NULL), ('2782', '2655', '294', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_23`
(
  atc_code STRING,
  ddd_value STRING,
  ddd_units STRING,
  ddd_admr STRING,
  ddd_comment STRING,
  ddd_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose_23` (atc_code, ddd_value, ddd_units, ddd_admr, ddd_comment, ddd_id) VALUES ('R03BB06', NULL, NULL, NULL, NULL, '2981'), ('R03BB05', NULL, NULL, NULL, NULL, '2979'), ('A02AD01', NULL, NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15'), ('S01EB04', '0.1', 'ml', NULL, NULL, '1742'), ('S01EB03', '0.2', 'ml', NULL, NULL, '1741');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup_30`
(
  data_validity_comment STRING NOT NULL OPTIONS(description="Primary key. Short description of various types of errors/warnings applied to values in the activities table."),
  description STRING OPTIONS(description=" Definition of the terms in the data_validity_comment field.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_30` (data_validity_comment, description) VALUES ('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'), ('Potential missing data', 'No data provided for value, units or activity_comment, needs further investigation');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_29`
(
  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_29` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('863996', '583655', '49165', 'GNF-Pf-431', 'GNF-Pf-431', '3', NULL, 'CLD0'), ('864145', '583800', '49165', 'GNF-Pf-580', 'GNF-Pf-580', '3', NULL, 'CLD0'), ('864146', '583801', '49165', 'GNF-Pf-581', 'GNF-Pf-581', '3', NULL, 'CLD0'), ('864168', '583822', '49165', 'GNF-Pf-603', 'GNF-Pf-603', '3', NULL, 'CLD0'), ('864170', '583824', '49165', 'GNF-Pf-605', 'GNF-Pf-605', '3', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_24`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_24` (bao_id, label) VALUES ('BAO_0000006', 'percent cytotoxicity'), ('BAO_0000007', 'nucleosome format'), ('BAO_0000008', 'bioassay type'), ('BAO_0000009', 'ADMET'), ('BAO_0000010', 'functional');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_24`
(
  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_24` (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.molecule_hierarchy_30`
(
  molregno INT64 NOT NULL OPTIONS(description="Foreign key to compounds table. This field holds a list of all of the ChEMBL compounds with associated data (e.g., activity information, approved drugs). Parent compounds that are generated only by removing salts, and which do not themselves have any associated data will not appear here."),
  parent_molregno INT64 OPTIONS(description="Represents parent compound of molregno in first field (i.e., generated by removing salts). Where molregno and parent_molregno are same, the initial ChEMBL compound did not contain a salt component, or else could not be further processed for various reasons (e.g., inorganic mixture). Compounds which are only generated by removing salts will appear in this field only. Those which, themselves, have any associated data (e.g., activity data) or are launched drugs will also appear in the molregno field."),
  active_molregno INT64 OPTIONS(description="Where a compound is a pro-drug, this represents the active metabolite of the 'dosed' compound given by parent_molregno. Where parent_molregno and active_molregno are the same, the compound is not currently known to be a pro-drug. ")
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_30` (molregno, parent_molregno, active_molregno) VALUES (2, 2, 2), (3, 3, 3), (4, 4, 4), (5, 5, 5), (6, 6, 6);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_29`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_29` (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.component_go_24`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_24` (comp_go_id, component_id, go_id) VALUES ('184816', '2345', 'GO:0000003'), ('184905', '3569', 'GO:0000003'), ('184923', '3697', 'GO:0000003'), ('184958', '4115', 'GO:0000003'), ('184977', '4337', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_30`
(
  target_type STRING NOT NULL OPTIONS(description="Target type (as used in target dictionary)"),
  target_desc STRING OPTIONS(description=" Description of target type"),
  parent_type STRING OPTIONS(description="Higher level classification of target_type, allowing grouping of e.g., all 'PROTEIN' targets, all 'NON-MOLECULAR' targets etc.")
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.source_23` (src_id, src_description, src_short_name) VALUES ('2', 'GSK Malaria Screening', 'GSK_TCMDC'), ('41', 'WHO Anatomical Therapeutic Chemical Classification', 'ATC'), ('12', 'Manually Added Drugs', 'DRUGS'), ('31', 'Curated Drug Metabolism Pathways', 'METABOLISM'), ('17', 'MMV Malaria Box', 'MMV_MBOX');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_synonyms_33`
(
  compsyn_id STRING,
  component_id STRING,
  component_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_33` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('1663346', '5187', 'M1-family alanyl aminopeptidase', 'UNIPROT'), ('1706474', '47', 'Gamma-aminobutyric acid receptor subunit beta-2', 'UNIPROT'), ('1706475', '47', 'GABA(A) receptor subunit beta-2', 'UNIPROT'), ('1706478', '48', 'Gamma-aminobutyric acid receptor subunit alpha-1', 'UNIPROT'), ('1706479', '48', 'GABA(A) receptor subunit alpha-1', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_28`
(
  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_28` (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_28`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_28` (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.structural_alert_sets_23`
(
  alert_set_id STRING,
  set_name STRING,
  priority STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alert_sets_23` (alert_set_id, set_name, priority) VALUES ('2', 'Dundee', '4'), ('5', 'SureChEMBL', '5'), ('1', 'Glaxo', '8'), ('3', 'BMS', '7'), ('7', 'Inpharmatica', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_29`
(
  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_29` (variant_id, mutation, accession, version, isoform, sequence, organism, tax_id) VALUES ('-1', 'UNDEFINED MUTATION', NULL, NULL, NULL, NULL, NULL, NULL), ('1626', 'E84A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLAYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1627', 'E84D', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLDYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1628', 'E84Q', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLQYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL), ('1629', 'H125A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFAFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.indication_refs_23`
(
  indref_id STRING,
  drugind_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.indication_refs_23` (indref_id, drugind_id, ref_type, ref_id, ref_url) VALUES ('84571', '50045', 'ATC', 'A01AB02', 'http://www.whocc.no/atc_ddd_index/?code=A01AB02'), ('72621', '42687', 'ATC', 'A01AB04', 'http://www.whocc.no/atc_ddd_index/?code=A01AB04'), ('84572', '50046', 'ATC', 'A01AB05', 'http://www.whocc.no/atc_ddd_index/?code=A01AB05'), ('74485', '42971', 'ATC', 'A01AB07', 'http://www.whocc.no/atc_ddd_index/?code=A01AB07'), ('73578', '42848', 'ATC', 'A01AB09', 'http://www.whocc.no/atc_ddd_index/?code=A01AB09');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_class_synonyms_29`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_29` (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.activities`
(
  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,
  action_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activities` (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, action_type) VALUES ('400977', '115373', '7417', '333853', '283276', '=', '2', NULL, '0', '%', NULL, NULL, '0', NULL, 'BAO_0000179', NULL, NULL, NULL, NULL, NULL, '1', '%', '=', '2', NULL, NULL, NULL, NULL), ('794406', '24932', '16917', '77674', '71172', NULL, NULL, '%', '0', 'F', 'No data', 'Potential missing data', '0', NULL, 'BAO_0003042', 'UO_0000187', 'http://qudt.org/vocab/unit#Percent', NULL, NULL, NULL, '1', 'F', NULL, NULL, NULL, NULL, NULL, NULL), ('1701575', '341744', '30911', '444884', '343251', NULL, NULL, '%', '0', 'F', 'Not Determined', NULL, '0', NULL, 'BAO_0003042', 'UO_0000187', 'http://qudt.org/vocab/unit#Percent', NULL, NULL, NULL, '1', 'F', NULL, NULL, NULL, NULL, NULL, NULL), ('13396471', '973467', '74443', '1909086', '1573031', NULL, NULL, '%', '0', 'F', 'Not Determined', NULL, '0', NULL, 'BAO_0003042', 'UO_0000187', 'http://qudt.org/vocab/unit#Percent', NULL, NULL, NULL, '1', 'F', NULL, NULL, NULL, NULL, NULL, NULL), ('12637343', '937305', '71750', '1845676', '1514445', NULL, NULL, '%', '0', 'F', 'Not Determined', NULL, '0', NULL, 'BAO_0003042', 'UO_0000187', 'http://qudt.org/vocab/unit#Percent', NULL, NULL, NULL, '1', 'F', NULL, NULL, NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_dictionary_26`
(
  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_26` (molregno, pref_name, chembl_id, max_phase, therapeutic_flag, dosed_ingredient, structure_type, chebi_par_id, molecule_type, first_approval, oral, parenteral, topical, black_box_warning, natural_product, first_in_class, chirality, prodrug, inorganic_flag, usan_year, availability_type, usan_stem, polymer_flag, usan_substem, usan_stem_definition, indication_class, withdrawn_flag, withdrawn_year, withdrawn_country, withdrawn_reason, withdrawn_class) VALUES ('523060', 'SODIUM HEPARIN', 'CHEMBL526514', '3', '0', '0', 'MOL', NULL, 'Oligosaccharide', NULL, '0', '0', '0', '0', '1', '0', '-1', '0', '0', NULL, '-1', '-parin', '0', '-parin', 'heparin derivatives and low molecular weight (or depolymerized) heparins', NULL, '0', NULL, NULL, NULL, NULL), ('23779', 'EVERNIMICIN', 'CHEMBL263367', '0', '0', '0', 'MOL', NULL, 'Unknown', NULL, '0', '0', '0', '0', '0', '0', '1', '0', '0', '1999', '-1', '-micin', '0', '-micin', 'antibiotics (Micromonospora strains)', NULL, '0', NULL, NULL, NULL, NULL), ('456123', 'MIPOMERSEN SODIUM', 'CHEMBL502097', '4', '1', '1', 'MOL', NULL, 'Oligonucleotide', '2013', '0', '1', '0', '1', '0', '0', '1', '0', '0', '2007', '1', '-rsen', '0', '-rsen', 'antisense oligonucleotides', NULL, '0', NULL, NULL, NULL, NULL), ('464846', 'TANNIC ACID', 'CHEMBL506247', '4', '0', '1', 'MOL', '81066', 'Unknown', NULL, '0', '1', '0', '0', '0', '0', '1', '0', '0', NULL, '0', NULL, '0', NULL, NULL, 'Astringent', '0', NULL, NULL, NULL, NULL), ('580727', '2-hydroxypropyl-beta-cyclodextrin', 'CHEMBL577294', '2', '0', '0', 'MOL', NULL, 'Unknown', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, '-1', NULL, '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_properties_29`
(
  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_29` (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.atc_classification_27`
(
  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_27` (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.molecule_hierarchy_26`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy_26` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_type_26`
(
  target_type STRING,
  target_desc STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_type_26` (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.component_synonyms_25`
(
  compsyn_id STRING,
  component_id STRING,
  component_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_25` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('1035782', '4543', 'Candidapepsin-1', 'UNIPROT'), ('1035783', '4543', 'ACP 1', 'UNIPROT'), ('1035784', '4543', 'Aspartate protease 1', 'UNIPROT'), ('1035785', '4543', 'Secreted aspartic protease 1', 'UNIPROT'), ('1035789', '4545', 'Dickkopf-related protein 1', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_stem_23`
(
  res_stem_id STRING,
  research_stem STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem_23` (res_stem_id, research_stem) VALUES ('5', 'AB'), ('30', 'AL'), ('54', 'ASP'), ('86', 'BI'), ('117', 'CC');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_33`
(
  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_33` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('350236', '81620', '6', '34', '(2R,3S)-3-Benzoyloxy-2-methoxycarbonyl-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0'), ('350208', '608640', '6', '9 Ecgonine methyl ester', '(2R,3S)-3-Hydroxy-2-methoxycarbonyl-8-methyl-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0'), ('350237', '643127', '6', '35', '(2R,3S)-3-Benzoyloxy-2-carboxy-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0'), ('350344', '292971', '9', '6j', '[3''-(3-Methyl-benzylcarbamoyl)-biphenyl-4-sulfonyl]-acetic acid', '1', NULL, 'CLD0'), ('350345', '293115', '9', '7e', '[3''-((S)-Indan-1-ylcarbamoylmethyl)-biphenyl-4-sulfonyl]-acetic acid', '1', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.warning_refs_28`
(
  warnref_id STRING,
  warning_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

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

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_24` (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.assays_29`
(
  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_29` (assay_id, doc_id, description, assay_type, assay_test_type, assay_category, assay_organism, assay_tax_id, assay_strain, assay_tissue, assay_cell_type, assay_subcellular_fraction, tid, relationship_type, confidence_score, curated_by, src_id, src_assay_id, chembl_id, cell_id, bao_format, tissue_id, variant_id, aidx) VALUES ('1082', '12827', 'Binding affinity towards 5-hydroxytryptamine 1A receptor in pig frontal cortex membranes using [8H]-OH-DPAT', 'B', NULL, NULL, 'Sus scrofa', '9823', NULL, 'Frontal cortex', NULL, NULL, '51', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL616405', NULL, 'BAO_0000249', '1870', NULL, 'CLD0'), ('21799', '13249', 'Compound was tested for the half life time period in monkey liver S9', 'A', 'In vitro', NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, 'S9 fraction', '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL858553', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('25766', '17142', 'In vitro metabolic stability was determined using liver S9 fraction from monkey at initial concentration of 20 uM', 'A', NULL, NULL, 'Simiiformes', '314293', NULL, 'Liver', NULL, 'Liver S9 fraction', '22224', 'U', '0', 'Autocuration', '1', NULL, 'CHEMBL875663', NULL, 'BAO_0000220', '2107', NULL, 'CLD0'), ('29657', '2944', 'Compound was measured for the inhibition of bafilomycin-sensitive ATPase activity in partially purified membrane preparation from chicken osteoclast (cOC)', 'B', NULL, NULL, 'Gallus gallus', '9031', NULL, NULL, NULL, NULL, '12860', 'H', '8', 'Autocuration', '1', NULL, 'CHEMBL636743', NULL, 'BAO_0000249', NULL, NULL, 'CLD0'), ('31442', '8974', 'Inhibition of LVP stimulated adenylate cyclase activity in pig kidney medullary membrane', 'F', NULL, NULL, 'Sus scrofa', '9823', NULL, 'Feces', NULL, NULL, '17076', 'D', '9', 'Expert', '1', NULL, 'CHEMBL645314', NULL, 'BAO_0000249', '1988', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.go_classification_30`
(
  go_id STRING NOT NULL OPTIONS(description="Primary key. Gene Ontology identifier for the GO slim term"),
  parent_go_id STRING OPTIONS(description="Gene Ontology identifier for the parent of this GO term in the ChEMBL Drug Target GO slim"),
  pref_name STRING OPTIONS(description=" Gene Ontology name"),
  class_level INT64 OPTIONS(description="Indicates the level of the term in the slim (L1 = highest)"),
  aspect STRING OPTIONS(description=" Indicates which aspect of the Gene Ontology the term belongs to (F = molecular function, P = biological process, C = cellular component)"),
  path STRING OPTIONS(description="Indicates the full path to this term in the GO slim")
);

INSERT INTO `bigquery-public-data.ebi_chembl.go_classification_30` (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.indication_refs`
(
  indref_id STRING,
  drugind_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.indication_refs` (indref_id, drugind_id, ref_type, ref_id, ref_url) VALUES ('518492', '50045', 'ATC', 'A01AB02', 'https://www.whocc.no/atc_ddd_index/?code=A01AB02'), ('577608', '68675', 'ATC', 'A01AB03', 'https://www.whocc.no/atc_ddd_index/?code=A01AB03'), ('515398', '42687', 'ATC', 'A01AB04', 'https://www.whocc.no/atc_ddd_index/?code=A01AB04'), ('568467', '50046', 'ATC', 'A01AB05', 'https://www.whocc.no/atc_ddd_index/?code=A01AB05'), ('576142', '67819', 'ATC', 'A01AB06', 'https://www.whocc.no/atc_ddd_index/?code=A01AB06');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_components_23`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_components_23` (tid, component_id, targcomp_id, homologue) VALUES ('104301', '1', '1888', '0'), ('104838', '1', '6807', '0'), ('10819', '2', '3836', '0'), ('104282', '2', '1889', '0'), ('107884', '2', '9670', '0');