Project

General

Profile

« Previous | Next » 

Revision 4072

mappings/DwC2-VegBIEN.specimens.csv, VegCSV-VegBIEN.specimens.csv: taxonoccurrence: Map everything except occurrenceID (which is globally unique) to new authortaxoncode, which only needs to be unique within the locationevent

View differences:

mappings/for_review/DwC2-VegBIEN.specimens.csv
39 39
recordNumber,//specimenreplicate/collectionnumber,
40 40
institutionCode,//party/organizationname,
41 41
occurrenceID,//specimenreplicate/sourceaccessioncode,
42
catalogNumber,"//taxonoccurrence/authortaxoncode/_if[@name=""if indirect voucher""]/else",
43
recordNumber,//taxonoccurrence/authortaxoncode,
42 44
establishmentMeans,//taxonoccurrence/iscultivated,
43 45
establishmentMeans,//taxonoccurrence/isnative,
44 46
occurrenceID,//taxonoccurrence/sourceaccessioncode,
45
catalogNumber,"//taxonoccurrence/sourceaccessioncode/_if[@name=""if indirect voucher""]/else",
46
recordNumber,//taxonoccurrence/sourceaccessioncode,
47 47
identifiedBy,//taxonoccurrence/taxondetermination[role=identifier]/*_id/party/givenname,
48 48
identifiedBy,//taxonoccurrence/taxondetermination[role=identifier]/*_id/party/middlename,
49 49
identifiedBy,//taxonoccurrence/taxondetermination[role=identifier]/*_id/party/surname,
inputs/MT/maps/VegBIEN.specimens.csv
12 12
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
13 13
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value",
14 14
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
15
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
15
id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
16 16
genus,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",
17 17
family,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",
18 18
locality,/location/locationnarrative/_merge/1,
inputs/XAL/test/import.specimens.xml.ref
257 257
                        </specimenreplicate>
258 258
                    </plantobservation>
259 259
                </aggregateoccurrence>
260
                <sourceaccessioncode>
260
                <authortaxoncode>
261 261
                    <_alt>
262
                        <2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
263
                        <3>$CollectorNumber</3>
262
                        <1><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></1>
263
                        <2>$CollectorNumber</2>
264 264
                    </_alt>
265
                </sourceaccessioncode>
265
                </authortaxoncode>
266 266
                <taxondetermination>
267 267
                    <isoriginal>true</isoriginal>
268 268
                    <role>identifier</role>
inputs/XAL/maps/VegBIEN.specimens.csv
32 32
CollectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
33 33
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/1,
34 34
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
35
CatalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
36
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
35
CatalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
36
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
37 37
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
38 38
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
39 39
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/NY/test/import.specimens.xml.ref
299 299
                        </specimenreplicate>
300 300
                    </plantobservation>
301 301
                </aggregateoccurrence>
302
                <sourceaccessioncode>
302
                <authortaxoncode>
303 303
                    <_alt>
304
                        <1>$UniqueNYInternalRecordNumber</1>
305
                        <2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
306
                        <3>
304
                        <1><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></1>
305
                        <2>
307 306
                            <_alt>
308 307
                                <1>$CollectorNumber</1>
309 308
                                <2>$FieldNumber</2>
310 309
                            </_alt>
311
                        </3>
310
                        </2>
312 311
                    </_alt>
313
                </sourceaccessioncode>
312
                </authortaxoncode>
313
                <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
314 314
                <taxondetermination>
315 315
                    <isoriginal>true</isoriginal>
316 316
                    <role>identifier</role>
inputs/NY/maps/VegBIEN.specimens.csv
38 38
FieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/2,Usage inconsistent with DwC definition
39 39
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
40 40
UniqueNYInternalRecordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
41
UniqueNYInternalRecordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
42
CatalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
43
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
44
FieldNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,Usage inconsistent with DwC definition
41
CatalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
42
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
43
FieldNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,Usage inconsistent with DwC definition
44
UniqueNYInternalRecordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode,
45 45
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
46 46
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
47 47
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/UNCC/test/import.specimens.xml.ref
167 167
                        </specimenreplicate>
