Project

General

Profile

« Previous | Next » 

Revision 610

VegX-VegBIEN mapping: Avoid using a dummy taxondetermination with role=collector

View differences:

test/accepted_output/SALVIAS.organisms.VegBIEN.xml
26 26
                <authorplantcode>607771</authorplantcode>
27 27
            </individualplant>
28 28
        </aggregateoccurrence>
29
        <definedvalue fkey="tableRecord_ID">
30
            <userdefined_id>
31
                <userdefined>
32
                    <tablename>taxonoccurrence</tablename>
33
                    <userdefinedname>censusNo</userdefinedname>
34
                </userdefined>
35
            </userdefined_id>
36
            <definedvalue>1</definedvalue>
37
        </definedvalue>
38
        <definedvalue fkey="tableRecord_ID">
39
            <userdefined_id>
40
                <userdefined>
41
                    <tablename>taxonoccurrence</tablename>
42
                    <userdefinedname>habit</userdefinedname>
43
                </userdefined>
44
            </userdefined_id>
45
            <definedvalue>T</definedvalue>
46
        </definedvalue>
47
        <definedvalue fkey="tableRecord_ID">
48
            <userdefined_id>
49
                <userdefined>
50
                    <tablename>taxonoccurrence</tablename>
51
                    <userdefinedname>individualCode</userdefinedname>
52
                </userdefined>
53
            </userdefined_id>
54
            <definedvalue>10</definedvalue>
55
        </definedvalue>
29 56
        <specimen>
30 57
            <reference_id>
31 58
                <reference/>
......
41 68
        <taxondetermination>
42 69
            <role_id>
43 70
                <role>
44
                    <rolecode>collector</rolecode>
45
                </role>
46
            </role_id>
47
            <definedvalue fkey="tableRecord_ID">
48
                <userdefined_id>
49
                    <userdefined>
50
                        <tablename>taxondetermination</tablename>
51
                        <userdefinedname>censusNo</userdefinedname>
52
                    </userdefined>
53
                </userdefined_id>
54
                <definedvalue>1</definedvalue>
55
            </definedvalue>
56
            <definedvalue fkey="tableRecord_ID">
57
                <userdefined_id>
58
                    <userdefined>
59
                        <tablename>taxondetermination</tablename>
60
                        <userdefinedname>habit</userdefinedname>
61
                    </userdefined>
62
                </userdefined_id>
63
                <definedvalue>T</definedvalue>
64
            </definedvalue>
65
            <determinationtype>Author</determinationtype>
66
            <currentdetermination>true</currentdetermination>
67
            <definedvalue fkey="tableRecord_ID">
68
                <userdefined_id>
69
                    <userdefined>
70
                        <tablename>taxondetermination</tablename>
71
                        <userdefinedname>individualCode</userdefinedname>
72
                    </userdefined>
73
                </userdefined_id>
74
                <definedvalue>10</definedvalue>
75
            </definedvalue>
76
            <originaldetermination>true</originaldetermination>
77
            <plantconcept_id>
78
                <plantconcept>
79
                    <plantname_id>
80
                        <plantname>
81
                            <plantname>Inga indet</plantname>
82
                        </plantname>
83
                    </plantname_id>
84
                </plantconcept>
85
            </plantconcept_id>
86
        </taxondetermination>
87
        <taxondetermination>
88
            <role_id>
89
                <role>
90 71
                    <rolecode>computer</rolecode>
91 72
                </role>
92 73
            </role_id>
......
218 199
                <authorplantcode>607722</authorplantcode>
219 200
            </individualplant>
220 201
        </aggregateoccurrence>
202
        <definedvalue fkey="tableRecord_ID">
203
            <userdefined_id>
204
                <userdefined>
205
                    <tablename>taxonoccurrence</tablename>
206
                    <userdefinedname>censusNo</userdefinedname>
207
                </userdefined>
208
            </userdefined_id>
209
            <definedvalue>1</definedvalue>
210
        </definedvalue>
211
        <definedvalue fkey="tableRecord_ID">
212
            <userdefined_id>
213
                <userdefined>
214
                    <tablename>taxonoccurrence</tablename>
215
                    <userdefinedname>habit</userdefinedname>
216
                </userdefined>
217
            </userdefined_id>
218
            <definedvalue>T</definedvalue>
219
        </definedvalue>
220
        <definedvalue fkey="tableRecord_ID">
221
            <userdefined_id>
222
                <userdefined>
223
                    <tablename>taxonoccurrence</tablename>
224
                    <userdefinedname>individualCode</userdefinedname>
