Project

General

Profile

« Previous | Next » 

Revision 520

VegBIEN: Moved taxondetermination.sourceaccessionnumber and museum_id to specimen

View differences:

test/accepted_output/SALVIAS.organisms.VegBIEN.xml
33 33
                            <surname>Vasquez</surname>
34 34
                        </party>
35 35
                    </collector_id>
36
                    <sourceaccessionnumber>607771</sourceaccessionnumber>
36 37
                </specimen>
37 38
                <stem>
38 39
                    <sourceid>8</sourceid>
39 40
                </stem>
41
                <sourceid>607771</sourceid>
40 42
            </individualplant>
41 43
        </aggregateoccurrence>
42 44
        <taxondetermination>
......
65 67
                </userdefined_id>
66 68
                <definedvalue>T</definedvalue>
67 69
            </definedvalue>
70
            <determinationtype>Author</determinationtype>
71
            <originaldetermination>false</originaldetermination>
72
            <currentdetermination>true</currentdetermination>
73
            <party_id>
74
                <party/>
75
            </party_id>
68 76
            <definedvalue fkey="tableRecord_ID">
69 77
                <userdefined_id>
70 78
                    <userdefined>
......
75 83
                </userdefined_id>
76 84
                <definedvalue>10</definedvalue>
77 85
            </definedvalue>
86
            <originaldetermination>true</originaldetermination>
87
            <determinationdate>epoch</determinationdate>
78 88
            <plantname_id>
79 89
                <plantname>
80 90
                    <plantname>Inga indet</plantname>
81 91
                </plantname>
82 92
            </plantname_id>
83
            <determinationtype>Author</determinationtype>
84
            <originaldetermination>true</originaldetermination>
85
            <currentdetermination>false</currentdetermination>
86
            <determinationdate>epoch</determinationdate>
87
            <party_id>
88
                <party/>
89
            </party_id>
90
            <sourceaccessionnumber>607771</sourceaccessionnumber>
91 93
        </taxondetermination>
92 94
        <taxondetermination>
93 95
            <role_id>
......
318 320
                            <surname>Vasquez</surname>
319 321
                        </party>
320 322
                    </collector_id>
323
                    <sourceaccessionnumber>607722</sourceaccessionnumber>
321 324
                </specimen>
322 325
                <stem>
323 326
                    <sourceid>91</sourceid>
324 327
                </stem>
328
                <sourceid>607722</sourceid>
325 329
            </individualplant>
326 330
        </aggregateoccurrence>
327 331
        <taxondetermination>
......
350 354
                </userdefined_id>
351 355
                <definedvalue>T</definedvalue>
352 356
            </definedvalue>
357
            <determinationtype>Author</determinationtype>
358
            <originaldetermination>false</originaldetermination>
359
            <currentdetermination>true</currentdetermination>
360
            <party_id>
361
                <party/>
362
            </party_id>
353 363
            <definedvalue fkey="tableRecord_ID">
354 364
                <userdefined_id>
355 365
                    <userdefined>
......
360 370
                </userdefined_id>
361 371
                <definedvalue>100</definedvalue>
362 372
            </definedvalue>
373
            <originaldetermination>true</originaldetermination>
374
            <determinationdate>epoch</determinationdate>
363 375
            <plantname_id>
364 376
                <plantname>
365 377
                    <plantname>Virola pavonis</plantname>
366 378
                </plantname>
367 379
            </plantname_id>
368
            <determinationtype>Author</determinationtype>
369
            <originaldetermination>true</originaldetermination>
370
            <currentdetermination>false</currentdetermination>
371
            <determinationdate>epoch</determinationdate>
372
            <party_id>
373
                <party/>
374
            </party_id>
375
            <sourceaccessionnumber>607722</sourceaccessionnumber>
376 380
        </taxondetermination>
377 381
        <taxondetermination>
378 382
            <role_id>
test/accepted_output/SALVIAS_db.organisms.VegBIEN.xml
14 14
        </plotevent_id>
15 15
        <aggregateoccurrence>
16 16
            <count>1</count>
17
            <individualplant>
18
                <sourceid>1</sourceid>
19
                <specimen>
20
                    <reference_id>
21
                        <reference/>
22
                    </reference_id>