168 168
                    </plantobservation>
169 169
                </aggregateoccurrence>
170
                <authortaxoncode>$collectno</authortaxoncode>
170 171
                <iscultivated>
171 172
                    <_map>
172 173
                        <cultivated>t</cultivated>
......
197 198
                        </value>
198 199
                    </_map>
199 200
                </isnative>
200
                <sourceaccessioncode>
201
                    <_alt>
202
                        <1>$accession</1>
203
                        <3>$collectno</3>
204
                    </_alt>
205
                </sourceaccessioncode>
201
                <sourceaccessioncode>$accession</sourceaccessioncode>
206 202
                <taxondetermination>
207 203
                    <isoriginal>true</isoriginal>
208 204
                    <role>identifier</role>
inputs/SpeciesLink/test/import.specimens.xml.ref
468 468
                        </specimenreplicate>
469 469
                    </plantobservation>
470 470
                </aggregateoccurrence>
471
                <sourceaccessioncode>
471
                <authortaxoncode>
472 472
                    <_alt>
473
                        <1>$dwc_dwcore_GlobalUniqueIdentifier</1>
474
                        <2>
473
                        <1>
475 474
                            <_if name="if indirect voucher">
476 475
                                <else>
477 476
                                    <_alt>
......
481 480
                                    </_alt>
482 481
                                </else>
483 482
                            </_if>
484
                        </2>
485
                        <3>
483
                        </1>
484
                        <2>
486 485
                            <_alt>
487 486
                                <1>
488 487
                                    <_alt>
......
492 491
                                </1>
493 492
                                <2>$dwc_terms_recordNumber</2>
494 493
                            </_alt>
495
                        </3>
494
                        </2>
496 495
                    </_alt>
497
                </sourceaccessioncode>
496
                </authortaxoncode>
497
                <sourceaccessioncode>$dwc_dwcore_GlobalUniqueIdentifier</sourceaccessioncode>
498 498
                <taxondetermination>
499 499
                    <isoriginal>true</isoriginal>
500 500
                    <role>identifier</role>
inputs/MO/test/import.specimens.xml.ref
246 246
                        </specimenreplicate>
247 247
                    </plantobservation>
248 248
                </aggregateoccurrence>
249
                <sourceaccessioncode>
249
                <authortaxoncode>
250 250
                    <_alt>
251
                        <2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
252
                        <3>$CollectorNumber</3>
251
                        <1><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></1>
252
                        <2>$CollectorNumber</2>
253 253
                    </_alt>
254
                </sourceaccessioncode>
254
                </authortaxoncode>
255 255
                <taxondetermination>
256 256
                    <isoriginal>true</isoriginal>
257 257
                    <role>identifier</role>
inputs/QMOR/test/import.specimens.xml.ref
211 211
                        </specimenreplicate>
212 212
                    </plantobservation>
213 213
                </aggregateoccurrence>
214
                <sourceaccessioncode>
215
                    <_alt>
216
                        <1>$id</1>
217
                        <2><_if name="if indirect voucher"><else>$catalogNumber</else></_if></2>
218
                    </_alt>
219
                </sourceaccessioncode>
214
                <authortaxoncode><_if name="if indirect voucher"><else>$catalogNumber</else></_if></authortaxoncode>
215
                <sourceaccessioncode>$id</sourceaccessioncode>
220 216
                <taxondetermination>
221 217
                    <isoriginal>true</isoriginal>
222 218
                    <role>identifier</role>