225
                </userdefined>
226
            </userdefined_id>
227
            <definedvalue>100</definedvalue>
228
        </definedvalue>
221 229
        <specimen>
222 230
            <reference_id>
223 231
                <reference/>
......
233 241
        <taxondetermination>
234 242
            <role_id>
235 243
                <role>
236
                    <rolecode>collector</rolecode>
237
                </role>
238
            </role_id>
239
            <definedvalue fkey="tableRecord_ID">
240
                <userdefined_id>
241
                    <userdefined>
242
                        <tablename>taxondetermination</tablename>
243
                        <userdefinedname>censusNo</userdefinedname>
244
                    </userdefined>
245
                </userdefined_id>
246
                <definedvalue>1</definedvalue>
247
            </definedvalue>
248
            <definedvalue fkey="tableRecord_ID">
249
                <userdefined_id>
250
                    <userdefined>
251
                        <tablename>taxondetermination</tablename>
252
                        <userdefinedname>habit</userdefinedname>
253
                    </userdefined>
254
                </userdefined_id>
255
                <definedvalue>T</definedvalue>
256
            </definedvalue>
257
            <determinationtype>Author</determinationtype>
258
            <currentdetermination>true</currentdetermination>
259
            <definedvalue fkey="tableRecord_ID">
260
                <userdefined_id>
261
                    <userdefined>
262
                        <tablename>taxondetermination</tablename>
263
                        <userdefinedname>individualCode</userdefinedname>
264
                    </userdefined>
265
                </userdefined_id>
266
                <definedvalue>100</definedvalue>
267
            </definedvalue>
268
            <originaldetermination>true</originaldetermination>
269
            <plantconcept_id>
270
                <plantconcept>
271
                    <plantname_id>
272
                        <plantname>
273
                            <plantname>Virola pavonis</plantname>
274
                        </plantname>
275
                    </plantname_id>
276
                </plantconcept>
277
            </plantconcept_id>
278
        </taxondetermination>
279
        <taxondetermination>
280
            <role_id>
281
                <role>
282 244
                    <rolecode>computer</rolecode>
283 245
                </role>
284 246
            </role_id>
test/accepted_output/SALVIAS_db.organisms.VegBIEN.xml
12 12
                <authorplantcode>1</authorplantcode>
13 13
            </individualplant>
14 14
        </aggregateoccurrence>
15
        <definedvalue fkey="tableRecord_ID">
16
            <userdefined_id>
17
                <userdefined>
18
                    <tablename>taxonoccurrence</tablename>
19
                    <userdefinedname>censusNo</userdefinedname>
20
                </userdefined>
21
            </userdefined_id>
22
            <definedvalue>1</definedvalue>
23
        </definedvalue>
24
        <definedvalue fkey="tableRecord_ID">
25
            <userdefined_id>
26
                <userdefined>
27
                    <tablename>taxonoccurrence</tablename>
28
                    <userdefinedname>habit</userdefinedname>
29
                </userdefined>
30
            </userdefined_id>
31
            <definedvalue>T</definedvalue>
32
        </definedvalue>
33
        <definedvalue fkey="tableRecord_ID">
34
            <userdefined_id>
35
                <userdefined>
36
                    <tablename>taxonoccurrence</tablename>
37
                    <userdefinedname>individualCode</userdefinedname>
38
                </userdefined>
39
            </userdefined_id>
40
            <definedvalue>1</definedvalue>
41
        </definedvalue>
42
        <definedvalue fkey="tableRecord_ID">
43
            <userdefined_id>
44
                <userdefined>
45
                    <tablename>taxonoccurrence</tablename>
46
                    <userdefinedname>voucherType</userdefinedname>
47
                </userdefined>
48
            </userdefined_id>
49
            <definedvalue>direct</definedvalue>
50
        </definedvalue>
15 51
        <taxondetermination>
16 52
            <role_id>
17 53
                <role>
18
                    <rolecode>collector</rolecode>
19
                </role>
20
            </role_id>
21
            <definedvalue fkey="tableRecord_ID">
22
                <userdefined_id>
23
                    <userdefined>
24
                        <tablename>taxondetermination</tablename>
25
                        <userdefinedname>censusNo</userdefinedname>
26
                    </userdefined>
27
                </userdefined_id>
28
                <definedvalue>1</definedvalue>
29
            </definedvalue>
30
            <definedvalue fkey="tableRecord_ID">
31
                <userdefined_id>
32
                    <userdefined>
33
                        <tablename>taxondetermination</tablename>
34
                        <userdefinedname>determinationType</userdefinedname>
