Project

General

Profile

« Previous | Next » 

Revision 10435

bugfix: inputs/SpeciesLink/Specimen/map.csv: *scientificName: remapped to scientificName instead of taxonName to match the DwC term's name (this is the same dwc_terms_scientificName mismapping that was fixed in r10434)

View differences:

inputs/SpeciesLink/Specimen/map.csv
7 7
dwc_dwcore_CollectionCode,collection,,
8 8
dwc_dwcore_CatalogNumber,accessionNumber,,
9 9
dwc_dwcore_Remarks,DUPLICATE#of:dwc_terms_occurrenceRemarks#dwc_dwcore_Remarks,,exact duplicate
10
dwc_dwcore_ScientificName,taxonName,,
10
dwc_dwcore_ScientificName,scientificName,,
11 11
dwc_dwcore_Kingdom,kingdom,,
12 12
dwc_dwcore_Phylum,phylum,,
13 13
dwc_dwcore_Class,class,,
......
89 89
conceptual_darwin_2003_1_0_InstitutionCode,specimenHolderInstitutions,,
90 90
conceptual_darwin_2003_1_0_CollectionCode,collection,,
91 91
conceptual_darwin_2003_1_0_CatalogNumber,accessionNumber,,
92
conceptual_darwin_2003_1_0_ScientificName,taxonName,,
92
conceptual_darwin_2003_1_0_ScientificName,scientificName,,
93 93
conceptual_darwin_2003_1_0_BasisOfRecord,basisOfRecord,,
94 94
conceptual_darwin_2003_1_0_Kingdom,kingdom,,
95 95
conceptual_darwin_2003_1_0_Phylum,phylum,,
inputs/SpeciesLink/Specimen/VegBIEN.csv
77 77
dwc_dwcore_GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
78 78
dwc_terms_recordNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3/_alt/1",
79 79
dwc_terms_fieldNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/3/_alt/2","Usage inconsistent with DwC definition. This field instead means the same thing as recordNumber, and values are stored under either of the two terms."
80
conceptual_darwin_2003_1_0_ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
81
dwc_dwcore_ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
80 82
dwc_terms_scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/2",
81
conceptual_darwin_2003_1_0_ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/3",
82
dwc_dwcore_ScientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/3/_first/3",
83 83
conceptual_darwin_2003_1_0_Collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
84 84
dwc_dwcore_Collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
85 85
dwc_terms_recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
......
117 117
conceptual_darwin_2003_1_0_Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/prefix/_taxon_family_require_std/family,
118 118
dwc_dwcore_Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/prefix/_taxon_family_require_std/family,
119 119
dwc_terms_family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/prefix/_taxon_family_require_std/family,
120
conceptual_darwin_2003_1_0_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/1,
121
dwc_dwcore_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/1,
120 122
dwc_terms_scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/1,
121
conceptual_darwin_2003_1_0_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/1,
122
dwc_dwcore_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/1,
123 123
conceptual_darwin_2003_1_0_Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/2/_filter_genus/value,
124 124
dwc_dwcore_Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/2/_filter_genus/value,
125 125
dwc_terms_genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_merge_prefix/value/_alt/2/_join_words/1/_alt/2/_join_words/2/_filter_genus/value,
......
142 142
conceptual_darwin_2003_1_0_Species,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
143 143
dwc_dwcore_SpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
144 144
dwc_terms_specificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
145
conceptual_darwin_2003_1_0_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonname,
146
dwc_dwcore_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonname,
145
conceptual_darwin_2003_1_0_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,
146
dwc_dwcore_ScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,
147 147
dwc_terms_scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,
148 148
dwc_terms_dateIdentified,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/1/_dateRangeStart/value,
149 149
conceptual_darwin_2003_1_0_DayIdentified,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
inputs/SpeciesLink/Specimen/test.xml.ref
357 357
                                                            </prefix>
358 358
                                                            <value>
359 359
                                                                <_alt>
360
                                                                    <1>$dwc_terms_scientificName</1>
360
                                                                    <1>
361
                                                                        <_alt>
362
                                                                            <0>$conceptual_darwin_2003_1_0_ScientificName</0>
363
                                                                            <1>$dwc_dwcore_ScientificName</1>
364
                                                                            <2>$dwc_terms_scientificName</2>
365
                                                                        </_alt>
366
                                                                    </1>
361 367
                                                                    <2>
362 368
                                                                        <_join_words>
363 369
                                                                            <1>
364
                                                                                <_alt>
365
                                                                                    <1>
366
                                                                                        <_alt>
367
                                                                                            <0>$conceptual_darwin_2003_1_0_ScientificName</0>
368
                                                                                            <1>$dwc_dwcore_ScientificName</1>
369
                                                                                        </_alt>
370
                                                                                    </1>
370
                                                                                <_join_words>
371 371
                                                                                    <2>
372
                                                                                        <_join_words>
373
                                                                                            <2>