mappings/VegCSV-VegBIEN.specimens.csv
71 71
previousTag,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
72 72
relativePlotX,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,
73 73
relativePlotY,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,
74
voucherType,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
75
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
76
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2,
77
scientificName,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/3,
74 78
growthForm,/location/locationevent/taxonoccurrence/growthform,
75
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
76
voucherType,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
77
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
78
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3,
79
scientificName,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/4,
79
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
80 80
computer.scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname",
81 81
computer.taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",
82 82
computer.infraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last",
mappings/for_review/VegCSV-VegBIEN.specimens.csv
71 71
previousTag,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag:[../stemtag?[iscurrent=true]/iscurrent=false]/tag,
72 72
relativePlotX,//stemobservation/xposition,
73 73
relativePlotY,//stemobservation/yposition,
74
voucherType,"//taxonoccurrence/authortaxoncode/_if[@name=""if indirect voucher""]/cond",
75
catalogNumber,"//taxonoccurrence/authortaxoncode/_if[@name=""if indirect voucher""]/else",
76
recordNumber,//taxonoccurrence/authortaxoncode,
77
scientificName,//taxonoccurrence/authortaxoncode,
74 78
growthForm,//taxonoccurrence/growthform,
75 79
occurrenceID,//taxonoccurrence/sourceaccessioncode,
76
voucherType,"//taxonoccurrence/sourceaccessioncode/_if[@name=""if indirect voucher""]/cond",
77
catalogNumber,"//taxonoccurrence/sourceaccessioncode/_if[@name=""if indirect voucher""]/else",
78
recordNumber,//taxonoccurrence/sourceaccessioncode,
79
scientificName,//taxonoccurrence/sourceaccessioncode,
80 80
computer.scientificNameAuthorship,//plantconcept/plantname_id[rank=authority]/plantname,
81 81
computer.taxonRank,//plantconcept/plantname_id[rank=subspecies]/plantname,
82 82
computer.infraspecificEpithet,//plantconcept/plantname_id[rank=subspecies]/plantname,
mappings/DwC.cs-VegBIEN.specimens.csv
73 73
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
74 74
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
75 75
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
76
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
77
collectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
78
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
76 79
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value",
77 80
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
78
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
79
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
80
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
81
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
82
collectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
83
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
81
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode,
82
id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
83
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
84 84
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
85 85
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
86 86
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/UNCC/maps/VegBIEN.specimens.csv
25 25
collectno,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/1,
26 26
herbarium,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
27 27
accession,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
28
collectno,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
28 29
cultivated,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value/_map:[Y=cultivated,N=wild,*=]/value",Ignore other values
29 30
cultivated,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value/_map:[Y=cultivated,N=wild,*=]/value",Ignore other values
30
accession,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
31
collectno,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
31
accession,/location/locationevent/taxonoccurrence/sourceaccessioncode,
32 32
SciName,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname",
33 33
authors,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname",
34 34
infraname,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",
inputs/ACAD/test/import.specimens.xml.ref
92 92
                        </specimenreplicate>
93 93
                    </plantobservation>
94 94
                </aggregateoccurrence>
95
                <sourceaccessioncode>
95
                <authortaxoncode>
96 96
                    <_alt>
97
                        <1>$id</1>
98
                        <2><_if name="if indirect voucher"><else>$catalogNumber</else></_if></2>
99
                        <3>$recordNumber</3>
97
                        <1><_if name="if indirect voucher"><else>$catalogNumber</else></_if></1>
98
                        <2>$recordNumber</2>
100 99
                    </_alt>
101
                </sourceaccessioncode>
100
                </authortaxoncode>
101
                <sourceaccessioncode>$id</sourceaccessioncode>
102 102
                <taxondetermination>
103 103
                    <isoriginal>true</isoriginal>
104 104
                    <role>identifier</role>
inputs/ACAD/maps/VegBIEN.specimens.csv
21 21
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/2,
22 22
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
23 23
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
24
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
25
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
26
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
24
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
25
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
26
id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
27 27
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
28 28
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
29 29
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/CVS/test/import.organisms.xml.ref
52 52
            <obsstartdate><_date><date><_dateRangeStart><value>$obsStartDate</value></_dateRangeStart></date></_date></obsstartdate>
