Project

General

Profile

« Previous | Next » 

Revision 5742

inputs/test_taxonomic_names/_scrub/public.test_taxonomic_names.sql, TNRS.sql: Regenerated with schema and mappings changes

View differences:

inputs/test_taxonomic_names/_scrub/TNRS.sql
29 29
--
30 30

  
31 31
CREATE TABLE tnrs (
32
    "Time_submitted" timestamp with time zone,
32 33
    "Name_number" text,
33 34
    "Name_submitted" text NOT NULL,
34 35
    "Overall_score" text,
......
83 84
-- Data for Name: tnrs; Type: TABLE DATA; Schema: TNRS; Owner: bien
84 85
--
85 86

  
86
COPY tnrs ("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") FROM stdin;
87
7	Poa annua L.	1	Poa annua	species	1	L.	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.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN	Poa annua	Poaceae	true	tropicos;usda	\N	\N
88
2	Poa annua var. annua	1	Poa annua var. annua	variety	1	\N	http://www.tropicos.org/Name/25517736	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	var.	annua	1	\N	\N	\N	\N	\N	Accepted	Poa annua var. annua	\N	variety	http://www.tropicos.org/Name/25517736	Poa annua	Poaceae	true	tropicos	\N	\N
89
3	Poa infirma Kunth	1	Poa infirma	species	1	Kunth	http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30	Kunth	1	\N	\N	Poaceae	Poa	1	infirma	1	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poa infirma	Kunth	species	http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30	Poa infirma	Poaceae	true	tropicos;usda	\N	\N
90
0	Asteraceae Bercht. & J. Presl	0.4	Asteraceae	family	0.5	\N	http://compositae.landcareresearch.co.nz/default.aspx;http://plants.usda.gov/java/nameSearch	\N	\N	Asteraceae	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Bercht. & J. Presl	Accepted	Asteraceae	\N	family	http://compositae.landcareresearch.co.nz/default.aspx;http://plants.usda.gov/java/nameSearch	\N	\N	true	gcc;usda	[Partial match]	\N
91
0	Compositae indet. sp.1	0.9	Compositae	family	1	Giseke	http://www.tropicos.org/Name/50255940	\N	\N	Compositae	1	Compositae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	indet. sp.1	Synonym	Asteraceae	Bercht. & J. Presl	family	http://www.tropicos.org/Name/50307371	\N	Asteraceae	true	tropicos	\N	\N
92
1	Fabaceae Boyle#6500	0.9	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	\N
93
2	Fabaceae Inga "fuzzy leaf"	0.9	Inga	genus	1	Mill.	http://www.tropicos.org/Name/40031040	\N	\N	Fabaceae	1	Fabaceae	Inga	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	"fuzzy leaf"	Accepted	Inga	Mill.	genus	http://www.tropicos.org/Name/40031040	\N	Fabaceae	true	tropicos	\N	\N
94
3	Fabaceae Inga sp.3	0.9	Inga	genus	1	Mill.	http://www.tropicos.org/Name/40031040	\N	\N	Fabaceae	1	Fabaceae	Inga	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	sp.3	Accepted	Inga	Mill.	genus	http://www.tropicos.org/Name/40031040	\N	Fabaceae	true	tropicos	\N	\N
95
4	Fabaceae unknown #2	0.9	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	\N
96
6	Poa annua	1	Poa annua	species	1	L.	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.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN	Poa annua	Poaceae	true	tropicos;usda	\N	\N
97
8	Poa annua fo. lanuginosa	1	Poa annua fo. lanuginosa	forma	1	Sennen	http://www.tropicos.org/Name/50267771	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	fo.	lanuginosa	1	\N	\N	\N	\N	\N	Synonym	Poa annua var. annua	\N	variety	http://www.tropicos.org/Name/25517736	Poa annua	Poaceae	true	tropicos	\N	\N
98
9	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	\N
99
10	Poa annua subsp. 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	\N
100
11	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	\N
101
12	Poa annua var. eriolepis	1	Poa annua var. eriolepis	variety	1	E. Desv.	http://www.tropicos.org/Name/50119145	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	var.	eriolepis	1	\N	\N	\N	\N	\N	Synonym	Poa annua	L.	species	http://www.tropicos.org/Name/25509881	Poa annua	Poaceae	true	tropicos	\N	\N
102
13	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	0.77	Silene scouleri subsp. pringlei	subspecies	0.77	(S. Watson) C.L. Hitchc. & Maguire	http://www.tropicos.org/Name/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	subspecies	http://www.tropicos.org/Name/6303627	Silene scouleri	Caryophyllaceae	true	tropicos	[Partial match]	\N
103
14	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	0.77	Silene scouleri subsp. pringlei	subspecies	0.77	(S. Watson) C.L. Hitchc. & Maguire	http://www.tropicos.org/Name/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	subspecies	http://www.tropicos.org/Name/6303627	Silene scouleri	Caryophyllaceae	true	tropicos	[Partial match]	\N
104
5	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	\N
105
1	No suitable matches found.	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	\N
87
COPY tnrs ("Time_submitted", "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") FROM stdin;
88
2012-10-23 11:03:17.984436-07	0	Asteraceae Bercht. & J. Presl	0.4	Asteraceae	family	0.5	Bercht. & J. Presl	http://www.tropicos.org/Name/50307371	\N	\N	Asteraceae	1	Asteraceae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Bercht. & J. Presl	Accepted	Asteraceae	Bercht. & J. Presl	family	http://www.tropicos.org/Name/50307371	\N	Asteraceae	true	tropicos	[Partial match]	\N
89
2012-10-23 11:03:00.057419-07	7	Poa annua L.	1	Poa annua	species	1	L.	http://www.tropicos.org/Name/25509881	L.	1	\N	\N	Poaceae	Poa	1	annua	1	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poa annua	L.	species	http://www.tropicos.org/Name/25509881	Poa annua	Poaceae	true	tropicos	\N	\N
90
2012-10-23 11:03:17.984436-07	7	Poa annua var. annua	1	Poa annua var. annua	variety	1	\N	http://www.tropicos.org/Name/25517736	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	var.	annua	1	\N	\N	\N	\N	\N	Accepted	Poa annua var. annua	\N	variety	http://www.tropicos.org/Name/25517736	Poa annua	Poaceae	true	tropicos	\N	\N
91
2012-10-23 11:03:17.984436-07	8	Poa infirma Kunth	1	Poa infirma	species	1	Kunth	http://www.tropicos.org/Name/25514158	Kunth	1	\N	\N	Poaceae	Poa	1	infirma	1	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poa infirma	Kunth	species	http://www.tropicos.org/Name/25514158	Poa infirma	Poaceae	true	tropicos	\N	\N
92
2012-10-23 11:03:17.984436-07	1	Caryophyllaceae	1	Caryophyllaceae	family	1	Juss.	http://www.tropicos.org/Name/42000077	\N	\N	Caryophyllaceae	1	Caryophyllaceae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Caryophyllaceae	Juss.	family	http://www.tropicos.org/Name/42000077	\N	Caryophyllaceae	true	tropicos	\N	\N
93
2012-10-23 11:03:17.984436-07	2	Compositae	1	Compositae	family	1	Giseke	http://www.tropicos.org/Name/50255940	\N	\N	Compositae	1	Compositae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Synonym	Asteraceae	Bercht. & J. Presl	family	http://www.tropicos.org/Name/50307371	\N	Asteraceae	true	tropicos	\N	\N
94
2012-10-23 11:03:00.057419-07	0	Compositae indet. sp.1	0.9	Compositae	family	1	Giseke	http://www.tropicos.org/Name/50255940	\N	\N	Compositae	1	Compositae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	indet. sp.1	Synonym	Asteraceae	Bercht. & J. Presl	family	http://www.tropicos.org/Name/50307371	\N	Asteraceae	true	tropicos	\N	\N
95
2012-10-23 11:03:17.984436-07	3	Fabaceae	1	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	\N	Accepted	Fabaceae	Lindl.	family	http://www.tropicos.org/Name/42000184	\N	Fabaceae	true	tropicos	\N	\N
96
2012-10-23 11:03:00.057419-07	1	Fabaceae Boyle#6500	0.9	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	\N
97
2012-10-23 11:03:00.057419-07	2	Fabaceae Inga "fuzzy leaf"	0.9	Inga	genus	1	Mill.	http://www.tropicos.org/Name/40031040	\N	\N	Fabaceae	1	Fabaceae	Inga	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	"fuzzy leaf"	Accepted	Inga	Mill.	genus	http://www.tropicos.org/Name/40031040	\N	Fabaceae	true	tropicos	\N	\N
98
2012-10-23 11:03:00.057419-07	3	Fabaceae Inga sp.3	0.9	Inga	genus	1	Mill.	http://www.tropicos.org/Name/40031040	\N	\N	Fabaceae	1	Fabaceae	Inga	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	sp.3	Accepted	Inga	Mill.	genus	http://www.tropicos.org/Name/40031040	\N	Fabaceae	true	tropicos	\N	\N
99
2012-10-23 11:03:00.057419-07	4	Fabaceae unknown #2	0.9	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	\N
100
2012-10-23 11:03:17.984436-07	4	Inga	1	Inga	genus	1	Mill.	http://www.tropicos.org/Name/40031040	\N	\N	\N	\N	Fabaceae	Inga	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Inga	Mill.	genus	http://www.tropicos.org/Name/40031040	\N	Fabaceae	true	tropicos	\N	\N
101
2012-10-23 11:03:17.984436-07	6	Poa	1	Poa	genus	1	L.	http://www.tropicos.org/Name/40012319	\N	\N	\N	\N	Poaceae	Poa	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poa	L.	genus	http://www.tropicos.org/Name/40012319	\N	Poaceae	true	tropicos	\N	\N
102
2012-10-23 11:03:00.057419-07	6	Poa annua	1	Poa annua	species	1	L.	http://www.tropicos.org/Name/25509881	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poa annua	L.	species	http://www.tropicos.org/Name/25509881	Poa annua	Poaceae	true	tropicos	\N	\N
103
2012-10-23 11:03:00.057419-07	8	Poa annua fo. lanuginosa	1	Poa annua fo. lanuginosa	forma	1	Sennen	http://www.tropicos.org/Name/50267771	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	fo.	lanuginosa	1	\N	\N	\N	\N	\N	Synonym	Poa annua var. annua	\N	variety	http://www.tropicos.org/Name/25517736	Poa annua	Poaceae	true	tropicos	\N	\N
104
2012-10-23 11:03:00.057419-07	9	Poa annua ssp. exilis	0.4	Poa	genus	0.4	L.	http://www.tropicos.org/Name/40012319	\N	\N	\N	\N	Poaceae	Poa	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	annua ssp. exilis	Accepted	Poa	L.	genus	http://www.tropicos.org/Name/40012319	\N	Poaceae	true	tropicos	[Partial match]	\N
105
2012-10-23 11:03:00.057419-07	10	Poa annua subsp. 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	\N
106
2012-10-23 11:03:00.057419-07	11	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	\N
107
2012-10-23 11:03:00.057419-07	12	Poa annua var. eriolepis	1	Poa annua var. eriolepis	variety	1	E. Desv.	http://www.tropicos.org/Name/50119145	\N	\N	\N	\N	Poaceae	Poa	1	annua	1	var.	eriolepis	1	\N	\N	\N	\N	\N	Synonym	Poa annua	L.	species	http://www.tropicos.org/Name/25509881	Poa annua	Poaceae	true	tropicos	\N	\N
108
2012-10-23 11:03:17.984436-07	9	Poaceae	1	Poaceae	family	1	Barnhart	http://www.tropicos.org/Name/42000357	\N	\N	Poaceae	1	Poaceae	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Poaceae	Barnhart	family	http://www.tropicos.org/Name/42000357	\N	Poaceae	true	tropicos	\N	\N
109
2012-10-23 11:03:17.984436-07	10	Silene	1	Silene	genus	1	L.	http://www.tropicos.org/Name/40000236	\N	\N	\N	\N	Caryophyllaceae	Silene	1	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	Accepted	Silene	L.	genus	http://www.tropicos.org/Name/40000236	\N	Caryophyllaceae	true	tropicos	\N	\N
110
2012-10-23 11:03:00.057419-07	13	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	0.77	Silene scouleri subsp. pringlei	subspecies	0.77	(S. Watson) C.L. Hitchc. & Maguire	http://www.tropicos.org/Name/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	subspecies	http://www.tropicos.org/Name/6303627	Silene scouleri	Caryophyllaceae	true	tropicos	[Partial match]	\N
111
2012-10-23 11:03:00.057419-07	14	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	0.77	Silene scouleri subsp. pringlei	subspecies	0.77	(S. Watson) C.L. Hitchc. & Maguire	http://www.tropicos.org/Name/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	subspecies	http://www.tropicos.org/Name/6303627	Silene scouleri	Caryophyllaceae	true	tropicos	[Partial match]	\N
112
2012-10-23 11:03:00.057419-07	5	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	\N
113
2012-10-23 11:03:17.984436-07	5	No suitable matches found.	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	\N
106 114
\.
107 115

  
108 116

  
inputs/test_taxonomic_names/_scrub/public.test_taxonomic_names.sql
334 334
ALTER FUNCTION "public.test_taxonomic_names"._fraction_to_percent(value double precision) OWNER TO bien;
335 335

  
336 336
--
337
-- Name: _has_taxonomic_name(taxonrank); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
338
--
339

  
340
CREATE FUNCTION _has_taxonomic_name(rank taxonrank) RETURNS boolean
341
    LANGUAGE sql IMMUTABLE STRICT
342
    AS $_$
343
SELECT $1 >= 'family'
344
$_$;
345

  
346

  
347
ALTER FUNCTION "public.test_taxonomic_names"._has_taxonomic_name(rank taxonrank) OWNER TO bien;
348

  
349
--
337 350
-- Name: _taxonlabel_set_matched_label_id(integer, integer, double precision); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
338 351
--
339 352

  
......
365 378
ALTER FUNCTION "public.test_taxonomic_names"._taxonlabel_set_parent_id(taxonlabel_id integer, parent_id integer) OWNER TO bien;
366 379

  
367 380
--
381
-- Name: _taxonomic_name_is_epithet(taxonrank); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
382
--
383

  
384
CREATE FUNCTION _taxonomic_name_is_epithet(rank taxonrank) RETURNS boolean
385
    LANGUAGE sql IMMUTABLE STRICT
386
    AS $_$
387
SELECT $1 <= 'genus'
388
$_$;
389

  
390

  
391
ALTER FUNCTION "public.test_taxonomic_names"._taxonomic_name_is_epithet(rank taxonrank) OWNER TO bien;
392

  
393
--
368 394
-- Name: make_analytical_db(); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
369 395
--
370 396

  
......
532 558
ALTER FUNCTION "public.test_taxonomic_names".taxonlabel_1_matched_label_min_fit() OWNER TO bien;
533 559

  
534 560
--
535
-- Name: taxonlabel_2_set_canon_label_id(); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
561
-- Name: taxonlabel_2_set_canon_label_id_on_insert(); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
536 562
--
537 563

  
538
CREATE FUNCTION taxonlabel_2_set_canon_label_id() RETURNS trigger
564
CREATE FUNCTION taxonlabel_2_set_canon_label_id_on_insert() RETURNS trigger
539 565
    LANGUAGE plpgsql
540 566
    AS $$
541 567
BEGIN
542
    IF new.matched_label_id IS NOT NULL THEN
543
        IF new.matched_label_id = new.taxonlabel_id THEN -- self-reference
568
    new.canon_label_id = new.taxonlabel_id; -- make self-reference
569
    RETURN new;
570
END;
571
$$;
572

  
573

  
574
ALTER FUNCTION "public.test_taxonomic_names".taxonlabel_2_set_canon_label_id_on_insert() OWNER TO bien;
575

  
576
--
577
-- Name: taxonlabel_2_set_canon_label_id_on_update(); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
578
--
579

  
580
CREATE FUNCTION taxonlabel_2_set_canon_label_id_on_update() RETURNS trigger
581
    LANGUAGE plpgsql
582
    AS $$
583
BEGIN
584
    IF new.matched_label_id IS DISTINCT FROM old.matched_label_id THEN
585
        IF new.matched_label_id IS NOT NULL THEN
586
            IF new.matched_label_id = new.taxonlabel_id THEN -- self-reference
587
                new.canon_label_id = new.taxonlabel_id; -- make self-reference
588
            ELSE -- propagate from matched label
589
                new.canon_label_id = (
590
                    SELECT canon_label_id
591
                    FROM taxonlabel
592
                    WHERE taxonlabel_id = new.matched_label_id
593
                );
594
            END IF;
595
            
596
            -- Update canon_label_id on labels that resolve to this label
597
            UPDATE taxonlabel
598
            SET canon_label_id = new.canon_label_id
599
            WHERE matched_label_id = new.taxonlabel_id
600
            AND taxonlabel_id != new.taxonlabel_id -- avoid infinite recursion
601
            ;
602
        ELSE -- no matched taxonlabel
544 603
            new.canon_label_id = new.taxonlabel_id; -- make self-reference
545
        ELSE -- propagate from matched label
546
            new.canon_label_id = (
547
                SELECT canon_label_id
548
                FROM taxonlabel
549
                WHERE taxonlabel_id = new.matched_label_id
550
            );
551 604
        END IF;
552
        
553
        -- Update canon_label_id on labels that resolve to this label
554
        UPDATE taxonlabel
555
        SET canon_label_id = new.canon_label_id
556
        WHERE matched_label_id = new.taxonlabel_id
557
        AND taxonlabel_id != new.taxonlabel_id -- avoid infinite recursion
558
        ;
559
    ELSE -- no matched taxonlabel
560
        new.canon_label_id = new.taxonlabel_id; -- make self-reference
561 605
    END IF;
562 606
    RETURN new;
563 607
END;
564 608
$$;
565 609

  
566 610

  
567
ALTER FUNCTION "public.test_taxonomic_names".taxonlabel_2_set_canon_label_id() OWNER TO bien;
611
ALTER FUNCTION "public.test_taxonomic_names".taxonlabel_2_set_canon_label_id_on_update() OWNER TO bien;
568 612

  
569 613
--
570 614
-- Name: taxonlabel_3_parent_id_avoid_self_ref(); Type: FUNCTION; Schema: public.test_taxonomic_names; Owner: bien
......
1686 1730
--
1687 1731

  
1688 1732
CREATE VIEW analytical_db_view AS
1689
    SELECT datasource.organizationname AS "dataSourceName", taxonverbatim.family, taxonverbatim.genus, taxonverbatim.species, COALESCE(taxonverbatim.taxonomicname, taxonverbatim.binomial) AS taxon, taxonverbatim.author AS "taxonAuthor", taxonverbatim.morphospecies AS "taxonMorphospecies", placepath.country, placepath.stateprovince AS "stateProvince", placepath.county AS "countyParish", taxonoccurrence.verbatimcollectorname AS collector, plantobservation.collectionnumber AS "collectionNumber", array_to_string(ARRAY[identifiedby.givenname, identifiedby.middlename, identifiedby.surname], ' '::text) AS "identifiedBy", aggregateoccurrence.collectiondate AS "observationDate", location.authorlocationcode AS "plotCode", functions._m2_to_ha(location.area_m2) AS "plotAreaHa", method.name AS "plotMethod", locationcoords.latitude_deg AS latitude, locationcoords.longitude_deg AS longitude, location.elevation_m, taxonoccurrence.iscultivated AS "isCultivated", taxonoccurrence.cultivatedbasis AS "isCultivatedReason", _fraction_to_percent(aggregateoccurrence.cover_fraction) AS "pctCover" FROM (((((((((((((((location JOIN party datasource ON (((datasource.party_id = location.creator_id) AND (datasource.organizationname IS NOT NULL)))) LEFT JOIN locationcoords USING (location_id)) LEFT JOIN locationplace USING (location_id)) LEFT JOIN placepath USING (placepath_id)) JOIN locationevent USING (location_id)) LEFT JOIN method USING (method_id)) JOIN taxonoccurrence USING (locationevent_id)) JOIN taxondetermination USING (taxonoccurrence_id)) LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id))) JOIN taxonverbatim ON ((taxonverbatim.taxonlabel_id = taxondetermination.taxonverbatim_id))) JOIN taxonlabel datasource_taxonlabel USING (taxonlabel_id)) JOIN taxonlabel accepted_taxonlabel ON ((accepted_taxonlabel.taxonlabel_id = datasource_taxonlabel.canon_label_id))) LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id)) LEFT JOIN plantobservation USING (aggregateoccurrence_id)) LEFT JOIN specimenreplicate USING (plantobservation_id));
