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
272 272
                            </party_id>
273 273
                            <taxonpath_id>
274 274
                                <taxonpath>
275
                                    <canon_taxonpath_id>
276
                                        <taxonpath>
277
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
278
                                            <identifyingtaxonomicname>
279
                                                <_join_words>
280
                                                    <1>
281
                                                        <_alt>
282
                                                            <1>
283
                                                                <_alt>
284
                                                                    <0>$conceptual_darwin_2003_1_0_ScientificName</0>
285
                                                                    <1>$dwc_dwcore_ScientificName</1>
286
                                                                    <2>$dwc_terms_scientificName</2>
287
                                                                </_alt>
288
                                                            </1>
289
                                                            <2>
290
                                                                <_join_words>
291
                                                                    <1>
292
                                                                        <_alt>
293
                                                                            <0>$conceptual_darwin_2003_1_0_Family</0>
294
                                                                            <1>$dwc_dwcore_Family</1>
295
                                                                            <2>$dwc_terms_family</2>
296
                                                                        </_alt>
297
                                                                    </1>
298
                                                                    <2>
299
                                                                        <_alt>
300
                                                                            <0>$conceptual_darwin_2003_1_0_Genus</0>
301
                                                                            <1>$dwc_dwcore_Genus</1>
302
                                                                            <2>$dwc_terms_genus</2>
303
                                                                        </_alt>
304
                                                                    </2>
305
                                                                    <3>
306
                                                                        <_alt>
307
                                                                            <0>$conceptual_darwin_2003_1_0_Species</0>
308
                                                                            <1>$dwc_dwcore_SpecificEpithet</1>
309
                                                                            <2>$dwc_terms_specificEpithet</2>
310
                                                                        </_alt>
311
                                                                    </3>
312
                                                                    <4>$conceptual_darwin_2003_1_0_Subspecies</4>
313
                                                                    <5>
314
                                                                        <_alt>
315
                                                                            <0>$dwc_dwcore_InfraspecificEpithet</0>
316
                                                                            <1>$dwc_terms_infraspecificEpithet</1>
317
                                                                        </_alt>
318
                                                                    </5>
319
                                                                </_join_words>
320
                                                            </2>
321
                                                        </_alt>
322
                                                    </1>
323
                                                    <2>
324
                                                        <_alt>
325
                                                            <1>$dwc_terms_scientificNameAuthorship</1>
326
                                                            <2>$conceptual_darwin_2003_1_0_ScientificNameAuthor</2>
327
                                                            <3>$dwc_dwcore_AuthorYearOfScientificName</3>
328
                                                        </_alt>
329
                                                    </2>
330
                                                </_join_words>
331
                                            </identifyingtaxonomicname>
332
                                        </taxonpath>
333
                                    </canon_taxonpath_id>
275 334
                                    <author>
276 335
                                        <_alt>
277 336
                                            <1>$dwc_terms_scientificNameAuthorship</1>
......
300 359
                                            <2>$dwc_terms_genus</2>
301 360
                                        </_alt>
302 361
                                    </genus>
303
                                    <identifyingtaxonomicname>
304
                                        <_join_words>
305
                                            <1>
306
                                                <_alt>
307
                                                    <1>
308
                                                        <_alt>
309
                                                            <0>$conceptual_darwin_2003_1_0_ScientificName</0>
310
                                                            <1>$dwc_dwcore_ScientificName</1>
311
                                                            <2>$dwc_terms_scientificName</2>
312
                                                        </_alt>
313
                                                    </1>
314
                                                    <2>
315
                                                        <_join_words>
316
                                                            <1>
317
                                                                <_alt>
318
                                                                    <0>$conceptual_darwin_2003_1_0_Family</0>
319
                                                                    <1>$dwc_dwcore_Family</1>
320
                                                                    <2>$dwc_terms_family</2>
321
                                                                </_alt>
322
                                                            </1>
323
                                                            <2>
324
                                                                <_alt>
325
                                                                    <0>$conceptual_darwin_2003_1_0_Genus</0>
326
                                                                    <1>$dwc_dwcore_Genus</1>
327
                                                                    <2>$dwc_terms_genus</2>
328
                                                                </_alt>
329
                                                            </2>
330
                                                            <3>
331
                                                                <_alt>
332
                                                                    <0>$conceptual_darwin_2003_1_0_Species</0>
333
                                                                    <1>$dwc_dwcore_SpecificEpithet</1>
334
                                                                    <2>$dwc_terms_specificEpithet</2>
335
                                                                </_alt>
336
                                                            </3>
337
                                                            <4>$conceptual_darwin_2003_1_0_Subspecies</4>
338
                                                            <5>
339
                                                                <_alt>
340
                                                                    <0>$dwc_dwcore_InfraspecificEpithet</0>
341
                                                                    <1>$dwc_terms_infraspecificEpithet</1>
342
                                                                </_alt>
343
                                                            </5>
344
                                                        </_join_words>
345
                                                    </2>
346
                                                </_alt>
347
                                            </1>
348
                                            <2>
349
                                                <_alt>
350
                                                    <1>$dwc_terms_scientificNameAuthorship</1>
351
                                                    <2>$conceptual_darwin_2003_1_0_ScientificNameAuthor</2>
352
                                                    <3>$dwc_dwcore_AuthorYearOfScientificName</3>
353
                                                </_alt>
354
                                            </2>
355
                                        </_join_words>
356
                                    </identifyingtaxonomicname>
357 362
                                    <kingdom>
358 363
                                        <_alt>
359 364
                                            <0>$conceptual_darwin_2003_1_0_Kingdom</0>
......
506 511
        </path>
507 512
    </_simplifyPath>
508 513
</VegBIEN>
509
Inserted 29 new rows into database
514
Inserted 32 new rows into database

Also available in: Unified diff