53 53
            <taxonoccurrence>
54 54
                <aggregateoccurrence><cover>$%cover</cover></aggregateoccurrence>
55
                <sourceaccessioncode>$currentTaxonName sec Weakley 2006</sourceaccessioncode>
55
                <authortaxoncode>$currentTaxonName sec Weakley 2006</authortaxoncode>
56 56
                <taxondetermination>
57 57
                    <isoriginal>true</isoriginal>
58 58
                    <role>identifier</role>
inputs/CVS/maps/VegBIEN.organisms.csv
10 10
authorObsCode,/location/locationevent/authoreventcode,
11 11
obsStartDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value,
12 12
%cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,
13
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/4,
13
currentTaxonName sec Weakley 2006,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/3,
14 14
currentTaxonName sec Weakley 2006,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname",
15 15
confidentialityStatus,,** No input mapping for confidentialityStatus ** 
inputs/SALVIAS-CSV/test/import.organisms.xml.ref
139 139
                        </stemobservation>
140 140
                    </plantobservation>
141 141
                </aggregateoccurrence>
142
                <authortaxoncode>
143
                    <_alt>
144
                        <1>
145
                            <_if name="if indirect voucher">
146
                                <cond>
147
                                    <_eq>
148
                                        <right>indirect</right>
149
                                        <left>$det_type</left>
150
                                    </_eq>
151
                                </cond>
152
                                <else>
153
                                    <_alt>
154
                                        <1>$coll_number</1>
155
                                        <2>$voucher_string</2>
156
                                    </_alt>
157
                                </else>
158
                            </_if>
159
                        </1>
160
                        <2>$individual_code</2>
161
                        <3><_name><last>$orig_species</last></_name></3>
162
                    </_alt>
163
                </authortaxoncode>
142 164
                <growthform>
143 165
                    <_map>
144 166
                        <T>tree</T>
......
160 182
                        <value>$habit</value>
161 183
                    </_map>
162 184
                </growthform>
163
                <sourceaccessioncode>
164
                    <_alt>
165
                        <1>$OBSERVATION_ID</1>
166
                        <2>
167
                            <_if name="if indirect voucher">
168
                                <cond>
169
                                    <_eq>
170
                                        <right>indirect</right>
171
                                        <left>$det_type</left>
172
                                    </_eq>
173
                                </cond>
174
                                <else>
175
                                    <_alt>
176
                                        <1>$coll_number</1>
177
                                        <2>$voucher_string</2>
178
                                    </_alt>
179
                                </else>
180
                            </_if>
181
                        </2>
182
                        <3>$individual_code</3>
183
                        <4><_name><last>$orig_species</last></_name></4>
184
                    </_alt>
185
                </sourceaccessioncode>
185
                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
186 186
                <taxondetermination>
187 187
                    <role>computer</role>
188 188
                    <plantconcept_id>
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv
37 37
stem_tag2,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag/_alt/2,Brad: see above
38 38
x_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
39 39
y_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,Brad: See comment above for x_position
40
det_type,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
41
coll_number,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
42
voucher_string,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
43
individual_code,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
44
orig_species,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/3/_name/last,Brad: OMIT
40 45
habit,"/location/locationevent/taxonoccurrence/growthform/_map:[./{T,Arbol,palm}=tree,./{H,""Hemiepífito""}=hemiepiphyte,./{L,l,""L?"",Liana}=liana,E=epiphyte,S=shrub,Hb=herb,""vine-herbaceous""=vine,graminoid=grass,rosette=forb,*=]/value","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
41
OBSERVATION_ID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
42
det_type,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
43
coll_number,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
44
voucher_string,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
45
individual_code,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
46
orig_species,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/4/_name/last,Brad: OMIT
46
OBSERVATION_ID,/location/locationevent/taxonoccurrence/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
47 47
specific_authority,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
48 48
infra_rank_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",
49 49
infra_ep_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last",
inputs/REMIB/maps/VegBIEN.specimens.csv
18 18
accession_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
19 19
acronym,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
20 20
accession_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
21
accession_number,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
21
accession_number,/location/locationevent/taxonoccurrence/sourceaccessioncode,
22 22
specificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",
23 23
genus,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",
24 24
family,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",
inputs/SALVIAS/test/import.organisms.xml.ref
111 111
                        </stemobservation>
