Project

General

Profile

« Previous | Next » 

Revision 1050

VegBIEN: Moved specimenreplicate.verbatimcollectorname to taxonoccurrence since it can also apply to aggregateoccurrences. Removed no longer needed taxonoccurrence fields which are now in taxondetermination.

View differences:

inputs/NYBG/test/VegBIEN.specimens.xml.ref
124 124
                    <isoriginal>true</isoriginal>
125 125
                    <iscurrent>true</iscurrent>
126 126
                </taxondetermination>
127
                <verbatimcollectorname>R. B. Foster</verbatimcollectorname>
127 128
            </taxonoccurrence>
128 129
        </taxonoccurrence_id>
129 130
        <reference_id><reference/></reference_id>
......
131 132
        <collectionnumber>9877</collectionnumber>
132 133
        <description>plant fungus: with rough brown bark, almost no buttressing, 1 m diam; fallen fruit and leaves</description>
133 134
        <sourceaccessioncode>816590</sourceaccessioncode>
134
        <verbatimcollectorname>R. B. Foster</verbatimcollectorname>
135 135
        <museum_id><party><organizationname>NY Herbarium</organizationname></party></museum_id>
136 136
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
137 137
    </specimenreplicate>
......
214 214
                    <isoriginal>true</isoriginal>
215 215
                    <iscurrent>true</iscurrent>
216 216
                </taxondetermination>
217
                <verbatimcollectorname>J. B. Walker</verbatimcollectorname>
217 218
            </taxonoccurrence>
218 219
        </taxonoccurrence_id>
219 220
        <reference_id><reference/></reference_id>
220 221
        <catalognumber_dwc>200996</catalognumber_dwc>
221 222
        <collectionnumber>545</collectionnumber>
222 223
        <sourceaccessioncode>220541</sourceaccessioncode>
223
        <verbatimcollectorname>J. B. Walker</verbatimcollectorname>
224 224
        <museum_id><party><organizationname>NY Herbarium</organizationname></party></museum_id>
225 225
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
226 226
    </specimenreplicate>
inputs/NYBG/maps/VegBIEN.specimens.csv
34 34
Species,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,149
35 35
Phylum,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,143
36 36
Subspecies,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,150
37
Collector,/*_id/taxonoccurrence/verbatimcollectorname,,23
37 38
CatalogNumber,:[*_id/reference]/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
38 39
CollectorNumber,:[*_id/reference]/collectionnumber/_alt/1,,22
39 40
FieldNumber,:[*_id/reference]/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
40 41
Notes,:[*_id/reference]/description/_merge/1,,
41 42
PlantFungusDescription,":[*_id/reference]/description/_merge/2/_label[label=""plant fungus""]/value",,
42 43
UniqueNYInternalRecordNumber,:[*_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",19
43
Collector,:[*_id/reference]/verbatimcollectorname,,23
44 44
InstitutionCode,:[*_id/reference]/{museum_id/party/organizationname/_name/first},,11
45 45
CollectionCode,":[*_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,12
46 46
BasisOfRecord,,Brad: OMIT? See http://rs.tdwg.org/dwc/terms/index.htm#basisOfRecord for definition of this term.,15
inputs/SALVIAS/maps/VegBIEN.organisms.csv
21 21
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."
22 22
coll_number,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
23 23
census_date,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/collectiondate/_*/date,
24
coll_firstname,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/first,Brad: See comment above
25
coll_lastname,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/last,"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 24
auth,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=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.
27 25
Family,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
28 26
Genus,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
......
33 31
OrigGenus,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/first",
34 32
OrigSpecies,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/last",Brad: OMIT
35 33
OrigFamily,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
34
coll_firstname,/verbatimcollectorname/_name/first,Brad: See comment above
35
coll_lastname,/verbatimcollectorname/_name/last,"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."
36 36
GenAuth,,
37 37
IsMorpho,,
38 38
Line,,
inputs/NYBG-CSV/test/VegBIEN.specimens.xml.ref
124 124
                    <isoriginal>true</isoriginal>
125 125
                    <iscurrent>true</iscurrent>
126 126
                </taxondetermination>
127
                <verbatimcollectorname>R. B. Foster</verbatimcollectorname>
127 128
            </taxonoccurrence>
128 129
        </taxonoccurrence_id>
129 130
        <reference_id><reference/></reference_id>
......
131 132
        <collectionnumber>9877</collectionnumber>
132 133
        <description>plant fungus: with rough brown bark, almost no buttressing, 1 m diam; fallen fruit and leaves</description>
133 134
        <sourceaccessioncode>816590</sourceaccessioncode>
