INSERT INTO breeding_method (id, abbreviation, description, "name") VALUES('bm1', 'MBCR', 'Backcross to recover a specific gene.', 'Male Backcross');
INSERT INTO breeding_method (id, abbreviation, description, "name") VALUES('bm2', 'FBCR', 'Backcross to recover a specific gene.', 'Female Backcross');

INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('3', 'A000003', '20010101', '500', 'G000003',       'COUNTRY1', 'G000003',       'https://brapi.org', 'Fructus', 'Name003',       'http://pui.per/accession/A000003', 'A000001/A000002',  'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 1', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('4', 'A000004', '20010101', '500', 'G000004',       'COUNTRY1', 'G000004',       'https://brapi.org', 'Fructus', 'Name004',       'http://pui.per/accession/A000004', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 4', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('5', 'A000005', '20010101', '500', 'G000005',       'COUNTRY1', 'G000005',       'https://brapi.org', 'Fructus', 'Name005',       'http://pui.per/accession/A000005', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 5', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('6', 'A000006', '20010101', '500', 'G000006',       'COUNTRY1', 'G000006',       'https://brapi.org', 'Fructus', 'Name006',       'http://pui.per/accession/A000006', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 6', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('7', 'A000007', '20010101', '500', 'G000007',       'COUNTRY1', 'G000007',       'https://brapi.org', 'Fructus', 'Name007',       'http://pui.per/accession/A000007', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 7', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('8', 'A000008', '20010101', '500', 'G000008',       'COUNTRY1', 'G000008',       'https://brapi.org', 'Fructus', 'Name008',       'http://pui.per/accession/A000008', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'variety 8', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('9', 'A000009', '20010101', '300', 'Local_variety', 'COUNTRY1', 'Local_variety', 'https://brapi.org', 'Fructus', 'Local_variety', 'http://pui.per/accession/A000009', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'landrace', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('1', 'A000001', '19840101', '300', 'G000001',       'COUNTRY1', 'G000001',       'https://brapi.org', 'Fructus', 'Name001',       'http://pui.per/accession/A000001', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'landrace 1', 'bm1');
INSERT INTO germplasm (id, accession_number, acquisition_date, biological_status_of_accession_code, common_crop_name, country_of_origin_code, default_display_name, documentationurl, genus, germplasm_name, germplasmpui, germplasm_seed_source, institute_code, institute_name, species, species_authority, subtaxa, subtaxa_authority, synonyms, breeding_method_id) VALUES ('2', 'A000002', '19840101', '300', 'G000002',       'COUNTRY1', 'G000002',       'https://brapi.org', 'Fructus', 'Name002',       'http://pui.per/accession/A000002', 'open pollination', 'PER001', 'INST1', 'novus', 'L', 'subtaxa', 'N', 'landrace 2', 'bm1');

INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('1', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000001', '1', null, null);
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('2', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000002', '2', null, null);
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('3', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000001/A000002', '3', '1', '2');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('4', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000001/A000003', '4', '1', '3');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('5', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000003/A000004', '5', '3', '4');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('6', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000003/A000002', '6', '3', '2');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('7', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000001/A000006', '7', '1', '6');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('8', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000006/A000007', '8', '6', '7');
INSERT INTO pedigree(id, crossing_plan, crossing_year, family_code, notation, parent1type, parent2type, pedigree, germplasm_db_id, parent1_db_id, parent2_db_id) VALUES('9', 'OPEN_POLLINATION', 2018, 'Cree_x_Bonanza_2018', 'purdy', 'FEMALE', 'MALE', 'A000004/A000007', '9', '4', '7');

INSERT INTO donor (id, germplasm_db_id, donor_accession_number, donor_institute_code, germplasmpui) VALUES ('1', '1', 'A001230', 'INRA', 'https://doi.org/10.1109/5.771073');
INSERT INTO donor (id, germplasm_db_id, donor_accession_number, donor_institute_code, germplasmpui) VALUES ('2', '1', 'A004560', 'INRA', 'https://doi.org/10.1109/5.231123');
INSERT INTO donor (id, germplasm_db_id, donor_accession_number, donor_institute_code, germplasmpui) VALUES ('3', '2', 'A007890', 'INRA', 'https://doi.org/10.1109/5.771073');
INSERT INTO donor (id, germplasm_db_id, donor_accession_number, donor_institute_code, germplasmpui) VALUES ('4', '2', 'A001010', 'INRA', 'https://doi.org/10.1109/5.231123');

INSERT INTO ontology(id, authors, copyright, description, licence, ontology_name, version, xref, documentationurl)	VALUES ('MO_123', 'Bob', '2017 Ontology.org', 'Ontology.org', 'Apache', 'Ontology.org', '17', 'https://ontology.org', 'https://ontology.org');

INSERT INTO scale (id, data_type, decimal_places, name, xref, valid_value_min, valid_value_max, ontology_id)	VALUES ('s1', 'Numerical', 1, 'Centimeter', 'xref', '0', '99999', 'MO_123');
INSERT INTO scale (id, data_type, decimal_places, name, xref, valid_value_min, valid_value_max, ontology_id)	VALUES ('s2', 'Numerical', 3, 'Kilogram', 'xref', '0', '99999', 'MO_123');
INSERT INTO scale (id, data_type, decimal_places, name, xref, valid_value_min, valid_value_max, ontology_id)	VALUES ('s3', 'Nominal', 0, 'Color', 'xref', '0', '0', 'MO_123');
INSERT INTO scale (id, data_type, decimal_places, name, xref, valid_value_min, valid_value_max, ontology_id)	VALUES ('s4', 'Numerical', 0, 'Percentage', 'xref', '0', '100', 'MO_123');
insert into scale_valid_value_category(id, scale_id, category) values ('color1', 's3', 'dark red');
insert into scale_valid_value_category(id, scale_id, category) values ('color2', 's3', 'red');
insert into scale_valid_value_category(id, scale_id, category) values ('color3', 's3', 'dark blue');
insert into scale_valid_value_category(id, scale_id, category) values ('color4', 's3', 'blue');
insert into scale_valid_value_category(id, scale_id, category) values ('color5', 's3', 'black');

INSERT INTO method(id, description, formula, method_class, name, reference, ontology_id)	VALUES ('m1', 'Standard rolled measuring tape', 'a^2 + b^2 = c^2', 'Numeric', 'Tape Measure', 'google.com', 'MO_123');
INSERT INTO method(id, description, formula, method_class, name, reference, ontology_id)	VALUES ('m2', 'Dried sample on electric scale', 'NA', 'Numeric', 'Dry Electric Scale', 'google.com', 'MO_123');
INSERT INTO method(id, description, formula, method_class, name, reference, ontology_id)	VALUES ('m3', 'Comparing sample color to standard color palette', 'NA', 'Categorical', 'Standard Color Palette', 'google.com', 'MO_123');
INSERT INTO method(id, description, formula, method_class, name, reference, ontology_id)	VALUES ('m4', 'Image analysis of sample photo', 'Bobs Color Threshold Tool', 'Percentage', 'Image analysis', 'https://bobsimageanalysis.com', 'MO_123');

INSERT INTO trait (id, attribute, default_value, description, entity, main_abbreviation, name, status, trait_class, xref, ontology_id) VALUES ('t1', 'plant height', '0', 'plant height', 'entity', 'H', 'Plant Height', 'active', 'Numeric', 'xref', 'MO_123');
INSERT INTO trait (id, attribute, default_value, description, entity, main_abbreviation, name, status, trait_class, xref, ontology_id) VALUES ('t2', 'root weight', '0', 'root weight', 'entity', 'RW', 'Root Weight', 'active', 'Numeric', 'xref', 'MO_123');
INSERT INTO trait (id, attribute, default_value, description, entity, main_abbreviation, name, status, trait_class, xref, ontology_id) VALUES ('t3', 'leaf color', '0', 'color of leaf sample', 'entity', 'LC', 'Leaf Color', 'active', 'Categorical', 'xref', 'MO_123');
INSERT INTO trait (id, attribute, default_value, description, entity, main_abbreviation, name, status, trait_class, xref, ontology_id) VALUES ('t4', 'root color', '0', 'color of root sample', 'entity', 'RC', 'Root Color', 'active', 'Categorical', 'xref', 'MO_123');
INSERT INTO trait (id, attribute, default_value, description, entity, main_abbreviation, name, status, trait_class, xref, ontology_id) VALUES ('t5', 'Virus severity', '0', 'Percentage of contaminated sample', 'entity', 'LC', 'Virus severity', 'active', 'Percentage', 'xref', 'MO_123');

INSERT INTO ontology_ref(id, url, type) VALUES ('or01', 'https://ontology.org/s1', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or02', 'https://ontology.org/s2', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or03', 'https://ontology.org/s3', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or04', 'https://ontology.org/s4', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or05', 'https://ontology.org/m1', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or06', 'https://ontology.org/m2', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or07', 'https://ontology.org/m3', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or08', 'https://ontology.org/m4', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or09', 'https://ontology.org/t1', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or10', 'https://ontology.org/t2', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or11', 'https://ontology.org/t3', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or12', 'https://ontology.org/t4', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or13', 'https://ontology.org/t5', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or14', 'https://ontology.org/t1', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or15', 'https://ontology.org/t2', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or16', 'https://ontology.org/t3', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or17', 'https://ontology.org/t4', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or18', 'https://ontology.org/t5', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or19', 'https://ontology.org/t1', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or20', 'https://ontology.org/t2', 1);
INSERT INTO ontology_ref(id, url, type) VALUES ('or21', 'https://ontology.org/t3', 2);
INSERT INTO ontology_ref(id, url, type) VALUES ('or22', 'https://ontology.org/t4', 0);
INSERT INTO ontology_ref(id, url, type) VALUES ('or23', 'https://ontology.org/t5', 1);

INSERT INTO method_ontology_reference(method_entity_id, ontology_reference_id) VALUES ('m1', 'or05');
INSERT INTO method_ontology_reference(method_entity_id, ontology_reference_id) VALUES ('m2', 'or06');
INSERT INTO method_ontology_reference(method_entity_id, ontology_reference_id) VALUES ('m3', 'or07');
INSERT INTO method_ontology_reference(method_entity_id, ontology_reference_id) VALUES ('m4', 'or08');
INSERT INTO scale_ontology_reference(scale_entity_id, ontology_reference_id) VALUES ('s1', 'or01');
INSERT INTO scale_ontology_reference(scale_entity_id, ontology_reference_id) VALUES ('s2', 'or02');
INSERT INTO scale_ontology_reference(scale_entity_id, ontology_reference_id) VALUES ('s3', 'or03');
INSERT INTO scale_ontology_reference(scale_entity_id, ontology_reference_id) VALUES ('s4', 'or04');
INSERT INTO trait_ontology_reference(trait_entity_id, ontology_reference_id) VALUES ('t1', 'or09');
INSERT INTO trait_ontology_reference(trait_entity_id, ontology_reference_id) VALUES ('t2', 'or10');
INSERT INTO trait_ontology_reference(trait_entity_id, ontology_reference_id) VALUES ('t3', 'or11');
INSERT INTO trait_ontology_reference(trait_entity_id, ontology_reference_id) VALUES ('t4', 'or12');
INSERT INTO trait_ontology_reference(trait_entity_id, ontology_reference_id) VALUES ('t5', 'or13');

INSERT INTO germplasm_attribute_definition(id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id, code, datatype, description, uri, attribute_category_id) VALUES ('ATT01', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100002', 'Rht-B1b',                   't1', 'm1', 's1', 'RHT',     'Categorical', 'Allele of marker 11_4769',      'http://www.brapi.org/ontology/MO_123:1000001', '2');
INSERT INTO germplasm_attribute_definition(id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id, code, datatype, description, uri, attribute_category_id) VALUES ('ATT02', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100003', 'Weevil Resistance',         't3', 'm3', 's3', 'WEV',     'Categorical', 'Resistance allele',             'http://www.brapi.org/ontology/MO_123:1000002', '3');
INSERT INTO germplasm_attribute_definition(id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id, code, datatype, description, uri, attribute_category_id) VALUES ('ATT03', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100004', 'Flesh Color Orange allele', 't2', 'm2', 's2', 'FLSHORG', 'Categorical', 'Allelele for orange flesh',     'http://www.brapi.org/ontology/MO_123:1000003', '1');
INSERT INTO germplasm_attribute_definition(id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id, code, datatype, description, uri, attribute_category_id) VALUES ('ATT04', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100005', 'Flower color white allele', 't4', 'm3', 's3', 'FLWCOL',  'Categorical', 'Allele for white flower color', 'http://www.brapi.org/ontology/MO_123:1000004', '1');
INSERT INTO germplasm_attribute_definition(id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id, code, datatype, description, uri, attribute_category_id) VALUES ('ATT05', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100006', 'R allele 1',                't5', 'm4', 's4', 'RAL1',    'Categorical', 'Resistance allele 1',           'http://www.brapi.org/ontology/MO_123:1000005', '3');

INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('ATT01', 'or19');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('ATT02', 'or20');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('ATT03', 'or21');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('ATT04', 'or22');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('ATT05', 'or23');

INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('1', '1', 'ATT01', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('2', '1', 'ATT02', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('3', '1', 'ATT03', '1', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('4', '1', 'ATT04', '3', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('5', '1', 'ATT05', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('11', '2', 'ATT01', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('12', '2', 'ATT02', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('13', '2', 'ATT03', '3', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('14', '2', 'ATT04', '4', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('15', '2', 'ATT05', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('21', '3', 'ATT01', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('22', '3', 'ATT02', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('23', '3', 'ATT03', '9', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('24', '3', 'ATT04', '5', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('25', '3', 'ATT05', '1', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('31', '4', 'ATT01', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('32', '4', 'ATT02', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('33', '4', 'ATT03', '5', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('34', '4', 'ATT04', '9', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('35', '4', 'ATT05', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('41', '5', 'ATT01', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('42', '5', 'ATT02', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('43', '5', 'ATT03', '8', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('44', '5', 'ATT04', '5', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('45', '5', 'ATT05', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('51', '6', 'ATT01', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('52', '6', 'ATT02', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('53', '6', 'ATT03', '8', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('54', '6', 'ATT04', '7', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('55', '6', 'ATT05', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('61', '7', 'ATT01', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('62', '7', 'ATT02', 'Heterozygous', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('63', '7', 'ATT03', '9', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('64', '7', 'ATT04', '8', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('65', '7', 'ATT05', 'Present', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('71', '8', 'ATT01', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('72', '8', 'ATT02', 'Absent', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('73', '8', 'ATT03', '9', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('74', '8', 'ATT04', '1', '20170317');
INSERT INTO germplasm_attribute_value(id, germplasm_id, germplasm_attribute_definition_id, value, determined_date) VALUES ('75', '8', 'ATT05', 'Heterozygous', '20170317');

INSERT INTO contact (id, name, email, type, orcid, institute_name) VALUES ('1', 'A. Breeder', 'a.breeder@brapi.org', 'Breeder', '0000-0002-0607-8728', 'Plant Science Institute');
INSERT INTO contact (id, name, email, type, orcid, institute_name) VALUES ('2', 'B. Breeder', 'b.breeder@brapi.org', 'Breeder', '0000-0002-0607-8729', 'Plant Science Institute');
INSERT INTO contact (id, name, email, type, orcid, institute_name) VALUES ('3', 'A. Technician', 'a.technician@brapi.org', 'Technician', '0000-0002-0607-8731', 'Plant Science Institute');
INSERT INTO contact (id, name, email, type, orcid, institute_name) VALUES ('4', 'B. Technician', 'b.technician@brapi.org', 'Technician', '0000-0002-0607-8732', 'Plant Science Institute');

INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('1', '101', 'https://brapi.org', 'Peru Yield Trial 1', '1/1/2013', '7/5/2013', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/312953986E3');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('1', '102', 'https://brapi.org', 'Peru Yield Trial 2', '6/1/2014', '1/15/2015', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/1234992349');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('2', '103', 'https://brapi.org', 'Ghana Genotype Trial 1', '5/1/2011', '12/15/2011', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/134591245');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('3', '104', 'https://brapi.org', 'Ghana Yield Trial 1', '7/1/2012', '2/1/2013', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/1235919');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('3', '105', 'https://brapi.org', 'Ghana Yield Trial 2', '8/15/2013', '2/28/2014', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/13425915');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('3', '106', 'https://brapi.org', 'Ghana Yield Trial 3', '9/22/2014', '3/21/2015', true, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/125512251');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('4', '107', 'https://brapi.org', 'Mozambique Yield Trial', '5/12/2011', '11/30/2011', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/34576437');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('4', '108', 'https://brapi.org', 'Mozambique Genotype Trial', '2/17/2012', '8/21/2012', false, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/34734756');
INSERT INTO trial (program_id, id, documentationurl, trial_name, start_date, end_date, active, dataset_licence, datasetpui) VALUES ('6', '109', 'https://brapi.org', 'Demo Yield Trial', '3/24/2016', '10/21/2016', true, 'https://creativecommons.org/licenses/by/4.0', 'doi:10.15454/35673236');

INSERT INTO trial_contact (trial_db_id, contact_db_id) VALUES ('101', '4');
INSERT INTO trial_contact (trial_db_id, contact_db_id) VALUES ('101', '3');
INSERT INTO trial_contact (trial_db_id, contact_db_id) VALUES ('102', '3');
INSERT INTO trial_contact (trial_db_id, contact_db_id) VALUES ('103', '1');
INSERT INTO trial_contact (trial_db_id, contact_db_id) VALUES ('103', '2');

INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('1', '101', 'publications', 'pmid:239823988');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('2', '101', 'publications', 'pmid:210494013');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('3', '101', 'publications', 'doi:10.2345/GEZG3T23535');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('4', '102', 'publications', 'pmid:245684568');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('5', '102', 'publications', 'pmid:345966399');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('6', '101', 'donorName', 'Donor1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('7', '101', 'specialProject', 'Project1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('8', '103', 'donorName', 'Donor2');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('9', '103', 'collaborator', 'NationalPartner1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('10', '103', 'fundingUSD', '300000');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('11', '104', 'donorName', 'Donor1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('12', '104', 'specialProject', 'Project2');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('13', '107', 'specialProject', 'Project2');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('14', '107', 'fundingUSD', '1000000');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('15', '108', 'donorName', 'Donor1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('16', '108', 'collaborator', 'NationalPartner1');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('17', '109', 'fundingUSD', '500000');
INSERT INTO trial_additional_info (id, trial_db_id, key, value) VALUES ('18', '109', 'specialProject', 'Project1');

INSERT INTO study_type (id, name, description) VALUES ('1', 'Crossing Nursery', 'Description for Nursery study type');
INSERT INTO study_type (id, name, description) VALUES ('2', 'Yield study', 'Description for yield study type');
INSERT INTO study_type (id, name, description) VALUES ('3', 'Genotype', 'Description for Genotyping study type');

INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('101', '1', '2', '1001', 'Study 1',  'https://brapi.org', 'Field yield phenotyping study', '1/1/2013', '1/1/2014', true, 'https://creativecommons.org/licenses/by/4.0', '1.1', '01/01/15');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('101', '1', '2', '1002', 'Study 2',  'https://brapi.org', 'Field yield phenotyping study', '1/1/2014', '1/1/2015', true, 'https://creativecommons.org/licenses/by/4.0', '2.3', '01/01/16');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('102', '2', '1', '1003', 'Study 3',  'https://brapi.org', 'Nursery study description', '1/1/2011', '1/1/2012', false, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('103', '2', '1', '1004', 'Study 4',  'https://brapi.org', 'Nursery study description', '1/1/2011', '1/1/2012', true, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('104', '2', '1', '1005', 'Study 5',  'https://brapi.org', 'Bobs study description', '1/1/2011', '1/1/2012', false, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('105', '2', '1', '1006', 'Study 6',  'https://brapi.org', 'Daves study description', '1/1/2011', '1/1/2012', true, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('106', '2', '1', '1007', 'Study 7',  'https://brapi.org', 'Example study description', '1/1/2011', '1/1/2012', false, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('107', '2', '1', '1008', 'Study 8',  'https://brapi.org', 'Nursery study description', '1/1/2011', '1/1/2012', true, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('108', '2', '1', '1009', 'Study 9',  'https://brapi.org', 'Nursery study description', '1/1/2011', '1/1/2012', false, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');
INSERT INTO study (trial_id, location_id, study_type_id, id, study_name, documentationurl, study_description, start_date, end_date, active, licence, version, "timestamp") VALUES ('109', '2', '1', '1010', 'Study 10', 'https://brapi.org',  'Nursery study description', '1/1/2011', '1/1/2012', true, 'https://creativecommons.org/licenses/by/4.0', '0.1', '01/01/14');

INSERT INTO study_contact (study_db_id, contact_db_id) VALUES ('1001', '1');
INSERT INTO study_contact (study_db_id, contact_db_id) VALUES ('1001', '2');
INSERT INTO study_contact (study_db_id, contact_db_id) VALUES ('1002', '2');
INSERT INTO study_contact (study_db_id, contact_db_id) VALUES ('1003', '3');
INSERT INTO study_contact (study_db_id, contact_db_id) VALUES ('1003', '4');

INSERT INTO study_additional_info (id, study_db_id, key, value) VALUES ('1', '1001', 'studyObjective', 'Increase yield');
INSERT INTO study_additional_info (id, study_db_id, key, value) VALUES ('2', '1002', 'publications', 'pmid:24039865287545');
INSERT INTO study_additional_info (id, study_db_id, key, value) VALUES ('3', '1002', 'publications', 'pmid:23643517318968');

INSERT INTO data_link (id, study_db_id, name, type, url) VALUES ('1', '1001', 'image-archive12.zip', 'Image archive', 'http://data.inra.fr/archive/multi-spect-flowering.zip');
INSERT INTO data_link (id, study_db_id, name, type, url) VALUES ('2', '1001', 'image-archive13.zip', 'Image archive', 'http://data.inra.fr/archive/biomass-img.zip');
INSERT INTO data_link (id, study_db_id, name, type, url) VALUES ('3', '1002', 'trial-layout.pdf', 'Trial layout documentation', 'http://data.inra.fr/archive/trial-layout.pdf');

INSERT INTO season (id, year, season) VALUES ('1', '2011', 'fall');
INSERT INTO season (id, year, season) VALUES ('2', '2012', 'winter');
INSERT INTO season (id, year, season) VALUES ('3', '2012', 'spring');
INSERT INTO season (id, year, season) VALUES ('4', '2012', 'summer');
INSERT INTO season (id, year, season) VALUES ('5', '2012', 'fall');
INSERT INTO season (id, year, season) VALUES ('6', '2013', 'winter');
INSERT INTO season (id, year, season) VALUES ('7', '2013', 'spring');
INSERT INTO season (id, year, season) VALUES ('8', '2013', 'summer');
INSERT INTO season (id, year, season) VALUES ('9', '2013', 'fall');
INSERT INTO season (id, year, season) VALUES ('10', '2014', 'winter');

INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1001', '1');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1001', '2');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1002', '2');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1003', '3');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1004', '4');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1005', '5');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1006', '6');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1007', '7');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1008', '8');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1009', '9');
INSERT INTO study_season (study_db_id, season_db_id) VALUES ('1010', '10');

INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1001', '1', '1', 'Plot 1', 'plot', 'block:1;plot:1', '1', 'TEST', '1', '1', NULL, '1', '1', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1001', '1', '2', 'Plant 1', 'plant', 'block:1;plot:1;plant:1', '2', 'TEST', '1', '1', '1', '1', '1', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1001', '2', '3', 'Plot 2', 'plot', 'block:1;plot:2', '3', 'TEST', '2', '1', NULL, '1', '2', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1001', '2', '4', 'Plant 2', 'plant', 'block:1;plot:2;plant:2', '4', 'TEST', '2', '1', '2', '1', '2', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1002', '1', '5', 'Plot 3', 'plot', 'block:1;plot:3', '5', 'TEST', '3', '1', NULL, '1', '1', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1002', '1', '6', 'Plant 3', 'plant', 'block:1;plot:3;plant:3', '6', 'TEST', '3', '1', '3', '1', '1', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1002', '3', '7', 'Plot 4', 'plot', 'block:1;plot:4', '7', 'TEST', '4', '1', NULL, '1', '2', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1002', '3', '8', 'Plant 4', 'plant', 'block:1;plot:4;plant:4', '8', 'CHECK', '4', '1', '4', '1', '2', '0', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1003', '4', '9', 'Plot 5', 'plot', 'block:101;plot:5', '1', 'CHECK', '5', '101', NULL, '1', '1', '1', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1003', '4', '10', 'Plant 5', 'plant', 'block:101;plot:5;plant:5', '1', 'FILLER', '5', '101', '5', '1', '1', '1', '3', 'Bob', 'Bob');
INSERT INTO observation_unit (study_id, germplasm_id, id, observation_unit_name, observation_level, observation_levels, entry_number, entry_type, plot_number, block_number, plant_number, x, y, replicate, pedigree_id, uploaded_by, operator) VALUES ('1003', '2', '11', 'Plot 6', 'plot', 'block:101;plot:6', '1', 'FILLER', '6', '101', NULL, '1', '1', '1', '3', 'Bob', 'Bob');

INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('1', '1', 'ebi.biosample', 'SAMEA179865230');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('2', '1', 'gnpis.lot', 'INRA:CoeSt6 _SMH03');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('3', '1', 'kernelDB', '239865');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('4', '2', 'ebi.biosample', 'SAMEA179865815');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('5', '2', 'gnpis.lot', 'INRA:CoeSt6 _SMH13');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('6', '2', 'kernelDB', '239167');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('7', '3', 'ebi.biosample', 'SAMEA179865682');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('8', '3', 'gnpis.lot', 'INRA:CoeSt6 _SMH51');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('9', '3', 'kernelDB', '239146');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('10', '4', 'ebi.biosample', 'SAMEA179865891');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('11', '4', 'gnpis.lot', 'INRA:CoeSt6 _SMH89');
INSERT INTO observation_unit_xref (id, observation_unit_db_id, source, xref) VALUES ('12', '4', 'kernelDB', '239612');

INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('1', '1', 'water regimen', 'deficit');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('2', '2', 'water regimen', 'deficit');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('3', '5', 'water regimen', 'deficit');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('4', '6', 'water regimen', 'deficit');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('5', '3', 'water regimen', 'normal');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('6', '4', 'water regimen', 'normal');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('7', '7', 'water regimen', 'normal');
INSERT INTO treatment (id, observation_unit_db_id, factor, modality) VALUES ('8', '8', 'water regimen', 'normal');

INSERT INTO observation_variable (id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id) VALUES ('MO_123:100002', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100002', 'Plant height', 't1', 'm1', 's1');
INSERT INTO observation_variable (id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id) VALUES ('MO_123:100003', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100003', 'Carotenoid', 't3', 'm3', 's3');
INSERT INTO observation_variable (id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id) VALUES ('MO_123:100004', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100004', 'Root weight', 't2', 'm2', 's2');
INSERT INTO observation_variable (id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id) VALUES ('MO_123:100005', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100005', 'Root color', 't4', 'm3', 's3');
INSERT INTO observation_variable (id, crop, default_value, documentationurl, growth_stage, institution, language, scientist, status, submission_timestamp, ontology_id, xref, name, trait_id, method_id, scale_id) VALUES ('MO_123:100006', 'maize', '10', 'https://brapi.org', '1', 'Cornell', 'English', 'Bob', 'active', '2011-06-14T22:12:51Z', 'MO_123', 'MO_123:100006', 'Virus severity', 't5', 'm4', 's4');

INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('MO_123:100002', 'or14');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('MO_123:100003', 'or15');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('MO_123:100004', 'or16');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('MO_123:100005', 'or17');
INSERT INTO variable_base_entity_ontology_reference(variable_base_entity_id, ontology_reference_id) VALUES ('MO_123:100006', 'or18');

INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('1', 'MO_123:100002', '1', '2013-06-14T22:03:51Z', '1', 'A. Technician', '1.2');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('1', 'MO_123:100006', '2', '2013-06-14T22:04:51Z', '1', 'A. Technician', '4.5');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('2', 'MO_123:100002', '3', '2013-06-14T22:05:51Z', '1', 'A. Technician', '1.1');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('2', 'MO_123:100006', '4', '2013-06-14T22:06:51Z', '1', 'A. Technician', '5.1');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('3', 'MO_123:100003', '5', '2013-06-14T22:07:51Z', '4', 'A. Technician', '2.1');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('3', 'MO_123:100005', '6', '2013-06-14T22:08:51Z', '4', 'A. Technician', 'dark blue');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('4', 'MO_123:100003', '7', '2013-06-14T22:09:51Z', '5', 'A. Technician', '1.8');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('4', 'MO_123:100005', '8', '2013-06-14T22:10:51Z', '5', 'A. Technician', 'blue');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('5', 'MO_123:100002', '9', '2013-06-14T22:11:51Z', '3', 'A. Technician', '2.1');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('6', 'MO_123:100006', '10', '2013-06-14T22:12:51Z', '3', 'A. Technician', '4.5');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('7', 'MO_123:100003', '11', '2013-06-14T22:13:51Z', '3', 'A. Technician', '1.4');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('8', 'MO_123:100005', '12', '2013-06-14T22:14:51Z', '3', 'A. Technician', 'red');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('9', 'MO_123:100002', '13', '2011-06-14T22:03:51Z', '2', 'B. Tech', '10');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('9', 'MO_123:100003', '14', '2011-06-14T22:04:51Z', '2', 'B. Tech', '20');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('9', 'MO_123:100005', '15', '2011-06-14T22:05:51Z', '2', 'B. Tech', 'red');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('10', 'MO_123:100002', '16', '2011-06-14T22:06:51Z', '2', 'B. Tech', '100');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('10', 'MO_123:100003', '17', '2011-06-14T22:07:51Z', '2', 'B. Tech', '9');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('10', 'MO_123:100004', '18', '2011-06-14T22:08:51Z', '2', 'B. Tech', '2');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('11', 'MO_123:100002', '19', '2011-06-14T22:09:51Z', '2', 'B. Tech', '11');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('11', 'MO_123:100003', '20', '2011-06-14T22:10:51Z', '2', 'B. Tech', '12');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('11', 'MO_123:100005', '21', '2011-06-14T22:11:51Z', '2', 'B. Tech', 'black');
INSERT INTO observation (observation_unit_id, observation_variable_id, id, observation_time_stamp, season_id, collector, value) VALUES ('11', 'MO_123:100004', '22', '2011-06-14T22:12:51Z', '2', 'B. Tech', '5');

INSERT INTO taxon (id, taxon_id, source_name) VALUES ('0', '2340', 'ncbiTaxon');
INSERT INTO taxon (id, taxon_id, source_name) VALUES ('2', 'E312', 'ciradTaxon');

INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '1');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '1');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '2');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '2');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '3');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '3');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '4');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '4');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '5');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '5');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '6');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '6');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '7');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '7');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '8');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '8');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('0', '9');
INSERT INTO germplasm_taxon (taxon_dbid, germplasm_dbid) VALUES ('2', '9');

INSERT INTO genome_map(id, comments, common_crop_name, documentationurl, name, published_date, scientific_name, species, type, unit) 	VALUES ('gm1', 'comments', 'Paw Paw', 'https://brapi.org', 'Genome Map 1', '01-01-2018', 'Asimina triloba', 'triloba', 'Genetic', 'cM');
INSERT INTO genome_map(id, comments, common_crop_name, documentationurl, name, published_date, scientific_name, species, type, unit) 	VALUES ('gm2', 'comments', 'Paw Paw', 'https://brapi.org', 'Genome Map 2', '01-01-2018', 'Asimina triloba', 'triloba', 'Genetic', 'cM');

INSERT INTO linkage_group (id, genome_map_db_id, linkage_group_name, max_marker_position) VALUES('lg1', 'gm1', '1', 1110);
INSERT INTO linkage_group (id, genome_map_db_id, linkage_group_name, max_marker_position) VALUES('lg2', 'gm2', '2', 5050);
INSERT INTO linkage_group (id, genome_map_db_id, linkage_group_name, max_marker_position) VALUES('lg3', 'gm2', '3', 5110);

INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr01', '1000', 'marker1-1', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr02', '1020', 'marker1-2', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr03', '1030', 'marker1-3', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr04', '1040', 'marker1-4', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr05', '1050', 'marker1-5', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr06', '1060', 'marker1-6', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr07', '1070', 'marker1-7', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr08', '1080', 'marker1-8', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr09', '1090', 'marker1-9', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr10', '1100', 'marker1-10', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr11', '1110', 'marker1-11', 'marker', 'lg1');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr12', '5000', 'marker2-1', 'marker', 'lg2');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr13', '5020', 'marker2-2', 'marker', 'lg2');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr14', '5030', 'marker2-3', 'marker', 'lg2');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr15', '5040', 'marker2-4', 'marker', 'lg2');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr16', '5050', 'marker2-5', 'marker', 'lg2');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr17', '5060', 'marker3-1', 'marker', 'lg3');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr18', '5070', 'marker3-2', 'marker', 'lg3');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr19', '5080', 'marker3-3', 'marker', 'lg3');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr20', '5090', 'marker3-4', 'marker', 'lg3');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr21', '5100', 'marker3-5', 'marker', 'lg3');
INSERT INTO marker (id, location, marker_name, "type", linkage_group_id) VALUES('mr22', '5110', 'marker3-6', 'marker', 'lg3');

INSERT INTO marker_analysis_method (id, method_name) VALUES('ma1', 'illumina');
INSERT INTO marker_analysis_method (id, method_name) VALUES('ma2', 'kasp');

INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr01', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr02', 'ma2');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr03', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr04', 'ma2');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr05', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr06', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr07', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr07', 'ma2');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr08', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr08', 'ma2');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr09', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr10', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr11', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr12', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr13', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr14', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr15', 'ma2');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr16', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr17', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr18', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr19', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr20', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr21', 'ma1');
INSERT INTO marker_marker_analysis_method (marker_db_id, marker_analysis_method_db_id) VALUES('mr22', 'ma1');

INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref1', false, 'mr01', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref2', true, 'mr01', 'T');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref3', false, 'mr02', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref4', true, 'mr02', 'T');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref5', false, 'mr03', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref6', true, 'mr03', 'T');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref7', false, 'mr04', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref8', true, 'mr04', 'T');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref9', false, 'mr05', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref10', false, 'mr06', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref11', false, 'mr07', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref12', false, 'mr08', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref13', false, 'mr09', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref14', false, 'mr10', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref15', false, 'mr11', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref16', false, 'mr12', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref17', false, 'mr13', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref18', false, 'mr14', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref19', false, 'mr15', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref20', false, 'mr16', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref21', false, 'mr17', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref22', false, 'mr18', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref23', false, 'mr19', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref24', false, 'mr20', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref25', false, 'mr21', 'A');
INSERT INTO marker_reference (id, alternative, marker_db_id, reference) VALUES('mref26', false, 'mr22', 'A');

INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms1', 'mr01', 'i_11_10010');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms2', 'mr02', 'i_11_10020');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms3', 'mr03', 'i_11_10030');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms4', 'mr04', 'i_11_10040');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms5', 'mr05', 'i_11_10050');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms6', 'mr06', 'i_11_10060');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms7', 'mr07', 'i_11_10070');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms8', 'mr08', 'i_11_10080');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms9', 'mr09', 'i_11_10090');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms10', 'mr10', 'i_11_10100');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms11', 'mr11', 'i_11_10110');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms12', 'mr12', 'i_11_10120');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms13', 'mr13', 'i_11_10130');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms14', 'mr14', 'i_11_10140');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms15', 'mr15', 'i_11_10150');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms16', 'mr16', 'i_11_10160');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms17', 'mr17', 'i_11_10170');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms18', 'mr18', 'i_11_10180');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms19', 'mr19', 'i_11_10190');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms20', 'mr20', 'i_11_10200');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms21', 'mr21', 'i_11_10210');
INSERT INTO marker_synonym (id, marker_db_id, synonym) VALUES('ms22', 'mr22', 'i_11_10220');


INSERT INTO vendor_order(id, client_plate_barcode, client_plate_db_id, sample_type, status, status_time_stamp)	VALUES ('vo1', '123456', '123456', 0, 0, '2018-01-01 00:00:00');
INSERT INTO plate_submission (id, client_id, number_of_samples, sample_type, order_id) VALUES('ps1', '123456', 16, 0, 'vo1');
INSERT INTO plate (id, client_plate_db_id, client_plate_barcode, sample_submission_format, status_time_stamp, submission_id) VALUES('pl1', '123456789', '123456789', 0, '2018-01-01 00:00:00', 'ps1');
INSERT INTO vendor_order_entity_service_ids(vendor_order_entity_id, service_ids) VALUES ('vo1', 'vsp1');

INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam00', '20', 'Example Sample', 'pl1', 0, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam01', '19', 'Example Sample', 'pl1', 1, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam02', '23', 'Example Sample', 'pl1', 2, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '3', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam03', '20', 'Example Sample', 'pl1', 3, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam04', '19', 'Example Sample', 'pl1', 4, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam05', '23', 'Example Sample', 'pl1', 5, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '3', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam06', '20', 'Example Sample', 'pl1', 6, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam07', '19', 'Example Sample', 'pl1', 7, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam08', '23', 'Example Sample', 'pl1', 8, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '3', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam09', '20', 'Example Sample', 'pl1', 9, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam10', '19', 'Example Sample', 'pl1', 10, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam11', '23', 'Example Sample', 'pl1', 11, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '3', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam12', '20', 'Example Sample', 'pl1', 12, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam13', '19', 'Example Sample', 'pl1', 13, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam14', '20', 'Example Sample', 'pl1', 14, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '1', '0');
INSERT INTO sample (id, concentration, notes, plate_id, plate_index, sample_timestamp, sample_type, taken_by, tissue_type, volume, observation_unit_id, taxon_id_id) VALUES('sam15', '19', 'Example Sample', 'pl1', 15, '2018-01-01 00:00:00', 'DNA', 'Bob', 'Leaf', '100', '2', '0');

INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('P1', 'GBS', 'extract1', '1', 'sam00', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('P2', 'GBS', 'extract2', '1', 'sam01', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-02', 'GBS', 'extract3', '1', 'sam02', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-03', 'GBS', 'extract1', '1', 'sam03', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-04', 'GBS', 'extract2', '1', 'sam04', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-05', 'GBS', 'extract3', '1', 'sam05', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-06', 'GBS', 'extract1', '1', 'sam06', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-07', 'GBS', 'extract2', '1', 'sam07', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-08', 'GBS', 'extract3', '1', 'sam08', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-09', 'GBS', 'extract1', '1', 'sam09', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-10', 'GBS', 'extract2', '1', 'sam10', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-11', 'GBS', 'extract3', '1', 'sam11', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-12', 'GBS', 'extract1', '1', 'sam12', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('F1-13', 'GBS', 'extract2', '1', 'sam13', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('G2-P1', 'GBS', 'extract1', '2', 'sam14', 'My Fancy Germplasm');
INSERT INTO marker_profile (id, analysis_method, extract_db_id, germplasm_db_id, sample_db_id, unique_display_name) VALUES('G3-P2', 'GBS', 'extract2', '3', 'sam15', 'My Fancy Germplasm');

INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('P1', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('P2', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-02', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-03', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-04', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-05', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-06', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-07', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-08', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-09', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-10', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-11', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-12', '1001');
INSERT INTO study_marker_profile (marker_profile_db_id, study_db_id) VALUES('F1-13', '1001');

INSERT INTO allele_matrix (id, description, last_updated, "name", study_id) VALUES('mat1', 'example matrix', '2018-05-03T11:03:56+04:00', 'Example Matrix', '1001');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0001', 'A', 'mr01', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0002', 'C', 'mr02', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0003', 'A', 'mr03', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0004', 'G', 'mr04', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0005', 'C', 'mr05', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0006', 'A', 'mr06', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0007', 'G', 'mr07', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0008', 'G', 'mr08', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0009', 'T', 'mr09', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0010', 'C', 'mr10', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0011', 'G', 'mr11', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0012', 'C', 'mr12', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0013', 'A', 'mr13', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0014', 'G', 'mr14', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0015', 'T', 'mr15', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0016', 'C', 'mr16', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0017', 'A', 'mr17', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0018', 'G', 'mr18', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0019', 'T', 'mr19', 'P1', 'mat1', 'sam00');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0020', 'T', 'mr20', 'P1', 'mat1', 'sam00');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0101', 'C', 'mr01', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0102', 'C', 'mr02', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0103', 'C', 'mr03', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0104', 'C', 'mr04', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0105', 'C', 'mr05', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0106', 'G', 'mr06', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0107', 'G', 'mr07', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0108', 'A', 'mr08', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0109', 'A', 'mr09', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0110', 'C', 'mr10', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0111', 'C', 'mr11', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0112', 'A', 'mr12', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0113', 'A', 'mr13', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0114', 'T', 'mr14', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0115', 'T', 'mr15', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0116', 'T', 'mr16', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0117', 'G', 'mr17', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0118', 'G', 'mr18', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0119', 'A', 'mr19', 'P2', 'mat1', 'sam01');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0120', 'T', 'mr20', 'P2', 'mat1', 'sam01');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0201', 'A/C', 'mr01', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0202', 'C', 'mr02', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0203', '-', 'mr03', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0204', '-', 'mr04', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0205', '-', 'mr05', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0206', '-', 'mr06', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0207', '-', 'mr07', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0208', '-', 'mr08', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0209', '-', 'mr09', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0210', '-', 'mr10', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0211', '-', 'mr11', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0212', '-', 'mr12', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0213', '-', 'mr13', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0214', 'G/T', 'mr14', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0215', 'T', 'mr15', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0216', 'C/T', 'mr16', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0217', 'A/G', 'mr17', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0218', 'G', 'mr18', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0219', 'T/A', 'mr19', 'F1-02', 'mat1', 'sam02');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0220', 'T', 'mr20', 'F1-02', 'mat1', 'sam02');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0301', 'A/C', 'mr01', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0302', 'C', 'mr02', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0303', 'A/C', 'mr03', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0304', 'G/C', 'mr04', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0305', 'C', 'mr05', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0306', 'A/G', 'mr06', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0307', 'G', 'mr07', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0308', 'G/A', 'mr08', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0309', 'T/A', 'mr09', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0310', 'C', 'mr10', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0311', 'C/G', 'mr11', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0312', 'A/C', 'mr12', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0313', 'A', 'mr13', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0314', 'G/T', 'mr14', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0315', 'T', 'mr15', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0316', 'C/T', 'mr16', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0317', 'A/G', 'mr17', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0318', 'G', 'mr18', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0319', 'T/A', 'mr19', 'F1-03', 'mat1', 'sam03');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0320', 'T', 'mr20', 'F1-03', 'mat1', 'sam03');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0401', 'A', 'mr01', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0402', 'C', 'mr02', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0403', 'A', 'mr03', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0404', 'G', 'mr04', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0405', 'C', 'mr05', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0406', 'A', 'mr06', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0407', 'G', 'mr07', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0408', 'G', 'mr08', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0409', 'T', 'mr09', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0410', 'C', 'mr10', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0411', 'G', 'mr11', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0412', 'C', 'mr12', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0413', 'A', 'mr13', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0414', 'G', 'mr14', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0415', 'T', 'mr15', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0416', 'C', 'mr16', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0417', 'A', 'mr17', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0418', 'G', 'mr18', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0419', 'T', 'mr19', 'F1-04', 'mat1', 'sam04');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0420', 'T', 'mr20', 'F1-04', 'mat1', 'sam04');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0501', 'A/C', 'mr01', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0502', 'C', 'mr02', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0503', 'A/C', 'mr03', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0504', 'G/C', 'mr04', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0505', 'C', 'mr05', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0506', 'A/G', 'mr06', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0507', 'G', 'mr07', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0508', 'G/A', 'mr08', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0509', 'T/A', 'mr09', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0510', 'C', 'mr10', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0511', 'C/G', 'mr11', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0512', 'A/C', 'mr12', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0513', 'A', 'mr13', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0514', 'G/T', 'mr14', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0515', 'T', 'mr15', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0516', 'C/T', 'mr16', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0517', 'A/G', 'mr17', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0518', 'G', 'mr18', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0519', 'T/A', 'mr19', 'F1-05', 'mat1', 'sam05');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0520', 'T', 'mr20', 'F1-05', 'mat1', 'sam05');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0601', 'C', 'mr01', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0602', 'C', 'mr02', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0603', 'A/C', 'mr03', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0604', 'G/C', 'mr04', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0605', 'C', 'mr05', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0606', 'A/G', 'mr06', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0607', 'G', 'mr07', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0608', 'G/A', 'mr08', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0609', 'T/A', 'mr09', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0610', 'C', 'mr10', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0611', 'C/G', 'mr11', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0612', '-', 'mr12', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0613', 'A', 'mr13', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0614', 'G/T', 'mr14', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0615', 'T', 'mr15', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0616', 'C/T', 'mr16', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0617', 'A/G', 'mr17', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0618', 'G', 'mr18', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0619', 'T/A', 'mr19', 'F1-06', 'mat1', 'sam06');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0620', 'T', 'mr20', 'F1-06', 'mat1', 'sam06');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0701', 'A/C', 'mr01', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0702', 'C/T', 'mr02', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0703', 'A', 'mr03', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0704', 'G/C', 'mr04', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0705', 'G', 'mr05', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0706', 'A', 'mr06', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0707', 'G/A', 'mr07', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0708', 'G/A', 'mr08', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0709', 'T/A', 'mr09', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0710', 'G', 'mr10', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0711', 'C/G', 'mr11', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0712', 'A/C', 'mr12', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0713', 'A', 'mr13', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0714', 'G/T', 'mr14', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0715', 'T', 'mr15', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0716', 'C/T', 'mr16', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0717', 'A', 'mr17', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0718', 'G', 'mr18', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0719', 'T/A', 'mr19', 'F1-07', 'mat1', 'sam07');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0720', 'T', 'mr20', 'F1-07', 'mat1', 'sam07');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0801', '-', 'mr01', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0802', '-', 'mr02', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0803', '-', 'mr03', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0804', '-', 'mr04', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0805', '-', 'mr05', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0806', '-', 'mr06', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0807', '-', 'mr07', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0808', '-', 'mr08', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0809', '-', 'mr09', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0810', '-', 'mr10', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0811', '-', 'mr11', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0812', '-', 'mr12', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0813', '-', 'mr13', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0814', '-', 'mr14', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0815', '-', 'mr15', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0816', '-', 'mr16', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0817', '-', 'mr17', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0818', '-', 'mr18', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0819', 'T/A', 'mr19', 'F1-08', 'mat1', 'sam08');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0820', 'T', 'mr20', 'F1-08', 'mat1', 'sam08');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0901', 'A/C', 'mr01', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0902', 'C', 'mr02', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0903', 'A/C', 'mr03', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0904', 'G/C', 'mr04', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0905', 'C', 'mr05', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0906', 'A/G', 'mr06', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0907', 'G', 'mr07', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0908', 'G/A', 'mr08', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0909', 'T/A', 'mr09', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0910', 'C', 'mr10', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0911', 'C/G', 'mr11', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0912', 'A/C', 'mr12', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0913', 'A', 'mr13', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0914', 'G/T', 'mr14', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0915', 'T', 'mr15', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0916', 'C/T', 'mr16', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0917', 'A/G', 'mr17', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0918', 'G', 'mr18', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0919', 'T/A', 'mr19', 'F1-09', 'mat1', 'sam09');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al0920', 'T', 'mr20', 'F1-09', 'mat1', 'sam09');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1001', 'A/C', 'mr01', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1002', 'C', 'mr02', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1003', 'A/C', 'mr03', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1004', 'G/C', 'mr04', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1005', 'C', 'mr05', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1006', 'A/G', 'mr06', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1007', 'G', 'mr07', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1008', 'G/A', 'mr08', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1009', 'T/A', 'mr09', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1010', 'C', 'mr10', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1011', 'C/G', 'mr11', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1012', 'A/C', 'mr12', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1013', 'A', 'mr13', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1014', 'G/T', 'mr14', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1015', 'T', 'mr15', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1016', 'C/T', 'mr16', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1017', 'A/G', 'mr17', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1018', 'G', 'mr18', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1019', 'T/A', 'mr19', 'F1-10', 'mat1', 'sam10');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1020', 'T', 'mr20', 'F1-10', 'mat1', 'sam10');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1101', 'A', 'mr01', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1102', 'C', 'mr02', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1103', 'A', 'mr03', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1104', 'G', 'mr04', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1105', 'C', 'mr05', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1106', 'A', 'mr06', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1107', 'G', 'mr07', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1108', 'G', 'mr08', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1109', 'T', 'mr09', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1110', 'C', 'mr10', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1111', 'G', 'mr11', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1112', 'C', 'mr12', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1113', 'A', 'mr13', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1114', 'G', 'mr14', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1115', 'T', 'mr15', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1116', 'C', 'mr16', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1117', 'A', 'mr17', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1118', 'G', 'mr18', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1119', 'T', 'mr19', 'F1-11', 'mat1', 'sam11');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1120', 'T', 'mr20', 'F1-11', 'mat1', 'sam11');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1201', 'A/C', 'mr01', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1202', 'C', 'mr02', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1203', 'A/C', 'mr03', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1204', 'G/C', 'mr04', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1205', 'C', 'mr05', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1206', 'A/G', 'mr06', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1207', 'G', 'mr07', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1208', 'G/A', 'mr08', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1209', 'T/A', 'mr09', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1210', 'C', 'mr10', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1211', 'C/G', 'mr11', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1212', 'A/C', 'mr12', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1213', 'A', 'mr13', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1214', 'G/T', 'mr14', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1215', 'T', 'mr15', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1216', 'C/T', 'mr16', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1217', 'A/G', 'mr17', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1218', 'G', 'mr18', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1219', 'T/A', 'mr19', 'F1-12', 'mat1', 'sam12');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1220', 'T', 'mr20', 'F1-12', 'mat1', 'sam12');

INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1301', 'A/C', 'mr01', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1302', 'C', 'mr02', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1303', 'A/C', 'mr03', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1304', 'G/C', 'mr04', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1305', 'C', 'mr05', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1306', 'A/G', 'mr06', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1307', 'G', 'mr07', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1308', 'G/A', 'mr08', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1309', 'T/A', 'mr09', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1310', 'C', 'mr10', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1311', 'C/G', 'mr11', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1312', 'A/C', 'mr12', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1313', 'A', 'mr13', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1314', 'G/T', 'mr14', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1315', 'T', 'mr15', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1316', 'C/T', 'mr16', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1317', 'A/G', 'mr17', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1318', 'G', 'mr18', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1319', 'T/A', 'mr19', 'F1-13', 'mat1', 'sam13');
INSERT INTO allele (id, allele_code, marker_id, marker_profile_id, matrix_id, sample_id) VALUES('al1320', 'T', 'mr20', 'F1-13', 'mat1', 'sam13');

INSERT INTO image(id, description, descriptive_ontology_terms, image_file_name, image_file_size, image_height, image_type, imageurl, image_width, name, observation_db_ids, observation_unit_id, copyright, time_stamp, longitude, latitude)	VALUES ('img1', 'BrAPI Logo', 'brapi,logo', 'brapi-logo.svg', 3676, 56, 'image/svg', 'https://brapi.org/assets/images/brapi-logo.svg', 258, 'brapiLogo', '1,2', '1', 'Copyright 2018', '2011-06-14T22:12:51Z', 50.010083, -110.113006 );
INSERT INTO image(id, description, descriptive_ontology_terms, image_file_name, image_file_size, image_height, image_type, imageurl, image_width, name, observation_db_ids, observation_unit_id, copyright, time_stamp, longitude, latitude)	VALUES ('img2', 'BrAPI Logo', 'brapi,logo', 'brapi-logo.svg', 3676, 56, 'image/svg', 'https://brapi.org/assets/images/brapi-logo.svg', 258, 'brapiLogo', '1,2', '1', 'Copyright 2018', '2011-06-14T22:12:51Z', 50.010083, -110.113006 );

INSERT INTO search(id, request_type, parameters) VALUES ('search01', 0, '10');
SELECT lo_unlink(10);
SELECT lo_create(10);
BEGIN;
SELECT pg_catalog.lo_open('10', 131072);
SELECT pg_catalog.lowrite(0, '\x7b7d');
SELECT pg_catalog.lo_close(0);
COMMIT;

INSERT INTO vendor_spec (id, additional_info, contact_name, vendor_address, vendor_city, vendor_country, vendor_description, vendor_email, vendor_name, vendor_phone, vendorurl) VALUES('1', NULL, 'Bob Smith', '123 Street Ave', 'Townsville', 'USA', 'Example vendor used for testing', 'bsmith@brapi.org', 'Bobs Vendor', '+12345678910', 'https://brapi.org');

INSERT INTO vendor_spec_requirement (id, input_format_details, max_concentration, max_volume, min_concentration, min_sample_number, min_volume, plate_orientation, sample_type_details) VALUES('vsr1', 'https://brapi.org', '1000ppm', '50ml', '20ppm', '1', '2ml', 'rowFirst', 'https://brapi.org');
INSERT INTO vendor_spec_input_format (id, input_format, vendor_spec_standard_requirement_db_id) VALUES('vsf1', 'Plate_96', 'vsr1');
INSERT INTO vendor_spec_input_format (id, input_format, vendor_spec_standard_requirement_db_id) VALUES('vsf2', 'Tubes', 'vsr1');
INSERT INTO vendor_spec_sample_type (id, sample_type, vendor_spec_standard_requirement_db_id) VALUES('vssam1', 'LEAF', 'vsr1');
INSERT INTO vendor_spec_sample_type (id, sample_type, vendor_spec_standard_requirement_db_id) VALUES('vssam2', 'STEM', 'vsr1');
INSERT INTO vendor_spec_sample_type (id, sample_type, vendor_spec_standard_requirement_db_id) VALUES('vssam3', 'ROOT', 'vsr1');
INSERT INTO vendor_spec_well_position (id, "position", vendor_spec_standard_requirement_db_id) VALUES('vswp1', 'random', 'vsr1');
INSERT INTO vendor_spec_well_position (id, "position", vendor_spec_standard_requirement_db_id) VALUES('vswp2', 'A01', 'vsr1');
INSERT INTO vendor_spec_well_position (id, "position", vendor_spec_standard_requirement_db_id) VALUES('vswp3', 'H12', 'vsr1');

INSERT INTO vendor_spec_platform (id, contact_email, contact_name, contact_phone, platform_description, platform_name, platformurl, shipping_address, specific_requirements, taxonomy_id_system_name, taxonomy_id_systemuri, tissue_id_system_name, tissue_id_systemuri, vendor_spec_db_id, standard_requirements_id) VALUES('vsp1', 'plat1@brapi.org', 'Bob Smith', '+12345678910', 'This is an example platform', 'Example Platform', 'https://brapi.org', '123 Street Ave, Townsville, USA', NULL, 'NCBITaxonomyId', 'https://ncbi.org', 'TIS', 'https://tis.org', '1', 'vsr1');
INSERT INTO vendor_spec_deliverable (id, description, format, "name", vendor_spec_platform_db_id) VALUES('vsd1', 'An Example Deliverable', 'CSV', 'Example Deliverable', 'vsp1');
INSERT INTO vendor_spec_status (id, status_description, status_name, vendor_spec_platform_db_id) VALUES('vssta1', 'Samples have been recored, but not recieved', 'Created', 'vsp1');
INSERT INTO vendor_spec_status (id, status_description, status_name, vendor_spec_platform_db_id) VALUES('vssta2', 'Physical samples have been received', 'Received', 'vsp1');
INSERT INTO vendor_spec_status (id, status_description, status_name, vendor_spec_platform_db_id) VALUES('vssta3', 'Sample submission has been rejected by the vendor', 'Rejected', 'vsp1');
INSERT INTO vendor_spec_status (id, status_description, status_name, vendor_spec_platform_db_id) VALUES('vssta4', 'Vendor has begun to process the samples', 'Processing', 'vsp1');
INSERT INTO vendor_spec_status (id, status_description, status_name, vendor_spec_platform_db_id) VALUES('vssta5', 'Processing is complete, data is ready to download', 'Completed', 'vsp1');