35
                    </userdefined>
36
                </userdefined_id>
37
                <definedvalue>direct</definedvalue>
38
            </definedvalue>
39
            <definedvalue fkey="tableRecord_ID">
40
                <userdefined_id>
41
                    <userdefined>
42
                        <tablename>taxondetermination</tablename>
43
                        <userdefinedname>habit</userdefinedname>
44
                    </userdefined>
45
                </userdefined_id>
46
                <definedvalue>T</definedvalue>
47
            </definedvalue>
48
            <determinationtype>Author</determinationtype>
49
            <currentdetermination>true</currentdetermination>
50
            <definedvalue fkey="tableRecord_ID">
51
                <userdefined_id>
52
                    <userdefined>
53
                        <tablename>taxondetermination</tablename>
54
                        <userdefinedname>individualCode</userdefinedname>
55
                    </userdefined>
56
                </userdefined_id>
57
                <definedvalue>1</definedvalue>
58
            </definedvalue>
59
            <originaldetermination>true</originaldetermination>
60
            <plantconcept_id>
61
                <plantconcept>
62
                    <plantname_id>
63
                        <plantname>
64
                            <plantname>seleri</plantname>
65
                        </plantname>
66
                    </plantname_id>
67
                </plantconcept>
68
            </plantconcept_id>
69
        </taxondetermination>
70
        <taxondetermination>
71
            <role_id>
72
                <role>
73 54
                    <rolecode>computer</rolecode>
74 55
                </role>
75 56
            </role_id>
......
173 154
            <originaldetermination>true</originaldetermination>
174 155
            <currentdetermination>true</currentdetermination>
175 156
        </taxondetermination>
176
        <specimen>
177
            <reference_id>
178
                <reference/>
179
            </reference_id>
180
            <sourceaccessioncode>1</sourceaccessioncode>
181
        </specimen>
182 157
        <taxondetermination>
183 158
            <role_id>
184 159
                <role>
......
201 176
            <originaldetermination>true</originaldetermination>
202 177
            <currentdetermination>true</currentdetermination>
203 178
        </taxondetermination>
179
        <specimen>
180
            <reference_id>
181
                <reference/>
182
            </reference_id>
183
            <sourceaccessioncode>1</sourceaccessioncode>
184
        </specimen>
204 185
    </taxonoccurrence>
205 186
    <taxonoccurrence id="1">
206 187
        <locationevent_id>
......
214 195
                <authorplantcode>2</authorplantcode>
215 196
            </individualplant>
216 197
        </aggregateoccurrence>
198
        <definedvalue fkey="tableRecord_ID">
199
            <userdefined_id>
200
                <userdefined>
201
                    <tablename>taxonoccurrence</tablename>
202
                    <userdefinedname>censusNo</userdefinedname>
203
                </userdefined>
204
            </userdefined_id>
205
            <definedvalue>1</definedvalue>
206
        </definedvalue>
207
        <definedvalue fkey="tableRecord_ID">
208
            <userdefined_id>
209
                <userdefined>
210
                    <tablename>taxonoccurrence</tablename>
211
                    <userdefinedname>habit</userdefinedname>
212
                </userdefined>
213
            </userdefined_id>
214
            <definedvalue>T</definedvalue>
215
        </definedvalue>
216
        <definedvalue fkey="tableRecord_ID">
217
            <userdefined_id>
218
                <userdefined>
219
                    <tablename>taxonoccurrence</tablename>
220
                    <userdefinedname>individualCode</userdefinedname>
221
                </userdefined>
222
            </userdefined_id>
223
            <definedvalue>2</definedvalue>
224
        </definedvalue>
225
        <definedvalue fkey="tableRecord_ID">
226
            <userdefined_id>
227
                <userdefined>
228
                    <tablename>taxonoccurrence</tablename>
229
                    <userdefinedname>voucherType</userdefinedname>
230
                </userdefined>
231
            </userdefined_id>
232
            <definedvalue>direct</definedvalue>
233
        </definedvalue>
217 234
        <taxondetermination>
218 235
            <role_id>
219 236
                <role>
220
                    <rolecode>collector</rolecode>
221
                </role>
222
            </role_id>
223
            <definedvalue fkey="tableRecord_ID">
224
                <userdefined_id>
225
                    <userdefined>
226
                        <tablename>taxondetermination</tablename>
227
                        <userdefinedname>censusNo</userdefinedname>
228
                    </userdefined>
229
                </userdefined_id>
230
                <definedvalue>1</definedvalue>
231
            </definedvalue>
232
            <definedvalue fkey="tableRecord_ID">
