Project

General

Profile

« Previous | Next » 

Revision 5138

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.

View differences:

test.xml.ref
147 147
                        <taxondetermination>
148 148
                            <taxonpath_id>
149 149
                                <taxonpath>
150
                                    <author>$specific_authority</author>
151
                                    <family>$family</family>
152
                                    <genus>$genus</genus>
153
                                    <identifyingtaxonomicname>
154
                                        <_join_words>
155
                                            <1>
150
                                    <canon_taxonpath_id>
151
                                        <taxonpath>
152
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
153
                                            <identifyingtaxonomicname>
156 154
                                                <_join_words>
157
                                                    <1>$family</1>
158
                                                    <2>$genus</2>
159
                                                    <3>$specific_epithet</3>
160
                                                    <5>
155
                                                    <1>
161 156
                                                        <_join_words>
162
                                                            <1>
163
                                                                <_if name="if has infraspecificEpithet">
164
                                                                    <cond>$infra_ep_1</cond>
165
                                                                    <then>$infra_rank_1</then>
166
                                                                </_if>
167
                                                            </1>
168
                                                            <2>$infra_ep_1</2>
157
                                                            <1>$family</1>
158
                                                            <2>$genus</2>
159
                                                            <3>$specific_epithet</3>
160
                                                            <5>
161
                                                                <_join_words>
162
                                                                    <1>
163
                                                                        <_if name="if has infraspecificEpithet">
164
                                                                            <cond>$infra_ep_1</cond>
165
                                                                            <then>$infra_rank_1</then>
166
                                                                        </_if>
167
                                                                    </1>
168
                                                                    <2>$infra_ep_1</2>
169
                                                                </_join_words>
170
                                                            </5>
169 171
                                                        </_join_words>
170
                                                    </5>
172
                                                    </1>
173
                                                    <2>$specific_authority</2>
171 174
                                                </_join_words>
172
                                            </1>
173
                                            <2>$specific_authority</2>
174
                                        </_join_words>
175
                                    </identifyingtaxonomicname>
175
                                            </identifyingtaxonomicname>
176
                                        </taxonpath>
177
                                    </canon_taxonpath_id>
178
                                    <author>$specific_authority</author>
179
                                    <family>$family</family>
180
                                    <genus>$genus</genus>
176 181
                                    <species>$specific_epithet</species>
177 182
                                    <subspecies>
178 183
                                        <_join_words>
......
193 198
                            <isoriginal>true</isoriginal>
194 199
                            <taxonpath_id>
195 200
                                <taxonpath>
201
                                    <canon_taxonpath_id>
202
                                        <taxonpath>
203
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
204
                                            <identifyingtaxonomicname>
205
                                                <_join_words>
206
                                                    <1>$orig_family</1>
207
                                                    <3>$orig_species</3>
208
                                                </_join_words>
209
                                            </identifyingtaxonomicname>
210
                                        </taxonpath>
211
                                    </canon_taxonpath_id>
196 212
                                    <family>$orig_family</family>
197
                                    <identifyingtaxonomicname>
198
                                        <_join_words>
199
                                            <1>$orig_family</1>
200
                                            <3>$orig_species</3>
201
                                        </_join_words>
202
                                    </identifyingtaxonomicname>
203 213
                                    <species>$orig_species</species>
204 214
                                </taxonpath>
205 215
                            </taxonpath_id>
......
238 248
        </path>
239 249
    </_simplifyPath>
240 250
</VegBIEN>
241
Inserted 37 new rows into database
251
Inserted 42 new rows into database

Also available in: Unified diff