134
        <verbatimcollectorname>R. B. Foster</verbatimcollectorname>
135 135
        <museum_id><party><organizationname>NY Herbarium</organizationname></party></museum_id>
136 136
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
137 137
    </specimenreplicate>
......
214 214
                    <isoriginal>true</isoriginal>
215 215
                    <iscurrent>true</iscurrent>
216 216
                </taxondetermination>
217
                <verbatimcollectorname>J. B. Walker</verbatimcollectorname>
217 218
            </taxonoccurrence>
218 219
        </taxonoccurrence_id>
219 220
        <reference_id><reference/></reference_id>
220 221
        <catalognumber_dwc>200996</catalognumber_dwc>
221 222
        <collectionnumber>545</collectionnumber>
222 223
        <sourceaccessioncode>220541</sourceaccessioncode>
223
        <verbatimcollectorname>J. B. Walker</verbatimcollectorname>
224 224
        <museum_id><party><organizationname>NY Herbarium</organizationname></party></museum_id>
225 225
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
226 226
    </specimenreplicate>
inputs/NYBG-CSV/maps/VegBIEN.specimens.csv
32 32
Species,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,149
33 33
Phylum,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,143
34 34
Subspecies,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,150
35
Collector,/*_id/taxonoccurrence/verbatimcollectorname,,23
35 36
CatalogNumber,:[*_id/reference]/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
36 37
CollectorNumber,:[*_id/reference]/collectionnumber/_alt/1,,22
37 38
FieldNumber,:[*_id/reference]/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
38 39
Notes,:[*_id/reference]/description/_merge/1,,
39 40
PlantFungusDescription,":[*_id/reference]/description/_merge/2/_label[label=""plant fungus""]/value",,
40 41
UniqueNYInternalRecordNumber,:[*_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",19
41
Collector,:[*_id/reference]/verbatimcollectorname,,23
42 42
InstitutionCode,:[*_id/reference]/{museum_id/party/organizationname/_name/first},,11
43 43
CollectionCode,":[*_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,12
44 44
BasisOfRecord,,Brad: OMIT? See http://rs.tdwg.org/dwc/terms/index.htm#basisOfRecord for definition of this term.,15
inputs/SALVIAS-CSV/test/VegBIEN.organisms.xml.ref
56 56
        <specimenreplicate>
57 57
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
58 58
            <catalognumber_dwc>14598</catalognumber_dwc>
59
            <verbatimcollectorname>Vasquez</verbatimcollectorname>
60 59
        </specimenreplicate>
61 60
        <taxondetermination>
62 61
            <role_id><role><rolecode>computer</rolecode></role></role_id>
......
115 114
            <isoriginal>true</isoriginal>
116 115
            <iscurrent>true</iscurrent>
117 116
        </taxondetermination>
117
        <verbatimcollectorname>Vasquez</verbatimcollectorname>
118 118
    </taxonoccurrence>
119 119
    <taxonoccurrence id="1">
120 120
        <locationevent_id>
......
172 172
        <specimenreplicate>
173 173
            <reference_id><reference><shortname>SALVIAS</shortname></reference></reference_id>
174 174
            <catalognumber_dwc>14669</catalognumber_dwc>
175
            <verbatimcollectorname>Vasquez</verbatimcollectorname>
176 175
        </specimenreplicate>
177 176
        <taxondetermination>
178 177
            <role_id><role><rolecode>computer</rolecode></role></role_id>
......
231 230
            <isoriginal>true</isoriginal>
232 231
            <iscurrent>true</iscurrent>
233 232
        </taxondetermination>
233
        <verbatimcollectorname>Vasquez</verbatimcollectorname>
234 234
    </taxonoccurrence>
235 235
</VegBIEN>
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv
28 28
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."
29 29
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."
30 30
coll_number,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc,Brad: Incorrect. Map instead as for voucher_string
31
coll_firstname,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/first,Brad: See comment above
32
coll_lastname,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/last,"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."
33 31
specific_authority,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=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.
34 32
family,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
35 33
genus,"/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
......
39 37
cf_aff,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]/{taxonFit,*_id/plantconcept/*_id/*/plantname/_name/middle}","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."
40 38
orig_species,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Binomial]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname/_name/last",Brad: OMIT
41 39
orig_family,"/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",Brad: OMIT
40
coll_firstname,/verbatimcollectorname/_name/first,Brad: See comment above
41
coll_lastname,/verbatimcollectorname/_name/last,"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."
42 42
collector_code,,Brad: OMIT
43 43
comments,,Brad: OMIT
44 44
fam_status,,Brad: OMIT. This will be determined later by using TNRS.
schemas/vegbien.my.sql
2265 2265
    sourceaccessioncode text,
