nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.metabolism_refs_29`
(
  metref_id STRING,
  met_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.metabolism_refs_29` (metref_id, met_id, ref_type, ref_id, ref_url) VALUES ('10363', '1332', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10370', '1333', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10707', '1462', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10714', '1463', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403'), ('10923', '691', 'DOI', '10.1002/hup.403', 'http://doi.org/10.1002/hup.403');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_warning_29`
(
  warning_id STRING,
  record_id STRING,
  molregno STRING,
  warning_type STRING,
  warning_class STRING,
  warning_description STRING,
  warning_country STRING,
  warning_year STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.go_classification_26` (go_id, parent_go_id, pref_name, class_level, aspect, path) VALUES ('GO:0003674', NULL, 'molecular_function', '0', 'F', 'molecular_function'), ('GO:0005575', NULL, 'cellular_component', '0', 'C', 'cellular_component'), ('GO:0008150', NULL, 'biological_process', '0', 'P', 'biological_process'), ('GO:0000166', 'GO:0003674', 'nucleotide binding', '1', 'F', 'molecular_function  nucleotide binding'), ('GO:0000988', 'GO:0003674', 'protein binding transcription factor activity', '1', 'F', 'molecular_function  protein binding transcription factor activity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.formulations_27`
(
  product_id STRING,
  ingredient STRING,
  strength STRING,
  record_id STRING,
  molregno STRING,
  formulation_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.formulations_27` (product_id, ingredient, strength, record_id, molregno, formulation_id) VALUES ('PRODUCT_016089_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148338'), ('PRODUCT_016090_001', 'INTRINSIC FACTOR', NULL, '1343088', '675455', '148342'), ('PRODUCT_016090_001', 'COBALT CHLORIDE CO-60', NULL, '1344144', '675045', '148339'), ('PRODUCT_017406_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148333'), ('PRODUCT_016089_001', 'CYANOCOBALAMIN CO-57', NULL, '1344381', '1369664', '148337');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.target_dictionary_28`
(
  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_28` (tid, target_type, pref_name, tax_id, organism, chembl_id, species_group_flag) VALUES ('22224', 'ADMET', 'ADMET', NULL, NULL, 'CHEMBL612558', '0'), ('109711', 'LIPID', 'Cholesterol ester', NULL, NULL, 'CHEMBL3559388', '0'), ('109712', 'LIPID', 'Triglyceride', NULL, NULL, 'CHEMBL3559389', '0'), ('109803', 'LIPID', 'Ganglioside GD3', '9606', 'Homo sapiens', 'CHEMBL3580507', '0'), ('116872', 'LIPID', 'Ganglioside GM3 (NeuGcGM3)', '9606', 'Homo sapiens', 'CHEMBL3831292', '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bioassay_ontology_28`
(
  bao_id STRING,
  label STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.bioassay_ontology_28` (bao_id, label) VALUES ('BAO_0000006', 'percent cytotoxicity'), ('BAO_0000007', 'nucleosome format'), ('BAO_0000008', 'bioassay type'), ('BAO_0000009', 'ADMET'), ('BAO_0000010', 'functional');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_25`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING,
  cidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_25` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('863955', '583616', '49165', 'GNF-Pf-390', 'GNF-Pf-390', '3', NULL, 'CLD0'), ('863956', '583617', '49165', 'GNF-Pf-391', 'GNF-Pf-391', '3', NULL, 'CLD0'), ('863957', '583618', '49165', 'GNF-Pf-392', 'GNF-Pf-392', '3', NULL, 'CLD0'), ('863958', '583619', '49165', 'GNF-Pf-393', 'GNF-Pf-393', '3', NULL, 'CLD0'), ('863959', '583620', '49165', 'GNF-Pf-394', 'GNF-Pf-394', '3', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING,
  cidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('350151', '18873', '2', 'Okadaic acid', '3-{4-[3-{6''-[3-(3-methyl-1,7-dioxaspiro[5.5]undec-2-yl)-1-hydroxybutyl]-8''-hydroxy-7''-methylenespiro[tetrahydrofuran-2,2''-perhydropyrano[3,2-b]pyran]-5-yl}-1-methyl-(E)-2-propenyl]-2-methyl-11-hydroxy-5,7-dioxaspiro[5.5]undec-1-en-8-yl}-2-hydroxy-2-methylpropanal', '1', NULL, 'CLD0'), ('350162', '294543', '3', '25', 'Biphenyl-2-carboxylic acid [2-[4-(4-diethylamino-piperidin-1-yl)-4-oxo-butoxy]-4-(5,6,7,8-tetrahydro-thieno[3,2-b]azepine-4-carbonyl)-phenyl]-amide', '1', NULL, 'CLD0'), ('350206', '608648', '6', '3 Cocaethylene', '(2R,3S)-3-Benzoyloxy-2-ethoxycarbonyl-8-methyl-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0'), ('350238', '1510360', '6', '36', '(2S,3S)-3-Benzoyloxy-2-methoxycarbonyl-8-methyl-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0'), ('350204', '333370', '6', '1 cocaine', '(2R,3S)-3-Benzoyloxy-2-methoxycarbonyl-8-methyl-8-azonia-bicyclo[3.2.1]octane', '1', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_classification_27`
(
  assay_class_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING,
  class_type STRING,
  bao_id STRING,
  source STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_classification_27` (assay_class_id, l1, l2, l3, class_type, bao_id, source) VALUES ('9', 'ALIMENTARY TRACT AND METABOLISM', 'Experimental Obesity', 'Diet Induced Obesity', 'In vivo efficacy', NULL, 'Hock_2016'), ('25', 'ALIMENTARY TRACT AND METABOLISM', 'Gastric Function', 'Indomethacin Induced Ulcers in Rats', 'In vivo efficacy', NULL, 'Hock_2016'), ('81', 'ALIMENTARY TRACT AND METABOLISM', 'Test on Salivary Glands', 'Measurement of Salivation', 'In vivo efficacy', NULL, 'Hock_2016'), ('88', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Leukemia Oncology Models', 'L1210 Experimental Leukemia', 'In vivo efficacy', NULL, 'Hock_2016'), ('96', 'ANTINEOPLASTIC AND IMMUNOMODULATING AGENTS', 'Methods for Testing Immunological Factors', 'Adjuvant Arthritis in Rats', 'In vivo efficacy', NULL, 'Hock_2016');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.component_go_28`
(
  comp_go_id STRING,
  component_id STRING,
  go_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.component_go_28` (comp_go_id, component_id, go_id) VALUES ('1144369', '1466', 'GO:0000003'), ('1161649', '2345', 'GO:0000003'), ('1178332', '4115', 'GO:0000003'), ('1179647', '3697', 'GO:0000003'), ('1179802', '3569', 'GO:0000003');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_25`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_25` (site_id, site_name, tid) VALUES ('2630', 'Beta tubulin', '106199'), ('2631', 'Beta tubulin', '106200'), ('2632', 'Beta tubulin', '106201'), ('2620', '16S ribosomal RNA', '105830'), ('2621', '23S ribosomal RNA', '105830');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.structural_alerts_27`
(
  alert_id STRING,
  alert_set_id STRING,
  alert_name STRING,
  smarts STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_25` (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.research_companies_23`
(
  co_stem_id STRING,
  res_stem_id STRING,
  company STRING,
  country STRING,
  previous_company STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.research_companies_23` (co_stem_id, res_stem_id, company, country, previous_company) VALUES ('315', '51', 'Antisoma', 'UK', NULL), ('330', '217', 'Evolutec', 'UK', NULL), ('562', '118', 'Centre of Cancer Therapeutics', 'UK', NULL), ('541', '149', 'Vernalis', 'UK', 'Cita NeuroPharmaceuticals'), ('323', '90', 'Biogglan Labs', 'UK', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_class_synonyms_25`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_25` (protclasssyn_id, protein_class_id, protein_class_synonym, syn_type) VALUES ('33670', '1', 'Biocatalysts', 'UMLS'), ('33671', '1', 'Enzymes', 'UMLS'), ('33680', '10', 'Dehydrogenases', 'UMLS'), ('33681', '10', 'Reductases', 'UMLS'), ('33682', '10', 'Reductase', 'UMLS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_properties_33`
(
  ap_id STRING,
  activity_id STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_type STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_text_value STRING,
  comments STRING,
  result_flag STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_properties_33` (ap_id, activity_id, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments, result_flag) VALUES ('9542991', '24940370', 'Hit', NULL, NULL, NULL, 'Antagonist', 'Hit', NULL, NULL, NULL, 'Antagonist', NULL, '0'), ('9551479', '24946484', 'Hit', NULL, NULL, NULL, 'PAM', 'Hit', NULL, NULL, NULL, 'PAM', NULL, '0'), ('9549107', '24944883', 'Hit', NULL, NULL, NULL, 'Antagonist', 'Hit', NULL, NULL, NULL, 'Antagonist', NULL, '0'), ('9557579', '24951303', 'Hit', NULL, NULL, NULL, 'PAM', 'Hit', NULL, NULL, NULL, 'PAM', NULL, '0'), ('9538409', '24937058', 'Hit', NULL, NULL, NULL, 'Antagonist', 'Hit', NULL, NULL, NULL, 'Antagonist', NULL, '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.variant_sequences_25`
(
  variant_id STRING,
  mutation STRING,
  accession STRING,
  version STRING,
  isoform STRING,
  sequence STRING,
  organism STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.variant_sequences_25` (variant_id, mutation, accession, version, isoform, sequence, organism) VALUES ('1300', 'N370S', 'P04062_3KE0', NULL, NULL, 'ARPCIPKSFGYSSVVCVCNATYCDSFDPPTFPALGTFSRYESTRSGRRMELSMGPIQANHTGTGLLLTLQPEQKFQKVKGFGGAMTDAAALNILALSPPAQNLLLKSYFSEEGIGYNIIRVPMASCDFSIRTYTYADTPDDFQLHNFSLPEEDTKLKIPLIHRALQLAQRPVSLLASPWTSPTWLKTNGAVNGKGSLKGQPGDIYHQTWARYFVKFLDAYAEHKLQFWAVTAENEPSAGLLSGYPFQCLGFTPEHQRDFIARDLGPTLANSTHHNVRLLMLDDQRLLLPHWAKVVLTDPEAAKYVHGIAVHWYLDFLAPAKATLGETHRLFPNTMLFASEACVGSKFWEQSVRLGSWDRGMQYSHSIITNLLYHVVGWTDWNLALNPEGGPNWVRNFVDSPIIVDITKDTFYKQPMFYHLGHFSKFIPEGSQRVGLVASQKNDLDAVALMHPDGSAVVVVLNRSSKDVPLTIKDPAVGFLETISPGYSIHTYLWRRQ', 'Homo sapiens'), ('1167', 'D280G', 'A0R612', '1', NULL, 'MTGPHAAGGSNHRTARLVAIIAGLLGTLMAIATPLLPVEQTTAELNWPQNGVWQSVDAPLIGYVATDLTVTVPCQAAAGLVGPENRNRSVLLSTVPKQAPKAIDRGLLIERINNDLTVIVRNTPVVSAPLEQVLSPDCRYLTFTAHADKVTGEFVGLTQGPDDDDPGEAVRGERSGYDFRPQIVGVFTDLSGPAPEGLQLSATIDTRYSTSPTLLKLLAMIVGVAMTVIALGALHVLDCADGRRHKRFLPSRWWSMTPLDGLVSAMLVWWHFVGANTADGGYILTMARVSEHAGYMANYYRWFGTPESPFGWYYDLLALWAHVSTASVWMRFPTLLMGLACWWVISREVIPRLGAAAKHSRAAAWTAAGLFLAFWLPLNNGLRPEPIIALGILLTWCSVERGVATSRLLPVAVAIIIGALTLFSGPTGIAAVGALLVAIGPLKTIVAAHVSRFGYWALLAPIAAAGTVTIFLIFRDQTLAAELQASSFKSAVGPSLAWFDEHIRYSRLFTTSPDGSVARRFAVLTLLLALAVSIAMTLRKGRIPGTALGPSRRIIGITIISFLAMMFTPTKWTHHFGVFAGLAGCLGALAAVAVTTTAMKSRRNRTVFGAAVLFVTALSFATVNGWWYVSNFGVPWSNSFPEFKFGFTTMLLGLSVLALLVAAWFHFSGRDVSPDRPQRRWQRLLVAPLAVATWALVIFEVVSLTLGMINQYPAWSVGRSNLNALTGKTCGLANDVLVEQNANAGMLTPIGEPAGQALGAVTSLGFGPNGIPSDVSADPVMEQPGTDNFADSDSGVVTGTEVGTEGGTTAAAGINGSRARLPYGLNPATTPVLGSWRSGTQQPAVLRSAWYRLPDRDQAGPLLVVSAAGRFDQGEVEVQWATDEQAAANEPGGSITFGDVGAAPAWRNLRAPLSSIPPEATQIRLVASDDDLAPQHWIALTPPRIPELRTLQEVVGSSDPVMLDWLVGLAFPCQRPFDHRYGVVEVPKWRILPDRFGAEANSPVMDYLGGGPLGITELLLRPSSVPTYLKDDWYRDWGSLQRLTPWYPDAQPARLDLGTATRSGWWSPAPLRLS', 'Mycobacterium smegmatis'), ('497', 'W129F', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICAYVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTFYGKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440'), ('985', 'Y70T', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICATVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTWYGKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440'), ('1254', 'Y70T,G131S', 'A4X3Q0', '1', NULL, 'MQHNLIAFLSDVGSADEAHALCKGVMYGVAPAATIVDITHDVAPFDVREGALFLADVPHSFPAHTVICATVYPETGTATHTIAVRNEKGQLLVGPNNGLLSFALDASPAVECHEVLSPDVMNQPVTPTWYSKDIVAACAAHLAAGTDLAAVGPRIDPKQIVRLPYASASEVEGGIRGEVVRIDRAFGNVWTNIPTHLIGSMLQDGERLEVKIEALSDTVLELPFCKTFGEVDEGQPLLYLNSRGRLALGLNQSNFIEKWPVVPGDSITVSPRVPDSNLGPVLG', 'Salinispora tropica CNB-440');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.assay_type_23`
(
  assay_type STRING,
  assay_desc STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.assay_type_23` (assay_type, assay_desc) VALUES ('T', 'Toxicity'), ('F', 'Functional'), ('A', 'ADME'), ('B', 'Binding'), ('U', 'Unassigned');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes`
(
  patent_use_code STRING,
  definition STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.component_class_24` (component_id, protein_class_id, comp_class_id) VALUES ('66', '1', '66'), ('137', '1', '140'), ('175', '1', '178'), ('202', '1', '205'), ('205', '1', '208');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.bio_component_sequences_24`
(
  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_24` (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.variant_sequences_33`
(
  variant_id STRING,
  mutation STRING,
  accession STRING,
  version STRING,
  isoform STRING,
  sequence STRING,
  organism STRING,
  tax_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.variant_sequences_33` (variant_id, mutation, accession, version, isoform, sequence, organism, tax_id) VALUES ('-1', 'UNDEFINED MUTATION', NULL, NULL, NULL, NULL, NULL, NULL), ('1626', 'E84A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLAYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', '416870'), ('1627', 'E84D', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLDYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', '416870'), ('1628', 'E84Q', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLQYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFHFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', '416870'), ('1629', 'H125A', 'A2RI47', NULL, '1', 'MSNSKFNVRLLTEIAFMAALAFIISLIPNTVYGWIIVEIACIPILLLSLRRGLTAGLVGGLIWGILSMITGHAYILSLSQAFLEYLVAPVSLGIAGLFRQKTAPLKLAPVLLGTFVAVLLKYFFAFIAGIIFWSQYAWKGWGAVAYSLAVNGISGILTAIAAFVILIIFVKKFPKLFIHSNY', 'Lactococcus lactis subsp. cremoris (strain MG1363)', '416870');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activity_properties_25`
(
  ap_id STRING,
  activity_id STRING,
  type STRING,
  relation STRING,
  value STRING,
  units STRING,
  text_value STRING,
  standard_type STRING,
  standard_relation STRING,
  standard_value STRING,
  standard_units STRING,
  standard_text_value STRING,
  comments STRING,
  result_flag STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activity_properties_25` (ap_id, activity_id, type, relation, value, units, text_value, standard_type, standard_relation, standard_value, standard_units, standard_text_value, comments, result_flag) VALUES ('5324944', '17805440', 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, NULL, '0'), ('5324948', '17805440', 'N', '=', '16', NULL, NULL, 'N', '=', '16', NULL, NULL, NULL, '0'), ('5324952', '17805440', 'STUDY_DOSING_DURATION', '=', '14', 'day', NULL, 'STUDY_DOSING_DURATION', '=', '14', 'day', NULL, NULL, '0'), ('5324957', '17805437', 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, 'DOSED_COMPOUND_ID', '=', '2', NULL, NULL, NULL, '0'), ('5324961', '17805437', 'N', '=', '16', NULL, NULL, 'N', '=', '16', NULL, NULL, NULL, '0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.confidence_score_lookup_23`
(
  confidence_score STRING,
  description STRING,
  target_mapping STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.confidence_score_lookup_23` (confidence_score, description, target_mapping) VALUES ('5', 'Multiple direct protein targets may be assigned', 'Multiple proteins'), ('7', 'Direct protein complex subunits assigned', 'Protein complex'), ('4', 'Multiple homologous protein targets may be assigned', 'Multiple homologous proteins'), ('2', 'Target assigned is subcellular fraction', 'Subcellular fraction'), ('6', 'Homologous protein complex subunits assigned', 'Homologous protein complex');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_class_synonyms_33`
(
  protclasssyn_id STRING,
  protein_class_id STRING,
  protein_class_synonym STRING,
  syn_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_class_synonyms_33` (protclasssyn_id, protein_class_id, protein_class_synonym, syn_type) VALUES ('33670', '1', 'Biocatalysts', 'UMLS'), ('33671', '1', 'Enzymes', 'UMLS'), ('33680', '10', 'Dehydrogenases', 'UMLS'), ('33681', '10', 'Reductases', 'UMLS'), ('33682', '10', 'Reductase', 'UMLS');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.atc_classification`
(
  who_name STRING,
  level1 STRING,
  level2 STRING,
  level3 STRING,
  level4 STRING,
  level5 STRING,
  level1_description STRING,
  level2_description STRING,
  level3_description STRING,
  level4_description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.atc_classification` (who_name, level1, level2, level3, level4, level5, level1_description, level2_description, level3_description, level4_description) VALUES ('sodium fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA01', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('sodium monofluorophosphate', 'A', 'A01', 'A01A', 'A01AA', 'A01AA02', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('olaflur', 'A', 'A01', 'A01A', 'A01AA', 'A01AA03', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('stannous fluoride', 'A', 'A01', 'A01A', 'A01AA', 'A01AA04', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents'), ('combinations', 'A', 'A01', 'A01A', 'A01AA', 'A01AA30', 'ALIMENTARY TRACT AND METABOLISM', 'STOMATOLOGICAL PREPARATIONS', 'STOMATOLOGICAL PREPARATIONS', 'Caries prophylactic agents');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_hierarchy`
(
  molregno STRING,
  parent_molregno STRING,
  active_molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_hierarchy` (molregno, parent_molregno, active_molregno) VALUES ('1', '1', '1'), ('2', '2', '2'), ('3', '3', '3'), ('4', '4', '4'), ('5', '5', '5');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.chembl_id_lookup`
(
  chembl_id STRING,
  entity_type STRING,
  entity_id STRING,
  status STRING,
  last_active STRING
);

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

INSERT INTO `bigquery-public-data.ebi_chembl.component_synonyms_29` (compsyn_id, component_id, component_synonym, syn_type) VALUES ('1308830', '19392', 'Beta-klotho', 'UNIPROT'), ('1308831', '19392', 'Klotho beta-like protein', 'UNIPROT'), ('1308832', '19392', 'BKL', 'UNIPROT'), ('1308833', '19392', 'BetaKlotho', 'UNIPROT'), ('1308835', '19393', 'DNA replication helicase', 'UNIPROT');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.mechanism_refs_27`
(
  mecref_id STRING,
  mec_id STRING,
  ref_type STRING,
  ref_id STRING,
  ref_url STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.mechanism_refs_27` (mecref_id, mec_id, ref_type, ref_id, ref_url) VALUES ('6365', '3900', 'DOI', '10.1038/nrd2397', 'http://www.nature.com/nrd/journal/v6/n10/full/nrd2397.html'), ('2681', '1394', 'DOI', '10.1021/ml1000257', 'http://pubs.acs.org/doi/abs/10.1021/ml1000257'), ('11037', '6702', 'DOI', '10.1007/BF01997391', 'https://link.springer.com/article/10.1007/BF01997391'), ('12117', '6283', 'DOI', '10.1007/BF03021345', 'https://link.springer.com/article/10.1007/BF03021345'), ('8391', '5076', 'DOI', '10.1155/2008/827096', 'http://www.hindawi.com/journals/ppar/2008/827096/');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.drug_mechanism_23`
(
  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_23` (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 ('2154', '1343821', '675001', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Mode of action not fully understood; it seems to inhibit calcium influx into mast cells, stabilizing them', NULL, NULL), ('2195', '1343196', '675738', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2218', '1344183', '178545', 'Unknown', NULL, NULL, NULL, '1', '1', '1', 'Iodine seems to lead to protein precipitation', NULL, NULL), ('2146', '1343408', '674966', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL), ('2121', '1343731', '675460', 'Unknown', NULL, NULL, NULL, '1', '1', '1', NULL, NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.curation_lookup_23`
(
  curated_by STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.curation_lookup_23` (curated_by, description) VALUES ('Autocuration', 'Curated against extractor target assignment'), ('Intermediate', 'Curated against ChEMBL target assignment from assay description'), ('Expert', 'Curated against ChEMBL target assignment from original publication');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.binding_sites_33`
(
  site_id STRING,
  site_name STRING,
  tid STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.binding_sites_33` (site_id, site_name, tid) VALUES ('2630', 'Beta tubulin', '106199'), ('2631', 'Beta tubulin', '106200'), ('2632', 'Beta tubulin', '106201'), ('2620', '16S ribosomal RNA', '105830'), ('2621', '23S ribosomal RNA', '105830');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutic_components_33`
(
  biocomp_id STRING,
  molregno STRING,
  component_id STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutic_components_33` (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.product_patents`
(
  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` (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.chicago_crime.crime`
(
  unique_key INT64 NOT NULL,
  case_number STRING,
  date TIMESTAMP,
  block STRING,
  iucr STRING,
  primary_type STRING,
  description STRING,
  location_description STRING,
  arrest BOOL,
  domestic BOOL,
  beat INT64,
  district INT64,
  ward INT64,
  community_area INT64,
  fbi_code STRING,
  x_coordinate FLOAT64,
  y_coordinate FLOAT64,
  year INT64,
  updated_on TIMESTAMP,
  latitude FLOAT64,
  longitude FLOAT64,
  location STRING
)
OPTIONS(
  description="Chicago Crime dataset"
);

INSERT INTO `bigquery-public-data.chicago_crime.crime` (unique_key, case_number, date, block, iucr, primary_type, description, location_description, arrest, domestic, beat, district, ward, community_area, fbi_code, x_coordinate, y_coordinate, year, updated_on, latitude, longitude, location) VALUES (13350090, 'JH130429', '2023-12-02 20:00:00+00:00', '0000X E WACKER PL', '0281', 'CRIMINAL SEXUAL ASSAULT', 'NON-AGGRAVATED', 'HOTEL / MOTEL', False, False, 111, 1, 42, 32, '02', 1176964.0, 1902140.0, 2023, '2024-01-29 15:40:30+00:00', 41.886814897, -87.625592678, '(41.886814897, -87.625592678)'), (13206355, 'JG418937', '2023-09-10 16:10:00+00:00', '0000X E LAKE ST', '0312', 'ROBBERY', 'ARMED - KNIFE / CUTTING INSTRUMENT', 'SMALL RETAIL STORE', False, False, 111, 1, 42, 32, '03', 1176905.0, 1901744.0, 2023, '2023-09-18 15:42:32+00:00', 41.885729587, -87.625821329, '(41.885729587, -87.625821329)'), (13306418, 'JG539387', '2023-12-12 14:15:00+00:00', '001XX N STATE ST', '0313', 'ROBBERY', 'ARMED - OTHER DANGEROUS WEAPON', 'DEPARTMENT STORE', False, False, 111, 1, 34, 32, '03', 1176352.0, 1900918.0, 2023, '2023-12-20 15:41:19+00:00', 41.883475491, -87.627876969, '(41.883475491, -87.627876969)'), (8409334, 'HT642418', '2011-12-21 18:00:00+00:00', '003XX S CANAL ST', '0313', 'ROBBERY', 'ARMED: OTHER DANGEROUS WEAPON', 'SIDEWALK', False, False, 111, 1, 2, 28, '03', 1173189.0, 1898797.0, 2011, '2016-02-04 06:33:39+00:00', 41.877726093, -87.639554589, '(41.877726093, -87.639554589)'), (11481800, 'JB482538', '2018-10-20 01:30:00+00:00', '002XX N STATE ST', '031A', 'ROBBERY', 'ARMED: HANDGUN', 'CTA STATION', False, False, 111, 1, 42, 32, '03', 1176327.0, 1901797.0, 2018, '2018-10-27 16:07:48+00:00', 41.885888079, -87.627942238, '(41.885888079, -87.627942238)');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sec_quarterly_financials.dimension`
(
  segments_hash STRING NOT NULL OPTIONS(description="MD5 hash of the segments field text. Although MD5 is unsuitable for cryptographic use, it is used here merely to limit the size of the primary key. segments_hash: [dimhash]"),
  segments STRING OPTIONS(description="Concatenation of tag names representing the axis and members appearing in the XBRL segments. Tag names have their first characters \\\"Statement\\\", last 4 characters \\\"Axis\\\", and last 6 characters \\\"Member\\\" or \\\"Domain\\\" truncated where they appear. Namespaces and prefixes are ignored because EDGAR validation guarantees that the local-names are unique with a submission. Each dimension is represented as the pair \\\"{axis}={member};\\\" and the axes concatenated in lexical order. Example: \\\"LegalEntity=Xyz;Scenario=Restated;\\\" represents the XBRL segment with dimension LegalEntityAxis and member XyzMember, dimension StatementScenarioAxis and member RestatedMember."),
  segment_truncation BOOL OPTIONS(description="TRUE if the segments field would have been longer than 1024 characters had it not been truncated, else FALSE. segment_truncation: [segt]")
)
PARTITION BY DATE(_PARTITIONTIME);

INSERT INTO `bigquery-public-data.sec_quarterly_financials.dimension` (segments_hash, segments, segment_truncation, _PARTITIONTIME) VALUES ('0x00000000', NULL, False, NULL), ('0x0cfab777bfb97c9c70428f4aa168335c', 'PropertyPlantAndEquipmentByType=NonProducingOilAndGasProperties;', False, NULL), ('0x0fbb52a9c45f6b71e15f9014faa85f56', 'PropertyPlantAndEquipmentByType=SouthTexasProjectAcreage;', False, NULL), ('0x133ed0334b7713ac9a34d0512f7d9f1a', 'DerivativeInstrumentRisk=PutOption;', False, NULL), ('0x1767e6cfc42e170f20b295eb0caaa6cc', 'ConsolidationItems=OperatingSegments;BusinessSegments=AllOtherSegments;', False, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sec_quarterly_financials.presentation`
(
  submission_number STRING NOT NULL OPTIONS(description="Accession Number. The 20-character string formed from the 18-digit number assigned by the Commission to each EDGAR submission. submission_number: [adsh]"),
  report INT64 NOT NULL OPTIONS(description="Represents the report grouping. The numeric value refers to the \\\"R file\\\" as computed by the renderer and posted on the EDGAR website. Note that in some situations the numbers skip."),
  line INT64 NOT NULL OPTIONS(description="Represents the tag's presentation line order for a given report. Together with the statement and report field, presentation location, order and grouping can be derived."),
  statement STRING OPTIONS(description="The financial statement location to which the value of the \\\"report\\\" field pertains. statement: [stmt]"),
  presented_parenthetically BOOL OPTIONS(description="1 indicates that the value was presented \\\"parenthetically\\\" instead of in fields within the financial statements. For example: Receivables (net of allowance for bad debts of USD 200 in 2012) USD 700 presented_parenthetically: [inpth]"),
  rfile STRING OPTIONS(description="The type of interactive data file rendered on the EDGAR website, H = .htm file, X = .xml file."),
  measure_tag STRING OPTIONS(description="The tag chosen by the filer for this line item. measure_tag: [tag]"),
  version STRING OPTIONS(description="The taxonomy identifier if the tag is a standard tag, otherwise adsh."),
  preferred_role STRING OPTIONS(description="The XBRL link \\\"role\\\" of the preferred label, using only the portion of the role URI after the last \\\"/\\\". preferred_role: [prole]"),
  preferred_label STRING OPTIONS(description="The text presented on the line item, also known as a \\\"preferred\\\" label. preferred_label: [plabel]"),
  negating BOOL OPTIONS(description="Flag to indicate whether the prole is treated as negating by the renderer.")
)
PARTITION BY DATE(_PARTITIONTIME);

INSERT INTO `bigquery-public-data.sec_quarterly_financials.presentation` (submission_number, report, line, statement, presented_parenthetically, rfile, measure_tag, version, preferred_role, preferred_label, negating, _PARTITIONTIME) VALUES ('0001217160-19-000006', 1, 1, 'CP', False, NULL, 'EntityRegistrantName', 'dei/2014', 'label', 'Entity Registrant Name', False, NULL), ('0001558370-19-000568', 1, 1, 'CP', False, NULL, 'EntityRegistrantName', 'dei/2014', 'label', 'Entity Registrant Name', False, NULL), ('0001144204-19-011650', 1, 1, 'CP', False, NULL, 'EntityRegistrantName', 'dei/2014', 'label', 'Entity Registrant Name', False, NULL), ('0001511164-19-000012', 1, 1, 'CP', False, NULL, 'EntityRegistrantName', 'dei/2014', 'label', 'Entity Registrant Name', False, NULL), ('0001676852-19-000003', 1, 1, 'CP', False, NULL, 'EntityRegistrantName', 'dei/2014', 'label', 'Entity Registrant Name', False, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sec_quarterly_financials.sic_codes`
(
  sic_code STRING,
  ad_office STRING,
  industry_title STRING
);

INSERT INTO `bigquery-public-data.sec_quarterly_financials.sic_codes` (sic_code, ad_office, industry_title) VALUES ('6399', '1', 'INSURANCE CARRIERS, NEC'), ('2835', '1', 'IN VITRO & IN VIVO DIAGNOSTIC SUBSTANCES'), ('6321', '1', 'ACCIDENT & HEALTH INSURANCE'), ('6361', '1', 'TITLE INSURANCE'), ('6311', '1', 'LIFE INSURANCE');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sec_quarterly_financials.calculation`
(
  submission_number STRING NOT NULL OPTIONS(description="Accession Number. The 20-character string formed from the 18-digit number assigned by the Commission to each EDGAR submission. submission_number: [adsh]"),
  `group` INT64 NOT NULL OPTIONS(description="Sequential number for grouping arcs in a submission. group: [grp]"),
  arc INT64 NOT NULL OPTIONS(description="Sequential number for arcs within a group in a submission."),
  negative INT64 OPTIONS(description="Indicates a weight of -1 (TRUE if the arc is negative), but typically +1 (FALSE)."),
  parent_tag STRING OPTIONS(description="The tag for the parent of the arc parent_tag: [ptag]"),
  parent_version STRING OPTIONS(description="The version of the tag for the parent of the arc parent_version: [pversion]"),
  child_tag STRING OPTIONS(description="The tag for the child of the arc child_tag: [ctag]"),
  child_version STRING OPTIONS(description="The version of the tag for the child of the arc child_version: [cversion]")
)
PARTITION BY DATE(_PARTITIONTIME);

INSERT INTO `bigquery-public-data.sec_quarterly_financials.calculation` (submission_number, group, arc, negative, parent_tag, parent_version, child_tag, child_version, _PARTITIONTIME) VALUES ('0001019687-14-002604', 1, 1, 1, 'CashPeriodIncreaseDecrease', 'us-gaap/2014', 'CashPeriodIncreaseDecrease', 'us-gaap/2014', NULL), ('0001019687-14-002569', 1, 1, 1, 'CashPeriodIncreaseDecrease', 'us-gaap/2014', 'CashPeriodIncreaseDecrease', 'us-gaap/2014', NULL), ('0000798359-14-000048', 1, 1, 1, 'DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax', 'us-gaap/2014', 'DiscontinuedOperationIncomeLossFromDiscontinuedOperationDuringPhaseOutPeriodNetOfTax', 'us-gaap/2014', NULL), ('0001140361-14-026077', 1, 1, 1, 'AllocatedShareBasedCompensationExpenseNetOfTax', 'us-gaap/2014', 'AllocatedShareBasedCompensationExpenseNetOfTax', 'us-gaap/2014', NULL), ('0001140361-14-026435', 1, 1, 1, 'ContractReceivableDueOneYearOrLess', 'us-gaap/2014', 'ContractReceivableDueOneYearOrLess', 'us-gaap/2014', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_payment`
(
  Year DATE OPTIONS(description="Year"),
  County_of_Residence STRING OPTIONS(description="County of Residence"),
  County_of_Residence_FIPS STRING OPTIONS(description="County of Residence Code"),
  Source_of_Payment STRING OPTIONS(description="Source of Payment for Delivery"),
  Source_of_Payment_Code INT64 OPTIONS(description="Source of Payment for Delivery Code"),
  Births INT64 OPTIONS(description="Number of Births"),
  Ave_Age_of_Mother FLOAT64 OPTIONS(description="Average Age of Mother (years)"),
  Ave_OE_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average OE Gestational Age (weeks)"),
  Ave_LMP_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average LMP Gestational Age (weeks)"),
  Ave_Birth_Weight_gms FLOAT64 OPTIONS(description="Average Birth Weight (grams)"),
  Ave_Pre_pregnancy_BMI FLOAT64 OPTIONS(description="Average Pre-pregnancy BMI"),
  Ave_Number_of_Prenatal_Wks FLOAT64 OPTIONS(description="Average Number of Prenatal Visits")
)
OPTIONS(
  labels=[("freebqcovid", "")]
);

INSERT INTO `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_payment` (Year, County_of_Residence, County_of_Residence_FIPS, Source_of_Payment, Source_of_Payment_Code, Births, Ave_Age_of_Mother, Ave_OE_Gestational_Age_Wks, Ave_LMP_Gestational_Age_Wks, Ave_Birth_Weight_gms, Ave_Pre_pregnancy_BMI, Ave_Number_of_Prenatal_Wks) VALUES ('2017-01-01', 'Cochise County, AZ', '4003', 'Other', 4, 126, 27.82, 38.95, 38.96, 3364.66, 25.8, 9.03), ('2017-01-01', 'Navajo County, AZ', '4017', 'Other', 4, 59, 27.61, 38.05, 37.84, 3257.09, 29.67, 8.81), ('2017-01-01', 'Unidentified Counties, AR', '5999', 'Other', 4, 801, 25.74, 38.08, 38.14, 3131.37, 28.22, 9.76), ('2017-01-01', 'Humboldt County, CA', '6023', 'Other', 4, 298, 28.47, 39.22, 39.51, 3412.87, 26.85, 10.43), ('2017-01-01', 'San Joaquin County, CA', '6077', 'Other', 4, 130, 28.94, 38.96, 39.09, 3427.4, 27.34, 10.35);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_father_race`
(
  Year DATE OPTIONS(description="Year"),
  County_of_Residence STRING OPTIONS(description="County of Residence"),
  County_of_Residence_FIPS STRING OPTIONS(description="County of Residence Code"),
  Fathers_Single_Race STRING OPTIONS(description="Father's Single Race 6"),
  Fathers_Single_Race_Code STRING OPTIONS(description="Father's Single Race 6 Code"),
  Births INT64 OPTIONS(description="Number of Births"),
  Ave_Age_of_Mother FLOAT64 OPTIONS(description="Average Age of Mother (years)"),
  Ave_OE_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average OE Gestational Age (weeks)"),
  Ave_LMP_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average LMP Gestational Age (weeks)"),
  Ave_Birth_Weight_gms FLOAT64 OPTIONS(description="Average Birth Weight (grams)"),
  Ave_Pre_pregnancy_BMI FLOAT64 OPTIONS(description="Average Pre-pregnancy BMI"),
  Ave_Number_of_Prenatal_Wks FLOAT64 OPTIONS(description="Average Number of Prenatal Visits")
)
OPTIONS(
  labels=[("freebqcovid", "")]
);

INSERT INTO `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_father_race` (Year, County_of_Residence, County_of_Residence_FIPS, Fathers_Single_Race, Fathers_Single_Race_Code, Births, Ave_Age_of_Mother, Ave_OE_Gestational_Age_Wks, Ave_LMP_Gestational_Age_Wks, Ave_Birth_Weight_gms, Ave_Pre_pregnancy_BMI, Ave_Number_of_Prenatal_Wks) VALUES ('2017-01-01', 'Imperial County, CA', '06025', 'Asian', 'A', 34, 32.18, 37.78, 37.94, 2996.29, 26.15, 8.42), ('2017-01-01', 'Marin County, CA', '06041', 'Asian', 'A', 130, 32.58, 39.05, 39.15, 3236.98, 23.29, 10.38), ('2017-01-01', 'Boulder County, CO', '08013', 'Asian', 'A', 135, 31.45, 39.12, 39.16, 3148.76, 23.42, 10.61), ('2017-01-01', 'New London County, CT', '09011', 'Asian', 'A', 98, 30.77, 38.84, 39.01, 3130.81, 24.44, 13.42), ('2017-01-01', 'Tolland County, CT', '09013', 'Asian', 'A', 96, 31.48, 39.12, 39.17, 3253.71, 23.55, 11.95);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality`
(
  Year DATE OPTIONS(description="Year"),
  County_of_Residence STRING OPTIONS(description="County of Residence"),
  County_of_Residence_FIPS STRING OPTIONS(description="County of Residence Code"),
  Births INT64 OPTIONS(description="Number of Births"),
  Ave_Age_of_Mother FLOAT64 OPTIONS(description="Average Age of Mother (years)"),
  Ave_OE_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average OE Gestational Age (weeks)"),
  Ave_LMP_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average LMP Gestational Age (weeks)"),
  Ave_Birth_Weight_gms FLOAT64 OPTIONS(description="Average Birth Weight (grams)"),
  Ave_Pre_pregnancy_BMI FLOAT64 OPTIONS(description="Average Pre-pregnancy BMI"),
  Ave_Number_of_Prenatal_Wks FLOAT64 OPTIONS(description="Average Number of Prenatal Visits")
)
OPTIONS(
  labels=[("freebqcovid", "")]
);

INSERT INTO `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality` (Year, County_of_Residence, County_of_Residence_FIPS, Births, Ave_Age_of_Mother, Ave_OE_Gestational_Age_Wks, Ave_LMP_Gestational_Age_Wks, Ave_Birth_Weight_gms, Ave_Pre_pregnancy_BMI, Ave_Number_of_Prenatal_Wks) VALUES ('2018-01-01', 'Calhoun County, AL', '01015', 1265, 26.67, 38.11, 38.25, 3168.14, 28.85, 10.45), ('2018-01-01', 'Tulsa County, OK', '40143', 8933, 28.13, 38.18, 38.25, 3243.39, 27.58, 11.04), ('2018-01-01', 'Carroll County, GA', '13045', 1540, 27.2, 38.5, 38.5, 3253.35, 27.98, 10.75), ('2018-01-01', 'Saginaw County, MI', '26145', 2182, 27.41, 38.75, 38.5, 3226.9, 28.85, 11.58), ('2018-01-01', 'Hillsborough County, FL', '12057', 17126, 28.97, 38.41, 38.5, 3230.36, 26.75, 10.64);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_abnormal_conditions`
(
  Year DATE OPTIONS(description="Year"),
  County_of_Residence STRING OPTIONS(description="County of Residence"),
  County_of_Residence_FIPS STRING OPTIONS(description="County of Residence Code"),
  Abnormal_Conditions_Checked_Desc STRING OPTIONS(description="Abnormal Conditions Checked"),
  Abnormal_Conditions_Checked_YN INT64 OPTIONS(description="Abnormal Conditions Checked Code"),
  Births INT64 OPTIONS(description="Number of Births"),
  Ave_Age_of_Mother FLOAT64 OPTIONS(description="Average Age of Mother (years)"),
  Ave_OE_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average OE Gestational Age (weeks)"),
  Ave_LMP_Gestational_Age_Wks FLOAT64 OPTIONS(description="Average LMP Gestational Age (weeks)"),
  Ave_Birth_Weight_gms FLOAT64 OPTIONS(description="Average Birth Weight (grams)"),
  Ave_Pre_pregnancy_BMI FLOAT64 OPTIONS(description="Average Pre-pregnancy BMI"),
  Ave_Number_of_Prenatal_Wks FLOAT64 OPTIONS(description="Average Number of Prenatal Visits")
)
OPTIONS(
  labels=[("freebqcovid", "")]
);

INSERT INTO `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_abnormal_conditions` (Year, County_of_Residence, County_of_Residence_FIPS, Abnormal_Conditions_Checked_Desc, Abnormal_Conditions_Checked_YN, Births, Ave_Age_of_Mother, Ave_OE_Gestational_Age_Wks, Ave_LMP_Gestational_Age_Wks, Ave_Birth_Weight_gms, Ave_Pre_pregnancy_BMI, Ave_Number_of_Prenatal_Wks) VALUES ('2017-01-01', 'Shelby County, AL', '01117', 'None checked', 1, 2067, 29.44, 38.75, 38.72, 3353.8, 26.82, 10.85), ('2017-01-01', 'Gwinnett County, GA', '13135', 'None checked', 1, 10199, 29.77, 38.75, 38.75, 3301.87, 26.54, 11.49), ('2017-01-01', 'San Francisco County, CA', '06075', 'None checked', 1, 8000, 32.97, 39.0, 39.08, 3323.3, 23.96, 11.27), ('2017-01-01', 'Oswego County, NY', '36075', 'None checked', 1, 1087, 27.44, 39.0, 39.24, 3377.58, 28.94, 12.9), ('2017-01-01', 'Deschutes County, OR', '41017', 'None checked', 1, 1639, 29.81, 39.25, 39.22, 3378.41, 25.55, 10.96);