23
                    <sourceaccessionnumber>1</sourceaccessionnumber>
24
                </specimen>
25
            </individualplant>
17 26
        </aggregateoccurrence>
18 27
        <taxondetermination>
19 28
            <role_id>
......
51 60
                </userdefined_id>
52 61
                <definedvalue>T</definedvalue>
53 62
            </definedvalue>
63
            <determinationtype>Author</determinationtype>
64
            <originaldetermination>false</originaldetermination>
65
            <currentdetermination>true</currentdetermination>
66
            <party_id>
67
                <party/>
68
            </party_id>
54 69
            <definedvalue fkey="tableRecord_ID">
55 70
                <userdefined_id>
56 71
                    <userdefined>
......
61 76
                </userdefined_id>
62 77
                <definedvalue>1</definedvalue>
63 78
            </definedvalue>
79
            <originaldetermination>true</originaldetermination>
80
            <determinationdate>epoch</determinationdate>
64 81
            <plantname_id>
65 82
                <plantname>
66 83
                    <plantname>seleri</plantname>
67 84
                </plantname>
68 85
            </plantname_id>
69
            <determinationtype>Author</determinationtype>
70
            <originaldetermination>true</originaldetermination>
71
            <currentdetermination>false</currentdetermination>
72
            <determinationdate>epoch</determinationdate>
73
            <party_id>
74
                <party/>
75
            </party_id>
76
            <sourceaccessionnumber>1</sourceaccessionnumber>
77 86
        </taxondetermination>
78 87
        <taxondetermination>
79 88
            <role_id>
......
290 299
        </plotevent_id>
291 300
        <aggregateoccurrence>
292 301
            <count>1</count>
302
            <individualplant>
303
                <sourceid>2</sourceid>
304
                <specimen>
305
                    <reference_id>
306
                        <reference/>
307
                    </reference_id>
308
                    <sourceaccessionnumber>2</sourceaccessionnumber>
309
                </specimen>
310
            </individualplant>
293 311
        </aggregateoccurrence>
294 312
        <taxondetermination>
295 313
            <role_id>
......
327 345
                </userdefined_id>
328 346
                <definedvalue>T</definedvalue>
329 347
            </definedvalue>
348
            <determinationtype>Author</determinationtype>
349
            <originaldetermination>false</originaldetermination>
350
            <currentdetermination>true</currentdetermination>
351
            <party_id>
352
                <party/>
353
            </party_id>
330 354
            <definedvalue fkey="tableRecord_ID">
331 355
                <userdefined_id>
332 356
                    <userdefined>
......
337 361
                </userdefined_id>
338 362
                <definedvalue>2</definedvalue>
339 363
            </definedvalue>
364
            <originaldetermination>true</originaldetermination>
365
            <determinationdate>epoch</determinationdate>
340 366
            <plantname_id>
341 367
                <plantname>
342 368
                    <plantname>allenii</plantname>
343 369
                </plantname>
344 370
            </plantname_id>
345
            <determinationtype>Author</determinationtype>
346
            <originaldetermination>true</originaldetermination>
347
            <currentdetermination>false</currentdetermination>
348
            <determinationdate>epoch</determinationdate>
349
            <party_id>
350
                <party/>
351
            </party_id>
352
            <sourceaccessionnumber>2</sourceaccessionnumber>
353 371
        </taxondetermination>
354 372
        <taxondetermination>
355 373
            <role_id>
test/accepted_output/NYBG.organisms.VegBIEN.xml
56 56
                            <surname>Foster</surname>
57 57
                        </party>
58 58
                    </collector_id>
59
                    <museum_id>
60
                        <party>
61
                            <organizationname>NY Herbarium</organizationname>
62
                        </party>
63
                    </museum_id>
59 64
                    <collectioncode_dwc>Herbarium</collectioncode_dwc>
65
                    <sourceaccessionnumber>816590</sourceaccessionnumber>
60 66
                </specimen>
61 67
                <stem>
62 68
                    <definedvalue fkey="tableRecord_ID">
......
80 86
                        <definedvalue>with rough brown bark, almost no buttressing, 1 m diam; fallen fruit and leaves</definedvalue>
81 87
                    </definedvalue>
82 88
                </stem>
89
                <sourceid>816590</sourceid>
