nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_23`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_23` (comp_go_id, component_id, go_id) VALUES ('184729', '1324', 'GO:0000003'), ('184737', '1389', 'GO:0000003'), ('184761', '1651', 'GO:0000003'), ('184795', '2135', 'GO:0000003'), ('184823', '2391', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.usan_stems_25`
(
  usan_stem_id STRING,
  stem STRING,
  subgroup STRING,
  annotation STRING,
  stem_class STRING,
  major_class STRING,
  who_extra STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.usan_stems_25` (usan_stem_id, stem, subgroup, annotation, stem_class, major_class, who_extra) VALUES ('16', '-adol-', '-', 'analgesics (mixed opiate receptor agonists/antagonists)', 'Infix', 'GPCR', '0'), ('32', '-nab-', '-', 'cannabinol derivatives', 'Infix', 'GPCR', '0'), ('49', '-kef-', '-', 'enkephalin agonists', 'Infix', 'GPCR', '0'), ('73', '-prost-', '-', 'prostaglandins', 'Infix', 'GPCR', '0'), ('86', '-barb-', '-', 'barbituric acid derivatives', 'Infix', 'ion channel', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies_28`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_28` (co_stem_id, res_stem_id, company, country, previous_company) VALUES ('541', '149', 'Vernalis', 'UK', 'Cita NeuroPharmaceuticals'), ('681', '28', 'GlaxoSmithKline', 'UK', 'Allen & Hanburys'), ('683', '3', 'AstraZeneca', 'UK', 'Astra'), ('687', '106', 'GlaxoSmithKline', 'UK', 'Borroughs Wellcome'), ('688', '77', 'Vernalis', 'UK', 'British Biotech');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_23`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_23` (bao_id, label) VALUES ('BAO_0000194', 'TGI'), ('BAO_0000432', 'Z-score'), ('BAO_0000443', 'input data'), ('BAO_0002042', 'percent interphase'), ('BAO_0003040', 'Vd');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_23`
(
  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_23` (tid, target_type, pref_name, tax_id, organism, chembl_id, species_group_flag) VALUES ('22224', 'ADMET', 'ADMET', NULL, NULL, 'CHEMBL612558', '0'), ('109712', 'LIPID', 'Triglyceride', NULL, NULL, 'CHEMBL3559389', '0'), ('109711', 'LIPID', 'Cholesterol ester', NULL, NULL, 'CHEMBL3559388', '0'), ('109803', 'LIPID', 'Ganglioside GD3', '9606', 'Homo sapiens', 'CHEMBL3580507', '0'), ('116919', 'LIPID', 'Phosphatidylserine', '9606', 'Homo sapiens', 'CHEMBL3833422', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_24`
(
  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_24` (atc_code, ddd_units, ddd_admr, ddd_comment, ddd_id, ddd_value) VALUES ('A02AD01', NULL, NULL, 'Standard dose: 10 tablets or 50 ml mixt', '15', NULL), ('R03BB05', NULL, NULL, NULL, '2979', NULL), ('R03BB06', NULL, NULL, NULL, '2981', NULL), ('S01EB04', 'ml', NULL, NULL, '1742', '0.1'), ('S01EB03', 'ml', NULL, NULL, '1741', '0.2');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.products_33`
(
  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_33` (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.bio_component_sequences`
(
  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` (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.relationship_type_29`
(
  relationship_type STRING,
  relationship_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.relationship_type_29` (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.component_domains_33`
(
  compd_id STRING,
  domain_id STRING,
  component_id STRING,
  start_position STRING,
  end_position STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_33` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('316275', '12801', '2432', '1', '18'), ('322975', '12730', '17401', '1', '22'), ('321029', '10417', '7342', '1', '23'), ('316628', '3347', '8669', '2', '24'), ('322967', '12723', '17384', '1', '25');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_33`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_33` (cpd_str_alert_id, molregno, alert_id) VALUES ('65807961', '103', '1'), ('65807962', '105', '1'), ('65807963', '638', '1'), ('65807964', '722', '1'), ('65807965', '752', '1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.site_components_24`
(
  sitecomp_id STRING,
  site_id STRING,
  component_id STRING,
  domain_id STRING,
  site_residues STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.site_components_24` (sitecomp_id, site_id, component_id, domain_id, site_residues) VALUES ('2690', '2616', '23', NULL, NULL), ('2691', '2616', '3269', NULL, NULL), ('2693', '2616', '813', NULL, NULL), ('2694', '2616', '3417', NULL, NULL), ('2696', '2616', '2875', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.version_30`
(
  name STRING NOT NULL OPTIONS(description="Name of release version"),
  creation_date DATETIME OPTIONS(description="Date database created"),
  comments STRING OPTIONS(description="Description of release version")
);

INSERT INTO `bigquery-public-data.ebi_chembl.version_30` (name, creation_date, comments) VALUES ;
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alerts`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains_25` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('56103', '2627', '1992', '1', '213'), ('57066', '2627', '2421', '1', '226'), ('57068', '2627', '2423', '1', '276'), ('57676', '2627', '2782', '1', '234'), ('58520', '2627', '2671', '1', '98');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_structural_alerts_25`
(
  cpd_str_alert_id STRING,
  molregno STRING,
  alert_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_structural_alerts_25` (cpd_str_alert_id, molregno, alert_id) VALUES ('3', '3', '1017'), ('13', '10', '235'), ('14', '10', '381'), ('15', '10', '1183'), ('19', '23', '1059');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.version_26`
(
  name STRING,
  creation_date STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.version_26` (name, creation_date, comments) VALUES ('ChEMBL_26', '2020-01-10 00:00:00.000000', 'ChEMBL Release 26');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_map`
(
  actsm_id STRING,
  activity_id STRING,
  smid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_map` (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.target_components_28`
(
  tid STRING,
  component_id STRING,
  targcomp_id STRING,
  homologue STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.target_relations_24` (tid, relationship, related_tid, targrel_id) VALUES ('10193', 'SUBSET OF', '104764', '91760'), ('12071', 'SUBSET OF', '104709', '91764'), ('12071', 'SUBSET OF', '107893', '91765'), ('12071', 'SUBSET OF', '117095', '91766'), ('12071', 'SUBSET OF', '107894', '91767');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.domains_24`
(
  domain_id STRING,
  domain_type STRING,
  source_domain_id STRING,
  domain_name STRING,
  domain_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.domains_24` (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.research_stem_28`
(
  res_stem_id STRING,
  research_stem STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology` (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.products_25`
(
  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_25` (dosage_form, route, trade_name, approval_date, ad_type, oral, topical, parenteral, black_box_warning, applicant_full_name, innovator_company, product_id, nda_type) VALUES ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GE HEALTHCARE', '0', 'PRODUCT_017256_002', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'RX', '0', '1', '0', NULL, 'LANTHEUS MEDICAL IMAGING INC', '0', 'PRODUCT_017284_001', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'RX', '0', '1', '0', NULL, 'LANTHEUS MEDICAL IMAGING INC', '0', 'PRODUCT_017284_002', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GENERAL ELECTRIC CO', '0', 'PRODUCT_017550_001', 'N'), ('GAS', 'INHALATION', 'XENON XE 133', '1982-01-01 00:00:00.000000', 'DISCN', '0', '1', '0', NULL, 'GENERAL ELECTRIC CO', '0', 'PRODUCT_017550_003', 'N');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hrac_classification_29`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_29` (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.irac_classification_24`
(
  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_24` (irac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, irac_code) VALUES ('13', 'BENSULTAP', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A1', '14'), ('14', 'CARTAP HYDROCHLORIDE', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A2', '14'), ('15', 'THIOCYCLAM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A3', '14'), ('16', 'THIOSULTAP-SODIUM', 'A', 'NERVE ACTION', 'A14', 'NICOTINIC ACETYLCHOLINE RECEPTOR (NACHR) CHANNEL BLOCKERS', 'A1414A', 'NEREISTOXIN ANALOGUES', 'A1414A4', '14'), ('34', 'AMITRAZ', 'A', 'NERVE ACTION', 'A19', 'OCTOPAMINE RECEPTOR AGONISTS', 'A1919A', 'AMITRAZ', 'A1919A1', '19');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.product_patents_29`
(
  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_29` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag, submission_date) VALUES ('22699', 'PRODUCT_021196_001', '6780889*PED', '2021-01-04 00:00:00.000000', '0', '0', NULL, '0', NULL), ('21894', 'PRODUCT_021196_001', '7262219*PED', '2021-01-04 00:00:00.000000', '0', '0', NULL, '0', NULL), ('4123', 'PRODUCT_022156_002', '5856346', '2021-01-05 00:00:00.000000', '1', '1', 'U-893', '0', NULL), ('8768', 'PRODUCT_022156_001', '5856346', '2021-01-05 00:00:00.000000', '1', '1', 'U-893', '0', NULL), ('10384', 'PRODUCT_022156_003', '5856346', '2021-01-05 00:00:00.000000', '1', '1', 'U-893', '0', '2014-03-06 00:00:00.000000');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_26`
(
  met_id STRING,
  drug_record_id STRING,
  substrate_record_id STRING,
  metabolite_record_id STRING,
  pathway_id STRING,
  pathway_key STRING,
  enzyme_name STRING,
  enzyme_tid STRING,
  met_conversion STRING,
  organism STRING,
  tax_id STRING,
  met_comment STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_26` (met_id, drug_record_id, substrate_record_id, metabolite_record_id, pathway_id, pathway_key, enzyme_name, enzyme_tid, met_conversion, organism, tax_id, met_comment) VALUES ('390', '2468884', '2470350', '2469667', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('391', '2468884', '2469096', '2469361', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('392', '2468884', '2468884', '2469074', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('393', '2468884', '2468884', '2468885', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris'), ('394', '2468884', '2468884', '2469668', '1', 'fig 1', NULL, NULL, NULL, NULL, NULL, 'Species: Rattus norvegicus,Homo sapiens,Canis lupus familiaris');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_family_classification_27`
(
  protein_class_id STRING,
  protein_class_desc STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  l4 STRING,
  l5 STRING,
  l6 STRING,
  l7 STRING,
  l8 STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.component_domains` (compd_id, domain_id, component_id, start_position, end_position) VALUES ('316275', '12801', '2432', '1', '18'), ('322975', '12730', '17401', '1', '22'), ('321029', '10417', '7342', '1', '23'), ('316628', '3347', '8669', '2', '24'), ('322967', '12723', '17384', '1', '25');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_irac_classification_30`
(
  mol_irac_id INT64 NOT NULL OPTIONS(description="Primary key."),
  irac_class_id INT64 NOT NULL OPTIONS(description="Foreign key to the irac_classification table showing the mechanism of action classification for the compound."),
  molregno INT64 NOT NULL OPTIONS(description="Foreign key to the molecule_dictionary table, showing the compound to which the classification applies.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_irac_classification_30` (mol_irac_id, irac_class_id, molregno) VALUES (65, 1, 611681), (113, 3, 1222245), (74, 5, 782593), (84, 7, 896779), (80, 8, 839968);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.curation_lookup_24`
(
  curated_by STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.curation_lookup_24` (curated_by, description) VALUES ('Autocuration', 'Curated against extractor target assignment'), ('Expert', 'Curated against ChEMBL target assignment from original publication'), ('Intermediate', 'Curated against ChEMBL target assignment from assay description');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_mechanism_24`
(
  mec_id STRING,
  record_id STRING,
  molregno STRING,
  mechanism_of_action STRING,
  tid STRING,
  site_id STRING,
  action_type STRING,
  direct_interaction STRING,
  molecular_mechanism STRING,
  disease_efficacy STRING,
  mechanism_comment STRING,
  selectivity_comment STRING,
  binding_site_comment STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.drug_mechanism_24` (mec_id, record_id, molregno, mechanism_of_action, tid, site_id, action_type, direct_interaction, molecular_mechanism, disease_efficacy, mechanism_comment, selectivity_comment, binding_site_comment) VALUES ('2105', '1344045', '1336998', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2110', '1641031', '420212', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2114', '1343805', '675628', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Mode of action not fully understood; it seems to inhibit some HPV enzymes, and it has some antioxidant properties', NULL, NULL), ('2117', '1343219', '675438', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Hypotensive effect not fully understood', NULL, NULL), ('2118', '1344204', '675567', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_30`
(
  as_id INT64 NOT NULL OPTIONS(description="Unique ID for each record."),
  rgid INT64 NOT NULL OPTIONS(description="Record Grouping ID, used to group together related data points in this table"),
  smid INT64 OPTIONS(description="FK to SMID in ACTIVITY_SMID."),
  type STRING NOT NULL OPTIONS(description="Type of end-point measurement: e.g. IC50, LD50, %inhibition etc, as it appears in the original dataset"),
  relation STRING OPTIONS(description="Symbol constraining the activity value (e.g. >, <, =), as it appears in the original dataset"),
  value FLOAT64 OPTIONS(description="Datapoint value as it appears in the original dataset."),
  units STRING OPTIONS(description=" Units of measurement as they appear in the original dataset"),
  text_value STRING OPTIONS(description="Non-numeric value for measurement as in original dataset"),
  standard_type STRING OPTIONS(description=" Standardised form of the TYPE"),
  standard_relation STRING OPTIONS(description="Standardised form of the RELATION"),
  standard_value FLOAT64 OPTIONS(description="Standardised form of the VALUE"),
  standard_units STRING OPTIONS(description=" Standardised form of the UNITS"),
  standard_text_value STRING OPTIONS(description="Standardised form of the TEXT_VALUE"),
  comments STRING OPTIONS(description="A Comment.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_30` (as_id, rgid, smid, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments) VALUES (1031369, 24038, 1027719, 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', 300.0, 'CELLS/uL', NULL, 'NEUTSG', '=', 300.0, 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-013'), (1031407, 24039, 1027757, 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', 679.0, 'CELLS/uL', NULL, 'NEUTSG', '=', 679.0, 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-014; LIVER_Affymetrix: 95321.CEL; KIDNEY_Affymetrix: 92456.CEL; HEART_Affymetrix: 97415.CEL'), (1031445, 24040, 1027795, 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', 850.0, 'CELLS/uL', NULL, 'NEUTSG', '=', 850.0, 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-015; KIDNEY_Affymetrix: 92533.CEL'), (1031483, 24041, 1027833, 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', 320.0, 'CELLS/uL', NULL, 'NEUTSG', '=', 320.0, 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-016; HEART_Affymetrix: 97391.CEL'), (1031521, 24042, 1027871, 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', 657.0, 'CELLS/uL', NULL, 'NEUTSG', '=', 657.0, 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-017; LIVER_Affymetrix: 96875.CEL');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_class_map_33`
(
  ass_cls_map_id STRING,
  assay_id STRING,
  assay_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_class_map_33` (ass_cls_map_id, assay_id, assay_class_id) VALUES ('1879821', '585237', '344'), ('1879822', '511570', '344'), ('1879823', '511565', '344'), ('1879824', '758442', '344'), ('1879825', '641019', '344');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_class`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class` (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.confidence_score_lookup_24`
(
  confidence_score STRING,
  description STRING,
  target_mapping STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.confidence_score_lookup_24` (confidence_score, description, target_mapping) VALUES ('0', 'Default value - Target unknown or has yet to be assigned', 'Unassigned'), ('1', 'Target assigned is non-molecular', 'Non-molecular'), ('2', 'Target assigned is subcellular fraction', 'Subcellular fraction'), ('3', 'Target assigned is molecular non-protein target', 'Molecular (non-protein)'), ('4', 'Multiple homologous protein targets may be assigned', 'Multiple homologous proteins');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_23`
(
  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_23` (component_id, component_type, description, sequence, sequence_md5sum, tax_id, organism) VALUES ('17008', 'RNA', 'Eteplirsen oligonucleotide', 'CTCCAACATCAAGGAAGATGGCATTTCTAG', 'a5e9049b410b9fefac4629fc6b2c8f46', NULL, NULL), ('6397', 'PROTEIN', 'Demcizumab heavy chain', 'QVQLVQSGAEVKKPGASVKISCKASGYSFTAYYIHWVKQAPGQGLEWIGYISSYNGATNYNQKFKGRVTFTTDTSTSTAYMELRSLRSDDTAVYYCARDYDYDVGMDYWGQGTLVTVSSASTKGPSVFPLAPCSRSTSESTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSNFGTQTYTCNVDHKPSNTKVDKTVERKCCVECPPCPAPPVAGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVQFNWYVDGVEVHNAKTKPREEQFNSTFRVVSVLTVVHQDWLNGKEYKCKVSNKGLPAPIEKTISKTKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPMLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPG', 'eb0646280c0ce6b0f4a13f3f389d2b1f', NULL, NULL), ('6431', 'PROTEIN', 'Ficlatuzumab heavy chain', 'VQLVQPGAEVKKPGTSVKLSCKASGYTFTTYWMHWVRQAPGQGLEWIGEINPTNGHTNYNQKFQGRATLTVDKSTSTAYMELSSLRSEDTAVYYCARNYVGSIFDYWGQGTLLTVSSASTKGPSVFPLAPSSKSTSGGTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSSLGTQTYICNVNHKPSNTKVDKRVEPKSCDKTHTCPPCPAPELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK', '9a0c0e1dbdac54f6a36f14b78a767478', NULL, NULL), ('6434', 'PROTEIN', 'Suvizumab light chain', 'DIQMTQRPDSLSASVGDRVTMSCKSSQSLLNSGDQKNYLTWYQQKPGQPPKLLIYWASTGESGVPDRFSGSGSGTDFTFTISSLQPEDIATYYCQNDYSYPWTFGQGTKVEIKRTVAAPSVFIFPPSDEQLKSGTASVVCLLNNFYPREAKVQWKVDNALQSGNSQESVTEQDSKDSTYSLSSTLTLSKADYEKHKVYACEVTHQGLSSPVTKSFNRGEC', '9205d617034283437db74cd6688d7d48', NULL, NULL), ('6441', 'PROTEIN', 'Quilizumab heavy chain', 'EVQLVESGGGLVQPGGSLRLSCAASGFTFSDYGIAWVRQAPGKGLEWVAFISDLAYTIYYADTVTGRFTISRDNSKNTLYLQMNSLRAEDTAVYYCARDNWDAMDYWGQGTLVTVSSASTKGPSVFPLAPSSKSTSGGTAALGCLVKDYFPEPVTVSWNSGALTSGVHTFPAVLQSSGLYSLSSVVTVPSSSLGTQTYICNVNHKPSNTKVDKKVEPKSCDKTHTCPPCPAPELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK', 'c4797db26b3d2c801ee8ba80ae5cf920', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alert_sets_28`
(
  alert_set_id STRING,
  set_name STRING,
  priority STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.structural_alert_sets_28` (alert_set_id, set_name, priority) VALUES ('1', 'Glaxo', '8'), ('2', 'Dundee', '4'), ('3', 'BMS', '7'), ('4', 'PAINS', '6'), ('6', 'MLSMR', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_type_24`
(
  assay_type STRING,
  assay_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_type_24` (assay_type, assay_desc) VALUES ('A', 'ADME'), ('B', 'Binding'), ('F', 'Functional'), ('P', 'Physicochemical'), ('T', 'Toxicity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_supp_26`
(
  as_id STRING,
  rgid STRING,
  smid STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_type STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_text_value STRING,
  comments STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_supp_26` (as_id, rgid, smid, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments) VALUES ('1031369', '24038', '1027719', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '300', 'CELLS/uL', NULL, 'NEUTSG', '=', '300', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-013'), ('1031407', '24039', '1027757', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '679', 'CELLS/uL', NULL, 'NEUTSG', '=', '679', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-014; LIVER_Affymetrix: 95321.CEL; KIDNEY_Affymetrix: 92456.CEL; HEART_Affymetrix: 97415.CEL'), ('1031445', '24040', '1027795', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '850', 'CELLS/uL', NULL, 'NEUTSG', '=', '850', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-015; KIDNEY_Affymetrix: 92533.CEL'), ('1031483', '24041', '1027833', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '320', 'CELLS/uL', NULL, 'NEUTSG', '=', '320', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-016; HEART_Affymetrix: 97391.CEL'), ('1031521', '24042', '1027871', 'ABSOLUTE SEGMENTED NEUTROPHIL', '=', '657', 'CELLS/uL', NULL, 'NEUTSG', '=', '657', 'cells.uL-1', NULL, 'SAMPLE_ID: I011106-017; LIVER_Affymetrix: 96875.CEL');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_class_23`
(
  component_id STRING,
  protein_class_id STRING,
  comp_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_23` (component_id, protein_class_id, comp_class_id) VALUES ('394', '1', '397'), ('592', '1', '600'), ('719', '1', '729'), ('1035', '1', '1053'), ('1089', '1', '1108');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_family_classification`
(
  protein_class_id STRING,
  protein_class_desc STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  l4 STRING,
  l5 STRING,
  l6 STRING,
  l7 STRING,
  l8 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_family_classification` (protein_class_id, protein_class_desc, l1, l2, l3, l4, l5, l6, l7, l8) VALUES ('890', 'enzyme  lyase  guanylate cyclase  soluble guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Soluble guanylate cyclase', NULL, NULL, NULL, NULL), ('1315', 'enzyme  lyase  guanylate cyclase  receptor guanylate cyclase', 'Enzyme', 'Lyase', 'Guanylate cyclase', 'Receptor guanylate cyclase', NULL, NULL, NULL, NULL), ('841', 'epigenetic regulator  eraser  hdac  hdac class i', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class I', NULL, NULL, NULL, NULL), ('842', 'epigenetic regulator  eraser  hdac  hdac class iia', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIa', NULL, NULL, NULL, NULL), ('843', 'epigenetic regulator  eraser  hdac  hdac class iib', 'Epigenetic regulator', 'Eraser', 'Histone deacetylase', 'HDAC class IIb', NULL, NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.frac_classification_29`
(
  frac_class_id STRING,
  active_ingredient STRING,
  level1 STRING,
  level1_description STRING,
  level2 STRING,
  level2_description STRING,
  level3 STRING,
  level3_description STRING,
  level4 STRING,
  level4_description STRING,
  level5 STRING,
  frac_code STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.frac_classification_29` (frac_class_id, active_ingredient, level1, level1_description, level2, level2_description, level3, level3_description, level4, level4_description, level5, frac_code) VALUES ('520', 'BENALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A1', '4'), ('521', 'BENALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A2', '4'), ('522', 'FURALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A3', '4'), ('523', 'METALAXYL', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A4', '4'), ('524', 'METALAXYL-M', 'A', 'NUCLEIC ACID SYNTHESIS', 'A1', 'RNA POLYMERASE I', 'A14', 'PA - FUNGICIDES (PHENYLAMIDES)', 'A14A', 'ACYLALANINES', 'A14A5', '4');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_class_map_25`
(
  ass_cls_map_id STRING,
  assay_id STRING,
  assay_class_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_class_map_25` (ass_cls_map_id, assay_id, assay_class_id) VALUES ('1', '511568', '344'), ('2', '758443', '344'), ('3', '107174', '344'), ('4', '585237', '344'), ('5', '632569', '344');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.tissue_dictionary_27`
(
  tissue_id STRING,
  uberon_id STRING,
  pref_name STRING,
  efo_id STRING,
  chembl_id STRING,
  bto_id STRING,
  caloha_id STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.indication_refs_28` (indref_id, drugind_id, ref_type, ref_id, ref_url) VALUES ('287359', '50045', 'ATC', 'A01AB02', 'http://www.whocc.no/atc_ddd_index/?code=A01AB02'), ('336248', '68675', 'ATC', 'A01AB03', 'http://www.whocc.no/atc_ddd_index/?code=A01AB03'), ('284634', '42687', 'ATC', 'A01AB04', 'http://www.whocc.no/atc_ddd_index/?code=A01AB04'), ('328235', '50046', 'ATC', 'A01AB05', 'http://www.whocc.no/atc_ddd_index/?code=A01AB05'), ('334909', '67819', 'ATC', 'A01AB06', 'http://www.whocc.no/atc_ddd_index/?code=A01AB06');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.chembl_id_lookup_29`
(
  chembl_id STRING,
  entity_type STRING,
  entity_id STRING,
  status STRING,
  last_active STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.chembl_id_lookup_29` (chembl_id, entity_type, entity_id, status, last_active) VALUES ('CHEMBL1075036', 'TARGET', '102994', 'INACTIVE', '20'), ('CHEMBL1075114', 'TARGET', '103040', 'INACTIVE', '16'), ('CHEMBL1075122', 'TARGET', '103049', 'INACTIVE', '16'), ('CHEMBL1075123', 'TARGET', '103050', 'INACTIVE', '16'), ('CHEMBL1075124', 'TARGET', '103051', 'INACTIVE', '16');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_30`
(
  met_id INT64 NOT NULL OPTIONS(description="Primary key"),
  drug_record_id INT64 OPTIONS(description="Foreign key to compound_records. Record representing the drug or other compound for which metabolism is being studied (may not be the same as the substrate being measured)"),
  substrate_record_id INT64 OPTIONS(description="Foreign key to compound_records. Record representing the compound that is the subject of metabolism"),
  metabolite_record_id INT64 OPTIONS(description="Foreign key to compound_records. Record representing the compound that is the result of metabolism"),
  pathway_id INT64 OPTIONS(description="Identifier for the metabolic scheme/pathway (may be multiple pathways from one source document)"),
  pathway_key STRING OPTIONS(description="Link to original source indicating where the pathway information was found (e.g., Figure 1, page 23)"),
  enzyme_name STRING OPTIONS(description=" Name of the enzyme responsible for the metabolic conversion"),
  enzyme_tid INT64 OPTIONS(description="Foreign key to target_dictionary. TID for the enzyme responsible for the metabolic conversion"),
  met_conversion STRING OPTIONS(description=" Description of the metabolic conversion"),
  organism STRING OPTIONS(description=" Organism in which this metabolic reaction occurs"),
  tax_id INT64 OPTIONS(description="NCBI Tax ID for the organism in which this metabolic reaction occurs"),
  met_comment STRING OPTIONS(description="Additional information regarding the metabolism (e.g., organ system, conditions under which observed, activity of metabolites)")
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_30` (met_id, drug_record_id, substrate_record_id, metabolite_record_id, pathway_id, pathway_key, enzyme_name, enzyme_tid, met_conversion, organism, tax_id, met_comment) VALUES (1111, 2472199, 2472196, 2472198, 1, NULL, 'CYP2D6', 11365, 'Methylation of the hydroxyl in the meta position', NULL, NULL, 'Organ: Liver|Comment: Subsequent glucuronidation and sulfation leads to the production of the predominant metabolites found in the urine and faeces.'), (1112, 2472199, 2472196, 2472227, 1, NULL, NULL, 22226, 'Ether link cleavage removing the phenol', NULL, NULL, 'Organ: Liver|Comment: Subsequent glucuronidation leads to the production of the predominant metabolites found in the urine and faeces.'), (1476, 2472199, 2472418, 2472196, 1, NULL, NULL, 22226, 'Deacetalisation', NULL, NULL, 'Organ: Liver|Comment: Part of the main route of metabolism.'), (1477, 2472199, 2472196, 2472197, 1, NULL, 'CYP2D6', 11365, 'Methylation of the hydroxyl in the para position', NULL, NULL, 'Organ: Liver|Comment: Subsequent glucuronidation leads to the production of the predominant metabolites found in the urine and faeces.'), (766, 2472201, 2471971, 2472427, 1, NULL, 'Carboxylesterase', 11627, 'Ester hydrolysis', NULL, NULL, 'Organ: Liver and Intestines|Comment: Minor inactive metabolite.');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.predicted_binding_domains_27`
(
  predbind_id STRING,
  activity_id STRING,
  site_id STRING,
  prediction_method STRING,
  confidence STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.predicted_binding_domains_27` (predbind_id, activity_id, site_id, prediction_method, confidence) VALUES ('3894147', '18527882', NULL, 'Multi domain', 'medium'), ('3894148', '18527892', NULL, 'Multi domain', 'medium'), ('3894149', '18527893', NULL, 'Multi domain', 'medium'), ('3894173', '18527950', NULL, 'Multi domain', 'medium'), ('3894364', '18685420', NULL, 'Multi domain', 'medium');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.research_companies_24`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_24` (co_stem_id, res_stem_id, company, country, previous_company) VALUES ('541', '149', 'Vernalis', 'UK', 'Cita NeuroPharmaceuticals'), ('681', '28', 'GlaxoSmithKline', 'UK', 'Allen & Hanburys'), ('683', '3', 'AstraZeneca', 'UK', 'Astra'), ('687', '106', 'GlaxoSmithKline', 'UK', 'Borroughs Wellcome'), ('688', '77', 'Vernalis', 'UK', 'British Biotech');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.usan_stems_29`
(
  usan_stem_id STRING,
  stem STRING,
  subgroup STRING,
  annotation STRING,
  stem_class STRING,
  major_class STRING,
  who_extra STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.usan_stems_29` (usan_stem_id, stem, subgroup, annotation, stem_class, major_class, who_extra) VALUES ('16', '-adol-', '-', 'analgesics (mixed opiate receptor agonists/antagonists)', 'Infix', 'GPCR', '0'), ('32', '-nab-', '-', 'cannabinol derivatives', 'Infix', 'GPCR', '0'), ('49', '-kef-', '-', 'enkephalin agonists', 'Infix', 'GPCR', '0'), ('73', '-prost-', '-', 'prostaglandins', 'Infix', 'GPCR', '0'), ('86', '-barb-', '-', 'barbituric acid derivatives', 'Infix', 'ion channel', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutic_components`
(
  biocomp_id STRING,
  molregno STRING,
  component_id STRING
);

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

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

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_irac_classification_26` (mol_irac_id, irac_class_id, molregno) VALUES ('65', '1', '611681'), ('113', '3', '1222245'), ('74', '5', '782593'), ('84', '7', '896779'), ('80', '8', '839968');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.defined_daily_dose_28`
(
  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_28` (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), ('S01EB04', 'ml', NULL, NULL, '1742', '0.1');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hrac_classification_33`
(
  mol_hrac_id STRING,
  hrac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hrac_classification_33` (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.activity_stds_lookup_27`
(
  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_27` (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.product_patents_33`
(
  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_33` (prod_pat_id, product_id, patent_no, patent_expire_date, drug_substance_flag, drug_product_flag, patent_use_code, delist_flag, submission_date) VALUES ('19505', 'PRODUCT_209637_001', '6899699', '2022-01-02 00:00:00.000000', '0', '1', NULL, '0', '2017-12-20 00:00:00.000000'), ('26318', 'PRODUCT_209637_002', '6899699', '2022-01-02 00:00:00.000000', '0', '1', NULL, '0', '2020-12-21 00:00:00.000000'), ('12353', 'PRODUCT_206321_001', '8672898', '2022-01-02 00:00:00.000000', '0', '1', NULL, '0', '2015-01-21 00:00:00.000000'), ('23253', 'PRODUCT_209637_001', '8672898', '2022-01-02 00:00:00.000000', '0', '1', NULL, '0', '2017-12-20 00:00:00.000000'), ('26784', 'PRODUCT_209637_002', '8672898', '2022-01-02 00:00:00.000000', '0', '1', NULL, '0', '2020-12-21 00:00:00.000000');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_atc_classification`
(
  mol_atc_id STRING,
  level5 STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification` (mol_atc_id, level5, molregno) VALUES ('91199', 'C02CA01', '97'), ('87186', 'N07BA01', '115'), ('87187', 'J01MA01', '146'), ('87188', 'S02AA16', '146'), ('90606', 'S01AE01', '146');