233
                <userdefined_id>
234
                    <userdefined>
235
                        <tablename>taxondetermination</tablename>
236
                        <userdefinedname>determinationType</userdefinedname>
237
                    </userdefined>
238
                </userdefined_id>
239
                <definedvalue>direct</definedvalue>
240
            </definedvalue>
241
            <definedvalue fkey="tableRecord_ID">
242
                <userdefined_id>
243
                    <userdefined>
244
                        <tablename>taxondetermination</tablename>
245
                        <userdefinedname>habit</userdefinedname>
246
                    </userdefined>
247
                </userdefined_id>
248
                <definedvalue>T</definedvalue>
249
            </definedvalue>
250
            <determinationtype>Author</determinationtype>
251
            <currentdetermination>true</currentdetermination>
252
            <definedvalue fkey="tableRecord_ID">
253
                <userdefined_id>
254
                    <userdefined>
255
                        <tablename>taxondetermination</tablename>
256
                        <userdefinedname>individualCode</userdefinedname>
257
                    </userdefined>
258
                </userdefined_id>
259
                <definedvalue>2</definedvalue>
260
            </definedvalue>
261
            <originaldetermination>true</originaldetermination>
262
            <plantconcept_id>
263
                <plantconcept>
264
                    <plantname_id>
265
                        <plantname>
266
                            <plantname>allenii</plantname>
267
                        </plantname>
268
                    </plantname_id>
269
                </plantconcept>
270
            </plantconcept_id>
271
        </taxondetermination>
272
        <taxondetermination>
273
            <role_id>
274
                <role>
275 237
                    <rolecode>computer</rolecode>
276 238
                </role>
277 239
            </role_id>
......
375 337
            <originaldetermination>true</originaldetermination>
376 338
            <currentdetermination>true</currentdetermination>
377 339
        </taxondetermination>
378
        <specimen>
379
            <reference_id>
380
                <reference/>
381
            </reference_id>
382
            <sourceaccessioncode>2</sourceaccessioncode>
383
        </specimen>
384 340
        <taxondetermination>
385 341
            <role_id>
386 342
                <role>
......
403 359
            <originaldetermination>true</originaldetermination>
404 360
            <currentdetermination>true</currentdetermination>
405 361
        </taxondetermination>
362
        <specimen>
363
            <reference_id>
364
                <reference/>
365
            </reference_id>
366
            <sourceaccessioncode>2</sourceaccessioncode>
367
        </specimen>
406 368
    </taxonoccurrence>
407 369
</VegBIEN>
test/accepted_output/NYBG.organisms.VegBIEN.xml
87 87
        <taxondetermination>
88 88
            <role_id>
89 89
                <role>
90
                    <rolecode>collector</rolecode>
90
                    <rolecode>identifier</rolecode>
91 91
                </role>
92 92
            </role_id>
93 93
            <determinationtype>Author</determinationtype>
......
200 200
            <plantconcept_id>
201 201
                <plantconcept>
202 202
                    <plantstatus>
203
                        <plantlevel>Subkingdom</plantlevel>
203
                        <plantlevel>Species</plantlevel>
204 204
                    </plantstatus>
205 205
                    <plantname_id>
206 206
                        <plantname>
207
                            <plantname>Magnoliophyta (flowering plants)</plantname>
207
                            <plantname>estrellensis</plantname>
208 208
                        </plantname>
209 209
                    </plantname_id>
210 210
                </plantconcept>
......
222 222
            <plantconcept_id>
223 223
                <plantconcept>
224 224
                    <plantstatus>
225
                        <plantlevel>Species</plantlevel>
225
                        <plantlevel>Subkingdom</plantlevel>
226 226
                    </plantstatus>
227 227
                    <plantname_id>
228 228
                        <plantname>
229
                            <plantname>estrellensis</plantname>
229
                            <plantname>Magnoliophyta (flowering plants)</plantname>
230 230
                        </plantname>
231 231
                    </plantname_id>
232 232
                </plantconcept>
......
290 290
        <taxondetermination>
291 291
            <role_id>
292 292
                <role>
293
                    <rolecode>collector</rolecode>
293
                    <rolecode>identifier</rolecode>
294 294
                </role>
295 295
            </role_id>
296 296
            <determinationtype>Author</determinationtype>