2266 2266
    accessioncode text,
2267 2267
    taxonoccurrence_id int(11) NOT NULL,
2268
    verbatimcollectorname text,
2269 2268
    collectionnumber text,
2270 2269
    specimen_id int(11),
2271 2270
    description text
......
2465 2464
CREATE TABLE taxonoccurrence (
2466 2465
    taxonoccurrence_id int(11) NOT NULL,
2467 2466
    locationevent_id int(11),
2468
    authorplantname text,
2469
    reference_id int(11),
2470 2467
    emb_taxonoccurrence int(11),
2471
    accessioncode text
2468
    accessioncode text,
2469
    verbatimcollectorname text
2472 2470
);
2473 2471

  
2474 2472

  
......
5597 5595

  
5598 5596

  
5599 5597
--
5600
-- Name: taxonoccurrence_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5601
--
5602

  
5603
CREATE INDEX taxonoccurrence_reference_id_x ON taxonoccurrence  (reference_id);
5604

  
5605

  
5606
--
5607 5598
-- Name: telephone_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5608 5599
--
5609 5600

  
......
6622 6613

  
6623 6614

  
6624 6615
--
6625
-- Name: taxonoccurrence_reference_id; Type: FK CONSTRAINT; Schema: public; Owner: -
6626
--
6627

  
6628

  
6629

  
6630

  
6631
--
6632 6616
-- Name: telephone_party_id; Type: FK CONSTRAINT; Schema: public; Owner: -
6633 6617
--
6634 6618

  
schemas/vegbien.sql
2601 2601
    sourceaccessioncode text,
2602 2602
    accessioncode text,
2603 2603
    taxonoccurrence_id integer NOT NULL,
2604
    verbatimcollectorname text,
2605 2604
    collectionnumber text,
2606 2605
    specimen_id integer,
2607 2606
    description text
......
2826 2825
CREATE TABLE taxonoccurrence (
2827 2826
    taxonoccurrence_id integer NOT NULL,
2828 2827
    locationevent_id integer,
2829
    authorplantname text,
2830
    reference_id integer,
2831 2828
    emb_taxonoccurrence integer,
2832
    accessioncode text
2829
    accessioncode text,
2830
    verbatimcollectorname text
2833 2831
);
2834 2832

  
2835 2833

  
......
6043 6041

  
6044 6042

  
6045 6043
--
6046
-- Name: taxonoccurrence_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
6047
--
6048

  
6049
CREATE INDEX taxonoccurrence_reference_id_x ON taxonoccurrence USING btree (reference_id);
6050

  
6051

  
6052
--
6053 6044
-- Name: telephone_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace: 
6054 6045
--
6055 6046

  
......
7096 7087

  
7097 7088

  
7098 7089
--
7099
-- Name: taxonoccurrence_reference_id; Type: FK CONSTRAINT; Schema: public; Owner: -
7100
--
7101

  
7102
ALTER TABLE ONLY taxonoccurrence
7103
    ADD CONSTRAINT taxonoccurrence_reference_id FOREIGN KEY (reference_id) REFERENCES reference(reference_id) ON UPDATE CASCADE ON DELETE CASCADE;
