nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_classification_27`
(
  protein_class_id STRING,
  parent_id STRING,
  pref_name STRING,
  short_name STRING,
  protein_class_desc STRING,
  definition STRING,
  class_level STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_classification_27` (protein_class_id, parent_id, pref_name, short_name, protein_class_desc, definition, class_level) VALUES ('0', NULL, 'Protein class', 'Protein class', 'protein class', 'Root of the ChEMBL protein family classification', '0'), ('1', '0', 'Enzyme', 'Enzyme', 'enzyme', 'Biological molecules that possess catalytic activity. They may occur naturally or be synthetically created. Enzymes are usually proteins, however CATALYTIC RNA and CATALYTIC DNA molecules have also been identified. [MESH:D004798]', '1'), ('2', '0', 'Adhesion', 'Adhesion', 'adhesion', 'Surface ligands, usually glycoproteins, that mediate cell-to-cell adhesion. Their functions include the assembly and interconnection of various vertebrate systems, as well as maintenance of tissue integration, wound healing, morphogenic movements, cellular migrations, and metastasis. [MESH:D015815]', '1'), ('9', '0', 'Surface antigen', 'Surface antigen', 'surface antigen', 'Antigens on surfaces of cells, including infectious or foreign cells or viruses. They are usually protein-containing groups on cell membranes or walls and may be isolated. [MESH:D000954]', '1'), ('11', '0', 'Membrane receptor', 'Membrane receptor', 'membrane receptor', 'Cell surface proteins that bind signalling molecules external to the cell with high affinity and convert this extracellular event into one or more intracellular signals that alter the behavior of the target cell (From Alberts, Molecular Biology of the Cell, 2nd ed, pp693-5). Cell surface receptors, unlike enzymes, do not chemically alter their ligands. [MESH:D011956]', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_indication_30`
(
  drugind_id INT64 NOT NULL OPTIONS(description="Primary key"),
  record_id INT64 NOT NULL OPTIONS(description="Foreign key to compound_records table. Links to the drug record to which this indication applies"),
  molregno INT64 OPTIONS(description="Molregno corresponding to the record_id in the compound_records table"),
  max_phase_for_ind INT64 OPTIONS(description="The maximum phase of development that the drug is known to have reached for this particular indication"),
  mesh_id STRING NOT NULL OPTIONS(description="Medical Subject Headings (MeSH) disease identifier corresponding to the indication"),
  mesh_heading STRING NOT NULL OPTIONS(description="Medical Subject Heading term for the MeSH disease ID"),
  efo_id STRING OPTIONS(description="Experimental Factor Ontology (EFO) disease identifier corresponding to the indication"),
  efo_term STRING OPTIONS(description=" Experimental Factor Ontology term for the EFO ID")
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_indication_30` (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'), (130058, 3460748, 1797543, 0, 'D014549', 'Urinary Incontinence', 'HP:0000020', 'Urinary incontinence'), (121019, 1344763, 858397, 0, 'D051437', 'Renal Insufficiency', 'HP:0000083', 'Renal insufficiency');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_parameters_30`
(
  assay_param_id INT64 NOT NULL OPTIONS(description="Numeric primary key"),
  assay_id INT64 NOT NULL OPTIONS(description="Foreign key to assays table. The assay to which this parameter belongs"),
  type STRING NOT NULL OPTIONS(description="The type of parameter being described, according to the original data source"),
  relation STRING OPTIONS(description="The relation symbol for the parameter being described, according to the original data source"),
  value FLOAT64 OPTIONS(description="The value of the parameter being described, according to the original data source. Used for numeric data"),
  units STRING OPTIONS(description=" The units for the parameter being described, according to the original data source"),
  text_value STRING OPTIONS(description="The text value of the parameter being described, according to the original data source. Used for non-numeric/qualitative data"),
  standard_type STRING OPTIONS(description=" Standardized form of the TYPE"),
  standard_relation STRING OPTIONS(description="Standardized form of the RELATION"),
  standard_value FLOAT64 OPTIONS(description="Standardized form of the VALUE"),
  standard_units STRING OPTIONS(description=" Standardized form of the UNITS"),
  standard_text_value STRING OPTIONS(description="Standardized form of the TEXT_VALUE"),
  comments STRING OPTIONS(description="Additional comments describing the parameter")
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_parameters_30` (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, nan, 'mgkg', NULL, 'DOSE', NULL, nan, 'mg.kg-1', NULL, NULL), (3730377, 100334, 'DOSE', NULL, nan, 'mgkg', NULL, 'DOSE', NULL, nan, 'mg.kg-1', NULL, NULL), (3771277, 132722, 'DOSE', NULL, nan, 'mgkg', NULL, 'DOSE', NULL, nan, 'mg.kg-1', NULL, NULL), (4006386, 1960587, 'Radioligand pKd Â± SEM', NULL, nan, NULL, NULL, 'Radioligand pKd Â± SEM', NULL, nan, NULL, NULL, NULL), (4006389, 1960587, 'Reference ligand pKi  Â± SEM', NULL, nan, NULL, NULL, 'Reference ligand pKi  Â± SEM', NULL, nan, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.relationship_type_25`
(
  relationship_type STRING,
  relationship_desc STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_28` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2764', '2643', '5', NULL, NULL), ('2766', '2645', '5', NULL, NULL), ('13860', '9801', '8', NULL, NULL), ('13861', '9802', '8', NULL, NULL), ('13862', '9803', '8', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose`
(
  atc_code STRING,
  ddd_units STRING,
  ddd_admr STRING,
  ddd_comment STRING,
  ddd_id STRING,
  ddd_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose` (atc_code, ddd_units, ddd_admr, ddd_comment, ddd_id, ddd_value) VALUES ('A02AD01', NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15', NULL), ('R03BB05', NULL, NULL, NULL, '2979', NULL), ('R03BB06', NULL, NULL, NULL, '2981', NULL), ('V03AE09', NULL, NULL, NULL, '3237', NULL), ('B06AC05', NULL, NULL, NULL, '3282', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_atc_classification_27`
(
  mol_atc_id STRING,
  level5 STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification_27` (mol_atc_id, level5, molregno) VALUES ('39541', 'C02CA01', '97'), ('37857', 'N07BA01', '115'), ('38936', 'J01MA01', '146'), ('39237', 'S01AE01', '146'), ('40595', 'S02AA16', '146');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_parameters_26`
(
  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_26` (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.activities_27`
(
  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_27` (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 ('80151', '114274', '12282', '36487', '34397', '>', '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), ('88499', '114274', '12282', '36480', '34376', '>', '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), ('102730', '25519', '15978', '99719', '1279', '=', '590000', 'cm s-1', '0', 'Papp', NULL, NULL, '0', NULL, 'BAO_0002808', NULL, NULL, NULL, NULL, NULL, '1', 'Papp', '=', '590000', 'cm s-1', NULL, NULL), ('125550', '18394', '6168', '7933', '7583', '=', '0.003', 'cm hr-1', '0', 'Permeability', NULL, NULL, '0', NULL, 'BAO_0002808', NULL, NULL, NULL, NULL, NULL, '1', 'Permeability', '=', '0.003', 'cm hr-1', NULL, NULL), ('140387', '18394', '6168', '7923', '7624', '=', '0.006', 'cm hr-1', '0', 'Permeability', NULL, NULL, '0', NULL, 'BAO_0002808', NULL, NULL, NULL, NULL, NULL, '1', 'Permeability', '=', '0.006', 'cm hr-1', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_28`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_28` (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.target_relations_28`
(
  tid STRING,
  relationship STRING,
  related_tid STRING,
  targrel_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_28` (tid, relationship, related_tid, targrel_id) VALUES ('10193', 'SUBSET OF', '104764', '185433'), ('12071', 'SUBSET OF', '104709', '185438'), ('12071', 'SUBSET OF', '107893', '185439'), ('12071', 'SUBSET OF', '117095', '185440'), ('12071', 'SUBSET OF', '107894', '185441');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_components_24`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.relationship_type_33` (relationship_type, relationship_desc) VALUES ('D', 'Direct protein target assigned'), ('H', 'Homologous protein target assigned'), ('M', 'Molecular target other than protein assigned'), ('N', 'Non-molecular target assigned'), ('S', 'Subcellular target assigned');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_29`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_29` (cpd_str_alert_id, molregno, alert_id) VALUES ('49304621', '103', '1'), ('49304622', '105', '1'), ('49304623', '638', '1'), ('49304624', '722', '1'), ('49304625', '752', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_domains_29`
(
  compd_id STRING,
  domain_id STRING,
  component_id STRING,
  start_position STRING,
  end_position STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_29` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('186087', '2627', '1992', '1', '213'), ('187061', '2627', '2421', '1', '226'), ('187063', '2627', '2423', '1', '276'), ('187677', '2627', '2782', '1', '234'), ('188530', '2627', '2671', '1', '98');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_map_27`
(
  actsm_id STRING,
  activity_id STRING,
  smid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_map_27` (actsm_id, activity_id, smid) VALUES ('1', '17126840', '2938'), ('2', '17126841', '2939'), ('3', '17126842', '2940'), ('4', '17126843', '2941'), ('5', '17126844', '2942');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_frac_classification_27`
(
  mol_frac_id STRING,
  frac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_frac_classification_27` (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.irac_classification_28`
(
  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_28` (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.molecule_hrac_classification_25`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_25` (mol_hrac_id, hrac_class_id, molregno) VALUES ('136', '1', '1238673'), ('8', '3', '51985'), ('161', '4', '1475652'), ('94', '5', '1205140'), ('179', '6', '1493346');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.products_29`
(
  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_29` (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.action_type_23`
(
  action_type STRING,
  description STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_23` (action_type, description, parent_type) VALUES ('CHELATING AGENT', 'Binds to a metal, reducing its availability for further interactions', 'OTHER'), ('OXIDATIVE ENZYME', 'Oxidises a substrate through enzymatic reaction', 'OTHER'), ('STABILISER', 'Increases the conformational stability of a protein or complex', 'OTHER'), ('HYDROLYTIC ENZYME', 'Hydrolyses a substrate through enzymatic reaction', 'OTHER'), ('SUBSTRATE', 'Carried by a transporter, possibly competing with the natural substrate for transport', 'OTHER');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.product_patents_25`
(
  prod_pat_id STRING,
  product_id STRING,
  patent_no STRING,
  patent_expire_date STRING,
  drug_substance_flag STRING,
  drug_product_flag STRING,
  patent_use_code STRING,
  delist_flag STRING,
  submission_date STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.product_patents_25` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag, submission_date) VALUES ('2028', 'PRODUCT_020468_002', '5976573', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('8260', 'PRODUCT_020468_002', '6143329', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('7593', 'PRODUCT_020468_002', '7977045', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('304', 'PRODUCT_200153_002', '5969156', '2016-07-08 00:00:00.000000', '1', '0', NULL, '0', '2014-06-13 00:00:00.000000'), ('1247', 'PRODUCT_021540_010', '5969156', '2016-07-08 00:00:00.000000', '1', '0', NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_stem_24`
(
  res_stem_id STRING,
  research_stem STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem_24` (res_stem_id, research_stem) VALUES ('2', '4SC'), ('3', 'A'), ('4', 'AA'), ('5', 'AB'), ('6', 'ABI');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations` (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.ligand_eff_28`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.ligand_eff_28` (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_26`
(
  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_26` (drugind_id, record_id, molregno, max_phase_for_ind, mesh_id, mesh_heading, efo_id, efo_term) VALUES ('58922', '1343065', '125294', '0', 'D005891', 'Gingivitis', NULL, NULL), ('59242', '1699678', '421007', '0', 'D061686', 'Premature Ejaculation', NULL, NULL), ('63993', '1344763', '858397', '0', 'D051437', 'Renal Insufficiency', NULL, NULL), ('70143', '2795273', '372912', '0', 'D051437', 'Renal Insufficiency', NULL, NULL), ('112218', '2795431', '279727', '0', 'D014987', 'Xerostomia', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_classification_30`
(
  protein_class_id INT64 NOT NULL OPTIONS(description="Primary key. Unique identifier for each protein family classification."),
  parent_id INT64 OPTIONS(description="Protein_class_id for the parent of this protein family."),
  pref_name STRING OPTIONS(description=" Preferred/full name for this protein family."),
  short_name STRING OPTIONS(description="Short/abbreviated name for this protein family (not necessarily unique)."),
  protein_class_desc STRING NOT NULL OPTIONS(description="Concatenated description of each classification for searching purposes etc."),
  definition STRING OPTIONS(description="Definition of the protein family."),
  class_level INT64 NOT NULL OPTIONS(description="Level of the class within the hierarchy (level 1 = top level classification)")
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_classification_30` (protein_class_id, parent_id, pref_name, short_name, protein_class_desc, definition, class_level) VALUES (1, 0, 'Enzyme', 'Enzyme', 'enzyme', 'Biological molecules that possess catalytic activity. They may occur naturally or be synthetically created. Enzymes are usually proteins, however CATALYTIC RNA and CATALYTIC DNA molecules have also been identified. [MESH:D004798]', 1), (2, 0, 'Adhesion', 'Adhesion', 'adhesion', 'Surface ligands, usually glycoproteins, that mediate cell-to-cell adhesion. Their functions include the assembly and interconnection of various vertebrate systems, as well as maintenance of tissue integration, wound healing, morphogenic movements, cellular migrations, and metastasis. [MESH:D015815]', 1), (3, 0, 'Secreted protein', 'Secreted', 'secreted', NULL, 1), (4, 0, 'Structural protein', 'Structural', 'structural', NULL, 1), (5, 0, 'Other nuclear protein', 'Nuclear other', 'nuclear other', NULL, 1);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_stem_25`
(
  res_stem_id STRING,
  research_stem STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem_25` (res_stem_id, research_stem) VALUES ('2', '4SC'), ('3', 'A'), ('4', 'AA'), ('5', 'AB'), ('6', 'ABI');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_indication_27`
(
  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_27` (drugind_id, record_id, molregno, max_phase_for_ind, mesh_id, mesh_heading, efo_id, efo_term) VALUES ('58922', '1343065', '125294', '0', 'D005891', 'Gingivitis', NULL, NULL), ('59242', '1699678', '421007', '0', 'D061686', 'Premature Ejaculation', NULL, NULL), ('63993', '1344763', '858397', '0', 'D051437', 'Renal Insufficiency', NULL, NULL), ('70143', '2795273', '372912', '0', 'D051437', 'Renal Insufficiency', NULL, NULL), ('112218', '2795431', '279727', '0', 'D014987', 'Xerostomia', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.ligand_eff_29`
(
  activity_id STRING,
  bei STRING,
  sei STRING,
  le STRING,
  lle STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.ligand_eff_29` (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.irac_classification_29`
(
  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_29` (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.activity_stds_lookup_30`
(
  std_act_id INT64 NOT NULL OPTIONS(description="Primary key."),
  standard_type STRING NOT NULL OPTIONS(description="The standard_type that other published_types in the activities table have been converted to."),
  definition STRING OPTIONS(description=" A description/definition of the standard_type."),
  standard_units STRING NOT NULL OPTIONS(description="The units that are applied to this standard_type and to which other published_units are converted. Note a standard_type may have more than one allowable standard_unit and therefore multiple rows in this table."),
  normal_range_min FLOAT64 OPTIONS(description="The lowest value for this activity type that is likely to be genuine. This is only an approximation, so lower genuine values may exist, but it may be desirable to validate these before using them. For a given standard_type/units, values in the activities table below this threshold are flagged with a data_validity_comment of 'Outside typical range'."),
  normal_range_max FLOAT64 OPTIONS(description="The highest value for this activity type that is likely to be genuine. This is only an approximation, so higher genuine values may exist, but it may be desirable to validate these before using them. For a given standard_type/units, values in the activities table above this threshold are flagged with a data_validity_comment of 'Outside typical range'.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_stds_lookup_30` (std_act_id, standard_type, definition, standard_units, normal_range_min, normal_range_max) VALUES (81, 'HCT', 'The percentage of a whole blood specimen that is composed of red blood cells (erythrocytes).', '%', nan, nan), (95, 'MCHC', 'A quantitative measurement of the mean amount of hemoglobin per erythrocytes in a specified volume of a biological specimen.', '%', nan, nan), (103, 'EOSLE', 'A relative measurement (ratio or percentage) of the eosinophils to leukocytes in a biological specimen.', '%', nan, nan), (104, 'LYMLE', 'A relative measurement (ratio or percentage) of the lymphocytes to leukocytes in a biological specimen.', '%', nan, nan), (106, 'BASOLE', 'A relative measurement (ratio or percentage) of the basophils to leukocytes in a biological specimen.', '%', nan, nan);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hrac_classification_24`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_24` (mol_hrac_id, hrac_class_id, molregno) VALUES ('136', '1', '1238673'), ('8', '3', '51985'), ('161', '4', '1475652'), ('94', '5', '1205140'), ('179', '6', '1493346');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.products_28`
(
  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_28` (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.product_patents_24`
(
  prod_pat_id STRING,
  product_id STRING,
  patent_no STRING,
  patent_expire_date STRING,
  drug_substance_flag STRING,
  drug_product_flag STRING,
  patent_use_code STRING,
  delist_flag STRING,
  submission_date STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.product_patents_24` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag, submission_date) VALUES ('2028', 'PRODUCT_020468_002', '5976573', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('8260', 'PRODUCT_020468_002', '6143329', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('7593', 'PRODUCT_020468_002', '7977045', '2016-07-03 00:00:00.000000', '0', '1', NULL, '0', '2013-11-22 00:00:00.000000'), ('304', 'PRODUCT_200153_002', '5969156', '2016-07-08 00:00:00.000000', '1', '0', NULL, '0', '2014-06-13 00:00:00.000000'), ('1247', 'PRODUCT_021540_010', '5969156', '2016-07-08 00:00:00.000000', '1', '0', NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_domains_28`
(
  compd_id STRING,
  domain_id STRING,
  component_id STRING,
  start_position STRING,
  end_position STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_28` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('163561', '2627', '1992', '1', '213'), ('164522', '2627', '2421', '1', '226'), ('164524', '2627', '2423', '1', '276'), ('165132', '2627', '2782', '1', '234'), ('165976', '2627', '2671', '1', '98');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_28`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_28` (cpd_str_alert_id, molregno, alert_id) VALUES ('45611901', '103', '1'), ('45611902', '105', '1'), ('45611903', '638', '1'), ('45611904', '722', '1'), ('45611905', '752', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_map_26`
(
  actsm_id STRING,
  activity_id STRING,
  smid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_map_26` (actsm_id, activity_id, smid) VALUES ('1', '17126840', '2938'), ('2', '17126841', '2939'), ('3', '17126842', '2940'), ('4', '17126843', '2941'), ('5', '17126844', '2942');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_frac_classification_26`
(
  mol_frac_id STRING,
  frac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_frac_classification_26` (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.molecule_atc_classification_26`
(
  mol_atc_id STRING,
  level5 STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification_26` (mol_atc_id, level5, molregno) VALUES ('39541', 'C02CA01', '97'), ('37857', 'N07BA01', '115'), ('38936', 'J01MA01', '146'), ('39237', 'S01AE01', '146'), ('40595', 'S02AA16', '146');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_parameters_27`
(
  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_27` (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.activities_26`
(
  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_26` (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 ('36007', '18212', '12041', '208581', '677026', '=', '1000', 'ug.mL-1', '1', 'Solubility', NULL, NULL, '0', NULL, 'BAO_0002135', 'UO_0000274', 'http://www.openphacts.org/units/MicrogramPerMilliliter', NULL, NULL, NULL, '1', 'S', '=', '1', 'mg ml-1', NULL, NULL), ('44018', '18264', '8329', '347518', '290248', '=', '177300', 'ug.mL-1', '1', 'Solubility', NULL, 'Outside typical range', '0', NULL, 'BAO_0002135', 'UO_0000274', 'http://www.openphacts.org/units/MicrogramPerMilliliter', NULL, NULL, NULL, '1', 'Solubility', '=', '17.73', 'g dl-1', NULL, NULL), ('44744', '25668', '16852', '8491', '45680', '=', '1.39', 'ug g-1', '0', 'Concentration', NULL, NULL, '0', NULL, 'BAO_0002752', NULL, NULL, NULL, NULL, NULL, '1', 'Concentration', '=', '1.39', 'ug g-1', NULL, NULL), ('152671', '124501', '17257', '276247', '236385', '=', '62.4', 'degrees C', '0', 'Tm', NULL, NULL, '0', NULL, 'BAO_0000581', 'UO_0000027', 'http://qudt.org/vocab/unit#DegreeCelsius', NULL, NULL, NULL, '1', 'Tm', '=', '62.4', 'degrees C', NULL, NULL), ('160102', '24531', '10187', '85999', '77891', '=', '0.21', 'hr', '1', 'T1/2', NULL, NULL, '0', NULL, 'BAO_0002115', 'UO_0000032', 'http://qudt.org/vocab/unit#Hour', NULL, NULL, NULL, '1', 'T1/2', '=', '12.6', 'min', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_29`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_29` (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.target_relations_29`
(
  tid STRING,
  relationship STRING,
  related_tid STRING,
  targrel_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_29` (tid, relationship, related_tid, targrel_id) VALUES ('11699', 'SUBSET OF', '104812', '205372'), ('12261', 'SUBSET OF', '104822', '205373'), ('12261', 'SUBSET OF', '118329', '205374'), ('12755', 'SUBSET OF', '104684', '205375'), ('12735', 'SUBSET OF', '105018', '205376');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_components_25`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.relationship_type_24` (relationship_type, relationship_desc) VALUES ('D', 'Direct protein target assigned'), ('H', 'Homologous protein target assigned'), ('M', 'Molecular target other than protein assigned'), ('N', 'Non-molecular target assigned'), ('S', 'Subcellular target assigned');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_frac_classification_30`
(
  mol_frac_id INT64 NOT NULL OPTIONS(description="Primary key."),
  frac_class_id INT64 NOT NULL OPTIONS(description="Foreign key to frac_classification table showing the mechanism of action classification of the compound."),
  molregno INT64 NOT NULL OPTIONS(description="Foreign key to molecule_dictionary, showing the compound to which the classification applies.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_frac_classification_30` (mol_frac_id, frac_class_id, molregno) VALUES (139, 513, 1627948), (123, 514, 1486302), (114, 515, 1461886), (29, 519, 435442), (131, 520, 1493581);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.site_components_29`
(
  sitecomp_id STRING,
  site_id STRING,
  component_id STRING,
  domain_id STRING,
  site_residues STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_29` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2764', '2643', '5', NULL, NULL), ('2766', '2645', '5', NULL, NULL), ('13860', '9801', '8', NULL, NULL), ('13861', '9802', '8', NULL, NULL), ('13862', '9803', '8', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_map_30`
(
  actsm_id INT64 NOT NULL OPTIONS(description="Primary key"),
  activity_id INT64 NOT NULL OPTIONS(description="FK to ACTIVITY_ID in ACTIVITIES table."),
  smid INT64 NOT NULL OPTIONS(description="FK to SMID in ACTIVITY_SMID.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_map_30` (actsm_id, activity_id, smid) VALUES (2, 17126841, 2939), (3, 17126842, 2940), (4, 17126843, 2941), (5, 17126844, 2942), (6, 17126845, 2943);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_atc_classification_30`
(
  mol_atc_id INT64 NOT NULL OPTIONS(description="Primary key"),
  level5 STRING NOT NULL OPTIONS(description="ATC code (foreign key to atc_classification table)"),
  molregno INT64 NOT NULL OPTIONS(description="Drug to which the ATC code applies (foreign key to molecule_dictionary table)")
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification_30` (mol_atc_id, level5, molregno) VALUES (60559, 'B01AC06', 1280), (61116, 'N02BA01', 1280), (61117, 'N02BA51', 1280), (61696, 'A01AD05', 1280), (62830, 'N02BA71', 1280);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_components_33`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.research_stem_33` (res_stem_id, research_stem) VALUES ('2', '4SC'), ('3', 'A'), ('4', 'AA'), ('5', 'AB'), ('6', 'ABI');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_classification_26`
(
  protein_class_id STRING,
  parent_id STRING,
  pref_name STRING,
  short_name STRING,
  protein_class_desc STRING,
  definition STRING,
  class_level STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_classification_26` (protein_class_id, parent_id, pref_name, short_name, protein_class_desc, definition, class_level) VALUES ('0', NULL, 'Protein class', 'Protein class', 'protein class', 'Root of the ChEMBL protein family classification', '0'), ('1', '0', 'Enzyme', 'Enzyme', 'enzyme', 'Biological molecules that possess catalytic activity. They may occur naturally or be synthetically created. Enzymes are usually proteins, however CATALYTIC RNA and CATALYTIC DNA molecules have also been identified. [MESH:D004798]', '1'), ('2', '0', 'Adhesion', 'Adhesion', 'adhesion', 'Surface ligands, usually glycoproteins, that mediate cell-to-cell adhesion. Their functions include the assembly and interconnection of various vertebrate systems, as well as maintenance of tissue integration, wound healing, morphogenic movements, cellular migrations, and metastasis. [MESH:D015815]', '1'), ('9', '0', 'Surface antigen', 'Surface antigen', 'surface antigen', 'Antigens on surfaces of cells, including infectious or foreign cells or viruses. They are usually protein-containing groups on cell membranes or walls and may be isolated. [MESH:D000954]', '1'), ('11', '0', 'Membrane receptor', 'Membrane receptor', 'membrane receptor', 'Cell surface proteins that bind signalling molecules external to the cell with high affinity and convert this extracellular event into one or more intracellular signals that alter the behavior of the target cell (From Alberts, Molecular Biology of the Cell, 2nd ed, pp693-5). Cell surface receptors, unlike enzymes, do not chemically alter their ligands. [MESH:D011956]', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains` (domain_id, domain_type, source_domain_id, domain_name, domain_description) VALUES ('13192', 'Pfam-A', 'PF09793', 'AD', NULL), ('12967', 'Pfam-A', 'PF03484', 'B5', NULL), ('2762', 'Pfam-A', 'PF00168', 'C2', NULL), ('10484', 'Pfam-A', 'PF01413', 'C4', NULL), ('4131', 'Pfam-A', 'PF08742', 'C8', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_23`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_23` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id) VALUES ('863980', '542827', '49165', 'GNF-Pf-415', 'GNF-Pf-415', '3', NULL), ('863985', '583644', '49165', 'GNF-Pf-420', 'GNF-Pf-420', '3', NULL), ('864014', '583673', '49165', 'GNF-Pf-449', 'GNF-Pf-449', '3', NULL), ('864036', '583694', '49165', 'GNF-Pf-471', 'GNF-Pf-471', '3', NULL), ('864123', '583778', '49165', 'GNF-Pf-558', 'GNF-Pf-558', '3', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_29`
(
  atc_code STRING,
  ddd_units STRING,
  ddd_admr STRING,
  ddd_comment STRING,
  ddd_id STRING,
  ddd_value STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.defined_daily_dose_29` (atc_code, ddd_units, ddd_admr, ddd_comment, ddd_id, ddd_value) VALUES ('A02AD01', NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15', NULL), ('R03BB05', NULL, NULL, NULL, '2979', NULL), ('R03BB06', NULL, NULL, NULL, '2981', NULL), ('V03AE09', NULL, NULL, NULL, '3237', NULL), ('B06AC05', NULL, NULL, NULL, '3282', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_stds_lookup_26`
(
  std_act_id STRING,
  standard_type STRING,
  definition STRING,
  standard_units STRING,
  normal_range_min STRING,
  normal_range_max STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_stds_lookup_26` (std_act_id, standard_type, definition, standard_units, normal_range_min, normal_range_max) VALUES ('81', 'HCT', 'The percentage of a whole blood specimen that is composed of red blood cells (erythrocytes).', '%', NULL, NULL), ('95', 'MCHC', 'A quantitative measurement of the mean amount of hemoglobin per erythrocytes in a specified volume of a biological specimen.', '%', NULL, NULL), ('103', 'EOSLE', 'A relative measurement (ratio or percentage) of the eosinophils to leukocytes in a biological specimen.', '%', NULL, NULL), ('104', 'LYMLE', 'A relative measurement (ratio or percentage) of the lymphocytes to leukocytes in a biological specimen.', '%', NULL, NULL), ('106', 'BASOLE', 'A relative measurement (ratio or percentage) of the basophils to leukocytes in a biological specimen.', '%', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.source_29`
(
  src_id STRING,
  src_description STRING,
  src_short_name STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.source_29` (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.molecule_irac_classification_27`
(
  mol_irac_id STRING,
  irac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_irac_classification_27` (mol_irac_id, irac_class_id, molregno) VALUES ('65', '1', '611681'), ('113', '3', '1222245'), ('74', '5', '782593'), ('84', '7', '896779'), ('80', '8', '839968');