inputs/SALVIAS/maps/VegBIEN.organisms.csv
10 10
temp_dbh,/aggregateoccurrence/individualplant/stem/diameter,
11 11
x_position,/aggregateoccurrence/individualplant/stem/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."
12 12
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
13
census_no,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
14
Habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
15
Ind,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
16
DetType,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue","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."
13 17
coll_number,/specimen:[*_id/reference]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
14 18
census_date,/specimen:[*_id/reference]/collectiondate/_date/date,
15 19
coll_firstname,"/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
16 20
coll_lastname,/specimen:[*_id/reference]/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
17
census_no,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
18
cfaff,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
19
DetType,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]:[@fkey=tableRecord_ID]/definedvalue","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."
20
Habit,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
21
Ind,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
22
Notes,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/notes",
23 21
auth,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/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.
24 22
Family,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
25 23
Genus,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
26 24
Species,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
27
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}",
25
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/_name/first",
28 26
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
27
cfaff,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
Notes,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/notes",
29 29
OrigFamily,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30
OrigSpecies,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 31
PlotObsID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/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."
31
OrigSpecies,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
mappings/SALVIAS_db-VegBIEN.organisms.csv
10 10
temp_dbh,/aggregateoccurrence/individualplant/stem/diameter,
11 11
x_position,/aggregateoccurrence/individualplant/stem/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."
12 12
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
13
census_no,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
14
Habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
15
Ind,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
16
DetType,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue","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."
13 17
coll_number,/specimen:[*_id/reference]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
14 18
census_date,/specimen:[*_id/reference]/collectiondate/_date/date,
15 19
coll_firstname,"/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
16 20
coll_lastname,/specimen:[*_id/reference]/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
17
census_no,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
18
cfaff,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
19
DetType,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]:[@fkey=tableRecord_ID]/definedvalue","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."
20
Habit,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
21
Ind,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
22
Notes,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/notes",
23 21
auth,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/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.
24 22
Family,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
25 23
Genus,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
26 24
Species,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
27
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}",
25
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/_name/first",
28 26
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
27
cfaff,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
Notes,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/notes",
29 29
OrigFamily,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30
OrigSpecies,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 31
PlotObsID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/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."
31
OrigSpecies,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
mappings/VegX-VegBIEN.organisms.csv
85 85
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=stemHeightM]/value,/aggregateoccurrence/individualplant/stem/height
86 86
/simpleUserdefined[name=xPosition]/value,/aggregateoccurrence/individualplant/stem/xposition
87 87
/simpleUserdefined[name=yPosition]/value,/aggregateoccurrence/individualplant/stem/yposition
88
/simpleUserdefined[name=censusNo]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue"
89
/simpleUserdefined[name=habit]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue"
90
/simpleUserdefined[name=individualCode]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue"
91
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType","/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue"
88 92
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/authorCode,/specimen:[*_id/reference]/catalognumber_dwc
89 93
/simpleUserdefined[name=collectionDate]/value,/specimen:[*_id/reference]/collectiondate
90 94
/simpleUserdefined[name=collectionDate]/value/_date/date,/specimen:[*_id/reference]/collectiondate/_date/date
......
95 99
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName,"/specimen:[*_id/reference]/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
96 100
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/first,/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/first}
97 101
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/last,"/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/last,collectioncode_dwc}"
98
/simpleUserdefined[name=censusNo]/value,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue"
99
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/note","/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue"
100
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType","/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]:[@fkey=tableRecord_ID]/definedvalue"
101
/simpleUserdefined[name=habit]/value,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue"
102
/*ID->/*s/individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]:[@fkey=tableRecord_ID]/definedvalue"
103
/simpleUserdefined[name=individualCode]/value,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue"
104
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/note/text,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/notes"
105
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonName)/Simple","/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/1"
106 102
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=auth])/Name","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
107 103
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=fam])/Name","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
108 104
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=gen])/Name","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
109 105
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/Name","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
110
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=TaxonomicRankBelowSubspeciesEnum])/Rank","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}"
106
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=TaxonomicRankBelowSubspeciesEnum])/Rank","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/_name/first"
111 107
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=TaxonomicRankBelowSubspeciesEnum])/Name","/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last"
108
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/note","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue"
109
/*ID->/*s/individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]:[@fkey=tableRecord_ID]/definedvalue"
112 110
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/date/_date/day","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/day"
113 111
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/date/_date/month","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/month"
114 112
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/date/_date/year","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/year"
115 113
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/partyWithRole/*ID->/parties/party/individualName/{givenName/_namePart/{first,middle},surName/_namePart/last}","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}"
114
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/note/text,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/notes"
115
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonName)/Simple","/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/1"
116 116
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=auth])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
117 117
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=cl])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Class]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
118 118
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=fam])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
119 119
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=gen])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
120 120
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=reg])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Kingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
121 121
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ord])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Order]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
122
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
122 123
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=phyl_div])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname"
123 124
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ssp])/Name","/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname"
124 125
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,"/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode}"
125
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/Name","/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}"
mappings/NYBG-VegBIEN.organisms.csv
23 23
CollectorNumber,/specimen:[*_id/reference]/collectornumber_dwc,"Brad: OMIT; db-specific element, not relevant to VB/VX"
24 24
InstitutionCode,/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/first},
25 25
CollectionCode,"/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/last,collectioncode_dwc}",Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
26
Sex,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]:[@fkey=tableRecord_ID]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
27
Notes,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/notes","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
28
ScientificName,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/1","Brad: Bob, Nick, please is this mapping OK?"
26
Sex,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]:[@fkey=tableRecord_ID]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
29 27
DayIdentified,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/day",
30 28
MonthIdentified,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/month",
31 29
YearIdentified,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/year",
32 30
IdentifiedBy,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Bob: does this look correct for VegBank?
31
Notes,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/notes","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
32
ScientificName,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/1","Brad: Bob, Nick, please is this mapping OK?"
33 33
ScientificNameAuthor,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author"
34 34
Class,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Class]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
35 35
Family,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
36 36
Genus,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
37 37
Kingdom,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Kingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
38 38
Order,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Order]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
39
Species,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
39 40
Phylum,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
40 41
Subspecies,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
41 42
UniqueNYInternalRecordNumber,"/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/sourceaccessioncode}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
42
Species,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
10 10
temp_dbh,//stem/diameter,
11 11
x_position,//stem/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."
12 12
y_position,//stem/yposition,Brad: See comment above for x_position
13
census_no,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
14
Habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
15
Ind,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]/definedvalue","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."
16
DetType,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]/definedvalue","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."
13 17
coll_number,//specimen/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
14 18
census_date,//specimen/collectiondate/_date/date,
15 19
coll_firstname,"/specimen/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
16 20
coll_lastname,/specimen/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
17
census_no,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
18
cfaff,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
19
DetType,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]/definedvalue","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."
20
Habit,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
21
Ind,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]/definedvalue","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."
22
Notes,/taxondetermination[rolecode=collector]/notes,
23 21
auth,"/taxondetermination[rolecode=computer,plantlevel=Authority]/*_id/plantconcept/*_id/*/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.
24 22
Family,"/taxondetermination[rolecode=computer,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",
25 23
Genus,"/taxondetermination[rolecode=computer,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname",
26 24
Species,"/taxondetermination[rolecode=computer,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",
27
infra_rank_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}",
25
infra_rank_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/first",
28 26
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/last",
27
cfaff,"/taxondetermination[rolecode=identifier]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
Notes,/taxondetermination[rolecode=identifier]/notes,
29 29
OrigFamily,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30
OrigSpecies,"/taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
30 31
PlotObsID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/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."
31
OrigSpecies,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
mappings/for_review/VegX-VegBIEN.organisms.csv
85 85
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=stemHeightM]/value,//stem/height
86 86
/simpleUserdefined[name=xPosition]/value,//stem/xposition
87 87
/simpleUserdefined[name=yPosition]/value,//stem/yposition
88
/simpleUserdefined[name=censusNo]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]/definedvalue"
89
/simpleUserdefined[name=habit]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]/definedvalue"
90
/simpleUserdefined[name=individualCode]/value,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]/definedvalue"
91
//*s/taxonDetermination[role=collector]/groupType,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]/definedvalue"
88 92
//taxonNameUsageConcept/authorCode,//specimen/catalognumber_dwc
89 93
/simpleUserdefined[name=collectionDate]/value,//specimen/collectiondate
90 94
/simpleUserdefined[name=collectionDate]/value/_date/date,//specimen/collectiondate/_date/date
......
95 99
//party/organizationName,"/specimen/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
96 100
//party/organizationName/_name/first,/specimen/{museum_id/party/organizationname/_name/first}
97 101
//party/organizationName/_name/last,"/specimen/{museum_id/party/organizationname/_name/last,collectioncode_dwc}"
98
/simpleUserdefined[name=censusNo]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]/definedvalue"
99
//*s/taxonDetermination[role=computer]/note,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue"
100
//*s/taxonDetermination[role=collector]/groupType,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]/definedvalue"
101
/simpleUserdefined[name=habit]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]/definedvalue"
102
//individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue"
103
/simpleUserdefined[name=individualCode]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]/definedvalue"
104
//note/text,/taxondetermination[rolecode=collector]/notes
105
//taxonName/Simple,/taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/1
106 102
//*s/taxonConcept[@code=auth]/Name,"/taxondetermination[rolecode=computer,plantlevel=Authority]/*_id/plantconcept/*_id/*/plantname"
107 103
//*s/taxonConcept[@code=fam]/Name,"/taxondetermination[rolecode=computer,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname"
108 104
//*s/taxonConcept[@code=gen]/Name,"/taxondetermination[rolecode=computer,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname"
109 105
//*s/taxonConcept[@code=sp]/Name,"/taxondetermination[rolecode=computer,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname"
110
//*s/taxonConcept[@code=TaxonomicRankBelowSubspeciesEnum]/Rank,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}"
106
//*s/taxonConcept[@code=TaxonomicRankBelowSubspeciesEnum]/Rank,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/first"
111 107
//*s/taxonConcept[@code=TaxonomicRankBelowSubspeciesEnum]/Name,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/last"
108
//*s/taxonDetermination[role=computer]/note,"/taxondetermination[rolecode=identifier]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue"
109
//individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[rolecode=identifier]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue"
112 110
//*s/taxonDetermination[role=identifier]/date/_date/day,/taxondetermination[rolecode=identifier]/determinationdate/_date/day
113 111
//*s/taxonDetermination[role=identifier]/date/_date/month,/taxondetermination[rolecode=identifier]/determinationdate/_date/month
114 112
//*s/taxonDetermination[role=identifier]/date/_date/year,/taxondetermination[rolecode=identifier]/determinationdate/_date/year
115 113
"//parties/party/individualName/{givenName/_namePart/{first,middle},surName/_namePart/last}","/taxondetermination[rolecode=identifier]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}"
114
//note/text,/taxondetermination[rolecode=identifier]/notes
115
//taxonName/Simple,/taxondetermination[rolecode=identifier]/*_id/plantconcept/*_id/*/plantname/_alt/1
116 116
//*s/taxonConcept[@code=auth]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Authority]/*_id/plantconcept/*_id/*/plantname"
117 117
//*s/taxonConcept[@code=cl]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Class]/*_id/plantconcept/*_id/*/plantname"
118 118
//*s/taxonConcept[@code=fam]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname"
119 119
//*s/taxonConcept[@code=gen]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname"
120 120
//*s/taxonConcept[@code=reg]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Kingdom]/*_id/plantconcept/*_id/*/plantname"
121 121
//*s/taxonConcept[@code=ord]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Order]/*_id/plantconcept/*_id/*/plantname"
122
//*s/taxonConcept[@code=sp]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname"
122 123
//*s/taxonConcept[@code=phyl_div]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname"
123 124
//*s/taxonConcept[@code=ssp]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname"
124 125
//taxonNameUsageConcept/voucher,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode}"
125
//*s/taxonConcept[@code=sp]/Name,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}"
mappings/for_review/NYBG-VegBIEN.organisms.csv
23 23
CollectorNumber,//specimen/collectornumber_dwc,"Brad: OMIT; db-specific element, not relevant to VB/VX"
24 24
InstitutionCode,/specimen/{museum_id/party/organizationname/_name/first},
25 25
CollectionCode,"/specimen/{museum_id/party/organizationname/_name/last,collectioncode_dwc}",Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
26
Sex,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
27
Notes,/taxondetermination[rolecode=collector]/notes,"Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
28
ScientificName,/taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/1,"Brad: Bob, Nick, please is this mapping OK?"
26
Sex,"/taxondetermination[rolecode=identifier]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
29 27
DayIdentified,/taxondetermination[rolecode=identifier]/determinationdate/_date/day,
30 28
MonthIdentified,/taxondetermination[rolecode=identifier]/determinationdate/_date/month,
31 29
YearIdentified,/taxondetermination[rolecode=identifier]/determinationdate/_date/year,
32 30
IdentifiedBy,"/taxondetermination[rolecode=identifier]/*_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Bob: does this look correct for VegBank?
31
Notes,/taxondetermination[rolecode=identifier]/notes,"Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
32
ScientificName,/taxondetermination[rolecode=identifier]/*_id/plantconcept/*_id/*/plantname/_alt/1,"Brad: Bob, Nick, please is this mapping OK?"
33 33
ScientificNameAuthor,"/taxondetermination[rolecode=identifier,plantlevel=Authority]/*_id/plantconcept/*_id/*/plantname","Brad: Mapping probably incorrect. This DwC element refers to scientific name author; does not correspond to the VegBank and VegX elements you have listed (Bob, Nick�where does name author belong in VegBank and VegX?); Aaron: The mapped VegX element is the author linked to the taxon name, so it seems like this is the scientific name author"
34 34
Class,"/taxondetermination[rolecode=identifier,plantlevel=Class]/*_id/plantconcept/*_id/*/plantname",
35 35
Family,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",
36 36
Genus,"/taxondetermination[rolecode=identifier,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname",
37 37
Kingdom,"/taxondetermination[rolecode=identifier,plantlevel=Kingdom]/*_id/plantconcept/*_id/*/plantname",
38 38
Order,"/taxondetermination[rolecode=identifier,plantlevel=Order]/*_id/plantconcept/*_id/*/plantname",
39
Species,"/taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",
39 40
Phylum,"/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname",
40 41
Subspecies,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
41 42
UniqueNYInternalRecordNumber,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/sourceaccessioncode}","Brad: OMIT; Aaron: We need this field because it is the only ID column with an entry in every row; Brad: OK, use this as primary key"
42
Species,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",
mappings/for_review/SALVIAS-VegBIEN.organisms.csv
20 20
stem_dbh,//stem/diameter,
21 21
x_position,//stem/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."
22 22
y_position,//stem/yposition,Brad: See comment above for x_position
23
census_no,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
24
habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
25
individual_code,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]/definedvalue","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."
26
det_type,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]/definedvalue","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."
23 27
coll_number,//specimen/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
24 28
coll_firstname,"/specimen/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
25 29
coll_lastname,/specimen/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
26
census_no,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
27
cf_aff,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
det_type,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]/definedvalue","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."
29
habit,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
30
individual_code,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]/definedvalue","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."
31
notes,/taxondetermination[rolecode=collector]/notes,
32 30
specific_authority,"/taxondetermination[rolecode=computer,plantlevel=Authority]/*_id/plantconcept/*_id/*/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.
33 31
family,"/taxondetermination[rolecode=computer,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",
34 32
genus,"/taxondetermination[rolecode=computer,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname",
35 33
specific_epithet,"/taxondetermination[rolecode=computer,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",
36
infra_rank_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}",
34
infra_rank_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/first",
37 35
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/*_id/plantconcept/_name/last",
36
cf_aff,"/taxondetermination[rolecode=identifier]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
37
notes,/taxondetermination[rolecode=identifier]/notes,
38 38
orig_family,"/taxondetermination[rolecode=identifier,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39
orig_species,"/taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39 40
OBSERVATION_ID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen/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."
40
orig_species,"/{taxondetermination[rolecode=collector]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
mappings/SALVIAS-VegBIEN.organisms.csv
20 20
stem_dbh,/aggregateoccurrence/individualplant/stem/diameter,
21 21
x_position,/aggregateoccurrence/individualplant/stem/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."
22 22
y_position,/aggregateoccurrence/individualplant/stem/yposition,Brad: See comment above for x_position
23
census_no,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
24
habit,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
25
individual_code,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
26
det_type,"/definedvalue[*_id/userdefined[tablename=taxonoccurrence,userdefinedname=voucherType]]:[@fkey=tableRecord_ID]/definedvalue","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."
23 27
coll_number,/specimen:[*_id/reference]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
24 28
coll_firstname,"/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}",Brad: See comment above
25 29
coll_lastname,/specimen:[*_id/reference]/collector_id/party/{surname},"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
26
census_no,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=censusNo]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not."
27
cf_aff,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
28
det_type,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]:[@fkey=tableRecord_ID]/definedvalue","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."
29
habit,"/taxondetermination[role_id/role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait."
30
individual_code,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]:[@fkey=tableRecord_ID]/definedvalue","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."
31
notes,"/taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,currentdetermination=true]/notes",
32 30
specific_authority,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/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.
33 31
family,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
34 32
genus,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
35 33
specific_epithet,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",
36
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept/_name/first}",
34
infra_rank_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/_name/first",
37 35
infra_ep_1,"/taxondetermination[role_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",currentdetermination=true]/*_id/plantconcept/_name/last",
36
cf_aff,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
37
notes,"/taxondetermination[role_id/role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,currentdetermination=true]/notes",
38 38
orig_family,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39
orig_species,"/taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
39 40
OBSERVATION_ID,"/{aggregateoccurrence/individualplant/authorplantcode,specimen:[*_id/reference]/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."
40
orig_species,"/{taxondetermination[role_id/role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname/_alt/2,taxondetermination[role_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true]/*_id/plantconcept/*_id/*/plantname}",Brad: OMIT

Also available in: Unified diff