1733
    SELECT datasource.organizationname AS "dataSourceName", taxonverbatim.family, taxonverbatim.genus, taxonverbatim.species, COALESCE(taxonverbatim.taxonomicname, taxonverbatim.binomial) AS taxon, taxonverbatim.author AS "taxonAuthor", taxonverbatim.morphospecies AS "taxonMorphospecies", placepath.country, placepath.stateprovince AS "stateProvince", placepath.county AS "countyParish", taxonoccurrence.verbatimcollectorname AS collector, plantobservation.collectionnumber AS "collectionNumber", array_to_string(ARRAY[identifiedby.givenname, identifiedby.middlename, identifiedby.surname], ' '::text) AS "identifiedBy", aggregateoccurrence.collectiondate AS "observationDate", location.authorlocationcode AS "plotCode", functions._m2_to_ha(location.area_m2) AS "plotAreaHa", method.name AS "plotMethod", locationcoords.latitude_deg AS latitude, locationcoords.longitude_deg AS longitude, location.elevation_m, taxonoccurrence.iscultivated AS "isCultivated", taxonoccurrence.cultivatedbasis AS "isCultivatedReason", _fraction_to_percent(aggregateoccurrence.cover_fraction) AS "pctCover" FROM (((((((((((((((location JOIN party datasource ON (((datasource.party_id = location.creator_id) AND (datasource.organizationname IS NOT NULL)))) LEFT JOIN locationcoords USING (location_id)) LEFT JOIN locationplace USING (location_id)) LEFT JOIN placepath USING (placepath_id)) JOIN locationevent USING (location_id)) LEFT JOIN method USING (method_id)) JOIN taxonoccurrence USING (locationevent_id)) JOIN taxondetermination USING (taxonoccurrence_id)) LEFT JOIN party identifiedby ON ((identifiedby.party_id = taxondetermination.party_id))) JOIN taxonverbatim USING (taxonverbatim_id)) JOIN taxonlabel datasource_taxonlabel USING (taxonlabel_id)) JOIN taxonlabel accepted_taxonlabel ON ((accepted_taxonlabel.taxonlabel_id = datasource_taxonlabel.canon_label_id))) LEFT JOIN aggregateoccurrence USING (taxonoccurrence_id)) LEFT JOIN plantobservation USING (aggregateoccurrence_id)) LEFT JOIN specimenreplicate USING (plantobservation_id));