7104

  
7105

  
7106
--
7107 7090
-- Name: telephone_party_id; Type: FK CONSTRAINT; Schema: public; Owner: -
7108 7091
--
7109 7092

  
mappings/VegX-VegBIEN.organisms.csv
94 94
/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept:[partyWithRole/*ID->/parties/party/organizationName=$/_ignore/inLabel]/authorCode,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/catalognumber_dwc,
95 95
/simpleUserdefined[name=collectionDate]/value,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/collectiondate,
96 96
/simpleUserdefined[name=collectionDate]/value/_*/date,/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/collectiondate/_*/date,
97
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/first,
98
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/specimenreplicate:[*_id/reference/shortname/_alt/2=$/_ignore/inLabel]/verbatimcollectorname/_name/last,
99 97
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=auth])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Authority]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
100 98
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=fam])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Family]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
101 99
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=gen])/Name","/taxondetermination[*_id/role/rolecode=computer,*_id/plantconcept/plantstatus/plantlevel=Genus]:[determinationtype=""Computer (automated)"",iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
......
116 114
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ord])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Order]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
117 115
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=phyl_div])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",
118 116
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=identifier]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[Rank/@code=ssp])/Name","/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
117
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/verbatimcollectorname/_name/first,
118
"/*ID->/*s/individualOrganism/*sID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/verbatimcollectorname/_name/last,
mappings/for_review/VegX-VegBIEN.organisms.csv
94 94
//taxonNameUsageConcept/authorCode,//specimenreplicate/catalognumber_dwc,
95 95
/simpleUserdefined[name=collectionDate]/value,//specimenreplicate/collectiondate,
96 96
/simpleUserdefined[name=collectionDate]/value/_*/date,//specimenreplicate/collectiondate/_*/date,
97
//individualName/givenName,//specimenreplicate/verbatimcollectorname/_name/first,
98
//individualName/surName,//specimenreplicate/verbatimcollectorname/_name/last,
99 97
//*s/taxonConcept[@code=auth]/Name,"/taxondetermination[rolecode=computer,plantlevel=Authority]/*_id/plantconcept/*_id/*/plantname",
100 98
//*s/taxonConcept[@code=fam]/Name,"/taxondetermination[rolecode=computer,plantlevel=Family]/*_id/plantconcept/*_id/*/plantname",
101 99
//*s/taxonConcept[@code=gen]/Name,"/taxondetermination[rolecode=computer,plantlevel=Genus]/*_id/plantconcept/*_id/*/plantname",
......
116 114
//*s/taxonConcept[@code=ord]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Order]/*_id/plantconcept/*_id/*/plantname",
117 115
//*s/taxonConcept[@code=phyl_div]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname",
118 116
//*s/taxonConcept[@code=ssp]/Name,"/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",
117
//individualName/givenName,/verbatimcollectorname/_name/first,
118
//individualName/surName,/verbatimcollectorname/_name/last,
mappings/for_review/DwC-VegBIEN.specimens.csv
42 42
specificEpithet,"//taxonoccurrence/taxondetermination[rolecode=identifier,plantlevel=Species]/*_id/plantconcept/*_id/*/plantname",,149
43 43
phylum,"//taxonoccurrence/taxondetermination[rolecode=identifier,plantlevel=Subkingdom]/*_id/plantconcept/*_id/*/plantname",,143
44 44
infraspecificEpithet,"//taxonoccurrence/taxondetermination[rolecode=identifier,plantlevel=Subspecies]/*_id/plantconcept/*_id/*/plantname",,150
45
recordedBy,//taxonoccurrence/verbatimcollectorname,,23
45 46
fieldNotes,"/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=notes]]/definedvalue","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes",54
46 47
catalogNumber,/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
47 48
recordNumber,/collectionnumber/_alt/1,,22
......
51 52
bien.specimenDescription/_merge/1,/description/_merge/1,,
52 53
"bien.specimenDescription/_merge/2/_label[label=""plant fungus""]/value","/description/_merge/2/_label[label=""plant fungus""]/value",,
53 54
occurrenceID,/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",19
54
recordedBy,/verbatimcollectorname,,23
55 55
institutionCode,/{museum_id/party/organizationname/_name/first},,11
56 56
collectionCode,"/{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,12
57 57
acceptedNameUsage,,,135
mappings/DwC-VegBIEN.specimens.csv
42 42
specificEpithet,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Species]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,149
43 43
phylum,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subkingdom]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,143
44 44
infraspecificEpithet,"/*_id/taxonoccurrence/taxondetermination[*_id/role/rolecode=identifier,*_id/plantconcept/plantstatus/plantlevel=Subspecies]:[determinationtype=Author,isoriginal=true,iscurrent=true]/*_id/plantconcept/*_id/*/plantname",,150
45
recordedBy,/*_id/taxonoccurrence/verbatimcollectorname,,23
45 46
fieldNotes,"/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=notes]]:[@fkey=tableRecord_ID]/definedvalue","Brad: mapping OK; NY appears to be using this field for almost anything, but mostly internal collections notes",54
46 47
catalogNumber,:[*_id/reference]/catalognumber_dwc,"Brad: Not sure if mapping correct. Nick, is there an element for institutional accession codes in VegX?; Aaron: This can't be used as the accession code (primary key) because some rows don't have a value for it",20
47 48
recordNumber,:[*_id/reference]/collectionnumber/_alt/1,,22
......
51 52
bien.specimenDescription/_merge/1,:[*_id/reference]/description/_merge/1,,
52 53
"bien.specimenDescription/_merge/2/_label[label=""plant fungus""]/value",":[*_id/reference]/description/_merge/2/_label[label=""plant fungus""]/value",,
53 54
occurrenceID,:[*_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",19
54
recordedBy,:[*_id/reference]/verbatimcollectorname,,23
55 55
institutionCode,:[*_id/reference]/{museum_id/party/organizationname/_name/first},,11
56 56
collectionCode,":[*_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,12
57 57
acceptedNameUsage,,,135

Also available in: Unified diff