Revision 5138
Added by Aaron Marcuse-Kubitza over 12 years ago
test.xml.ref | ||
---|---|---|
118 | 118 |
<taxondetermination> |
119 | 119 |
<taxonpath_id> |
120 | 120 |
<taxonpath> |
121 |
<author>$auth</author> |
|
122 |
<family>$Family</family> |
|
123 |
<genus>$Genus</genus> |
|
124 |
<identifyingtaxonomicname> |
|
125 |
<_join_words> |
|
126 |
<1> |
|
121 |
<canon_taxonpath_id> |
|
122 |
<taxonpath> |
|
123 |
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id> |
|
124 |
<identifyingtaxonomicname> |
|
127 | 125 |
<_join_words> |
128 |
<1>$Family</1> |
|
129 |
<2>$Genus</2> |
|
130 |
<3>$Species</3> |
|
131 |
<5> |
|
126 |
<1> |
|
132 | 127 |
<_join_words> |
133 |
<1> |
|
134 |
<_if name="if has infraspecificEpithet"> |
|
135 |
<cond>$infra_ep_1</cond> |
|
136 |
<then>$infra_rank_1</then> |
|
137 |
</_if> |
|
138 |
</1> |
|
139 |
<2>$infra_ep_1</2> |
|
128 |
<1>$Family</1> |
|
129 |
<2>$Genus</2> |
|
130 |
<3>$Species</3> |
|
131 |
<5> |
|
132 |
<_join_words> |
|
133 |
<1> |
|
134 |
<_if name="if has infraspecificEpithet"> |
|
135 |
<cond>$infra_ep_1</cond> |
|
136 |
<then>$infra_rank_1</then> |
|
137 |
</_if> |
|
138 |
</1> |
|
139 |
<2>$infra_ep_1</2> |
|
140 |
</_join_words> |
|
141 |
</5> |
|
140 | 142 |
</_join_words> |
141 |
</5> |
|
143 |
</1> |
|
144 |
<2>$auth</2> |
|
142 | 145 |
</_join_words> |
143 |
</1> |
|
144 |
<2>$auth</2> |
|
145 |
</_join_words> |
|
146 |
</identifyingtaxonomicname> |
|
146 |
</identifyingtaxonomicname> |
|
147 |
</taxonpath> |
|
148 |
</canon_taxonpath_id> |
|
149 |
<author>$auth</author> |
|
150 |
<family>$Family</family> |
|
151 |
<genus>$Genus</genus> |
|
147 | 152 |
<species>$Species</species> |
148 | 153 |
<subspecies> |
149 | 154 |
<_join_words> |
... | ... | |
164 | 169 |
<isoriginal>true</isoriginal> |
165 | 170 |
<taxonpath_id> |
166 | 171 |
<taxonpath> |
172 |
<canon_taxonpath_id> |
|
173 |
<taxonpath> |
|
174 |
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id> |
|
175 |
<identifyingtaxonomicname> |
|
176 |
<_join_words> |
|
177 |
<1>$OrigFamily</1> |
|
178 |
<2>$OrigGenus</2> |
|
179 |
<3>$OrigSpecies</3> |
|
180 |
</_join_words> |
|
181 |
</identifyingtaxonomicname> |
|
182 |
</taxonpath> |
|
183 |
</canon_taxonpath_id> |
|
167 | 184 |
<family>$OrigFamily</family> |
168 | 185 |
<genus>$OrigGenus</genus> |
169 |
<identifyingtaxonomicname> |
|
170 |
<_join_words> |
|
171 |
<1>$OrigFamily</1> |
|
172 |
<2>$OrigGenus</2> |
|
173 |
<3>$OrigSpecies</3> |
|
174 |
</_join_words> |
|
175 |
</identifyingtaxonomicname> |
|
176 | 186 |
<species>$OrigSpecies</species> |
177 | 187 |
</taxonpath> |
178 | 188 |
</taxonpath_id> |
... | ... | |
211 | 221 |
</path> |
212 | 222 |
</_simplifyPath> |
213 | 223 |
</VegBIEN> |
214 |
Inserted 34 new rows into database |
|
224 |
Inserted 39 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: non-TNRS taxonpaths: Store the concatenated identifyingtaxonomicname in a separate taxonpath owned by the TNRS datasource, so that it will match up with (and create a link to) the corresponding submitted TNRS name's taxonpath. This in turn is linked to the TNRS-determined accepted name, thus creating a three-level hierarchy of datasource name -> concatenated name -> accepted name.