1690 1734

  
1691 1735

  
1692 1736
ALTER TABLE "public.test_taxonomic_names".analytical_db_view OWNER TO bien;
......
2373 2417
-- Name: location_location_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
2374 2418
--
2375 2419

  
2376
SELECT pg_catalog.setval('location_location_id_seq', 68, true);
2420
SELECT pg_catalog.setval('location_location_id_seq', 82, true);
2377 2421

  
2378 2422

  
2379 2423
--
......
2429 2473
-- Name: locationevent_locationevent_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
2430 2474
--
2431 2475

  
2432
SELECT pg_catalog.setval('locationevent_locationevent_id_seq', 68, true);
2476
SELECT pg_catalog.setval('locationevent_locationevent_id_seq', 82, true);
2433 2477

  
2434 2478

  
2435 2479
--
......
2750 2794
-- Name: party_party_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
2751 2795
--
2752 2796

  
2753
SELECT pg_catalog.setval('party_party_id_seq', 36, true);
2797
SELECT pg_catalog.setval('party_party_id_seq', 69, true);
2754 2798

  
2755 2799

  
2756 2800
--
......
3860 3904
-- Name: taxondetermination_taxondetermination_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
3861 3905
--
3862 3906

  
3863
SELECT pg_catalog.setval('taxondetermination_taxondetermination_id_seq', 34, true);
3907
SELECT pg_catalog.setval('taxondetermination_taxondetermination_id_seq', 41, true);
3864 3908

  
3865 3909

  
3866 3910
--
......
3915 3959
-- Name: taxonlabel_taxonlabel_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
3916 3960
--
3917 3961

  
3918
SELECT pg_catalog.setval('taxonlabel_taxonlabel_id_seq', 786, true);
3962
SELECT pg_catalog.setval('taxonlabel_taxonlabel_id_seq', 1085, true);
3919 3963

  
3920 3964

  
3921 3965
--
......
3984 4028
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
3985 4029
--
3986 4030

  
3987
SELECT pg_catalog.setval('taxonoccurrence_taxonoccurrence_id_seq', 68, true);
4031
SELECT pg_catalog.setval('taxonoccurrence_taxonoccurrence_id_seq', 82, true);
3988 4032

  
3989 4033

  
3990 4034
--
......
4059 4103
-- Name: taxonverbatim_taxonverbatim_id_seq; Type: SEQUENCE SET; Schema: public.test_taxonomic_names; Owner: bien
4060 4104
--
4061 4105

  
4062
SELECT pg_catalog.setval('taxonverbatim_taxonverbatim_id_seq', 110, true);
4106
SELECT pg_catalog.setval('taxonverbatim_taxonverbatim_id_seq', 145, true);
4063 4107

  
4064 4108

  
4065 4109
--
......
4870 4914
COPY party (party_id, creator_id, fullname, salutation, givenname, middlename, surname, organizationname, currentname_id, contactinstructions, email, partytype, partypublic, d_obscount, accessioncode) FROM stdin;
4871 4915
1	1	\N	\N	\N	\N	\N	TNRS	\N	\N	\N	\N	t	\N	\N
4872 4916
2	2	\N	\N	\N	\N	\N	NCBI	\N	\N	\N	\N	t	\N	\N
4873
21	21	\N	\N	\N	\N	\N	test_taxonomic_names	\N	\N	\N	\N	t	\N	\N
4917
54	54	\N	\N	\N	\N	\N	test_taxonomic_names	\N	\N	\N	\N	t	\N	\N
4874 4918
\.
4875 4919

  
4876 4920

  
......
5075 5119
2	2	8	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5076 5120
3	2	13	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5077 5121
4	2	18	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5078
5	2	25	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5079
6	2	28	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5080
7	2	33	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5081
11	2	55	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5082
12	2	60	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5122
5	2	23	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5123
6	2	30	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5124
8	2	38	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5125
10	2	48	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5083 5126
14	2	68	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5084
15	2	75	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5085
16	2	78	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5127
16	2	80	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5086 5128
18	2	90	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5087
20	2	96	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5088
21	2	97	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5089
22	2	98	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5090
23	2	99	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5091
24	2	100	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5092
25	2	101	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5093
26	2	102	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5094
27	2	103	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5095
28	2	104	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5096
29	2	105	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5097
30	2	106	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5098
31	2	107	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5099
32	2	108	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5100
33	2	109	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5101
34	2	110	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5129
19	2	93	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5130
20	2	100	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5131
21	2	103	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5132
22	2	108	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5133
23	2	113	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5134
25	2	125	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5135
27	2	131	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5136
28	2	132	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5137
29	2	133	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5138
30	2	134	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5139
31	2	135	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5140
32	2	136	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5141
33	2	137	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5142
34	2	138	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5143
35	2	139	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5144
36	2	140	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5145
37	2	141	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5146
38	2	142	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5147
39	2	143	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5148
40	2	144	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5149
41	2	145	\N	unknown	\N	\N	f	f	\N	\N	\N	\N	\N	\N	\N	\N	\N
5102 5150
\.
5103 5151

  
5104 5152

  
......
5107 5155
--
5108 5156

  
5109 5157
COPY taxonlabel (taxonlabel_id, creator_id, sourceaccessioncode, creationdate, taxonstatus, canon_label_id, matched_label_id, matched_label_fit_fraction, parent_id, taxonepithet, rank, taxonomicname, accessioncode) FROM stdin;
5110
2	1	\N	\N	\N	2	\N	\N	\N	Poaceae	family	\N	\N
5111
4	1	\N	\N	\N	4	\N	\N	2	Poa	genus	\N	\N
5112
6	1	\N	\N	\N	6	\N	\N	4	annua	species	\N	\N
5113
19	2	\N	\N	\N	19	\N	\N	\N	Poaceae	family	\N	\N
5114
18	1	http://www.tropicos.org/Name/25509881;http://plants.usda.gov/java/profile?symbol=POAN	\N	Accepted	18	18	\N	6	\N	species	Poa annua L.	\N
5115
55	1	\N	\N	\N	55	\N	\N	6	annua	variety	\N	\N
5116
57	1	http://www.tropicos.org/Name/25517736	\N	Accepted	57	57	\N	55	\N	variety	Poa annua var. annua	\N
5117
84	1	\N	\N	\N	84	\N	\N	4	infirma	species	\N	\N
5118
96	1	http://www.tropicos.org/Name/25514158;http://plants.usda.gov/java/profile?symbol=POIN30	\N	Accepted	96	96	\N	84	\N	species	Poa infirma Kunth	\N
5119
135	1	http://compositae.landcareresearch.co.nz/default.aspx;http://plants.usda.gov/java/nameSearch	\N	Accepted	135	135	\N	\N	\N	family	Asteraceae	\N
5120
156	1	\N	\N	\N	135	135	1	\N	Bercht. & J. Presl	\N	Asteraceae Bercht. & J. Presl	\N
5121
158	1	\N	\N	\N	158	\N	\N	\N	Compositae	family	\N	\N
5122
175	2	\N	\N	\N	175	\N	\N	\N	Asteraceae	family	\N	\N
5123
177	1	\N	\N	\N	175	175	\N	\N	Asteraceae	family	\N	\N
5124
174	1	http://www.tropicos.org/Name/50255940	\N	Synonym	135	156	\N	158	\N	family	Compositae Giseke	\N
5125
195	1	\N	\N	\N	135	174	1	\N	indet. sp.1	\N	Compositae indet. sp.1	\N
5126
197	1	\N	\N	\N	197	\N	\N	\N	Fabaceae	family	\N	\N
5127
214	2	\N	\N	\N	214	\N	\N	\N	Fabaceae	family	\N	\N
5128
213	1	http://www.tropicos.org/Name/42000184	\N	Accepted	213	213	\N	197	\N	family	Fabaceae Lindl.	\N
5129
234	1	\N	\N	\N	213	213	1	\N	Boyle#6500	\N	Fabaceae Boyle#6500	\N
5130
238	1	\N	\N	\N	238	\N	\N	197	Inga	genus	\N	\N
5131
252	1	http://www.tropicos.org/Name/40031040	\N	Accepted	252	252	\N	238	\N	genus	Inga Mill.	\N
5132
273	1	\N	\N	\N	252	252	1	\N	"fuzzy leaf"	\N	Fabaceae Inga "fuzzy leaf"	\N
5133
312	1	\N	\N	\N	252	252	1	\N	sp.3	\N	Fabaceae Inga sp.3	\N
5134
351	1	\N	\N	\N	213	213	1	\N	unknown #2	\N	Fabaceae unknown #2	\N
5135
390	1	\N	\N	\N	18	18	1	\N	\N	\N	Poa annua	\N
5136
406	1	\N	\N	\N	406	\N	\N	6	lanuginosa	forma	\N	\N
5137
408	1	http://www.tropicos.org/Name/50267771	\N	Synonym	57	57	\N	406	\N	forma	Poa annua fo. lanuginosa Sennen	\N
5138
429	1	\N	\N	\N	57	408	1	\N	\N	\N	Poa annua fo. lanuginosa	\N
5139
445	1	\N	\N	\N	445	\N	\N	6	exilis	subspecies	\N	\N
5140
447	1	http://www.tropicos.org/Name/50063800	\N	Synonym	96	96	\N	445	\N	subspecies	Poa annua subsp. exilis (Tomm. ex Freyn) Asch. & Graebn.	\N
5141
468	1	\N	\N	\N	96	447	1	\N	\N	\N	Poa annua ssp. exilis	\N
5142
507	1	\N	\N	\N	96	447	1	\N	\N	\N	Poa annua subsp. exilis	\N
5143
523	1	\N	\N	\N	523	\N	\N	6	minima	subvariety	\N	\N
5144
525	1	http://www.tropicos.org/Name/50158097	\N	Accepted	525	525	\N	523	\N	subvariety	Poa annua subvar. minima (Schur) Asch. & Graebn.	\N
5145
546	1	\N	\N	\N	525	525	1	\N	\N	\N	Poa annua subvar. minima	\N
5146
562	1	\N	\N	\N	562	\N	\N	6	eriolepis	variety	\N	\N
5147
564	1	http://www.tropicos.org/Name/50119145	\N	Synonym	18	18	\N	562	\N	variety	Poa annua var. eriolepis E. Desv.	\N
5148
585	1	\N	\N	\N	18	564	1	\N	\N	\N	Poa annua var. eriolepis	\N
5149
587	1	\N	\N	\N	587	\N	\N	\N	Caryophyllaceae	family	\N	\N
5150
589	1	\N	\N	\N	589	\N	\N	587	Silene	genus	\N	\N
5151
591	1	\N	\N	\N	591	\N	\N	589	scouleri	species	\N	\N
5152
601	1	\N	\N	\N	601	\N	\N	591	pringlei	subspecies	\N	\N
5153
604	2	\N	\N	\N	604	\N	\N	\N	Caryophyllaceae	family	\N	\N
5154
603	1	http://www.tropicos.org/Name/6303627	\N	Accepted	603	603	\N	601	\N	subspecies	Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire	\N
5155
624	1	\N	\N	\N	603	603	1	\N	var. grisea	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N
5156
663	1	\N	\N	\N	603	603	1	\N	var. grisea	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N
5157
681	1	\N	\N	\N	681	\N	\N	\N	\N	\N	No suitable matches found.	\N
5158
702	1	\N	\N	\N	702	\N	\N	\N	\N	\N	Fam_indet. Boyle#6501	\N
5159
744	21	1	\N	\N	18	390	\N	\N	\N	\N	Poa annua	\N
5160
747	21	2	\N	\N	18	18	\N	\N	\N	\N	Poa annua L.	\N
5161
750	21	3	\N	\N	18	585	\N	\N	\N	\N	Poa annua var. eriolepis	\N
5162
753	21	4	\N	\N	96	507	\N	\N	\N	\N	Poa annua subsp. exilis	\N
5163
756	21	5	\N	\N	96	468	\N	\N	\N	\N	Poa annua ssp. exilis	\N
5164
759	21	6	\N	\N	525	546	\N	\N	\N	\N	Poa annua subvar. minima	\N
5165
762	21	7	\N	\N	57	429	\N	\N	\N	\N	Poa annua fo. lanuginosa	\N
5166
765	21	8	\N	\N	603	663	\N	\N	\N	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N
5167
768	21	9	\N	\N	603	624	\N	\N	\N	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N
5168
771	21	10	\N	\N	252	312	\N	\N	\N	\N	Fabaceae Inga sp.3	\N
5169
774	21	11	\N	\N	252	273	\N	\N	\N	\N	Fabaceae Inga "fuzzy leaf"	\N
5170
777	21	12	\N	\N	213	351	\N	\N	\N	\N	Fabaceae unknown #2	\N
5171
780	21	13	\N	\N	213	234	\N	\N	\N	\N	Fabaceae Boyle#6500	\N
5172
783	21	14	\N	\N	702	702	\N	\N	\N	\N	Fam_indet. Boyle#6501	\N
5173
786	21	15	\N	\N	135	195	\N	\N	\N	\N	Compositae indet. sp.1	\N
5158
2	2	\N	\N	\N	2	\N	\N	\N	\N	family	Asteraceae	\N
5159
4	1	\N	\N	\N	4	2	\N	\N	Asteraceae	family	\N	\N
5160
20	1	http://www.tropicos.org/Name/50307371	\N	Accepted	20	20	\N	4	\N	family	Asteraceae Bercht. & J. Presl	\N
5161
41	2	\N	\N	\N	41	\N	\N	\N	\N	genus	Poa	\N
5162
42	2	\N	\N	\N	42	\N	\N	\N	\N	family	Poaceae	\N
5163
44	1	\N	\N	\N	44	42	\N	\N	Poaceae	family	\N	\N
5164
46	1	\N	\N	\N	46	41	\N	44	Poa	genus	\N	\N
5165
48	1	\N	\N	\N	48	\N	\N	46	annua	species	\N	\N
5166
60	1	http://www.tropicos.org/Name/25509881	\N	Accepted	60	60	\N	48	\N	species	Poa annua L.	\N
5167
98	1	\N	\N	\N	98	\N	\N	48	annua	variety	\N	\N
5168
100	1	http://www.tropicos.org/Name/25517736	\N	Accepted	100	100	\N	98	\N	variety	Poa annua var. annua	\N
5169
128	1	\N	\N	\N	128	\N	\N	46	infirma	species	\N	\N
5170
140	1	http://www.tropicos.org/Name/25514158	\N	Accepted	140	140	\N	128	\N	species	Poa infirma Kunth	\N
5171
162	2	\N	\N	\N	162	\N	\N	\N	\N	family	Caryophyllaceae	\N
5172
164	1	\N	\N	\N	164	162	\N	\N	Caryophyllaceae	family	\N	\N
5173
180	1	http://www.tropicos.org/Name/42000077	\N	Accepted	180	180	\N	164	\N	family	Caryophyllaceae Juss.	\N
5174
200	1	\N	\N	\N	200	180	1	\N	\N	\N	Caryophyllaceae	\N
5175
202	2	\N	\N	\N	202	\N	\N	\N	\N	family	Compositae	\N
5176
204	1	\N	\N	\N	204	202	\N	\N	Compositae	family	\N	\N
5177
220	1	http://www.tropicos.org/Name/50255940	\N	Synonym	20	20	\N	204	\N	family	Compositae Giseke	\N
5178
240	1	\N	\N	\N	240	220	1	\N	\N	\N	Compositae	\N
5179
280	1	\N	\N	\N	280	220	1	\N	indet. sp.1	\N	Compositae indet. sp.1	\N
5180
282	2	\N	\N	\N	282	\N	\N	\N	\N	family	Fabaceae	\N
5181
284	1	\N	\N	\N	284	282	\N	\N	Fabaceae	family	\N	\N
5182
300	1	http://www.tropicos.org/Name/42000184	\N	Accepted	300	300	\N	284	\N	family	Fabaceae Lindl.	\N
5183
320	1	\N	\N	\N	320	300	1	\N	\N	\N	Fabaceae	\N
5184
360	1	\N	\N	\N	360	300	1	\N	Boyle#6500	\N	Fabaceae Boyle#6500	\N
5185
361	2	\N	\N	\N	361	\N	\N	\N	\N	genus	Inga	\N
5186
366	1	\N	\N	\N	366	361	\N	284	Inga	genus	\N	\N
5187
380	1	http://www.tropicos.org/Name/40031040	\N	Accepted	380	380	\N	366	\N	genus	Inga Mill.	\N
5188
400	1	\N	\N	\N	400	380	1	\N	"fuzzy leaf"	\N	Fabaceae Inga "fuzzy leaf"	\N
5189
440	1	\N	\N	\N	440	380	1	\N	sp.3	\N	Fabaceae Inga sp.3	\N
5190
480	1	\N	\N	\N	480	300	1	\N	unknown #2	\N	Fabaceae unknown #2	\N
5191
520	1	\N	\N	\N	520	380	1	\N	\N	\N	Inga	\N
5192
540	1	http://www.tropicos.org/Name/40012319	\N	Accepted	540	540	\N	46	\N	genus	Poa L.	\N
5193
560	1	\N	\N	\N	560	540	1	\N	\N	\N	Poa	\N
5194
600	1	\N	\N	\N	600	60	1	\N	\N	\N	Poa annua	\N
5195
618	1	\N	\N	\N	618	\N	\N	48	lanuginosa	forma	\N	\N
5196
620	1	http://www.tropicos.org/Name/50267771	\N	Synonym	100	100	\N	618	\N	forma	Poa annua fo. lanuginosa Sennen	\N
5197
640	1	\N	\N	\N	640	620	1	\N	\N	\N	Poa annua fo. lanuginosa	\N
5198
680	1	\N	\N	\N	680	540	1	\N	annua ssp. exilis	\N	Poa annua ssp. exilis	\N
5199
698	1	\N	\N	\N	698	\N	\N	48	exilis	subspecies	\N	\N
5200
700	1	http://www.tropicos.org/Name/50063800	\N	Synonym	140	140	\N	698	\N	subspecies	Poa annua subsp. exilis (Tomm. ex Freyn) Asch. & Graebn.	\N
5201
720	1	\N	\N	\N	720	700	1	\N	\N	\N	Poa annua subsp. exilis	\N
5202
738	1	\N	\N	\N	738	\N	\N	48	minima	subvariety	\N	\N
5203
740	1	http://www.tropicos.org/Name/50158097	\N	Accepted	740	740	\N	738	\N	subvariety	Poa annua subvar. minima (Schur) Asch. & Graebn.	\N
5204
760	1	\N	\N	\N	760	740	1	\N	\N	\N	Poa annua subvar. minima	\N
5205
778	1	\N	\N	\N	778	\N	\N	48	eriolepis	variety	\N	\N
5206
780	1	http://www.tropicos.org/Name/50119145	\N	Synonym	60	60	\N	778	\N	variety	Poa annua var. eriolepis E. Desv.	\N
5207
800	1	\N	\N	\N	800	780	1	\N	\N	\N	Poa annua var. eriolepis	\N
5208
820	1	http://www.tropicos.org/Name/42000357	\N	Accepted	820	820	\N	44	\N	family	Poaceae Barnhart	\N
5209
840	1	\N	\N	\N	840	820	1	\N	\N	\N	Poaceae	\N
5210
841	2	\N	\N	\N	841	\N	\N	\N	\N	genus	Silene	\N
5211
846	1	\N	\N	\N	846	841	\N	164	Silene	genus	\N	\N
5212
860	1	http://www.tropicos.org/Name/40000236	\N	Accepted	860	860	\N	846	\N	genus	Silene L.	\N
5213
880	1	\N	\N	\N	880	860	1	\N	\N	\N	Silene	\N
5214
888	1	\N	\N	\N	888	\N	\N	846	scouleri	species	\N	\N
5215
898	1	\N	\N	\N	898	\N	\N	888	pringlei	subspecies	\N	\N
5216
900	1	http://www.tropicos.org/Name/6303627	\N	Accepted	900	900	\N	898	\N	subspecies	Silene scouleri subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire	\N
5217
920	1	\N	\N	\N	920	900	1	\N	var. grisea	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N
5218
960	1	\N	\N	\N	960	900	1	\N	var. grisea	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N
5219
980	1	\N	\N	\N	980	\N	\N	\N	\N	\N	No suitable matches found.	\N
5220
1000	1	\N	\N	\N	1000	\N	\N	\N	\N	\N	Fam_indet. Boyle#6501	\N
5221
1043	54	1	\N	\N	1043	600	\N	\N	\N	\N	Poa annua	\N
5222
1046	54	2	\N	\N	1046	60	\N	\N	\N	\N	Poa annua L.	\N
5223
1049	54	3	\N	\N	1049	800	\N	\N	\N	\N	Poa annua var. eriolepis	\N
5224
1052	54	4	\N	\N	1052	720	\N	\N	\N	\N	Poa annua subsp. exilis	\N
5225
1055	54	5	\N	\N	1055	680	\N	\N	\N	\N	Poa annua ssp. exilis	\N
5226
1058	54	6	\N	\N	1058	760	\N	\N	\N	\N	Poa annua subvar. minima	\N
5227
1061	54	7	\N	\N	1061	640	\N	\N	\N	\N	Poa annua fo. lanuginosa	\N
5228
1064	54	8	\N	\N	1064	960	\N	\N	\N	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N
5229
1067	54	9	\N	\N	1067	920	\N	\N	\N	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N
5230
1070	54	10	\N	\N	1070	440	\N	\N	\N	\N	Fabaceae Inga sp.3	\N
5231
1073	54	11	\N	\N	1073	400	\N	\N	\N	\N	Fabaceae Inga "fuzzy leaf"	\N
5232
1076	54	12	\N	\N	1076	480	\N	\N	\N	\N	Fabaceae unknown #2	\N
5233
1079	54	13	\N	\N	1079	360	\N	\N	\N	\N	Fabaceae Boyle#6500	\N
5234
1082	54	14	\N	\N	1082	1000	\N	\N	\N	\N	Fam_indet. Boyle#6501	\N
5235
1085	54	15	\N	\N	1085	280	\N	\N	\N	\N	Compositae indet. sp.1	\N
5174 5236
\.
5175 5237

  
5176 5238

  
......
5182 5244
2	2	is included in
5183 5245
4	4	is included in
5184 5246
4	2	is included in
5185
6	6	is included in
5186
6	4	is included in
5187
6	2	is included in
5188
18	18	is included in
5189
18	6	is included in
5190
18	4	is included in
5191
18	2	is included in
5192
19	19	is included in
5193
55	55	is included in
5194
55	6	is included in
5195
55	4	is included in
5196
55	2	is included in
5197
57	57	is included in
5198
57	55	is included in
5199
57	6	is included in
5200
57	4	is included in
5201
57	2	is included in
5202
84	84	is included in
5203
84	4	is included in
5204
84	2	is included in
5205
96	96	is included in
5206
96	84	is included in
5207
96	4	is included in
5208
96	2	is included in
5209
135	135	is included in
5210
156	156	is included in
5211
156	135	is included in
5212
158	158	is included in
5213
174	174	is included in
5214
175	175	is included in
5215
177	177	is included in
5216
177	175	is included in
5217
174	156	is included in
5218
174	135	is included in
5219
195	195	is included in
5220
195	174	is included in
5221
195	156	is included in
5222
195	135	is included in
5223
197	197	is included in
5224
213	213	is included in
5225
213	197	is included in
5226
214	214	is included in
5227
234	234	is included in
5228
234	213	is included in
5229
234	197	is included in
5230
238	238	is included in
5231
238	197	is included in
5232
252	252	is included in
5233
252	238	is included in
5234
252	197	is included in
5235
273	273	is included in
5236
273	252	is included in
5237
273	238	is included in
5238
273	197	is included in
5239
312	312	is included in
5240
312	252	is included in
5241
312	238	is included in
5242
312	197	is included in
5243
351	351	is included in
5244
351	213	is included in
5245
351	197	is included in
5246
390	390	is included in
5247
390	18	is included in
5248
390	6	is included in
5249
390	4	is included in
5250
390	2	is included in
5251
406	406	is included in
5252
406	6	is included in
5253
406	4	is included in
5254
406	2	is included in
5255
408	408	is included in
5256
408	57	is included in
5257
408	55	is included in
5258
408	6	is included in
5259
408	4	is included in
5260
408	2	is included in
5261
429	429	is included in
5262
429	408	is included in
5263
429	57	is included in
5264
429	55	is included in
5265
429	6	is included in
5266
429	4	is included in
5267
429	2	is included in
5268
445	445	is included in
5269
445	6	is included in
5270
445	4	is included in
5271
445	2	is included in
5272
447	447	is included in
5273
447	96	is included in
5274
447	84	is included in
5275
447	4	is included in
5276
447	2	is included in
5277
468	468	is included in
5278
468	447	is included in
5279
468	96	is included in
5280
468	84	is included in
5281
468	4	is included in
5282
468	2	is included in
5283
507	507	is included in
5284
507	447	is included in
5285
507	96	is included in
5286
507	84	is included in
5287
507	4	is included in
5288
507	2	is included in
5289
523	523	is included in
5290
523	6	is included in
5291
523	4	is included in
5292
523	2	is included in
5293
525	525	is included in
5294
525	523	is included in
5295
525	6	is included in
5296
525	4	is included in
5297
525	2	is included in
5298
546	546	is included in
5299
546	525	is included in
5300
546	523	is included in
5301
546	6	is included in
5302
546	4	is included in
5303
546	2	is included in
5304
562	562	is included in
5305
562	6	is included in
5306
562	4	is included in
5307
562	2	is included in
5308
564	564	is included in
5309
564	18	is included in
5310
564	6	is included in
5311
564	4	is included in
5312
564	2	is included in
5313
585	585	is included in
5314
585	564	is included in
5315
585	18	is included in
5316
585	6	is included in
5317
585	4	is included in
5318
585	2	is included in
5319
587	587	is included in
5320
589	589	is included in
5321
589	587	is included in
5322
591	591	is included in
5323
591	589	is included in
5324
591	587	is included in
5325
601	601	is included in
5326
601	591	is included in
5327
601	589	is included in
5328
601	587	is included in
5329
603	603	is included in
5330
603	601	is included in
5331
603	591	is included in
5332
603	589	is included in
5333
603	587	is included in
5334
604	604	is included in
5335
624	624	is included in
5336
624	603	is included in
5337
624	601	is included in
5338
624	591	is included in
5339
624	589	is included in
5340
624	587	is included in
5341
663	663	is included in
5342
663	603	is included in
5343
663	601	is included in
5344
663	591	is included in
5345
663	589	is included in
5346
663	587	is included in
5347
681	681	is included in
5348
702	702	is included in
5349
744	744	is included in
5350
744	390	is included in
5351
744	18	is included in
5352
744	6	is included in
5353
744	4	is included in
5354
744	2	is included in
5355
747	747	is included in
5356
747	18	is included in
5357
747	6	is included in
5358
747	4	is included in
5359
747	2	is included in
5360
750	750	is included in
5361
750	585	is included in
5362
750	564	is included in
5363
750	18	is included in
5364
750	6	is included in
5365
750	4	is included in
5366
750	2	is included in
5367
753	753	is included in
5368
753	507	is included in
5369
753	447	is included in
5370
753	96	is included in
5371
753	84	is included in
5372
753	4	is included in
5373
753	2	is included in
5374
756	756	is included in
5375
756	468	is included in
5376
756	447	is included in
5377
756	96	is included in
5378
756	84	is included in
5379
756	4	is included in
5380
756	2	is included in
5381
759	759	is included in
5382
759	546	is included in
5383
759	525	is included in
5384
759	523	is included in
5385
759	6	is included in
5386
759	4	is included in
5387
759	2	is included in
5388
762	762	is included in
5389
762	429	is included in
5390
762	408	is included in
5391
762	57	is included in
5392
762	55	is included in
5393
762	6	is included in
5394
762	4	is included in
5395
762	2	is included in
5396
765	765	is included in
5397
765	663	is included in
5398
765	603	is included in
5399
765	601	is included in
5400
765	591	is included in
5401
765	589	is included in
5402
765	587	is included in
5403
768	768	is included in
5404
768	624	is included in
5405
768	603	is included in
5406
768	601	is included in
5407
768	591	is included in
5408
768	589	is included in
5409
768	587	is included in
5410
771	771	is included in
5411
771	312	is included in
5412
771	252	is included in
5413
771	238	is included in
5414
771	197	is included in
5415
774	774	is included in
5416
774	273	is included in
5417
774	252	is included in
5418
774	238	is included in
5419
774	197	is included in
5420
777	777	is included in
5421
777	351	is included in
5422
777	213	is included in
5423
777	197	is included in
5247
20	20	is included in
5248
20	4	is included in
5249
20	2	is included in
5250
41	41	is included in
5251
42	42	is included in
5252
44	44	is included in
5253
44	42	is included in
5254
46	46	is included in
5255
46	41	is included in
5256
48	48	is included in
5257
48	46	is included in
5258
48	41	is included in
5259
60	60	is included in
5260
60	48	is included in
5261
60	46	is included in
5262
60	41	is included in
5263
98	98	is included in
5264
98	48	is included in
5265
98	46	is included in
5266
98	41	is included in
5267
100	100	is included in
5268
100	98	is included in
5269
100	48	is included in
5270
100	46	is included in
5271
100	41	is included in
5272
128	128	is included in
5273
128	46	is included in
5274
128	41	is included in
5275
140	140	is included in
5276
140	128	is included in
5277
140	46	is included in
5278
140	41	is included in
5279
162	162	is included in
5280
164	164	is included in
5281
164	162	is included in
5282
180	180	is included in
5283
180	164	is included in
5284
180	162	is included in
5285
200	200	is included in
5286
200	180	is included in
5287
200	164	is included in
5288
200	162	is included in
5289
202	202	is included in
5290
204	204	is included in
5291
204	202	is included in
5292
220	220	is included in
5293
220	20	is included in
5294
220	4	is included in
5295
220	2	is included in
5296
240	240	is included in
5297
240	220	is included in
5298
240	20	is included in
5299
240	4	is included in
5300
240	2	is included in
5301
280	280	is included in
5302
280	220	is included in
5303
280	20	is included in
5304
280	4	is included in
5305
280	2	is included in
5306
282	282	is included in
5307
284	284	is included in
5308
284	282	is included in
5309
300	300	is included in
5310
300	284	is included in
5311
300	282	is included in
5312
320	320	is included in
5313
320	300	is included in
5314
320	284	is included in
5315
320	282	is included in
5316
360	360	is included in
5317
360	300	is included in
5318
360	284	is included in
5319
360	282	is included in
5320
361	361	is included in
5321
366	366	is included in
5322
366	361	is included in
5323
380	380	is included in
5324
380	366	is included in
5325
380	361	is included in
5326
400	400	is included in
5327
400	380	is included in
5328
400	366	is included in
5329
400	361	is included in
5330
440	440	is included in
5331
440	380	is included in
5332
440	366	is included in
5333
440	361	is included in
5334
480	480	is included in
5335
480	300	is included in
5336
480	284	is included in
5337
480	282	is included in
5338
520	520	is included in
5339
520	380	is included in
5340
520	366	is included in
5341
520	361	is included in
5342
540	540	is included in
5343
540	46	is included in
5344
540	41	is included in
5345
560	560	is included in
5346
560	540	is included in
5347
560	46	is included in
5348
560	41	is included in
5349
600	600	is included in
5350
600	60	is included in
5351
600	48	is included in
5352
600	46	is included in
5353
600	41	is included in
5354
618	618	is included in
5355
618	48	is included in
5356
618	46	is included in
5357
618	41	is included in
5358
620	620	is included in
5359
620	100	is included in
5360
620	98	is included in
5361
620	48	is included in
5362
620	46	is included in
5363
620	41	is included in
5364
640	640	is included in
5365
640	620	is included in
5366
640	100	is included in
5367
640	98	is included in
5368
640	48	is included in
5369
640	46	is included in
5370
640	41	is included in
5371
680	680	is included in
5372
680	540	is included in
5373
680	46	is included in
5374
680	41	is included in
5375
698	698	is included in
5376
698	48	is included in
5377
698	46	is included in
5378
698	41	is included in
5379
700	700	is included in
5380
700	140	is included in
5381
700	128	is included in
5382
700	46	is included in
5383
700	41	is included in
5384
720	720	is included in
5385
720	700	is included in
5386
720	140	is included in
5387
720	128	is included in
5388
720	46	is included in
5389
720	41	is included in
5390
738	738	is included in
5391
738	48	is included in
5392
738	46	is included in
5393
738	41	is included in
5394
740	740	is included in
5395
740	738	is included in
5396
740	48	is included in
5397
740	46	is included in
5398
740	41	is included in
5399
760	760	is included in
5400
760	740	is included in
5401
760	738	is included in
5402
760	48	is included in
5403
760	46	is included in
5404
760	41	is included in
5405
778	778	is included in
5406
778	48	is included in
5407
778	46	is included in
5408
778	41	is included in
5424 5409
780	780	is included in
5425
780	234	is included in
5426
780	213	is included in
5427
780	197	is included in
5428
783	783	is included in
5429
783	702	is included in
5430
786	786	is included in
5431
786	195	is included in
5432
786	174	is included in
5433
786	156	is included in
5434
786	135	is included in
5410
780	60	is included in
5411
780	48	is included in
5412
780	46	is included in
5413
780	41	is included in
5414
800	800	is included in
5415
800	780	is included in
5416
800	60	is included in
5417
800	48	is included in
5418
800	46	is included in
5419
800	41	is included in
5420
820	820	is included in
5421
820	44	is included in
5422
820	42	is included in
5423
840	840	is included in
5424
840	820	is included in
5425
840	44	is included in
5426
840	42	is included in
5427
841	841	is included in
5428
846	846	is included in
5429
846	841	is included in
5430
860	860	is included in
5431
860	846	is included in
5432
860	841	is included in
5433
880	880	is included in
5434
880	860	is included in
5435
880	846	is included in
5436
880	841	is included in
5437
888	888	is included in
5438
888	846	is included in
5439
888	841	is included in
5440
898	898	is included in
5441
898	888	is included in
5442
898	846	is included in
5443
898	841	is included in
5444
900	900	is included in
5445
900	898	is included in
5446
900	888	is included in
5447
900	846	is included in
5448
900	841	is included in
5449
920	920	is included in
5450
920	900	is included in
5451
920	898	is included in
5452
920	888	is included in
5453
920	846	is included in
5454
920	841	is included in
5455
960	960	is included in
5456
960	900	is included in
5457
960	898	is included in
5458
960	888	is included in
5459
960	846	is included in
5460
960	841	is included in
5461
980	980	is included in
5462
1000	1000	is included in
5463
1043	1043	is included in
5464
1043	600	is included in
5465
1043	60	is included in
5466
1043	48	is included in
5467
1043	46	is included in
5468
1043	41	is included in
5469
1046	1046	is included in
5470
1046	60	is included in
5471
1046	48	is included in
5472
1046	46	is included in
5473
1046	41	is included in
5474
1049	1049	is included in
5475
1049	800	is included in
5476
1049	780	is included in
5477
1049	60	is included in
5478
1049	48	is included in
5479
1049	46	is included in
5480
1049	41	is included in
5481
1052	1052	is included in
5482
1052	720	is included in
5483
1052	700	is included in
5484
1052	140	is included in
5485
1052	128	is included in
5486
1052	46	is included in
5487
1052	41	is included in
5488
1055	1055	is included in
5489
1055	680	is included in
5490
1055	540	is included in
5491
1055	46	is included in
5492
1055	41	is included in
5493
1058	1058	is included in
5494
1058	760	is included in
5495
1058	740	is included in
5496
1058	738	is included in
5497
1058	48	is included in
5498
1058	46	is included in
5499
1058	41	is included in
5500
1061	1061	is included in
5501
1061	640	is included in
5502
1061	620	is included in
5503
1061	100	is included in
5504
1061	98	is included in
5505
1061	48	is included in
5506
1061	46	is included in
5507
1061	41	is included in
5508
1064	1064	is included in
5509
1064	960	is included in
5510
1064	900	is included in
5511
1064	898	is included in
5512
1064	888	is included in
5513
1064	846	is included in
5514
1064	841	is included in
5515
1067	1067	is included in
5516
1067	920	is included in
5517
1067	900	is included in
5518
1067	898	is included in
5519
1067	888	is included in
5520
1067	846	is included in
5521
1067	841	is included in
5522
1070	1070	is included in
5523
1070	440	is included in
5524
1070	380	is included in
5525
1070	366	is included in
5526
1070	361	is included in
5527
1073	1073	is included in
5528
1073	400	is included in
5529
1073	380	is included in
5530
1073	366	is included in
5531
1073	361	is included in
5532
1076	1076	is included in
5533
1076	480	is included in
5534
1076	300	is included in
5535
1076	284	is included in
5536
1076	282	is included in
5537
1079	1079	is included in
5538
1079	360	is included in
5539
1079	300	is included in
5540
1079	284	is included in
5541
1079	282	is included in
5542
1082	1082	is included in
5543
1082	1000	is included in
5544
1085	1085	is included in
5545
1085	280	is included in
5546
1085	220	is included in
5547
1085	20	is included in
5548
1085	4	is included in
5549
1085	2	is included in
5435 5550
\.
5436 5551

  
5437 5552

  
......
5465 5580
--
5466 5581

  
5467 5582
COPY taxonverbatim (taxonverbatim_id, taxonlabel_id, verbatimrank, taxonomicname, binomial, author, family, genus, species, morphospecies, description) FROM stdin;
5468
1	6	species	\N	\N	\N	\N	\N	\N	\N	\N
5469
2	2	species	\N	\N	\N	\N	\N	\N	\N	\N
5470
3	18	species	\N	Poa annua	L.	Poaceae	\N	\N	\N	\N
5471
6	55	variety	\N	\N	\N	\N	\N	\N	\N	\N
5472
8	57	variety	\N	Poa annua var. annua	\N	Poaceae	\N	\N	\N	\N
5473
11	84	species	\N	\N	\N	\N	\N	\N	\N	\N
5474
13	96	species	\N	Poa infirma	Kunth	Poaceae	\N	\N	\N	\N
5475
18	135	family	\N	Asteraceae	\N	\N	\N	\N	\N	\N
5476
19	156	\N	\N	Asteraceae	\N	Asteraceae	\N	\N	Bercht. & J. Presl	\N
5477
21	158	family	\N	\N	\N	\N	\N	\N	\N	\N
5478
22	177	family	\N	\N	\N	\N	\N	\N	\N	\N
5479
24	195	\N	\N	Compositae	\N	Compositae	\N	\N	indet. sp.1	\N
5480
25	174	family	\N	Compositae	Giseke	Compositae	\N	\N	\N	\N
5481
26	197	family	\N	\N	\N	\N	\N	\N	\N	\N
5482
28	213	family	\N	Fabaceae	Lindl.	Fabaceae	\N	\N	\N	\N
5483
29	234	\N	\N	Fabaceae	\N	Fabaceae	\N	\N	Boyle#6500	\N
5484
31	238	genus	\N	\N	\N	\N	\N	\N	\N	\N
5485
33	252	genus	\N	Inga	Mill.	Fabaceae	\N	\N	\N	\N
5486
34	273	\N	\N	Inga	\N	Fabaceae	Inga	\N	"fuzzy leaf"	\N
5487
39	312	\N	\N	Inga	\N	Fabaceae	Inga	\N	sp.3	\N
5488
44	351	\N	\N	Fabaceae	\N	Fabaceae	\N	\N	unknown #2	\N
5489
49	390	\N	\N	Poa annua	\N	\N	Poa	annua	\N	\N
5490
51	406	forma	\N	\N	\N	\N	\N	\N	\N	\N
5491
54	429	fo.	\N	Poa annua fo. lanuginosa	\N	\N	Poa	annua	\N	\N
5492
55	408	forma	\N	Poa annua fo. lanuginosa	Sennen	Poaceae	Poa	annua	\N	\N
5493
56	445	subspecies	\N	\N	\N	\N	\N	\N	\N	\N
5494
59	468	subsp.	\N	Poa annua subsp. exilis	\N	\N	Poa	annua	\N	\N
5495
60	447	subspecies	\N	Poa annua subsp. exilis	(Tomm. ex Freyn) Asch. & Graebn.	Poaceae	Poa	annua	\N	\N
5496
64	507	subsp.	\N	Poa annua subsp. exilis	\N	\N	Poa	annua	\N	\N
5497
66	523	subvariety	\N	\N	\N	\N	\N	\N	\N	\N
5498
68	525	subvariety	\N	Poa annua subvar. minima	(Schur) Asch. & Graebn.	Poaceae	\N	\N	\N	\N
5499
69	546	subvar.	\N	Poa annua subvar. minima	\N	\N	Poa	annua	\N	\N
5500
71	562	variety	\N	\N	\N	\N	\N	\N	\N	\N
5501
74	585	var.	\N	Poa annua var. eriolepis	\N	\N	Poa	annua	\N	\N
5502
75	564	variety	\N	Poa annua var. eriolepis	E. Desv.	Poaceae	Poa	annua	\N	\N
5503
76	601	subspecies	\N	\N	\N	\N	\N	\N	\N	\N
5504
77	587	subspecies	\N	\N	\N	\N	\N	\N	\N	\N
5505
78	603	subspecies	\N	Silene scouleri subsp. pringlei	(S. Watson) C.L. Hitchc. & Maguire	Caryophyllaceae	\N	\N	\N	\N
5506
79	624	subsp.	\N	Silene scouleri subsp. pringlei	\N	\N	Silene	scouleri	var. grisea	\N
5507
84	663	subsp.	\N	Silene scouleri subsp. pringlei	\N	\N	Silene	scouleri	var. grisea	\N
5508
89	702	\N	\N	No suitable matches found.	\N	\N	\N	\N	\N	\N
5509
90	681	\N	\N	No suitable matches found.	\N	\N	\N	\N	\N	\N
5510
96	744	\N	\N	Poa annua	\N	\N	\N	\N	\N	\N
5511
97	747	\N	\N	Poa annua L.	\N	\N	\N	\N	\N	\N
5512
98	750	\N	\N	Poa annua var. eriolepis	\N	\N	\N	\N	\N	\N
5513
99	753	\N	\N	Poa annua subsp. exilis	\N	\N	\N	\N	\N	\N
5514
100	756	\N	\N	Poa annua ssp. exilis	\N	\N	\N	\N	\N	\N
5515
101	759	\N	\N	Poa annua subvar. minima	\N	\N	\N	\N	\N	\N
5516
102	762	\N	\N	Poa annua fo. lanuginosa	\N	\N	\N	\N	\N	\N
5517
103	765	\N	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N	\N	\N	\N	\N	\N
5518
104	768	\N	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N	\N	\N	\N	\N	\N
5519
105	771	\N	\N	Fabaceae Inga sp.3	\N	\N	\N	\N	\N	\N
5520
106	774	\N	\N	Fabaceae Inga "fuzzy leaf"	\N	\N	\N	\N	\N	\N
5521
107	777	\N	\N	Fabaceae unknown #2	\N	\N	\N	\N	\N	\N
5522
108	780	\N	\N	Fabaceae Boyle#6500	\N	\N	\N	\N	\N	\N
5523
109	783	\N	\N	Fam_indet. Boyle#6501	\N	\N	\N	\N	\N	\N
5524
110	786	\N	\N	Compositae indet. sp.1	\N	\N	\N	\N	\N	\N
5583
1	4	family	\N	\N	\N	\N	\N	\N	\N	\N
5584
3	20	family	\N	Asteraceae	Bercht. & J. Presl	Asteraceae	\N	\N	\N	\N
5585
6	48	species	\N	\N	\N	\N	\N	\N	\N	\N
5586
7	44	species	\N	\N	\N	\N	\N	\N	\N	\N
5587
8	60	species	\N	Poa annua	L.	Poaceae	\N	\N	\N	\N
5588
11	98	variety	\N	\N	\N	\N	\N	\N	\N	\N
5589
13	100	variety	\N	Poa annua var. annua	\N	Poaceae	\N	\N	\N	\N
5590
16	128	species	\N	\N	\N	\N	\N	\N	\N	\N
5591
18	140	species	\N	Poa infirma	Kunth	Poaceae	\N	\N	\N	\N
5592
21	164	family	\N	\N	\N	\N	\N	\N	\N	\N
5593
23	180	family	\N	Caryophyllaceae	Juss.	Caryophyllaceae	\N	\N	\N	\N
5594
24	200	\N	\N	Caryophyllaceae	\N	Caryophyllaceae	\N	\N	\N	\N
5595
26	204	family	\N	\N	\N	\N	\N	\N	\N	\N
5596
29	240	\N	\N	Compositae	\N	Compositae	\N	\N	\N	\N
5597
30	220	family	\N	Compositae	Giseke	Compositae	\N	\N	\N	\N
5598
34	280	\N	\N	Compositae	\N	Compositae	\N	\N	indet. sp.1	\N
5599
36	284	family	\N	\N	\N	\N	\N	\N	\N	\N
5600
38	300	family	\N	Fabaceae	Lindl.	Fabaceae	\N	\N	\N	\N
5601
39	320	\N	\N	Fabaceae	\N	Fabaceae	\N	\N	\N	\N
5602
44	360	\N	\N	Fabaceae	\N	Fabaceae	\N	\N	Boyle#6500	\N
5603
46	366	genus	\N	\N	\N	\N	\N	\N	\N	\N
5604
48	380	genus	\N	Inga	Mill.	Fabaceae	\N	\N	\N	\N
5605
49	400	\N	\N	Inga	\N	Fabaceae	Inga	\N	"fuzzy leaf"	\N
5606
54	440	\N	\N	Inga	\N	Fabaceae	Inga	\N	sp.3	\N
5607
59	480	\N	\N	Fabaceae	\N	Fabaceae	\N	\N	unknown #2	\N
5608
64	520	\N	\N	Inga	\N	\N	Inga	\N	\N	\N
5609
66	46	genus	\N	\N	\N	\N	\N	\N	\N	\N
5610
68	540	genus	\N	Poa	L.	Poaceae	\N	\N	\N	\N
5611
69	560	\N	\N	Poa	\N	\N	Poa	\N	\N	\N
5612
74	600	\N	\N	Poa annua	\N	\N	Poa	annua	\N	\N
5613
76	618	forma	\N	\N	\N	\N	\N	\N	\N	\N
5614
79	640	fo.	\N	Poa annua fo. lanuginosa	\N	\N	Poa	annua	\N	\N
5615
80	620	forma	\N	Poa annua fo. lanuginosa	Sennen	Poaceae	Poa	annua	\N	\N
5616
84	680	\N	\N	Poa	\N	\N	Poa	\N	annua ssp. exilis	\N
5617
86	698	subspecies	\N	\N	\N	\N	\N	\N	\N	\N
5618
89	720	subsp.	\N	Poa annua subsp. exilis	\N	\N	Poa	annua	\N	\N
5619
90	700	subspecies	\N	Poa annua subsp. exilis	(Tomm. ex Freyn) Asch. & Graebn.	Poaceae	Poa	annua	\N	\N
5620
91	738	subvariety	\N	\N	\N	\N	\N	\N	\N	\N
5621
93	740	subvariety	\N	Poa annua subvar. minima	(Schur) Asch. & Graebn.	Poaceae	\N	\N	\N	\N
5622
94	760	subvar.	\N	Poa annua subvar. minima	\N	\N	Poa	annua	\N	\N
5623
96	778	variety	\N	\N	\N	\N	\N	\N	\N	\N
5624
99	800	var.	\N	Poa annua var. eriolepis	\N	\N	Poa	annua	\N	\N
5625
100	780	variety	\N	Poa annua var. eriolepis	E. Desv.	Poaceae	Poa	annua	\N	\N
5626
103	820	family	\N	Poaceae	Barnhart	Poaceae	\N	\N	\N	\N
5627
104	840	\N	\N	Poaceae	\N	Poaceae	\N	\N	\N	\N
5628
106	846	genus	\N	\N	\N	\N	\N	\N	\N	\N
5629
108	860	genus	\N	Silene	L.	Caryophyllaceae	\N	\N	\N	\N
5630
109	880	\N	\N	Silene	\N	\N	Silene	\N	\N	\N
5631
111	898	subspecies	\N	\N	\N	\N	\N	\N	\N	\N
5632
113	900	subspecies	\N	Silene scouleri subsp. pringlei	(S. Watson) C.L. Hitchc. & Maguire	Caryophyllaceae	\N	\N	\N	\N
5633
114	920	subsp.	\N	Silene scouleri subsp. pringlei	\N	\N	Silene	scouleri	var. grisea	\N
5634
119	960	subsp.	\N	Silene scouleri subsp. pringlei	\N	\N	Silene	scouleri	var. grisea	\N
5635
124	1000	\N	\N	No suitable matches found.	\N	\N	\N	\N	\N	\N
5636
125	980	\N	\N	No suitable matches found.	\N	\N	\N	\N	\N	\N
5637
131	1043	\N	\N	Poa annua	\N	\N	\N	\N	\N	\N
5638
132	1046	\N	\N	Poa annua L.	\N	\N	\N	\N	\N	\N
5639
133	1049	\N	\N	Poa annua var. eriolepis	\N	\N	\N	\N	\N	\N
5640
134	1052	\N	\N	Poa annua subsp. exilis	\N	\N	\N	\N	\N	\N
5641
135	1055	\N	\N	Poa annua ssp. exilis	\N	\N	\N	\N	\N	\N
5642
136	1058	\N	\N	Poa annua subvar. minima	\N	\N	\N	\N	\N	\N
5643
137	1061	\N	\N	Poa annua fo. lanuginosa	\N	\N	\N	\N	\N	\N
5644
138	1064	\N	\N	Silene scouleri subsp. pringlei var. grisea C.L. Hitchc. & Maguire	\N	\N	\N	\N	\N	\N
5645
139	1067	\N	\N	Silene scouleri Hook. subsp. pringlei (S. Watson) C.L. Hitchc. & Maguire var. grisea C.L. Hitchc. & Maguire	\N	\N	\N	\N	\N	\N
5646
140	1070	\N	\N	Fabaceae Inga sp.3	\N	\N	\N	\N	\N	\N
5647
141	1073	\N	\N	Fabaceae Inga "fuzzy leaf"	\N	\N	\N	\N	\N	\N
5648
142	1076	\N	\N	Fabaceae unknown #2	\N	\N	\N	\N	\N	\N
5649
143	1079	\N	\N	Fabaceae Boyle#6500	\N	\N	\N	\N	\N	\N
5650
144	1082	\N	\N	Fam_indet. Boyle#6501	\N	\N	\N	\N	\N	\N
5651
145	1085	\N	\N	Compositae indet. sp.1	\N	\N	\N	\N	\N	\N
5525 5652
\.
5526 5653

  
5527 5654

  
......
6633 6760

  
6634 6761

  
6635 6762
--
6636
-- Name: taxonlabel_2_set_canon_label_id; Type: TRIGGER; Schema: public.test_taxonomic_names; Owner: bien
6763
-- Name: taxonlabel_2_set_canon_label_id_on_insert; Type: TRIGGER; Schema: public.test_taxonomic_names; Owner: bien
6637 6764
--
6638 6765

  
6639
CREATE TRIGGER taxonlabel_2_set_canon_label_id BEFORE INSERT OR UPDATE ON taxonlabel FOR EACH ROW EXECUTE PROCEDURE taxonlabel_2_set_canon_label_id();
6766
CREATE TRIGGER taxonlabel_2_set_canon_label_id_on_insert BEFORE INSERT ON taxonlabel FOR EACH ROW EXECUTE PROCEDURE taxonlabel_2_set_canon_label_id_on_insert();
6640 6767

  
6641 6768

  
6642 6769
--
6770
-- Name: taxonlabel_2_set_canon_label_id_on_update; Type: TRIGGER; Schema: public.test_taxonomic_names; Owner: bien
6771
--
6772

  
6773
CREATE TRIGGER taxonlabel_2_set_canon_label_id_on_update BEFORE UPDATE ON taxonlabel FOR EACH ROW EXECUTE PROCEDURE taxonlabel_2_set_canon_label_id_on_update();
6774

  
6775

  
6776
--
6643 6777
-- Name: taxonlabel_3_parent_id_avoid_self_ref; Type: TRIGGER; Schema: public.test_taxonomic_names; Owner: bien
6644 6778
--
6645 6779

  

Also available in: Unified diff