83 90
            </individualplant>
84 91
            <count>1</count>
85 92
        </aggregateoccurrence>
......
293 300
                    <rolecode>collector</rolecode>
294 301
                </aux_role>
295 302
            </role_id>
296
            <plantname_id>
297
                <plantname>
298
                    <plantname>Cariniana estrellensis (Raddi) Kuntze</plantname>
299
                </plantname>
300
            </plantname_id>
301
            <museum_id>
302
                <party>
303
                    <organizationname>NY Herbarium</organizationname>
304
                </party>
305
            </museum_id>
306 303
            <determinationtype>Author</determinationtype>
307 304
            <originaldetermination>true</originaldetermination>
308
            <currentdetermination>false</currentdetermination>
305
            <currentdetermination>true</currentdetermination>
309 306
            <determinationdate>epoch</determinationdate>
310 307
            <party_id>
311 308
                <party/>
312 309
            </party_id>
313
            <sourceaccessionnumber>816590</sourceaccessionnumber>
310
            <plantname_id>
311
                <plantname>
312
                    <plantname>Cariniana estrellensis (Raddi) Kuntze</plantname>
313
                </plantname>
314
            </plantname_id>
314 315
        </taxondetermination>
315 316
        <taxondetermination>
316 317
            <role_id>
......
380 381
                            <surname>Walker</surname>
381 382
                        </party>
382 383
                    </collector_id>
384
                    <museum_id>
385
                        <party>
386
                            <organizationname>NY Herbarium</organizationname>
387
                        </party>
388
                    </museum_id>
383 389
                    <collectioncode_dwc>Herbarium</collectioncode_dwc>
390
                    <sourceaccessionnumber>220541</sourceaccessionnumber>
384 391
                </specimen>
392
                <sourceid>220541</sourceid>
385 393
            </individualplant>
386 394
            <count>1</count>
387 395
        </aggregateoccurrence>
......
508 516
                    <rolecode>collector</rolecode>
509 517
                </aux_role>
510 518
            </role_id>
511
            <plantname_id>
512
                <plantname>
513
                    <plantname>Scrophulariaceae</plantname>
514
                </plantname>
515
            </plantname_id>
516
            <museum_id>
517
                <party>
518
                    <organizationname>NY Herbarium</organizationname>
519
                </party>
520
            </museum_id>
521 519
            <determinationtype>Author</determinationtype>
522 520
            <originaldetermination>true</originaldetermination>
523
            <currentdetermination>false</currentdetermination>
521
            <currentdetermination>true</currentdetermination>
524 522
            <determinationdate>epoch</determinationdate>
525 523
            <party_id>
526 524
                <party/>
527 525
            </party_id>
528
            <sourceaccessionnumber>220541</sourceaccessionnumber>
526
            <plantname_id>
527
                <plantname>
528
                    <plantname>Scrophulariaceae</plantname>
529
                </plantname>
530
            </plantname_id>
529 531
        </taxondetermination>
530 532
        <taxondetermination>
531 533
            <role_id>
inputs/SALVIAS/maps/VegBIEN.organisms.csv
18 18
cfaff,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]:[userdefinedtype=varchar]]:[@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 19
DetType,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]:[userdefinedtype=varchar]]:[@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 20
Habit,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/notes,
21
Ind,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/notes",
23 23
Family,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
24 24
Genus,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
25 25
auth,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/plantname/reference_id/reference/shortname",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.
......
27 27
infra_rank_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/first}",
28 28
infra_ep_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname/_name/last,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/last}",
29 29
OrigFamily,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",Brad: OMIT
30
OrigSpecies,"/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=false,determinationdate=epoch,*_id/party]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."
30
OrigSpecies,"/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen:[*_id/reference]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."
schemas/vegbien.sql
2262 2262
    collectioncode_dwc character varying(255),
2263 2263
    catalognumber_dwc character varying(255),
2264 2264
    collectiondate timestamp with time zone,
2265
    collector_id integer
2265
    collector_id integer,
2266
    museum_id integer,
2267
    sourceaccessionnumber character varying(100)
2266 2268
);
2267 2269

  
2268 2270

  
......
2512 2514
    currentdetermination boolean NOT NULL,
2513 2515
    taxonfit character varying(50),