374
                                                                                                <_filter_genus>
375
                                                                                                    <value>
376
                                                                                                        <_alt>
377
                                                                                                            <0>$conceptual_darwin_2003_1_0_Genus</0>
378
                                                                                                            <1>$dwc_dwcore_Genus</1>
379
                                                                                                            <2>$dwc_terms_genus</2>
380
                                                                                                        </_alt>
381
                                                                                                    </value>
382
                                                                                                </_filter_genus>
383
                                                                                            </2>
384
                                                                                            <3>
372
                                                                                        <_filter_genus>
373
                                                                                            <value>
385 374
                                                                                                <_alt>
386
                                                                                                    <0>$conceptual_darwin_2003_1_0_Species</0>
387
                                                                                                    <1>$dwc_dwcore_SpecificEpithet</1>
388
                                                                                                    <2>$dwc_terms_specificEpithet</2>
375
                                                                                                    <0>$conceptual_darwin_2003_1_0_Genus</0>
376
                                                                                                    <1>$dwc_dwcore_Genus</1>
377
                                                                                                    <2>$dwc_terms_genus</2>
389 378
                                                                                                </_alt>
390
                                                                                            </3>
391
                                                                                            <4>$conceptual_darwin_2003_1_0_Subspecies</4>
392
                                                                                            <5>
393
                                                                                                <_alt>
394
                                                                                                    <0>$dwc_dwcore_InfraspecificEpithet</0>
395
                                                                                                    <1>$dwc_terms_infraspecificEpithet</1>
396
                                                                                                </_alt>
397
                                                                                            </5>
398
                                                                                        </_join_words>
379
                                                                                            </value>
380
                                                                                        </_filter_genus>
399 381
                                                                                    </2>
400
                                                                                </_alt>
382
                                                                                    <3>
383
                                                                                        <_alt>
384
                                                                                            <0>$conceptual_darwin_2003_1_0_Species</0>
385
                                                                                            <1>$dwc_dwcore_SpecificEpithet</1>
386
                                                                                            <2>$dwc_terms_specificEpithet</2>
387
                                                                                        </_alt>
388
                                                                                    </3>
389
                                                                                    <4>$conceptual_darwin_2003_1_0_Subspecies</4>
390
                                                                                    <5>
391
                                                                                        <_alt>
392
                                                                                            <0>$dwc_dwcore_InfraspecificEpithet</0>
393
                                                                                            <1>$dwc_terms_infraspecificEpithet</1>
394
                                                                                        </_alt>
395
                                                                                    </5>
396
                                                                                </_join_words>
401 397
                                                                            </1>
402 398
                                                                            <2>$dwc_terms_scientificNameAuthorship</2>
403 399
                                                                        </_join_words>
......
430 426
                                                    <2>$dwc_terms_specificEpithet</2>
431 427
                                                </_alt>
432 428
                                            </specific_epithet>
433
                                            <taxonname>
429
                                            <taxonomicname>
434 430
                                                <_alt>
435 431
                                                    <0>$conceptual_darwin_2003_1_0_ScientificName</0>
436 432
                                                    <1>$dwc_dwcore_ScientificName</1>
433
                                                    <2>$dwc_terms_scientificName</2>
437 434
                                                </_alt>
438
                                            </taxonname>
439
                                            <taxonomicname>$dwc_terms_scientificName</taxonomicname>
435
                                            </taxonomicname>
440 436
                                        </taxonverbatim>
441 437
                                    </taxonverbatim_id>
442 438
                                    <determinationdate>
inputs/SpeciesLink/Specimen/new_terms.csv
5 5
dwc_dwcore_CollectionCode,collection,,
6 6
dwc_dwcore_CatalogNumber,accessionNumber,,
7 7
dwc_dwcore_Remarks,DUPLICATE#of:dwc_terms_occurrenceRemarks#dwc_dwcore_Remarks,,exact duplicate
8
dwc_dwcore_ScientificName,taxonName,,
8
dwc_dwcore_ScientificName,scientificName,,
9 9
dwc_dwcore_Kingdom,kingdom,,
10 10
dwc_dwcore_Phylum,phylum,,
11 11
dwc_dwcore_Class,class,,
......
84 84
conceptual_darwin_2003_1_0_InstitutionCode,specimenHolderInstitutions,,
85 85
conceptual_darwin_2003_1_0_CollectionCode,collection,,
86 86
conceptual_darwin_2003_1_0_CatalogNumber,accessionNumber,,
87
conceptual_darwin_2003_1_0_ScientificName,taxonName,,
87
conceptual_darwin_2003_1_0_ScientificName,scientificName,,
88 88
conceptual_darwin_2003_1_0_BasisOfRecord,basisOfRecord,,
89 89
conceptual_darwin_2003_1_0_Kingdom,kingdom,,
90 90
conceptual_darwin_2003_1_0_Phylum,phylum,,

Also available in: Unified diff