112 112
                    </plantobservation>
113 113
                </aggregateoccurrence>
114
                <authortaxoncode>
115
                    <_alt>
116
                        <1>
117
                            <_if name="if indirect voucher">
118
                                <cond>
119
                                    <_eq>
120
                                        <right>indirect</right>
121
                                        <left>$DetType</left>
122
                                    </_eq>
123
                                </cond>
124
                                <else>
125
                                    <_alt>
126
                                        <1>$coll_number</1>
127
                                        <2>$SourceVoucher</2>
128
                                    </_alt>
129
                                </else>
130
                            </_if>
131
                        </1>
132
                        <2>$Ind</2>
133
                        <3>
134
                            <_name>
135
                                <first>$OrigGenus</first>
136
                                <last>$OrigSpecies</last>
137
                            </_name>
138
                        </3>
139
                    </_alt>
140
                </authortaxoncode>
114 141
                <growthform>
115 142
                    <_map>
116 143
                        <T>tree</T>
......
132 159
                        <value>$Habit</value>
133 160
                    </_map>
134 161
                </growthform>
135
                <sourceaccessioncode>
136
                    <_alt>
137
                        <1>$PlotObsID</1>
138
                        <2>
139
                            <_if name="if indirect voucher">
140
                                <cond>
141
                                    <_eq>
142
                                        <right>indirect</right>
143
                                        <left>$DetType</left>
144
                                    </_eq>
145
                                </cond>
146
                                <else>
147
                                    <_alt>
148
                                        <1>$coll_number</1>
149
                                        <2>$SourceVoucher</2>
150
                                    </_alt>
151
                                </else>
152
                            </_if>
153
                        </2>
154
                        <3>$Ind</3>
155
                        <4>
156
                            <_name>
157
                                <first>$OrigGenus</first>
158
                                <last>$OrigSpecies</last>
159
                            </_name>
160
                        </4>
161
                    </_alt>
162
                </sourceaccessioncode>
162
                <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
163 163
                <taxondetermination>
164 164
                    <role>computer</role>
165 165
                    <plantconcept_id>
inputs/SALVIAS/maps/VegBIEN.stems.csv
13 13
stem_height_first_branch_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/heightfirstbranch,
14 14
stem_tag1,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true]/tag",Quotes sort it before tag2
15 15
stem_tag2,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
16
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
16
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
17 17
origrecord_id_stems,,** No input mapping for origrecord_id_stems ** 
18 18
stem_id,,** No input mapping for stem_id ** 
19 19
tmp_del,,** No input mapping for tmp_del ** 
inputs/SALVIAS/maps/VegBIEN.organisms.csv
40 40
tag2,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,"Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
41 41
x_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX."
42 42
y_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,Brad: See comment above for x_position
43
DetType,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
44
coll_number,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
45
SourceVoucher,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
46
Ind,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
47
OrigGenus,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/3/_name/first,
48
OrigSpecies,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/3/_name/last,Brad: OMIT
43 49
Habit,"/location/locationevent/taxonoccurrence/growthform/_map:[./{T,Arbol,palm}=tree,./{H,""Hemiepífito""}=hemiepiphyte,./{L,l,""L?"",Liana}=liana,E=epiphyte,S=shrub,Hb=herb,""vine-herbaceous""=vine,graminoid=grass,rosette=forb,*=]/value","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
44
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
45
DetType,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
46
coll_number,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
47
SourceVoucher,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
48
Ind,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
49
OrigGenus,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/4/_name/first,
50
OrigSpecies,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/4/_name/last,Brad: OMIT
50
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
51 51
auth,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname",Brad: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.
52 52
infra_rank_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",
53 53
infra_ep_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/last",
inputs/U/test/import.specimens.xml.ref
154 154
                        </specimenreplicate>
