Revision 13590
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/inputs/test_taxonomic_names/_scrub/TNRS.sql | ||
---|---|---|
197 | 197 |
LANGUAGE plpgsql |
198 | 198 |
AS $$ |
199 | 199 |
BEGIN |
200 |
new.match_num = "TNRS".tnrs__match_num__next(); |
|
200 |
IF new.match_num IS NULL THEN |
|
201 |
new.match_num = "TNRS".tnrs__match_num__next(); |
|
202 |
END IF; |
|
201 | 203 |
RETURN new; |
202 | 204 |
END; |
203 | 205 |
$$; |
... | ... | |
305 | 307 |
|
306 | 308 |
CREATE TABLE tnrs ( |
307 | 309 |
batch text DEFAULT now() NOT NULL, |
308 |
match_num integer, |
|
310 |
match_num integer NOT NULL,
|
|
309 | 311 |
"Name_number" integer NOT NULL, |
310 | 312 |
"Name_submitted" text NOT NULL, |
311 | 313 |
"Overall_score" double precision, |
... | ... | |
362 | 364 |
make the changes in inputs/.TNRS/schema.sql |
363 | 365 |
$ inputs/.TNRS/data.sql.run refresh # re-run TNRS |
364 | 366 |
$ make schemas/remake |
367 |
|
|
368 |
to populate a new column: |
|
369 |
ALTER TABLE "TNRS".tnrs DISABLE TRIGGER tnrs_populate_fields; --speeds up update |
|
370 |
UPDATE "TNRS".tnrs SET "col" = value; |
|
371 |
-- runtime: 30 min ("5564201 rows affected, 1624829 ms execution time") |
|
372 |
ALTER TABLE "TNRS".tnrs ENABLE TRIGGER tnrs_populate_fields; |
|
373 |
VACUUM ANALYZE "TNRS".tnrs --remove previous rows; runtime: 1.5 min ("92633 ms") |
|
374 |
|
|
375 |
to add a constraint: runtime: 3 min ("173620 ms") |
|
365 | 376 |
'; |
366 | 377 |
|
367 | 378 |
|
... | ... | |
764 | 775 |
-- |
765 | 776 |
|
766 | 777 |
COPY batch (id, id_by_time, time_submitted, client_version) FROM stdin; |
767 |
2014-05-31 22:27:09.866404-07 2014-05-31 22:27:09.866404-07 2014-05-31 22:27:09.866404-07 \N |
|
768 |
2014-05-31 22:27:15.994569-07 2014-05-31 22:27:15.994569-07 2014-05-31 22:27:15.994569-07 \N |
|
778 |
2014-06-02 04:31:58.106974-07 2014-06-02 04:31:58.106974-07 2014-06-02 04:31:58.106974-07 \N |
|
769 | 779 |
\. |
770 | 780 |
|
771 | 781 |
|
... | ... | |
790 | 800 |
-- |
791 | 801 |
|
792 | 802 |
COPY tnrs (batch, match_num, "Name_number", "Name_submitted", "Overall_score", "Name_matched", "Name_matched_rank", "Name_score", "Name_matched_author", "Name_matched_url", "Author_matched", "Author_score", "Family_matched", "Family_score", "Name_matched_accepted_family", "Genus_matched", "Genus_score", "Specific_epithet_matched", "Specific_epithet_score", "Infraspecific_rank", "Infraspecific_epithet_matched", "Infraspecific_epithet_score", "Infraspecific_rank_2", "Infraspecific_epithet_2_matched", "Infraspecific_epithet_2_score", "Annotations", "Unmatched_terms", "Taxonomic_status", "Accepted_name", "Accepted_name_author", "Accepted_name_rank", "Accepted_name_url", "Accepted_name_species", "Accepted_name_family", "Selected", "Source", "Warnings", "Accepted_name_lsid", is_valid_match, scrubbed_unique_taxon_name) FROM stdin; |
793 |
2014-05-31 22:27:09.866404-07 0 0 Fam_indet. Boyle#6501 0 No suitable matches found. \N 0 \N \N \N 0 \N 0 \N \N 0 \N 0 \N \N 0 \N \N 0 \N \N \N \N \N \N \N \N \N true \N \N f \N |
|
794 |
2014-05-31 22:27:09.866404-07 1 1 Poa annua var. eriolepis 1 Poa annua var. eriolepis var. 1 ̉ۡ.Desv. http://www.theplantlist.org/tpl1.1/record/kew-435206 \N \N \N \N \N Poa 1 annua 1 var. eriolepis 1 \N \N \N \N \N Synonym Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194 Poa annua Poaceae true tpl \N t Poaceae Poa annua L. |
|
795 |
2014-05-31 22:27:09.866404-07 2 2 Poa annua 1 Poa annua species 1 L. http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN \N \N \N \N Poaceae Poa 1 annua 1 \N \N \N \N \N \N \N \N Accepted Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN Poa annua Poaceae true tpl;tropicos;usda \N t Poaceae Poa annua L. |
|
796 |
2014-05-31 22:27:09.866404-07 3 3 Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire 0.770000000000000018 Silene scouleri subsp. pringlei subsp. 0.770000000000000018 (S. Watson) C.L. Hitchc. & Maguire http://www.theplantlist.org/tpl1.1/record/tro-6303627 \N \N \N \N Caryophyllaceae Silene 1 scouleri 1 subsp. pringlei 1 \N \N \N \N var. grisea Accepted Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire subsp. http://www.theplantlist.org/tpl1.1/record/tro-6303627 Silene scouleri Caryophyllaceae true tpl [Partial match] \N t Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire |
|
797 |
2014-05-31 22:27:09.866404-07 4 4 Fabaceae Boyle#6500 0.900000000000000022 Fabaceae family 1 Lindl. http://www.tropicos.org/Name/42000184 \N \N Fabaceae 1 Fabaceae \N \N \N \N \N \N \N \N \N \N \N Boyle#6500 Accepted Fabaceae Lindl. family http://www.tropicos.org/Name/42000184 \N Fabaceae true tropicos \N t Fabaceae Lindl. |
|
798 |
2014-05-31 22:27:09.866404-07 5 5 Poa annua subsp. exilis 1 Poa annua subsp. exilis subsp. 1 (Tomm. ex Freyn.) Asch. & Graebn. http://www.theplantlist.org/tpl1.1/record/kew-435202 \N \N \N \N \N Poa 1 annua 1 subsp. exilis 1 \N \N \N \N \N Synonym Poa infirma Kunth species http://www.theplantlist.org/tpl1.1/record/kew-436189 Poa infirma Poaceae true tpl \N t Poaceae Poa infirma Kunth |
|
799 |
2014-05-31 22:27:09.866404-07 6 6 Poa annua ssp. exilis 1 Poa annua subsp. exilis subspecies 1 (Tomm. ex Freyn) Asch. & Graebn. http://www.tropicos.org/Name/50063800 \N \N \N \N Poaceae Poa 1 annua 1 subsp. exilis 1 \N \N \N \N \N Synonym Poa infirma Kunth species http://www.tropicos.org/Name/25514158 Poa infirma Poaceae true tropicos \N t Poaceae Poa infirma Kunth |
|
800 |
2014-05-31 22:27:09.866404-07 7 7 Poa annua subvar. minima 1 Poa annua subvar. minima subvariety 1 (Schur) Asch. & Graebn. http://www.tropicos.org/Name/50158097 \N \N \N \N Poaceae Poa 1 annua 1 subvar. minima 1 \N \N \N \N \N Accepted Poa annua subvar. minima (Schur) Asch. & Graebn. subvariety http://www.tropicos.org/Name/50158097 Poa annua Poaceae true tropicos \N t Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn. |
|
801 |
2014-05-31 22:27:09.866404-07 8 8 Poa annua L. 1 Poa annua species 1 L. http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN L. 1 \N \N Poaceae Poa 1 annua 1 \N \N \N \N \N \N \N \N Accepted Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN Poa annua Poaceae true tpl;tropicos;usda \N t Poaceae Poa annua L. |
|
802 |
2014-05-31 22:27:09.866404-07 9 9 Compositae indet. sp.1 0.900000000000000022 Compositae family 1 \N http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N Compositae 1 \N \N \N \N \N \N \N \N \N \N \N \N indet. sp.1 Accepted Compositae \N family http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N true tpl [Ambiguous match] \N t Compositae |
|
803 |
2014-05-31 22:27:09.866404-07 10 10 Poa annua fo. lanuginosa 1 Poa annua fo. lanuginosa fo. 1 Sennen http://www.theplantlist.org/tpl1.1/record/tro-50267771 \N \N \N \N \N Poa 1 annua 1 fo. lanuginosa 1 \N \N \N \N \N Synonym Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194 Poa annua Poaceae true tpl \N t Poaceae Poa annua L. |
|
804 |
2014-05-31 22:27:09.866404-07 11 11 Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire 0.770000000000000018 Silene scouleri subsp. pringlei subsp. 0.770000000000000018 (S. Watson) C.L. Hitchc. & Maguire http://www.theplantlist.org/tpl1.1/record/tro-6303627 \N \N \N \N Caryophyllaceae Silene 1 scouleri 1 subsp. pringlei 1 \N \N \N \N var. grisea Accepted Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire subsp. http://www.theplantlist.org/tpl1.1/record/tro-6303627 Silene scouleri Caryophyllaceae true tpl [Partial match] \N t Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire |
|
805 |
2014-05-31 22:27:09.866404-07 12 12 Fabaceae Inga "fuzzy leaf" 0.900000000000000022 Inga genus 1 \N http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N \N Fabaceae 1 Fabaceae Inga 1 \N \N \N \N \N \N \N \N \N "fuzzy leaf" Accepted Inga \N genus http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N Fabaceae true tpl;usda \N t Fabaceae Inga |
|
806 |
2014-05-31 22:27:09.866404-07 13 13 Fabaceae Inga sp.3 0.900000000000000022 Inga genus 1 \N http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N \N Fabaceae 1 Fabaceae Inga 1 \N \N \N \N \N \N \N \N \N sp.3 Accepted Inga \N genus http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N Fabaceae true tpl;usda \N t Fabaceae Inga |
|
807 |
2014-05-31 22:27:09.866404-07 14 14 Fabaceae unknown #2 0.900000000000000022 Fabaceae family 1 Lindl. http://www.tropicos.org/Name/42000184 \N \N Fabaceae 1 Fabaceae \N \N \N \N \N \N \N \N \N \N \N unknown #2 Accepted Fabaceae Lindl. family http://www.tropicos.org/Name/42000184 \N Fabaceae true tropicos \N t Fabaceae Lindl. |
|
808 |
2014-05-31 22:27:15.994569-07 0 0 Poaceae Poa annua L. 1 Poa annua species 1 L. http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN L. 1 Poaceae 1 Poaceae Poa 1 annua 1 \N \N \N \N \N \N \N \N Accepted Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN Poa annua Poaceae true tpl;tropicos;usda \N t Poaceae Poa annua L. |
|
809 |
2014-05-31 22:27:15.994569-07 1 1 Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn. 1 Poa annua subvar. minima subvariety 1 (Schur) Asch. & Graebn. http://www.tropicos.org/Name/50158097 (Schur) Asch. & Graebn. 1 Poaceae 1 Poaceae Poa 1 annua 1 subvar. minima 1 \N \N \N \N \N Accepted Poa annua subvar. minima (Schur) Asch. & Graebn. subvariety http://www.tropicos.org/Name/50158097 Poa annua Poaceae true tropicos \N t Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn. |
|
810 |
2014-05-31 22:27:15.994569-07 2 2 Compositae 1 Compositae family 1 \N http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N Compositae 1 \N \N \N \N \N \N \N \N \N \N \N \N \N Accepted Compositae \N family http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N true tpl [Ambiguous match] \N t Compositae |
|
811 |
2014-05-31 22:27:15.994569-07 3 3 Fabaceae Lindl. 0.5 Fabaceae family 0.5 Lindl. http://www.tropicos.org/Name/42000184 \N \N Fabaceae 1 Fabaceae \N \N \N \N \N \N \N \N \N \N \N Lindl. Accepted Fabaceae Lindl. family http://www.tropicos.org/Name/42000184 \N Fabaceae true tropicos [Partial match] \N t Fabaceae Lindl. |
|
812 |
2014-05-31 22:27:15.994569-07 4 4 Fabaceae Inga 1 Inga genus 1 \N http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N \N Fabaceae 1 Fabaceae Inga 1 \N \N \N \N \N \N \N \N \N \N Accepted Inga \N genus http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N Fabaceae true tpl;usda \N t Fabaceae Inga |
|
813 |
2014-05-31 22:27:15.994569-07 5 5 Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire 1 Silene scouleri subsp. pringlei subsp. 1 (S. Watson) C.L. Hitchc. & Maguire http://www.theplantlist.org/tpl1.1/record/tro-6303627 (S. Watson) C.L. Hitchc. & Maguire 1 Caryophyllaceae 1 Caryophyllaceae Silene 1 scouleri 1 subsp. pringlei 1 \N \N \N \N \N Accepted Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire subsp. http://www.theplantlist.org/tpl1.1/record/tro-6303627 Silene scouleri Caryophyllaceae true tpl \N t Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire |
|
814 |
2014-05-31 22:27:15.994569-07 6 6 Poaceae Poa infirma Kunth 1 Poa infirma species 1 Kunth http://www.theplantlist.org/tpl1.1/record/kew-436189;http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30 Kunth 1 Poaceae 1 Poaceae Poa 1 infirma 1 \N \N \N \N \N \N \N \N Accepted Poa infirma Kunth species http://www.theplantlist.org/tpl1.1/record/kew-436189;http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30 Poa infirma Poaceae true tpl;tropicos;usda \N t Poaceae Poa infirma Kunth |
|
803 |
2014-06-02 04:31:58.106974-07 0 0 Fam_indet. Boyle#6501 0 No suitable matches found. \N 0 \N \N \N 0 \N 0 \N \N 0 \N 0 \N \N 0 \N \N 0 \N \N \N \N \N \N \N \N \N true \N \N f \N |
|
804 |
2014-06-02 04:31:58.106974-07 1 1 Poa annua var. eriolepis 1 Poa annua var. eriolepis var. 1 ̉ۡ.Desv. http://www.theplantlist.org/tpl1.1/record/kew-435206 \N \N \N \N \N Poa 1 annua 1 var. eriolepis 1 \N \N \N \N \N Synonym Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194 Poa annua Poaceae true tpl \N t Poaceae Poa annua L. |
|
805 |
2014-06-02 04:31:58.106974-07 2 2 Poa annua 1 Poa annua species 1 L. http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN \N \N \N \N Poaceae Poa 1 annua 1 \N \N \N \N \N \N \N \N Accepted Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN Poa annua Poaceae true tpl;tropicos;usda \N t Poaceae Poa annua L. |
|
806 |
2014-06-02 04:31:58.106974-07 3 3 Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire 0.770000000000000018 Silene scouleri subsp. pringlei subsp. 0.770000000000000018 (S. Watson) C.L. Hitchc. & Maguire http://www.theplantlist.org/tpl1.1/record/tro-6303627 \N \N \N \N Caryophyllaceae Silene 1 scouleri 1 subsp. pringlei 1 \N \N \N \N var. grisea Accepted Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire subsp. http://www.theplantlist.org/tpl1.1/record/tro-6303627 Silene scouleri Caryophyllaceae true tpl [Partial match] \N t Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire |
|
807 |
2014-06-02 04:31:58.106974-07 4 4 Fabaceae Boyle#6500 0.900000000000000022 Fabaceae family 1 Lindl. http://www.tropicos.org/Name/42000184 \N \N Fabaceae 1 Fabaceae \N \N \N \N \N \N \N \N \N \N \N Boyle#6500 Accepted Fabaceae Lindl. family http://www.tropicos.org/Name/42000184 \N Fabaceae true tropicos \N t Fabaceae Lindl. |
|
808 |
2014-06-02 04:31:58.106974-07 5 5 Poa annua subsp. exilis 1 Poa annua subsp. exilis subsp. 1 (Tomm. ex Freyn.) Asch. & Graebn. http://www.theplantlist.org/tpl1.1/record/kew-435202 \N \N \N \N \N Poa 1 annua 1 subsp. exilis 1 \N \N \N \N \N Synonym Poa infirma Kunth species http://www.theplantlist.org/tpl1.1/record/kew-436189 Poa infirma Poaceae true tpl \N t Poaceae Poa infirma Kunth |
|
809 |
2014-06-02 04:31:58.106974-07 6 6 Poa annua ssp. exilis 1 Poa annua subsp. exilis subspecies 1 (Tomm. ex Freyn) Asch. & Graebn. http://www.tropicos.org/Name/50063800 \N \N \N \N Poaceae Poa 1 annua 1 subsp. exilis 1 \N \N \N \N \N Synonym Poa infirma Kunth species http://www.tropicos.org/Name/25514158 Poa infirma Poaceae true tropicos \N t Poaceae Poa infirma Kunth |
|
810 |
2014-06-02 04:31:58.106974-07 7 7 Poa annua subvar. minima 1 Poa annua subvar. minima subvariety 1 (Schur) Asch. & Graebn. http://www.tropicos.org/Name/50158097 \N \N \N \N Poaceae Poa 1 annua 1 subvar. minima 1 \N \N \N \N \N Accepted Poa annua subvar. minima (Schur) Asch. & Graebn. subvariety http://www.tropicos.org/Name/50158097 Poa annua Poaceae true tropicos \N t Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn. |
|
811 |
2014-06-02 04:31:58.106974-07 8 8 Poa annua L. 1 Poa annua species 1 L. http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN L. 1 \N \N Poaceae Poa 1 annua 1 \N \N \N \N \N \N \N \N Accepted Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN Poa annua Poaceae true tpl;tropicos;usda \N t Poaceae Poa annua L. |
|
812 |
2014-06-02 04:31:58.106974-07 9 9 Compositae indet. sp.1 0.900000000000000022 Compositae family 1 \N http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N Compositae 1 \N \N \N \N \N \N \N \N \N \N \N \N indet. sp.1 Accepted Compositae \N family http://www.theplantlist.org/1.1/browse/A/Compositae/ \N \N true tpl [Ambiguous match] \N t Compositae |
|
813 |
2014-06-02 04:31:58.106974-07 10 10 Poa annua fo. lanuginosa 1 Poa annua fo. lanuginosa fo. 1 Sennen http://www.theplantlist.org/tpl1.1/record/tro-50267771 \N \N \N \N \N Poa 1 annua 1 fo. lanuginosa 1 \N \N \N \N \N Synonym Poa annua L. species http://www.theplantlist.org/tpl1.1/record/kew-435194 Poa annua Poaceae true tpl \N t Poaceae Poa annua L. |
|
814 |
2014-06-02 04:31:58.106974-07 11 11 Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire 0.770000000000000018 Silene scouleri subsp. pringlei subsp. 0.770000000000000018 (S. Watson) C.L. Hitchc. & Maguire http://www.theplantlist.org/tpl1.1/record/tro-6303627 \N \N \N \N Caryophyllaceae Silene 1 scouleri 1 subsp. pringlei 1 \N \N \N \N var. grisea Accepted Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire subsp. http://www.theplantlist.org/tpl1.1/record/tro-6303627 Silene scouleri Caryophyllaceae true tpl [Partial match] \N t Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire |
|
815 |
2014-06-02 04:31:58.106974-07 12 12 Fabaceae Inga "fuzzy leaf" 0.900000000000000022 Inga genus 1 \N http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N \N Fabaceae 1 Fabaceae Inga 1 \N \N \N \N \N \N \N \N \N "fuzzy leaf" Accepted Inga \N genus http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N Fabaceae true tpl;usda \N t Fabaceae Inga |
|
816 |
2014-06-02 04:31:58.106974-07 13 13 Fabaceae Inga sp.3 0.900000000000000022 Inga genus 1 \N http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N \N Fabaceae 1 Fabaceae Inga 1 \N \N \N \N \N \N \N \N \N sp.3 Accepted Inga \N genus http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA \N Fabaceae true tpl;usda \N t Fabaceae Inga |
|
817 |
2014-06-02 04:31:58.106974-07 14 14 Fabaceae unknown #2 0.900000000000000022 Fabaceae family 1 Lindl. http://www.tropicos.org/Name/42000184 \N \N Fabaceae 1 Fabaceae \N \N \N \N \N \N \N \N \N \N \N unknown #2 Accepted Fabaceae Lindl. family http://www.tropicos.org/Name/42000184 \N Fabaceae true tropicos \N t Fabaceae Lindl. |
|
815 | 818 |
\. |
816 | 819 |
|
817 | 820 |
|
... | ... | |
867 | 870 |
|
868 | 871 |
|
869 | 872 |
-- |
870 |
-- Name: tnrs_Name_submitted_key; Type: CONSTRAINT; Schema: TNRS; Owner: bien; Tablespace: |
|
871 |
-- |
|
872 |
|
|
873 |
ALTER TABLE ONLY tnrs |
|
874 |
ADD CONSTRAINT "tnrs_Name_submitted_key" UNIQUE ("Name_submitted"); |
|
875 |
|
|
876 |
|
|
877 |
-- |
|
878 | 873 |
-- Name: tnrs_pkey; Type: CONSTRAINT; Schema: TNRS; Owner: bien; Tablespace: |
879 | 874 |
-- |
880 | 875 |
|
881 | 876 |
ALTER TABLE ONLY tnrs |
882 |
ADD CONSTRAINT tnrs_pkey PRIMARY KEY (batch, "Name_number");
|
|
877 |
ADD CONSTRAINT tnrs_pkey PRIMARY KEY (batch, match_num);
|
|
883 | 878 |
|
884 | 879 |
|
885 | 880 |
-- |
... | ... | |
906 | 901 |
|
907 | 902 |
|
908 | 903 |
-- |
904 |
-- Name: tnrs_Name_submitted_idx; Type: INDEX; Schema: TNRS; Owner: bien; Tablespace: |
|
905 |
-- |
|
906 |
|
|
907 |
CREATE INDEX "tnrs_Name_submitted_idx" ON tnrs USING btree ("Name_submitted"); |
|
908 |
|
|
909 |
|
|
910 |
-- |
|
909 | 911 |
-- Name: tnrs__valid_match; Type: INDEX; Schema: TNRS; Owner: bien; Tablespace: |
910 | 912 |
-- |
911 | 913 |
|
912 |
CREATE UNIQUE INDEX tnrs__valid_match ON tnrs USING btree ("Name_submitted") WHERE is_valid_match;
|
|
914 |
CREATE INDEX tnrs__valid_match ON tnrs USING btree ("Name_submitted") WHERE is_valid_match; |
|
913 | 915 |
|
914 | 916 |
|
915 | 917 |
-- |
trunk/inputs/test_taxonomic_names/_scrub/public.test_taxonomic_names.sql | ||
---|---|---|
22 | 22 |
-- Name: SCHEMA "public.test_taxonomic_names"; Type: COMMENT; Schema: -; Owner: bien |
23 | 23 |
-- |
24 | 24 |
|
25 |
COMMENT ON SCHEMA "public.test_taxonomic_names" IS 'Version: public (2014-5-31 22:27:20 PDT)';
|
|
25 |
COMMENT ON SCHEMA "public.test_taxonomic_names" IS 'Version: public (2014-6-2 4:32:06 PDT)';
|
|
26 | 26 |
|
27 | 27 |
|
28 | 28 |
SET search_path = "public.test_taxonomic_names", pg_catalog; |
... | ... | |
5936 | 5936 |
-- |
5937 | 5937 |
|
5938 | 5938 |
CREATE VIEW tnrs_input_name AS |
5939 |
SELECT DISTINCT "MatchedTaxon".scrubbed_unique_taxon_name AS taxonomicname |
|
5940 |
FROM ("TNRS"."MatchedTaxon" |
|
5941 |
LEFT JOIN "TNRS"."taxon_scrub.scrubbed_unique_taxon_name.*" ON (("taxon_scrub.scrubbed_unique_taxon_name.*".scrubbed_unique_taxon_name = "MatchedTaxon".scrubbed_unique_taxon_name))) |
|
5942 |
WHERE (("MatchedTaxon".scrubbed_unique_taxon_name IS NOT NULL) AND ("taxon_scrub.scrubbed_unique_taxon_name.*".scrubbed_unique_taxon_name IS NULL)) |
|
5943 |
UNION |
|
5944 |
SELECT DISTINCT taxonlabel.taxonomicname |
|
5945 |
FROM (taxonlabel |
|
5946 |
LEFT JOIN "TNRS"."MatchedTaxon" ON (("MatchedTaxon"."concatenatedScientificName" = taxonlabel.taxonomicname))) |
|
5947 |
WHERE ((taxonlabel.taxonomicname IS NOT NULL) AND ("MatchedTaxon"."concatenatedScientificName" IS NULL)); |
|
5939 |
SELECT DISTINCT taxonlabel.taxonomicname |
|
5940 |
FROM (taxonlabel |
|
5941 |
LEFT JOIN "TNRS"."MatchedTaxon" ON (("MatchedTaxon"."concatenatedScientificName" = taxonlabel.taxonomicname))) |
|
5942 |
WHERE ((taxonlabel.taxonomicname IS NOT NULL) AND ("MatchedTaxon"."concatenatedScientificName" IS NULL)); |
|
5948 | 5943 |
|
5949 | 5944 |
|
5950 | 5945 |
ALTER TABLE "public.test_taxonomic_names".tnrs_input_name OWNER TO bien; |
... | ... | |
8706 | 8701 |
-- |
8707 | 8702 |
|
8708 | 8703 |
COPY source (source_id, matched_source_id, parent_id, shortname, citation, sourcetype, accesslevel, accessconditions, observationtype, title, titlesuperior, volume, issue, pagerange, totalpages, publisher, publicationplace, isbn, edition, numberofvolumes, chapternumber, reportnumber, communicationtype, degree, url, doi, additionalinfo, pubdate, accessdate, conferencedate, datecreated, createdby, datelastmodified, lastmodifiedby, import_revision) FROM stdin; |
8709 |
1 \N \N TNRS \N aggregator \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N http://tnrs.iplantcollaborative.org/TNRSapp.html \N \N \N \N \N 2014-05-31 \N 2014-05-31 \N \N
|
|
8710 |
2 \N \N test_taxonomic_names \N personal communication \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 2014-05-31 \N 2014-05-31 \N \N
|
|
8704 |
1 \N \N TNRS \N aggregator \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N http://tnrs.iplantcollaborative.org/TNRSapp.html \N \N \N \N \N 2014-06-02 \N 2014-06-02 \N \N
|
|
8705 |
2 \N \N test_taxonomic_names \N personal communication \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 2014-06-02 \N 2014-06-02 \N \N
|
|
8711 | 8706 |
\. |
8712 | 8707 |
|
8713 | 8708 |
|
trunk/inputs/.TNRS/data.sql | ||
---|---|---|
21 | 21 |
-- Data for Name: batch; Type: TABLE DATA; Schema: TNRS; Owner: - |
22 | 22 |
-- |
23 | 23 |
|
24 |
INSERT INTO batch VALUES ('2014-05-31 22:27:09.866404-07', '2014-05-31 22:27:09.866404-07', '2014-05-31 22:27:09.866404-07', NULL); |
|
25 |
INSERT INTO batch VALUES ('2014-05-31 22:27:15.994569-07', '2014-05-31 22:27:15.994569-07', '2014-05-31 22:27:15.994569-07', NULL); |
|
24 |
INSERT INTO batch VALUES ('2014-06-02 04:31:58.106974-07', '2014-06-02 04:31:58.106974-07', '2014-06-02 04:31:58.106974-07', NULL); |
|
26 | 25 |
|
27 | 26 |
|
28 | 27 |
-- |
... | ... | |
35 | 34 |
-- Data for Name: tnrs; Type: TABLE DATA; Schema: TNRS; Owner: - |
36 | 35 |
-- |
37 | 36 |
|
38 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 0, 0, 'Fam_indet. Boyle#6501', 0, 'No suitable matches found.', NULL, 0, NULL, NULL, NULL, 0, NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'true', NULL, ' ', NULL, false, NULL); |
|
39 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 1, 1, 'Poa annua var. eriolepis', 1, 'Poa annua var. eriolepis', 'var.', 1, '̉ۡ.Desv.', 'http://www.theplantlist.org/tpl1.1/record/kew-435206', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'var.', 'eriolepis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194', 'Poa annua', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
40 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 2, 2, 'Poa annua', 1, 'Poa annua', 'species', 1, 'L.', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'Poa annua', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
41 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 3, 3, 'Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire', 0.770000000000000018, 'Silene scouleri subsp. pringlei', 'subsp.', 0.770000000000000018, '(S. Watson) C.L. Hitchc. & Maguire', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', NULL, NULL, NULL, NULL, 'Caryophyllaceae', 'Silene', 1, 'scouleri', 1, 'subsp.', 'pringlei', 1, NULL, NULL, NULL, NULL, 'var. grisea', 'Accepted', 'Silene scouleri subsp. pringlei', '(S. Watson) C.L. Hitchc. & Maguire', 'subsp.', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', 'Silene scouleri', 'Caryophyllaceae', 'true', 'tpl', ' [Partial match] ', NULL, true, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire'); |
|
42 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 4, 4, 'Fabaceae Boyle#6500', 0.900000000000000022, 'Fabaceae', 'family', 1, 'Lindl.', 'http://www.tropicos.org/Name/42000184', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Boyle#6500', 'Accepted', 'Fabaceae', 'Lindl.', 'family', 'http://www.tropicos.org/Name/42000184', NULL, 'Fabaceae', 'true', 'tropicos', ' ', NULL, true, 'Fabaceae Lindl.'); |
|
43 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 5, 5, 'Poa annua subsp. exilis', 1, 'Poa annua subsp. exilis', 'subsp.', 1, '(Tomm. ex Freyn.) Asch. & Graebn.', 'http://www.theplantlist.org/tpl1.1/record/kew-435202', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'subsp.', 'exilis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa infirma', 'Kunth', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-436189', 'Poa infirma', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa infirma Kunth'); |
|
44 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 6, 6, 'Poa annua ssp. exilis', 1, 'Poa annua subsp. exilis', 'subspecies', 1, '(Tomm. ex Freyn) Asch. & Graebn.', 'http://www.tropicos.org/Name/50063800', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, 'subsp.', 'exilis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa infirma', 'Kunth', 'species', 'http://www.tropicos.org/Name/25514158', 'Poa infirma', 'Poaceae', 'true', 'tropicos', ' ', NULL, true, 'Poaceae Poa infirma Kunth'); |
|
45 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 7, 7, 'Poa annua subvar. minima', 1, 'Poa annua subvar. minima', 'subvariety', 1, '(Schur) Asch. & Graebn.', 'http://www.tropicos.org/Name/50158097', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, 'subvar.', 'minima', 1, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua subvar. minima', '(Schur) Asch. & Graebn.', 'subvariety', 'http://www.tropicos.org/Name/50158097', 'Poa annua', 'Poaceae', 'true', 'tropicos', ' ', NULL, true, 'Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn.'); |
|
46 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 8, 8, 'Poa annua L.', 1, 'Poa annua', 'species', 1, 'L.', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'L.', 1, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'Poa annua', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
47 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 9, 9, 'Compositae indet. sp.1', 0.900000000000000022, 'Compositae', 'family', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'Compositae', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'indet. sp.1', 'Accepted', 'Compositae', NULL, 'family', 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'true', 'tpl', ' [Ambiguous match] ', NULL, true, 'Compositae'); |
|
48 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 10, 10, 'Poa annua fo. lanuginosa', 1, 'Poa annua fo. lanuginosa', 'fo.', 1, 'Sennen', 'http://www.theplantlist.org/tpl1.1/record/tro-50267771', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'fo.', 'lanuginosa', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194', 'Poa annua', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
49 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 11, 11, 'Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire', 0.770000000000000018, 'Silene scouleri subsp. pringlei', 'subsp.', 0.770000000000000018, '(S. Watson) C.L. Hitchc. & Maguire', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', NULL, NULL, NULL, NULL, 'Caryophyllaceae', 'Silene', 1, 'scouleri', 1, 'subsp.', 'pringlei', 1, NULL, NULL, NULL, NULL, 'var. grisea', 'Accepted', 'Silene scouleri subsp. pringlei', '(S. Watson) C.L. Hitchc. & Maguire', 'subsp.', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', 'Silene scouleri', 'Caryophyllaceae', 'true', 'tpl', ' [Partial match] ', NULL, true, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire'); |
|
50 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 12, 12, 'Fabaceae Inga "fuzzy leaf"', 0.900000000000000022, 'Inga', 'genus', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', 'Inga', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '"fuzzy leaf"', 'Accepted', 'Inga', NULL, 'genus', 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, 'Fabaceae', 'true', 'tpl;usda', ' ', NULL, true, 'Fabaceae Inga'); |
|
51 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 13, 13, 'Fabaceae Inga sp.3', 0.900000000000000022, 'Inga', 'genus', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', 'Inga', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'sp.3', 'Accepted', 'Inga', NULL, 'genus', 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, 'Fabaceae', 'true', 'tpl;usda', ' ', NULL, true, 'Fabaceae Inga'); |
|
52 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:09.866404-07', 14, 14, 'Fabaceae unknown #2', 0.900000000000000022, 'Fabaceae', 'family', 1, 'Lindl.', 'http://www.tropicos.org/Name/42000184', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unknown #2', 'Accepted', 'Fabaceae', 'Lindl.', 'family', 'http://www.tropicos.org/Name/42000184', NULL, 'Fabaceae', 'true', 'tropicos', ' ', NULL, true, 'Fabaceae Lindl.'); |
|
53 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 0, 0, 'Poaceae Poa annua L.', 1, 'Poa annua', 'species', 1, 'L.', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'L.', 1, 'Poaceae', 1, 'Poaceae', 'Poa', 1, 'annua', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'Poa annua', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
54 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 1, 1, 'Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn.', 1, 'Poa annua subvar. minima', 'subvariety', 1, '(Schur) Asch. & Graebn.', 'http://www.tropicos.org/Name/50158097', '(Schur) Asch. & Graebn.', 1, 'Poaceae', 1, 'Poaceae', 'Poa', 1, 'annua', 1, 'subvar.', 'minima', 1, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua subvar. minima', '(Schur) Asch. & Graebn.', 'subvariety', 'http://www.tropicos.org/Name/50158097', 'Poa annua', 'Poaceae', 'true', 'tropicos', ' ', NULL, true, 'Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn.'); |
|
55 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 2, 2, 'Compositae', 1, 'Compositae', 'family', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'Compositae', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Compositae', NULL, 'family', 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'true', 'tpl', ' [Ambiguous match] ', NULL, true, 'Compositae'); |
|
56 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 3, 3, 'Fabaceae Lindl.', 0.5, 'Fabaceae', 'family', 0.5, 'Lindl.', 'http://www.tropicos.org/Name/42000184', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Lindl.', 'Accepted', 'Fabaceae', 'Lindl.', 'family', 'http://www.tropicos.org/Name/42000184', NULL, 'Fabaceae', 'true', 'tropicos', ' [Partial match] ', NULL, true, 'Fabaceae Lindl.'); |
|
57 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 4, 4, 'Fabaceae Inga', 1, 'Inga', 'genus', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', 'Inga', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Inga', NULL, 'genus', 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, 'Fabaceae', 'true', 'tpl;usda', ' ', NULL, true, 'Fabaceae Inga'); |
|
58 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 5, 5, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire', 1, 'Silene scouleri subsp. pringlei', 'subsp.', 1, '(S. Watson) C.L. Hitchc. & Maguire', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', '(S. Watson) C.L. Hitchc. & Maguire', 1, 'Caryophyllaceae', 1, 'Caryophyllaceae', 'Silene', 1, 'scouleri', 1, 'subsp.', 'pringlei', 1, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Silene scouleri subsp. pringlei', '(S. Watson) C.L. Hitchc. & Maguire', 'subsp.', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', 'Silene scouleri', 'Caryophyllaceae', 'true', 'tpl', ' ', NULL, true, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire'); |
|
59 |
INSERT INTO tnrs VALUES ('2014-05-31 22:27:15.994569-07', 6, 6, 'Poaceae Poa infirma Kunth', 1, 'Poa infirma', 'species', 1, 'Kunth', 'http://www.theplantlist.org/tpl1.1/record/kew-436189;http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30', 'Kunth', 1, 'Poaceae', 1, 'Poaceae', 'Poa', 1, 'infirma', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa infirma', 'Kunth', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-436189;http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30', 'Poa infirma', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa infirma Kunth'); |
|
37 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 0, 0, 'Fam_indet. Boyle#6501', 0, 'No suitable matches found.', NULL, 0, NULL, NULL, NULL, 0, NULL, 0, NULL, NULL, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'true', NULL, ' ', NULL, false, NULL); |
|
38 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 1, 1, 'Poa annua var. eriolepis', 1, 'Poa annua var. eriolepis', 'var.', 1, '̉ۡ.Desv.', 'http://www.theplantlist.org/tpl1.1/record/kew-435206', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'var.', 'eriolepis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194', 'Poa annua', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
39 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 2, 2, 'Poa annua', 1, 'Poa annua', 'species', 1, 'L.', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'Poa annua', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
40 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 3, 3, 'Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire', 0.770000000000000018, 'Silene scouleri subsp. pringlei', 'subsp.', 0.770000000000000018, '(S. Watson) C.L. Hitchc. & Maguire', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', NULL, NULL, NULL, NULL, 'Caryophyllaceae', 'Silene', 1, 'scouleri', 1, 'subsp.', 'pringlei', 1, NULL, NULL, NULL, NULL, 'var. grisea', 'Accepted', 'Silene scouleri subsp. pringlei', '(S. Watson) C.L. Hitchc. & Maguire', 'subsp.', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', 'Silene scouleri', 'Caryophyllaceae', 'true', 'tpl', ' [Partial match] ', NULL, true, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire'); |
|
41 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 4, 4, 'Fabaceae Boyle#6500', 0.900000000000000022, 'Fabaceae', 'family', 1, 'Lindl.', 'http://www.tropicos.org/Name/42000184', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Boyle#6500', 'Accepted', 'Fabaceae', 'Lindl.', 'family', 'http://www.tropicos.org/Name/42000184', NULL, 'Fabaceae', 'true', 'tropicos', ' ', NULL, true, 'Fabaceae Lindl.'); |
|
42 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 5, 5, 'Poa annua subsp. exilis', 1, 'Poa annua subsp. exilis', 'subsp.', 1, '(Tomm. ex Freyn.) Asch. & Graebn.', 'http://www.theplantlist.org/tpl1.1/record/kew-435202', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'subsp.', 'exilis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa infirma', 'Kunth', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-436189', 'Poa infirma', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa infirma Kunth'); |
|
43 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 6, 6, 'Poa annua ssp. exilis', 1, 'Poa annua subsp. exilis', 'subspecies', 1, '(Tomm. ex Freyn) Asch. & Graebn.', 'http://www.tropicos.org/Name/50063800', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, 'subsp.', 'exilis', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa infirma', 'Kunth', 'species', 'http://www.tropicos.org/Name/25514158', 'Poa infirma', 'Poaceae', 'true', 'tropicos', ' ', NULL, true, 'Poaceae Poa infirma Kunth'); |
|
44 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 7, 7, 'Poa annua subvar. minima', 1, 'Poa annua subvar. minima', 'subvariety', 1, '(Schur) Asch. & Graebn.', 'http://www.tropicos.org/Name/50158097', NULL, NULL, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, 'subvar.', 'minima', 1, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua subvar. minima', '(Schur) Asch. & Graebn.', 'subvariety', 'http://www.tropicos.org/Name/50158097', 'Poa annua', 'Poaceae', 'true', 'tropicos', ' ', NULL, true, 'Poaceae Poa annua subvar. minima (Schur) Asch. & Graebn.'); |
|
45 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 8, 8, 'Poa annua L.', 1, 'Poa annua', 'species', 1, 'L.', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'L.', 1, NULL, NULL, 'Poaceae', 'Poa', 1, 'annua', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Accepted', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194;http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN', 'Poa annua', 'Poaceae', 'true', 'tpl;tropicos;usda', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
46 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 9, 9, 'Compositae indet. sp.1', 0.900000000000000022, 'Compositae', 'family', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'Compositae', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'indet. sp.1', 'Accepted', 'Compositae', NULL, 'family', 'http://www.theplantlist.org/1.1/browse/A/Compositae/', NULL, NULL, 'true', 'tpl', ' [Ambiguous match] ', NULL, true, 'Compositae'); |
|
47 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 10, 10, 'Poa annua fo. lanuginosa', 1, 'Poa annua fo. lanuginosa', 'fo.', 1, 'Sennen', 'http://www.theplantlist.org/tpl1.1/record/tro-50267771', NULL, NULL, NULL, NULL, NULL, 'Poa', 1, 'annua', 1, 'fo.', 'lanuginosa', 1, NULL, NULL, NULL, NULL, NULL, 'Synonym', 'Poa annua', 'L.', 'species', 'http://www.theplantlist.org/tpl1.1/record/kew-435194', 'Poa annua', 'Poaceae', 'true', 'tpl', ' ', NULL, true, 'Poaceae Poa annua L.'); |
|
48 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 11, 11, 'Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire', 0.770000000000000018, 'Silene scouleri subsp. pringlei', 'subsp.', 0.770000000000000018, '(S. Watson) C.L. Hitchc. & Maguire', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', NULL, NULL, NULL, NULL, 'Caryophyllaceae', 'Silene', 1, 'scouleri', 1, 'subsp.', 'pringlei', 1, NULL, NULL, NULL, NULL, 'var. grisea', 'Accepted', 'Silene scouleri subsp. pringlei', '(S. Watson) C.L. Hitchc. & Maguire', 'subsp.', 'http://www.theplantlist.org/tpl1.1/record/tro-6303627', 'Silene scouleri', 'Caryophyllaceae', 'true', 'tpl', ' [Partial match] ', NULL, true, 'Caryophyllaceae Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire'); |
|
49 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 12, 12, 'Fabaceae Inga "fuzzy leaf"', 0.900000000000000022, 'Inga', 'genus', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', 'Inga', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '"fuzzy leaf"', 'Accepted', 'Inga', NULL, 'genus', 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, 'Fabaceae', 'true', 'tpl;usda', ' ', NULL, true, 'Fabaceae Inga'); |
|
50 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 13, 13, 'Fabaceae Inga sp.3', 0.900000000000000022, 'Inga', 'genus', 1, NULL, 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', 'Inga', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'sp.3', 'Accepted', 'Inga', NULL, 'genus', 'http://www.theplantlist.org/1.1/browse/A/Leguminosae/Inga/;http://plants.usda.gov/java/profile?symbol=INGA', NULL, 'Fabaceae', 'true', 'tpl;usda', ' ', NULL, true, 'Fabaceae Inga'); |
|
51 |
INSERT INTO tnrs VALUES ('2014-06-02 04:31:58.106974-07', 14, 14, 'Fabaceae unknown #2', 0.900000000000000022, 'Fabaceae', 'family', 1, 'Lindl.', 'http://www.tropicos.org/Name/42000184', NULL, NULL, 'Fabaceae', 1, 'Fabaceae', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unknown #2', 'Accepted', 'Fabaceae', 'Lindl.', 'family', 'http://www.tropicos.org/Name/42000184', NULL, 'Fabaceae', 'true', 'tropicos', ' ', NULL, true, 'Fabaceae Lindl.'); |
|
60 | 52 |
|
61 | 53 |
|
62 | 54 |
-- |
Also available in: Unified diff
schemas/vegbien.sql: tnrs_input_name: don't scrub accepted names, as using multiple matches per name no longer provides a single accepted name to scrub. instead, the Accepted_* fields can be whitespace-split to generate the same columns that would have been generated by the scrubbing (and without the overhead of the extra TNRS call).