2514 2516
    taxonconfidence character varying(50),
2515
    museum_id integer,
2516
    sourceaccessionnumber character varying(100),
2517 2517
    grouptype character varying(20),
2518 2518
    notes text,
2519 2519
    notespublic boolean,
......
4930 4930

  
4931 4931

  
4932 4932
--
4933
-- Name: fki_specimen_museum_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
4934
--
4935

  
4936
CREATE INDEX fki_specimen_museum_id ON specimen USING btree (museum_id);
4937

  
4938

  
4939
--
4933 4940
-- Name: fki_specimen_reference_id_fkey; Type: INDEX; Schema: public; Owner: -; Tablespace: 
4934 4941
--
4935 4942

  
......
5532 5539

  
5533 5540

  
5534 5541
--
5535
-- Name: taxondetermination_museum_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5536
--
5537

  
5538
CREATE INDEX taxondetermination_museum_id_x ON taxondetermination USING btree (museum_id);
5539

  
5540

  
5541
--
5542 5542
-- Name: taxondetermination_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5543 5543
--
5544 5544

  
......
6462 6462

  
6463 6463

  
6464 6464
--
6465
-- Name: specimen_museum_id; Type: FK CONSTRAINT; Schema: public; Owner: -
6466
--
6467

  
6468
ALTER TABLE ONLY specimen
6469
    ADD CONSTRAINT specimen_museum_id FOREIGN KEY (museum_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;
6470

  
6471

  
6472
--
6465 6473
-- Name: specimen_reference_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
6466 6474
--
6467 6475

  
......
6550 6558

  
6551 6559

  
6552 6560
--
6553
-- Name: taxondetermination_museum_id; Type: FK CONSTRAINT; Schema: public; Owner: -
6554
--
6555

  
6556
ALTER TABLE ONLY taxondetermination
6557
    ADD CONSTRAINT taxondetermination_museum_id FOREIGN KEY (museum_id) REFERENCES party(party_id) ON UPDATE CASCADE ON DELETE CASCADE;
6558

  
6559

  
6560
--
6561 6561
-- Name: taxondetermination_party_id; Type: FK CONSTRAINT; Schema: public; Owner: -
6562 6562
--
6563 6563

  
mappings/SALVIAS_db-VegBIEN.organisms.csv
18 18
cfaff,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]:[userdefinedtype=varchar]]:[@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 19
DetType,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]:[userdefinedtype=varchar]]:[@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 20
Habit,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/notes,
21
Ind,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/notes",
23 23
Family,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
24 24
Genus,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
25 25
auth,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/plantname/reference_id/reference/shortname",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.
......
27 27
infra_rank_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/first}",
28 28
infra_ep_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname/_name/last,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/last}",
29 29
OrigFamily,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",Brad: OMIT
30
OrigSpecies,"/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=false,determinationdate=epoch,*_id/party]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."
30
OrigSpecies,"/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
31
PlotObsID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen:[*_id/reference]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."
mappings/VegX-VegBIEN.organisms.csv
62 62
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName","/aggregateoccurrence/individualplant/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}"
63 63
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/{givenName/_namePart/{first,middle},surName/_namePart/last}","/aggregateoccurrence/individualplant/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}"
64 64
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/aggregateoccurrence/individualplant/specimen:[*_id/reference]/collector_id/party/{surname}
65
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName,"/aggregateoccurrence/individualplant/specimen:[*_id/reference]/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
66
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/first,/aggregateoccurrence/individualplant/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/first}
67
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/last,"/aggregateoccurrence/individualplant/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/last,collectioncode_dwc}"
65 68
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/relatedItem[relationshipType=stemParent]/relatedItemID->/*s/individualOrganismObservation/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,/aggregateoccurrence/individualplant/stem/*_id/individualplant/sourceid
66 69
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/diameterBaseDistance[baseDistance/value=0]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
67 70
/diameterBaseDistance[baseDistance/value=0]/diameter,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
......
95 98
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/note","/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
96 99
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType","/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
97 100
/simpleUserdefined[name=habit]/value,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
98
/simpleUserdefined[name=individualCode]/value,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
99 101
/*ID->/*s/individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
100
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/note/text,/taxondetermination[role_id/aux_role/rolecode=collector]/notes
102
/simpleUserdefined[name=individualCode]/value,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue"
103
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/note/text,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/notes"
101 104
"/*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/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}"
102 105
"/*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/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}"
103 106
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/AccordingTo/Simple","/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/plantname/reference_id/reference/shortname"
......
116 119
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=sp])/AccordingTo/Simple","/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/reference/referencecontributor/*_id/referenceparty/{givenname,surname}"
117 120
"/*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/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}"
118 121
"/*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/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}"
119
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonName)/Simple","/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/1,taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname}"
120
"/*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/aux_role/rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}"
121
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName,"/{taxondetermination[role_id/aux_role/rolecode=collector]/museum_id/party/organizationname,aggregateoccurrence/individualplant/specimen:[*_id/reference]/collectioncode_dwc/_namePart/last}"
122
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/first,/{taxondetermination[role_id/aux_role/rolecode=collector]/museum_id/party/organizationname/_name/first}
123
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/partyWithRole/*ID->/parties/party/organizationName/_name/last,"/{taxondetermination[role_id/aux_role/rolecode=collector]/museum_id/party/organizationname/_name/last,aggregateoccurrence/individualplant/specimen:[*_id/reference]/collectioncode_dwc}"
124
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[aggregateoccurrence/count/_alt/2=1]/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=false,determinationdate=epoch,*_id/party]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}"
122
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonName)/Simple","/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/1,taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname}"
123
"/*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/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}"
124
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept/voucher,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen:[*_id/reference]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}"
mappings/NYBG-VegBIEN.organisms.csv
16 16
MinimumDepth,/*_id/plotevent/waterdepth/min,
17 17
FieldNumber,/aggregateoccurrence/individualplant/specimen:[*_id/reference]/catalognumber_dwc,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?"
18 18
Collector,"/aggregateoccurrence/individualplant/specimen:[*_id/reference]/collector_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Correct for VB. Nick: is there a way to specifically identify this party as collector of a specimen?
19
InstitutionCode,/aggregateoccurrence/individualplant/specimen:[*_id/reference]/{museum_id/party/organizationname/_name/first},
20
CollectionCode,"/aggregateoccurrence/individualplant/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
19 21
Habitat,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
20 22
PlantFungusDescription,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=plantFungusDescription]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect mapping to VB, also possibly to VX;  this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?"
21 23
Substrate,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=substrate]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?"
22 24
Vegetation,"/aggregateoccurrence/individualplant/stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=vegetation]:[userdefinedtype=varchar]]:[@fkey=tableRecord_ID]/definedvalue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Habitat'. Bob, Nick: keep as user defined or create special element?"
23 25
Sex,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]:[userdefinedtype=varchar]]:[@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"
24
Notes,/taxondetermination[role_id/aux_role/rolecode=collector]/notes,"Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
26
Notes,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/notes","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes"
25 27
DayIdentified,"/taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/day",
26 28
MonthIdentified,"/taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/month",
27 29
YearIdentified,"/taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]/determinationdate/_date/year",
......
34 36
ScientificNameAuthor,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/reference/referencecontributor/*_id/referenceparty/{givenname,surname}","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"
35 37
Phylum,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
36 38
Subspecies,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
37
ScientificName,"/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/1,taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname}","Brad: Bob, Nick, please is this mapping OK?"
38
Species,"/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",
39
InstitutionCode,/{taxondetermination[role_id/aux_role/rolecode=collector]/museum_id/party/organizationname/_name/first},
40
CollectionCode,"/{taxondetermination[role_id/aux_role/rolecode=collector]/museum_id/party/organizationname/_name/last,aggregateoccurrence/individualplant/specimen:[*_id/reference]/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
41
UniqueNYInternalRecordNumber,":[aggregateoccurrence/count/_alt/2=1]/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=false,determinationdate=epoch,*_id/party]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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"
39
ScientificName,"/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/1,taxondetermination[role_id/aux_role/rolecode=identifier,!*_id/plantconcept]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname}","Brad: Bob, Nick, please is this mapping OK?"
40
Species,"/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",
41
UniqueNYInternalRecordNumber,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen:[*_id/reference]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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"
mappings/for_review/SALVIAS_db-VegBIEN.organisms.csv
28 28
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/{*_id/*/plantname/_name/last,*_id/plantconcept/*_id/*/plantname/_name/last}",
29 29
OrigFamily,"/taxondetermination[rolecode=identifier,plantlevel=Family]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
30 30
OrigSpecies,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}}",Brad: OMIT
31
PlotObsID,"/{taxondetermination[rolecode=collector]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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
PlotObsID,"/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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."
mappings/for_review/VegX-VegBIEN.organisms.csv
62 62
//individualName/givenName,"/aggregateoccurrence/individualplant/specimen/collector_id/party/{givenname/_namePart/first,middlename/_namePart/last}"
63 63
"//parties/party/individualName/{givenName/_namePart/{first,middle},surName/_namePart/last}","/aggregateoccurrence/individualplant/specimen/collector_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}"
64 64
//individualName/surName,/aggregateoccurrence/individualplant/specimen/collector_id/party/{surname}
65
//party/organizationName,"/aggregateoccurrence/individualplant/specimen/{museum_id/party/organizationname,collectioncode_dwc/_namePart/last}"
66
//party/organizationName/_name/first,/aggregateoccurrence/individualplant/specimen/{museum_id/party/organizationname/_name/first}
67
//party/organizationName/_name/last,"/aggregateoccurrence/individualplant/specimen/{museum_id/party/organizationname/_name/last,collectioncode_dwc}"
65 68
//taxonNameUsageConcept/voucher,//individualplant/sourceid
66 69
//*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/diameterBaseDistance[value=0]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]/definedvalue"
67 70
/diameterBaseDistance[value=0]/diameter,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=basalDiameter]]/definedvalue"
......
95 98
//*s/taxonDetermination[role=computer]/note,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]]/definedvalue"
96 99
//*s/taxonDetermination[role=collector]/groupType,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]]/definedvalue"
97 100
/simpleUserdefined[name=habit]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]]/definedvalue"
101
//individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue"
98 102
/simpleUserdefined[name=individualCode]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]]/definedvalue"
99
//individualOrganism/simpleUserdefined[name=sex]/value,"/taxondetermination[rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=sex]]/definedvalue"
100 103
//note/text,/taxondetermination[rolecode=collector]/notes
101 104
//*s/taxonConcept[@code=fam]/Name,"/taxondetermination[rolecode=computer,plantlevel=Family]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}"
102 105
//*s/taxonConcept[@code=gen]/Name,"/taxondetermination[rolecode=computer,plantlevel=Genus]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}"
......
118 121
//*s/taxonConcept[@code=ssp]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}"
119 122
//taxonName/Simple,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/1,taxondetermination[rolecode=identifier]/*_id/*/plantname}"
120 123
//*s/taxonConcept[@code=sp]/Name,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}}"
121
//party/organizationName,"/{taxondetermination[rolecode=collector]/museum_id/party/organizationname,aggregateoccurrence/individualplant/specimen/collectioncode_dwc/_namePart/last}"
122
//party/organizationName/_name/first,/{taxondetermination[rolecode=collector]/museum_id/party/organizationname/_name/first}
123
//party/organizationName/_name/last,"/{taxondetermination[rolecode=collector]/museum_id/party/organizationname/_name/last,aggregateoccurrence/individualplant/specimen/collectioncode_dwc}"
124
//taxonNameUsageConcept/voucher,"/{taxondetermination[rolecode=collector]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}"
124
//taxonNameUsageConcept/voucher,"/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}"
mappings/for_review/NYBG-VegBIEN.organisms.csv
16 16
MinimumDepth,//waterdepth/min,
17 17
FieldNumber,//specimen/catalognumber_dwc,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?"
18 18
Collector,"/aggregateoccurrence/individualplant/specimen/collector_id/party/{givenname/_namePart/first,middlename/_namePart/middle,surname/_namePart/last}",Brad: Correct for VB. Nick: is there a way to specifically identify this party as collector of a specimen?
19
InstitutionCode,/aggregateoccurrence/individualplant/specimen/{museum_id/party/organizationname/_name/first},
20
CollectionCode,"/aggregateoccurrence/individualplant/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
19 21
Habitat,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=habitat]]/definedvalue","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
20 22
PlantFungusDescription,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=plantFungusDescription]]/definedvalue","Brad: Incorrect mapping to VB, also possibly to VX;  this is the specimenDescription field, as used by this institution (NOT a standard DwC element). Very important! Bob, Nick, where would this go in VB and VX?"
21 23
Substrate,"//stem/definedvalue[*_id/userdefined[tablename=stem,userdefinedname=substrate]]/definedvalue","Brad: Incorrect mapping to VB and VX; refers to geological substrate or soils where specimen collected. Often concatenated with habitat, or included with specimen description. Bob, Nick, is there an element for this in VB/VX, or shall we just use userDefined?"
......
36 38
Subspecies,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}",
37 39
ScientificName,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/1,taxondetermination[rolecode=identifier]/*_id/*/plantname}","Brad: Bob, Nick, please is this mapping OK?"
38 40
Species,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}}",
39
InstitutionCode,/{taxondetermination[rolecode=collector]/museum_id/party/organizationname/_name/first},
40
CollectionCode,"/{taxondetermination[rolecode=collector]/museum_id/party/organizationname/_name/last,aggregateoccurrence/individualplant/specimen/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
41
UniqueNYInternalRecordNumber,"/{taxondetermination[rolecode=collector]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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"
41
UniqueNYInternalRecordNumber,"/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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"
mappings/for_review/SALVIAS-VegBIEN.organisms.csv
37 37
infra_ep_1,"/taxondetermination[rolecode=computer,plantlevel=Subspecies]/{*_id/*/plantname/_name/last,*_id/plantconcept/*_id/*/plantname/_name/last}",
38 38
orig_family,"/taxondetermination[rolecode=identifier,plantlevel=Family]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}",Brad: OMIT
39 39
orig_species,"/{taxondetermination[rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[rolecode=identifier,plantlevel=Species]/{*_id/*/plantname,*_id/plantconcept/*_id/*/plantname}}",Brad: OMIT
40
OBSERVATION_ID,"/{taxondetermination[rolecode=collector]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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
OBSERVATION_ID,"/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot/sourceid/_alt/3}","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."
mappings/SALVIAS-VegBIEN.organisms.csv
27 27
cf_aff,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=cfAff]:[userdefinedtype=varchar]]:[@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 28
det_type,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=determinationType]:[userdefinedtype=varchar]]:[@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 29
habit,"/taxondetermination[role_id/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=habit]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]/notes,
30
individual_code,"/taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/definedvalue[*_id/userdefined[tablename=taxondetermination,userdefinedname=individualCode]:[userdefinedtype=varchar]]:[@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/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=false,currentdetermination=true,*_id/party]/notes",
32 32
family,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
33 33
genus,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",
34 34
specific_authority,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Species]/*_id/plantconcept/*_id/plantname/reference_id/reference/shortname",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.
......
36 36
infra_rank_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/{*_id/*/plantname/_name/first,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/first}",
37 37
infra_ep_1,"/taxondetermination[role_id/aux_role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=""Computer (automated)"",originaldetermination=false,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname/_name/last,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname/_name/last}",
38 38
orig_family,"/taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}",Brad: OMIT
39
orig_species,"/{taxondetermination[role_id/aux_role/rolecode=collector]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
40
OBSERVATION_ID,":[aggregateoccurrence/count/_alt/2=1]/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=false,determinationdate=epoch,*_id/party]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."
39
orig_species,"/{taxondetermination[role_id/aux_role/rolecode=collector]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/*_id/*/plantname/_alt/2,taxondetermination[role_id/aux_role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,originaldetermination=true,currentdetermination=true,determinationdate=epoch,*_id/party]/{*_id/*/plantname,*_id/plantconcept:[plantstatus:[plantconceptstatus=accepted,startdate=epoch,*_id/party],*_id/reference]/*_id/*/plantname}}",Brad: OMIT
40
OBSERVATION_ID,":[aggregateoccurrence/count/_alt/2=1]/{aggregateoccurrence/individualplant/sourceid,aggregateoccurrence/individualplant/specimen:[*_id/reference]/sourceaccessionnumber,*_id/plotevent/sourceid/_alt/2,*_id/plotevent/*_id/plot:[confidentialitystatus=0]/sourceid/_alt/3}","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."

Also available in: Unified diff