155 155
                    </plantobservation>
156 156
                </aggregateoccurrence>
157
                <sourceaccessioncode>
157
                <authortaxoncode>
158 158
                    <_alt>
159
                        <1>$ID</1>
160
                        <2><_if name="if indirect voucher"><else>$Barcode</else></_if></2>
161
                        <3>$Number</3>
159
                        <1><_if name="if indirect voucher"><else>$Barcode</else></_if></1>
160
                        <2>$Number</2>
162 161
                    </_alt>
163
                </sourceaccessioncode>
162
                </authortaxoncode>
163
                <sourceaccessioncode>$ID</sourceaccessioncode>
164 164
                <taxondetermination>
165 165
                    <isoriginal>true</isoriginal>
166 166
                    <role>identifier</role>
inputs/U/maps/VegBIEN.specimens.csv
19 19
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
20 20
Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/2,
21 21
ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
22
ID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
23
Barcode,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
24
Number,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
22
Barcode,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
23
Number,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
24
ID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
25 25
Detby,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
26 26
Detby,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
27 27
Detby,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/ARIZ/test/import.specimens.xml.ref
321 321
                        </specimenreplicate>
322 322
                    </plantobservation>
323 323
                </aggregateoccurrence>
324
                <sourceaccessioncode>
324
                <authortaxoncode>
325 325
                    <_alt>
326
                        <1>$GlobalUniqueIdentifier</1>
327
                        <2><_if name="if indirect voucher"><else>$CatalogNumberNumeric</else></_if></2>
328
                        <3>
326
                        <1><_if name="if indirect voucher"><else>$CatalogNumberNumeric</else></_if></1>
327
                        <2>
329 328
                            <_alt>
330 329
                                <1>$CollectorNumber</1>
331 330
                                <2>$FieldNumber</2>
332 331
                            </_alt>
333
                        </3>
332
                        </2>
334 333
                    </_alt>
335
                </sourceaccessioncode>
334
                </authortaxoncode>
335
                <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
336 336
                <taxondetermination>
337 337
                    <isoriginal>true</isoriginal>
338 338
                    <role>identifier</role>
inputs/ARIZ/maps/VegBIEN.specimens.csv
43 43
FieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/2,Usage inconsistent with DwC definition
44 44
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
45 45
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
46
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
47
CatalogNumberNumeric,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
48
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
49
FieldNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,Usage inconsistent with DwC definition
46
CatalogNumberNumeric,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
47
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
48
FieldNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,Usage inconsistent with DwC definition
49
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode,
50 50
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
51 51
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
52 52
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/GBIF/test/import.specimens.xml.ref
166 166
                        </specimenreplicate>
167 167
                    </plantobservation>
168 168
                </aggregateoccurrence>
169
                <sourceaccessioncode><_if name="if indirect voucher"><else>$CatalogNO</else></_if></sourceaccessioncode>
169
                <authortaxoncode><_if name="if indirect voucher"><else>$CatalogNO</else></_if></authortaxoncode>
170 170
                <taxondetermination>
171 171
                    <isoriginal>true</isoriginal>
172 172
                    <role>identifier</role>
inputs/GBIF/maps/VegBIEN.specimens.csv
20 20
CatalogNO,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
21 21
CollectionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
22 22
InstitutionCD,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
23
CatalogNO,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
23
CatalogNO,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
24 24
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
25 25
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
26 26
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/NCU-NCSC/test/import.specimens.xml.ref
84 84
                        </specimenreplicate>
85 85
                    </plantobservation>
86 86
                </aggregateoccurrence>
87
                <authortaxoncode><_if name="if indirect voucher"><else>$Barcode</else></_if></authortaxoncode>
87 88
                <iscultivated>
88 89
                    <_map>
89 90
                        <cultivated>t</cultivated>
......
112 113
                        </value>
113 114
                    </_map>
114 115
                </isnative>
115
                <sourceaccessioncode>
116
                    <_alt>
117
                        <1>$Accession Number</1>
118
                        <2><_if name="if indirect voucher"><else>$Barcode</else></_if></2>
119
                    </_alt>
120
                </sourceaccessioncode>
116
                <sourceaccessioncode>$Accession Number</sourceaccessioncode>
121 117
                <taxondetermination>
122 118
                    <isoriginal>true</isoriginal>
123 119
                    <role>identifier</role>
inputs/NCU-NCSC/maps/VegBIEN.specimens.csv
16 16
Barcode,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
17 17
SeriesName,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
18 18
Accession Number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
19
Barcode,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
19 20
Cultivated?,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value/_map:[Yes=cultivated,No=wild]/value",
20 21
Cultivated?,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value/_map:[Yes=cultivated,No=wild]/value",
21
Accession Number,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
22
Barcode,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
22
Accession Number,/location/locationevent/taxonoccurrence/sourceaccessioncode,
23 23
Full Taxon Name,"/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname",
24 24
Alt E/W,,** No input mapping for Alt E/W ** 
25 25
Alt N/S,,** No input mapping for Alt N/S ** 
inputs/SpeciesLink/maps/VegBIEN.specimens.csv
73 73
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
74 74
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
75 75
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
76
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
77
CatalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
78
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
79
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
80
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
76
CatalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
77
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
78
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
79
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
80
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode,
81 81
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
82 82
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
83 83
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
inputs/MO/maps/VegBIEN.specimens.csv
29 29
CollectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
30 30
CollectorNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber/_alt/1,
31 31
InstitutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
32
CatalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
33
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
32
CatalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
33
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
34 34
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
35 35
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
36 36
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
inputs/QMOR/maps/VegBIEN.specimens.csv
31 31
collectionID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_merge/2,
32 32
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
33 33
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
34
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
35
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
34
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
35
id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
36 36
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
37 37
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
38 38
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
mappings/DwC2-VegBIEN.specimens.csv
39 39
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectionnumber,
40 40
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/party/organizationname,
41 41
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
42
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
43
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2,
42 44
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value",
43 45
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
44
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
45
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
46
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3,
46
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
47 47
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
48 48
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,
49 49
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/surname/_namePart/last,
mappings/DwC-VegBIEN.specimens.csv
147 147
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
148 148
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
149 149
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
150
CatalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
151
catalogNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_alt/1/_if[@name=""if indirect voucher""]/else",
152
CollectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
153
collectorNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/1,
154
RecordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
155
recordNumber,/location/locationevent/taxonoccurrence/authortaxoncode/_alt/2/_alt/2,
150 156
EstablishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value",
151 157
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_map:[cultivated=t,wild=f,*=]/value",
152 158
EstablishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
153 159
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
154
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
155
Id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
156
OccurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
157
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
158
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
159
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,
160
CatalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
161
catalogNumber,"/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2/_if[@name=""if indirect voucher""]/else",
162
CollectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
163
collectorNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/1,
164
RecordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
165
recordNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_alt/2,
160
GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode,
161
Id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
162
OccurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
163
globalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode,
164
id,/location/locationevent/taxonoccurrence/sourceaccessioncode,
165
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode,
166 166
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
167 167
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/givenname/_namePart/first,
168 168
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/*_id/party/middlename/_namePart/middle,

Also available in: Unified diff