Revision 3786
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/QMOR/maps/VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
QMOR[DwC],VegBIEN:,Comments,Order |
2 |
maximumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72
|
|
3 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
4 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
5 |
maximumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72
|
|
6 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71
|
|
7 |
coordinateUncertaintyInMeters,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,,88
|
|
8 |
footprintWKT,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/footprintgeometry_dwc,,91
|
|
9 |
decimalLatitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,85
|
|
10 |
verbatimLatitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81
|
|
11 |
decimalLongitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,86
|
|
12 |
verbatimLongitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82
|
|
13 |
county,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66
|
|
14 |
stateProvince,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65
|
|
15 |
country,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63
|
|
16 |
continent,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59
|
|
17 |
locality,/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/1,,68
|
|
18 |
habitat,"/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
|
|
19 |
id,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"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
|
|
20 |
institutionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
21 |
collectionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
22 |
catalogNumber,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
23 |
eventDate,/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,,44
|
|
24 |
eventDate,/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,,44
|
|
25 |
catalogNumber,/specimenreplicate/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
|
|
26 |
collectionCode,/specimenreplicate/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
|
|
27 |
collectionID,/specimenreplicate/collectionnumber/_alt/2,,9
|
|
28 |
sex,"/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
29 |
institutionCode,/specimenreplicate/institution_id/party/organizationname,,
|
|
30 |
id,/specimenreplicate/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
|
|
31 |
dateIdentified,/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/2,,120
|
|
32 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
33 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
34 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
35 |
scientificName,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
36 |
scientificNameAuthorship,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
37 |
infraspecificEpithet,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
38 |
specificEpithet,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
39 |
genus,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
40 |
family,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
41 |
order,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
42 |
class,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
43 |
phylum,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
44 |
kingdom,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
45 |
recordedBy,/specimenreplicate/verbatimcollectorname,,23
|
|
2 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72 |
|
3 |
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
4 |
minimumElevationInMeters,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
5 |
maximumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72 |
|
6 |
minimumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71 |
|
7 |
coordinateUncertaintyInMeters,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,,88 |
|
8 |
footprintWKT,/location/locationdetermination/footprintgeometry_dwc,,91 |
|
9 |
decimalLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,85 |
|
10 |
verbatimLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81 |
|
11 |
decimalLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,86 |
|
12 |
verbatimLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82 |
|
13 |
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66 |
|
14 |
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65 |
|
15 |
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63 |
|
16 |
continent,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
|
17 |
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,,44
|
|
18 |
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,,44
|
|
19 |
catalogNumber,/location/locationevent/specimenreplicate/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
|
|
20 |
collectionCode,/location/locationevent/specimenreplicate/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
|
|
21 |
collectionID,/location/locationevent/specimenreplicate/collectionnumber/_alt/2,,9
|
|
22 |
sex,"/location/locationevent/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
23 |
institutionCode,/location/locationevent/specimenreplicate/institution_id/party/organizationname,,
|
|
24 |
id,/location/locationevent/specimenreplicate/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
|
|
25 |
dateIdentified,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/2,,120
|
|
26 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
27 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
28 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
29 |
scientificName,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
30 |
scientificNameAuthorship,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
31 |
infraspecificEpithet,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
32 |
specificEpithet,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
33 |
genus,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
34 |
family,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
35 |
order,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
36 |
class,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
37 |
phylum,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
38 |
kingdom,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
39 |
recordedBy,/location/locationevent/specimenreplicate/verbatimcollectorname,,23
|
|
40 |
locality,/location/locationnarrative/_merge/1,,68
|
|
41 |
habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
|
|
42 |
id,/location/sourceaccessioncode/_alt/1,"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 |
institutionCode,/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
44 |
collectionCode,/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
45 |
catalogNumber,/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
46 | 46 |
acceptedNameUsage,,** No non-empty join mapping for acceptedNameUsage ** |
47 | 47 |
basisOfRecord,,** No non-empty join mapping for basisOfRecord ** |
48 | 48 |
behavior,,** No non-empty join mapping for behavior ** |
mappings/for_review/DwC2-VegBIEN.specimens.csv | ||
---|---|---|
15 | 15 |
stateProvince,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65 |
16 | 16 |
country,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63 |
17 | 17 |
continent,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
18 |
locality,//location/locationnarrative/_merge/1,,68 |
|
19 |
verbatimLocality,//location/locationnarrative/_merge/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69 |
|
20 |
habitat,"//location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52 |
|
21 |
occurrenceID,//location/sourceaccessioncode/_alt/1,"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 |
|
22 |
institutionCode,//location/sourceaccessioncode/_alt/2/_merge/1,, |
|
23 |
collectionCode,//location/sourceaccessioncode/_alt/2/_merge/2,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 |
|
24 |
catalogNumber,//location/sourceaccessioncode/_alt/2/_merge/3,"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 |
|
25 | 18 |
eventDate,//locationevent/obsenddate/_*/date/_dateRangeEnd/value,,44 |
26 | 19 |
eventDate,//locationevent/obsstartdate/_*/date/_dateRangeStart/value,,44 |
27 |
maximumDepthInMeters,//locationevent/waterdepth/_avg/max/_units/value,,75 |
|
28 |
minimumDepthInMeters,//locationevent/waterdepth/_avg/min/_units/value,,74 |
|
29 | 20 |
catalogNumber,//specimenreplicate/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 |
30 | 21 |
collectionCode,//specimenreplicate/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 |
31 | 22 |
recordNumber,//specimenreplicate/collectionnumber/_alt/1,,22 |
... | ... | |
54 | 45 |
phylum,"//specimenreplicate/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143 |
55 | 46 |
kingdom,"//specimenreplicate/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142 |
56 | 47 |
recordedBy,//specimenreplicate/verbatimcollectorname,,23 |
48 |
maximumDepthInMeters,//locationevent/waterdepth/_avg/max/_units/value,,75 |
|
49 |
minimumDepthInMeters,//locationevent/waterdepth/_avg/min/_units/value,,74 |
|
50 |
locality,//location/locationnarrative/_merge/1,,68 |
|
51 |
verbatimLocality,//location/locationnarrative/_merge/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69 |
|
52 |
habitat,"//location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52 |
|
53 |
occurrenceID,//location/sourceaccessioncode/_alt/1,"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 |
institutionCode,//location/sourceaccessioncode/_alt/2/_merge/1,, |
|
55 |
collectionCode,//location/sourceaccessioncode/_alt/2/_merge/2,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 |
|
56 |
catalogNumber,//location/sourceaccessioncode/_alt/2/_merge/3,"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 |
|
57 | 57 |
acceptedNameUsage,,,135 |
58 | 58 |
acceptedNameUsageID,,,128 |
59 | 59 |
associatedMedia,,,36 |
mappings/DwC.cs-VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
DwC,VegBIEN:,Comments,Order |
2 |
maximumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72
|
|
3 |
maximumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72
|
|
4 |
minimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
5 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
6 |
minimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
7 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
8 |
maximumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72
|
|
9 |
maximumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72
|
|
10 |
minimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71
|
|
11 |
minimumElevationInMeters,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71
|
|
12 |
coordinateUncertaintyInMeters,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,,88
|
|
13 |
coordinatePrecision,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/2,,89
|
|
14 |
boundingBox,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/footprintgeometry_dwc,,91
|
|
15 |
footprintWKT,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/footprintgeometry_dwc,,91
|
|
16 |
decimalLatitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,85
|
|
17 |
latitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81
|
|
18 |
verbatimLatitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81
|
|
19 |
decimalLongitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,86
|
|
20 |
longitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82
|
|
21 |
verbatimLongitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82
|
|
22 |
county,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66
|
|
23 |
state,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65
|
|
24 |
stateProvince,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65
|
|
25 |
country,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63
|
|
26 |
continent,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59
|
|
27 |
continentOcean,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59
|
|
28 |
locality,/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/1,,68
|
|
29 |
verbatimLocality,/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69
|
|
30 |
habitat,"/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
|
|
31 |
globalUniqueIdentifier,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"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
|
|
32 |
id,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"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
|
|
33 |
occurrenceID,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"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
|
|
34 |
institutionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
35 |
collectionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
36 |
catalogNumber,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
37 |
eventDate/_alt,/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping,44
|
|
38 |
dayCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
39 |
monthCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
40 |
yearCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
41 |
eventDate,/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,,44
|
|
42 |
collectedDate,/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,,44
|
|
43 |
eventDate/_alt,/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping,44
|
|
44 |
dayCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
45 |
monthCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
46 |
yearCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
47 |
eventDate,/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,,44
|
|
48 |
collectedDate,/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,,44
|
|
49 |
maximumDepth,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
50 |
maximumDepthInMeters,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
51 |
minimumDepth,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
52 |
minimumDepthInMeters,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
53 |
catalogNumber,/specimenreplicate/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
|
|
54 |
collectionCode,/specimenreplicate/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
|
|
55 |
collectorNumber,/specimenreplicate/collectionnumber/_alt/1/_alt/1,,22
|
|
56 |
recordNumber,/specimenreplicate/collectionnumber/_alt/1/_alt/2,,22
|
|
57 |
collectionID,/specimenreplicate/collectionnumber/_alt/2,,9
|
|
58 |
fieldNumber,/specimenreplicate/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
|
|
59 |
sex,"/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
60 |
fieldNotes,/specimenreplicate/description/_merge/1,,
|
|
61 |
notes,/specimenreplicate/description/_merge/1,,
|
|
62 |
remarks,/specimenreplicate/description/_merge/2,,158
|
|
63 |
taxonRemarks,/specimenreplicate/description/_merge/2,,158
|
|
64 |
establishmentMeans,"/specimenreplicate/growthform/_map:[./{tree,shrub,liana,vine,herb,hemiepiphyte,epiphyte,grass,forb,moss,lichen,fungus,""floating aquatic"",""submerged aquatic""}=*,*=]/value",,30
|
|
65 |
institutionCode,/specimenreplicate/institution_id/party/organizationname,,
|
|
66 |
establishmentMeans,"/specimenreplicate/iscultivated/_map:[cultivated=t,wild=f,*=]/value",,30
|
|
67 |
establishmentMeans,"/specimenreplicate/isnative/_map:[native=t,exotic=f,*=]/value",,30
|
|
68 |
globalUniqueIdentifier,/specimenreplicate/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
|
|
69 |
id,/specimenreplicate/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
|
|
70 |
occurrenceID,/specimenreplicate/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
|
|
71 |
dateIdentified/_alt,/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom dateIdentified mappings that don't pass through the default dateIdentified mapping,120
|
|
72 |
dayIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,120
|
|
73 |
monthIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,120
|
|
74 |
yearIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,120
|
|
75 |
dateIdentified,/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/2,,120
|
|
76 |
identifiedDate,/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/3,,120
|
|
77 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
78 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
79 |
identifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
80 |
scientificName,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
81 |
scientificNameAuthor,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
82 |
scientificNameAuthorship,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
83 |
infraspecificEpithet,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
84 |
subspecies,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
85 |
species,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
86 |
specificEpithet,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
87 |
genus,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
88 |
family,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
89 |
order,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
90 |
class,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
91 |
phylum,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
92 |
kingdom,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
93 |
collector,/specimenreplicate/verbatimcollectorname,,23
|
|
94 |
recordedBy,/specimenreplicate/verbatimcollectorname,,23
|
|
2 |
maximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72 |
|
3 |
maximumElevationInMeters,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72 |
|
4 |
minimumElevation,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
5 |
minimumElevationInMeters,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
6 |
minimumElevation,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
7 |
minimumElevationInMeters,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
8 |
maximumElevation,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72 |
|
9 |
maximumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72 |
|
10 |
minimumElevation,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71 |
|
11 |
minimumElevationInMeters,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71 |
|
12 |
coordinateUncertaintyInMeters,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/1,,88 |
|
13 |
coordinatePrecision,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/2,,89 |
|
14 |
boundingBox,/location/locationdetermination/footprintgeometry_dwc,,91 |
|
15 |
footprintWKT,/location/locationdetermination/footprintgeometry_dwc,,91 |
|
16 |
decimalLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,85 |
|
17 |
latitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81 |
|
18 |
verbatimLatitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81 |
|
19 |
decimalLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,86 |
|
20 |
longitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82 |
|
21 |
verbatimLongitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82 |
|
22 |
county,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66 |
|
23 |
state,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65 |
|
24 |
stateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65 |
|
25 |
country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63 |
|
26 |
continent,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
|
27 |
continentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
|
28 |
eventDate/_alt,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping,44
|
|
29 |
dayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
30 |
monthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
31 |
yearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
32 |
eventDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/2,,44
|
|
33 |
collectedDate,/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/3,,44
|
|
34 |
eventDate/_alt,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom eventDate mappings that don't pass through the default eventDate mapping,44
|
|
35 |
dayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
36 |
monthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
37 |
yearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
38 |
eventDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/2,,44
|
|
39 |
collectedDate,/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/3,,44
|
|
40 |
catalogNumber,/location/locationevent/specimenreplicate/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
|
|
41 |
collectionCode,/location/locationevent/specimenreplicate/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
|
|
42 |
collectorNumber,/location/locationevent/specimenreplicate/collectionnumber/_alt/1/_alt/1,,22
|
|
43 |
recordNumber,/location/locationevent/specimenreplicate/collectionnumber/_alt/1/_alt/2,,22
|
|
44 |
collectionID,/location/locationevent/specimenreplicate/collectionnumber/_alt/2,,9
|
|
45 |
fieldNumber,/location/locationevent/specimenreplicate/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
|
|
46 |
sex,"/location/locationevent/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
47 |
fieldNotes,/location/locationevent/specimenreplicate/description/_merge/1,,
|
|
48 |
notes,/location/locationevent/specimenreplicate/description/_merge/1,,
|
|
49 |
remarks,/location/locationevent/specimenreplicate/description/_merge/2,,158
|
|
50 |
taxonRemarks,/location/locationevent/specimenreplicate/description/_merge/2,,158
|
|
51 |
establishmentMeans,"/location/locationevent/specimenreplicate/growthform/_map:[./{tree,shrub,liana,vine,herb,hemiepiphyte,epiphyte,grass,forb,moss,lichen,fungus,""floating aquatic"",""submerged aquatic""}=*,*=]/value",,30
|
|
52 |
institutionCode,/location/locationevent/specimenreplicate/institution_id/party/organizationname,,
|
|
53 |
establishmentMeans,"/location/locationevent/specimenreplicate/iscultivated/_map:[cultivated=t,wild=f,*=]/value",,30
|
|
54 |
establishmentMeans,"/location/locationevent/specimenreplicate/isnative/_map:[native=t,exotic=f,*=]/value",,30
|
|
55 |
globalUniqueIdentifier,/location/locationevent/specimenreplicate/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
|
|
56 |
id,/location/locationevent/specimenreplicate/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
|
|
57 |
occurrenceID,/location/locationevent/specimenreplicate/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
|
|
58 |
dateIdentified/_alt,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt,Allow datasource to define custom dateIdentified mappings that don't pass through the default dateIdentified mapping,120
|
|
59 |
dayIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,120
|
|
60 |
monthIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,120
|
|
61 |
yearIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,120
|
|
62 |
dateIdentified,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/2,,120
|
|
63 |
identifiedDate,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/3,,120
|
|
64 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
65 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
66 |
identifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
67 |
scientificName,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
68 |
scientificNameAuthor,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
69 |
scientificNameAuthorship,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
70 |
infraspecificEpithet,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
71 |
subspecies,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
72 |
species,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
73 |
specificEpithet,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
74 |
genus,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
75 |
family,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
76 |
order,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
77 |
class,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
78 |
phylum,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
79 |
kingdom,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
80 |
collector,/location/locationevent/specimenreplicate/verbatimcollectorname,,23
|
|
81 |
recordedBy,/location/locationevent/specimenreplicate/verbatimcollectorname,,23
|
|
82 |
maximumDepth,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
83 |
maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
84 |
minimumDepth,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
85 |
minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
86 |
locality,/location/locationnarrative/_merge/1,,68
|
|
87 |
verbatimLocality,/location/locationnarrative/_merge/2,"Brad: Correct for VB; Nick, is there no specific element for locality description in VegX? Definitely need one.",69
|
|
88 |
habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?",52
|
|
89 |
globalUniqueIdentifier,/location/sourceaccessioncode/_alt/1,"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
|
|
90 |
id,/location/sourceaccessioncode/_alt/1,"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
|
|
91 |
occurrenceID,/location/sourceaccessioncode/_alt/1,"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
|
|
92 |
institutionCode,/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
93 |
collectionCode,/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
94 |
catalogNumber,/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
95 | 95 |
acceptedNameUsage,,,135 |
96 | 96 |
acceptedNameUsageID,,,128 |
97 | 97 |
accessRights,,** No non-empty join mapping for dcterms:accessRights ** Versions without namespace |
inputs/MT/test/import.specimens.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<specimenreplicate id="-1"> |
|
4 |
<locationevent_id> |
|
5 |
<locationevent> |
|
6 |
<location_id> |
|
7 |
<location> |
|
8 |
<locationdetermination> |
|
9 |
<namedplace_id> |
|
10 |
<_simplifyPath> |
|
11 |
<next>parent_id/namedplace</next> |
|
12 |
<require>placename</require> |
|
13 |
<path> |
|
3 |
<location id="-1"> |
|
4 |
<locationdetermination> |
|
5 |
<namedplace_id> |
|
6 |
<_simplifyPath> |
|
7 |
<next>parent_id/namedplace</next> |
|
8 |
<require>placename</require> |
|
9 |
<path> |
|
10 |
<namedplace> |
|
11 |
<rank>county</rank> |
|
12 |
<parent_id> |
|
13 |
<namedplace> |
|
14 |
<rank>stateProvince</rank> |
|
15 |
<parent_id> |
|
14 | 16 |
<namedplace> |
15 |
<rank>county</rank> |
|
17 |
<rank>country</rank>
|
|
16 | 18 |
<parent_id> |
17 | 19 |
<namedplace> |
18 |
<rank>stateProvince</rank> |
|
19 |
<parent_id> |
|
20 |
<namedplace> |
|
21 |
<rank>country</rank> |
|
22 |
<parent_id> |
|
23 |
<namedplace> |
|
24 |
<rank>continent</rank> |
|
25 |
<placename>$continent</placename> |
|
26 |
</namedplace> |
|
27 |
</parent_id> |
|
28 |
</namedplace> |
|
29 |
</parent_id> |
|
20 |
<rank>continent</rank> |
|
21 |
<placename>$continent</placename> |
|
30 | 22 |
</namedplace> |
31 | 23 |
</parent_id> |
32 | 24 |
</namedplace> |
33 |
</path> |
|
34 |
</_simplifyPath> |
|
35 |
</namedplace_id> |
|
36 |
</locationdetermination> |
|
37 |
<locationnarrative><_merge><1>$locality</1></_merge></locationnarrative> |
|
38 |
<sourceaccessioncode> |
|
39 |
<_alt> |
|
40 |
<1>$id</1> |
|
41 |
<2> |
|
42 |
<_merge> |
|
43 |
<1>$institutionCode</1> |
|
44 |
<2>$collectionCode</2> |
|
45 |
</_merge> |
|
46 |
</2> |
|
47 |
</_alt> |
|
48 |
</sourceaccessioncode> |
|
49 |
</location> |
|
50 |
</location_id> |
|
51 |
</locationevent> |
|
52 |
</locationevent_id> |
|
53 |
<collectioncode_dwc>$collectionCode</collectioncode_dwc> |
|
54 |
<collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber> |
|
55 |
<growthform> |
|
56 |
<_map> |
|
57 |
<tree>*</tree> |
|
58 |
<shrub>*</shrub> |
|
59 |
<liana>*</liana> |
|
60 |
<vine>*</vine> |
|
61 |
<herb>*</herb> |
|
62 |
<hemiepiphyte>*</hemiepiphyte> |
|
63 |
<epiphyte>*</epiphyte> |
|
64 |
<grass>*</grass> |
|
65 |
<forb>*</forb> |
|
66 |
<moss>*</moss> |
|
67 |
<lichen>*</lichen> |
|
68 |
<fungus>*</fungus> |
|
69 |
<floating aquatic>*</floating aquatic> |
|
70 |
<submerged aquatic>*</submerged aquatic> |
|
71 |
<*></*> |
|
72 |
<value>$establishmentMeans</value> |
|
73 |
</_map> |
|
74 |
</growthform> |
|
75 |
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id> |
|
76 |
<iscultivated> |
|
77 |
<_map> |
|
78 |
<cultivated>t</cultivated> |
|
79 |
<wild>f</wild> |
|
80 |
<*></*> |
|
81 |
<value>$establishmentMeans</value> |
|
82 |
</_map> |
|
83 |
</iscultivated> |
|
84 |
<isnative> |
|
85 |
<_map> |
|
86 |
<native>t</native> |
|
87 |
<exotic>f</exotic> |
|
88 |
<*></*> |
|
89 |
<value>$establishmentMeans</value> |
|
90 |
</_map> |
|
91 |
</isnative> |
|
92 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
93 |
<taxondetermination> |
|
94 |
<isoriginal>true</isoriginal> |
|
95 |
<iscurrent>true</iscurrent> |
|
96 |
<role>identifier</role> |
|
97 |
<plantconcept_id> |
|
98 |
<plantconcept> |
|
99 |
<plantname_id> |
|
100 |
<_simplifyPath> |
|
101 |
<next>parent_id/plantname</next> |
|
102 |
<require>plantname</require> |
|
103 |
<path> |
|
104 |
<plantname> |
|
105 |
<rank>binomial</rank> |
|
106 |
<parent_id> |
|
25 |
</parent_id> |
|
26 |
</namedplace> |
|
27 |
</parent_id> |
|
28 |
</namedplace> |
|
29 |
</path> |
|
30 |
</_simplifyPath> |
|
31 |
</namedplace_id> |
|
32 |
</locationdetermination> |
|
33 |
<locationevent> |
|
34 |
<specimenreplicate> |
|
35 |
<collectioncode_dwc>$collectionCode</collectioncode_dwc> |
|
36 |
<collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber> |
|
37 |
<growthform> |
|
38 |
<_map> |
|
39 |
<tree>*</tree> |
|
40 |
<shrub>*</shrub> |
|
41 |
<liana>*</liana> |
|
42 |
<vine>*</vine> |
|
43 |
<herb>*</herb> |
|
44 |
<hemiepiphyte>*</hemiepiphyte> |
|
45 |
<epiphyte>*</epiphyte> |
|
46 |
<grass>*</grass> |
|
47 |
<forb>*</forb> |
|
48 |
<moss>*</moss> |
|
49 |
<lichen>*</lichen> |
|
50 |
<fungus>*</fungus> |
|
51 |
<floating aquatic>*</floating aquatic> |
|
52 |
<submerged aquatic>*</submerged aquatic> |
|
53 |
<*></*> |
|
54 |
<value>$establishmentMeans</value> |
|
55 |
</_map> |
|
56 |
</growthform> |
|
57 |
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id> |
|
58 |
<iscultivated> |
|
59 |
<_map> |
|
60 |
<cultivated>t</cultivated> |
|
61 |
<wild>f</wild> |
|
62 |
<*></*> |
|
63 |
<value>$establishmentMeans</value> |
|
64 |
</_map> |
|
65 |
</iscultivated> |
|
66 |
<isnative> |
|
67 |
<_map> |
|
68 |
<native>t</native> |
|
69 |
<exotic>f</exotic> |
|
70 |
<*></*> |
|
71 |
<value>$establishmentMeans</value> |
|
72 |
</_map> |
|
73 |
</isnative> |
|
74 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
75 |
<taxondetermination> |
|
76 |
<isoriginal>true</isoriginal> |
|
77 |
<iscurrent>true</iscurrent> |
|
78 |
<role>identifier</role> |
|
79 |
<plantconcept_id> |
|
80 |
<plantconcept> |
|
81 |
<plantname_id> |
|
82 |
<_simplifyPath> |
|
83 |
<next>parent_id/plantname</next> |
|
84 |
<require>plantname</require> |
|
85 |
<path> |
|
107 | 86 |
<plantname> |
108 |
<rank>authority</rank>
|
|
87 |
<rank>binomial</rank>
|
|
109 | 88 |
<parent_id> |
110 | 89 |
<plantname> |
111 |
<rank>subspecies</rank>
|
|
90 |
<rank>authority</rank>
|
|
112 | 91 |
<parent_id> |
113 | 92 |
<plantname> |
114 |
<rank>species</rank> |
|
93 |
<rank>subspecies</rank>
|
|
115 | 94 |
<parent_id> |
116 | 95 |
<plantname> |
117 |
<rank>genus</rank> |
|
118 |
<plantname>$genus</plantname> |
|
96 |
<rank>species</rank> |
|
119 | 97 |
<parent_id> |
120 | 98 |
<plantname> |
121 |
<rank>family</rank> |
|
122 |
<plantname>$family</plantname> |
|
99 |
<rank>genus</rank> |
|
100 |
<plantname>$genus</plantname> |
|
101 |
<parent_id> |
|
102 |
<plantname> |
|
103 |
<rank>family</rank> |
|
104 |
<plantname>$family</plantname> |
|
105 |
</plantname> |
|
106 |
</parent_id> |
|
123 | 107 |
</plantname> |
124 | 108 |
</parent_id> |
125 | 109 |
</plantname> |
... | ... | |
129 | 113 |
</plantname> |
130 | 114 |
</parent_id> |
131 | 115 |
</plantname> |
132 |
</parent_id> |
|
133 |
</plantname> |
|
134 |
</path> |
|
135 |
</_simplifyPath> |
|
136 |
</plantname_id> |
|
137 |
</plantconcept> |
|
138 |
</plantconcept_id> |
|
139 |
</taxondetermination> |
|
140 |
</specimenreplicate> |
|
116 |
</path> |
|
117 |
</_simplifyPath> |
|
118 |
</plantname_id> |
|
119 |
</plantconcept> |
|
120 |
</plantconcept_id> |
|
121 |
</taxondetermination> |
|
122 |
</specimenreplicate> |
|
123 |
</locationevent> |
|
124 |
<locationnarrative><_merge><1>$locality</1></_merge></locationnarrative> |
|
125 |
<sourceaccessioncode> |
|
126 |
<_alt> |
|
127 |
<1>$id</1> |
|
128 |
<2> |
|
129 |
<_merge> |
|
130 |
<1>$institutionCode</1> |
|
131 |
<2>$collectionCode</2> |
|
132 |
</_merge> |
|
133 |
</2> |
|
134 |
</_alt> |
|
135 |
</sourceaccessioncode> |
|
136 |
</location> |
|
141 | 137 |
</VegBIEN> |
142 | 138 |
Inserted 16 new rows into database |
inputs/MT/maps/VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
MT[DwC],VegBIEN:,Comments,Order |
2 |
continent,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59
|
|
3 |
locality,/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/1,,68
|
|
4 |
id,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/1,"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
|
|
5 |
institutionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
6 |
collectionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
7 |
collectionCode,/specimenreplicate/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
|
|
8 |
collectionID,/specimenreplicate/collectionnumber/_alt/2,,9
|
|
9 |
establishmentMeans,"/specimenreplicate/growthform/_map:[./{tree,shrub,liana,vine,herb,hemiepiphyte,epiphyte,grass,forb,moss,lichen,fungus,""floating aquatic"",""submerged aquatic""}=*,*=]/value",,30
|
|
10 |
institutionCode,/specimenreplicate/institution_id/party/organizationname,,
|
|
11 |
establishmentMeans,"/specimenreplicate/iscultivated/_map:[cultivated=t,wild=f,*=]/value",,30
|
|
12 |
establishmentMeans,"/specimenreplicate/isnative/_map:[native=t,exotic=f,*=]/value",,30
|
|
13 |
id,/specimenreplicate/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
|
|
14 |
genus,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
15 |
family,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
2 |
continent,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
|
3 |
collectionCode,/location/locationevent/specimenreplicate/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
|
|
4 |
collectionID,/location/locationevent/specimenreplicate/collectionnumber/_alt/2,,9
|
|
5 |
establishmentMeans,"/location/locationevent/specimenreplicate/growthform/_map:[./{tree,shrub,liana,vine,herb,hemiepiphyte,epiphyte,grass,forb,moss,lichen,fungus,""floating aquatic"",""submerged aquatic""}=*,*=]/value",,30
|
|
6 |
institutionCode,/location/locationevent/specimenreplicate/institution_id/party/organizationname,,
|
|
7 |
establishmentMeans,"/location/locationevent/specimenreplicate/iscultivated/_map:[cultivated=t,wild=f,*=]/value",,30
|
|
8 |
establishmentMeans,"/location/locationevent/specimenreplicate/isnative/_map:[native=t,exotic=f,*=]/value",,30
|
|
9 |
id,/location/locationevent/specimenreplicate/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
|
|
10 |
genus,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
11 |
family,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
12 |
locality,/location/locationnarrative/_merge/1,,68
|
|
13 |
id,/location/sourceaccessioncode/_alt/1,"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
|
|
14 |
institutionCode,/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
15 |
collectionCode,/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
16 | 16 |
basisOfRecord,,** No non-empty join mapping for basisOfRecord ** |
17 | 17 |
countryCode,,** No non-empty join mapping for countryCode ** |
18 | 18 |
datasetName,,** No non-empty join mapping for datasetName ** |
inputs/XAL/test/import.specimens.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<specimenreplicate id="-1"> |
|
4 |
<locationevent_id> |
|
5 |
<locationevent> |
|
6 |
<location_id> |
|
7 |
<location> |
|
8 |
<elevation> |
|
9 |
<_alt> |
|
10 |
<2> |
|
11 |
<_avg> |
|
12 |
<max> |
|
13 |
<_units> |
|
14 |
<default>m</default> |
|
15 |
<to>m</to> |
|
16 |
<to></to> |
|
17 |
<value>$MaximumElevation</value> |
|
18 |
</_units> |
|
19 |
</max> |
|
20 |
<min> |
|
21 |
<_units> |
|
22 |
<default>m</default> |
|
23 |
<to>m</to> |
|
24 |
<to></to> |
|
25 |
<value> |
|
26 |
<_rangeStart> |
|
27 |
<value> |
|
28 |
<_replace> |
|
29 |
<\bca\.?></\bca\.?> |
|
30 |
<value>$MinimumElevation</value> |
|
31 |
</_replace> |
|
32 |
</value> |
|
33 |
</_rangeStart> |
|
34 |
</value> |
|
35 |
</_units> |
|
36 |
</min> |
|
37 |
</_avg> |
|
38 |
</2> |
|
39 |
</_alt> |
|
40 |
</elevation> |
|
41 |
<elevationrange> |
|
42 |
<_range> |
|
43 |
<from> |
|
44 |
<_units> |
|
45 |
<default>m</default> |
|
46 |
<to>m</to> |
|
47 |
<to></to> |
|
48 |
<value> |
|
49 |
<_rangeStart> |
|
50 |
<value> |
|
51 |
<_replace> |
|
52 |
<\bca\.?></\bca\.?> |
|
53 |
<value>$MinimumElevation</value> |
|
54 |
</_replace> |
|
55 |
</value> |
|
56 |
</_rangeStart> |
|
57 |
</value> |
|
58 |
</_units> |
|
59 |
</from> |
|
60 |
<to> |
|
61 |
<_units> |
|
62 |
<default>m</default> |
|
63 |
<to>m</to> |
|
64 |
<to></to> |
|
65 |
<value> |
|
66 |
<_alt> |
|
67 |
<1>$MaximumElevation</1> |
|
68 |
<2> |
|
69 |
<_rangeEnd> |
|
70 |
<value> |
|
71 |
<_replace> |
|
72 |
<\bca\.?></\bca\.?> |
|
73 |
<value>$MinimumElevation</value> |
|
74 |
</_replace> |
|
75 |
</value> |
|
76 |
</_rangeEnd> |
|
77 |
</2> |
|
78 |
</_alt> |
|
79 |
</value> |
|
80 |
</_units> |
|
81 |
</to> |
|
82 |
</_range> |
|
83 |
</elevationrange> |
|
84 |
<locationdetermination> |
|
85 |
<coordsaccuracy><_noCV><value><_alt><2>$CoordinatePrecision</2></_alt></value></_noCV></coordsaccuracy> |
|
86 |
<latitude> |
|
87 |
<_alt> |
|
88 |
<1> |
|
89 |
<_nullIf> |
|
90 |
<null>0</null> |
|
91 |
<type>float</type> |
|
92 |
<value>$Latitude</value> |
|
93 |
</_nullIf> |
|
94 |
</1> |
|
95 |
</_alt> |
|
96 |
</latitude> |
|
97 |
<longitude> |
|
98 |
<_alt> |
|
99 |
<1> |
|
100 |
<_nullIf> |
|
101 |
<null>0</null> |
|
102 |
<type>float</type> |
|
103 |
<value>$Longitude</value> |
|
104 |
</_nullIf> |
|
105 |
</1> |
|
106 |
</_alt> |
|
107 |
</longitude> |
|
108 |
<namedplace_id> |
|
109 |
<_simplifyPath> |
|
110 |
<next>parent_id/namedplace</next> |
|
111 |
<require>placename</require> |
|
112 |
<path> |
|
113 |
<namedplace> |
|
114 |
<rank>county</rank> |
|
115 |
<placename>$County</placename> |
|
116 |
<parent_id> |
|
117 |
<namedplace> |
|
118 |
<rank>stateProvince</rank> |
|
119 |
<placename>$StateProvince</placename> |
|
120 |
<parent_id> |
|
121 |
<namedplace> |
|
122 |
<rank>country</rank> |
|
123 |
<placename>$Country</placename> |
|
124 |
<parent_id> |
|
125 |
<namedplace> |
|
126 |
<rank>continent</rank> |
|
127 |
<placename>$ContinentOcean</placename> |
|
128 |
</namedplace> |
|
129 |
</parent_id> |
|
130 |
</namedplace> |
|
131 |
</parent_id> |
|
132 |
</namedplace> |
|
133 |
</parent_id> |
|
134 |
</namedplace> |
|
135 |
</path> |
|
136 |
</_simplifyPath> |
|
137 |
</namedplace_id> |
|
138 |
</locationdetermination> |
|
139 |
<locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative> |
|
140 |
<sourceaccessioncode> |
|
141 |
<_alt> |
|
142 |
<2> |
|
143 |
<_merge> |
|
144 |
<1>$InstitutionCode</1> |
|
145 |
<2>$CollectionCode</2> |
|
146 |
<3>$CatalogNumber</3> |
|
147 |
</_merge> |
|
148 |
</2> |
|
149 |
</_alt> |
|
150 |
</sourceaccessioncode> |
|
151 |
</location> |
|
152 |
</location_id> |
|
153 |
<obsenddate> |
|
154 |
<_date> |
|
155 |
<date> |
|
156 |
<_dateRangeEnd> |
|
157 |
<value> |
|
158 |
<_alt> |
|
159 |
<1> |
|
160 |
<_date> |
|
161 |
<day> |
|
162 |
<_nullIf> |
|
163 |
<null>0</null> |
|
164 |
<type>float</type> |
|
165 |
<value>$DayCollected</value> |
|
166 |
</_nullIf> |
|
167 |
</day> |
|
168 |
<month> |
|
169 |
<_nullIf> |
|
170 |
<null>0</null> |
|
171 |
<type>float</type> |
|
172 |
<value>$MonthCollected</value> |
|
173 |
</_nullIf> |
|
174 |
</month> |
|
175 |
<year> |
|
176 |
<_nullIf> |
|
177 |
<null>0</null> |
|
178 |
<type>float</type> |
|
179 |
<value>$YearCollected</value> |
|
180 |
</_nullIf> |
|
181 |
</year> |
|
182 |
</_date> |
|
183 |
</1> |
|
184 |
</_alt> |
|
185 |
</value> |
|
186 |
</_dateRangeEnd> |
|
187 |
</date> |
|
188 |
</_date> |
|
189 |
</obsenddate> |
|
190 |
<obsstartdate> |
|
191 |
<_date> |
|
192 |
<date> |
|
193 |
<_dateRangeStart> |
|
194 |
<value> |
|
195 |
<_alt> |
|
196 |
<1> |
|
197 |
<_date> |
|
198 |
<day> |
|
199 |
<_nullIf> |
|
200 |
<null>0</null> |
|
201 |
<type>float</type> |
|
202 |
<value>$DayCollected</value> |
|
203 |
</_nullIf> |
|
204 |
</day> |
|
205 |
<month> |
|
206 |
<_nullIf> |
|
207 |
<null>0</null> |
|
208 |
<type>float</type> |
|
209 |
<value>$MonthCollected</value> |
|
210 |
</_nullIf> |
|
211 |
</month> |
|
212 |
<year> |
|
213 |
<_nullIf> |
|
214 |
<null>0</null> |
|
215 |
<type>float</type> |
|
216 |
<value>$YearCollected</value> |
|
217 |
</_nullIf> |
|
218 |
</year> |
|
219 |
</_date> |
|
220 |
</1> |
|
221 |
</_alt> |
|
222 |
</value> |
|
223 |
</_dateRangeStart> |
|
224 |
</date> |
|
225 |
</_date> |
|
226 |
</obsstartdate> |
|
227 |
<waterdepth> |
|
3 |
<location id="-1"> |
|
4 |
<elevation> |
|
5 |
<_alt> |
|
6 |
<2> |
|
228 | 7 |
<_avg> |
229 | 8 |
<max> |
230 | 9 |
<_units> |
231 | 10 |
<default>m</default> |
232 | 11 |
<to>m</to> |
233 | 12 |
<to></to> |
234 |
<value>$MaximumDepth</value>
|
|
13 |
<value>$MaximumElevation</value>
|
|
235 | 14 |
</_units> |
236 | 15 |
</max> |
237 | 16 |
<min> |
... | ... | |
239 | 18 |
<default>m</default> |
240 | 19 |
<to>m</to> |
241 | 20 |
<to></to> |
242 |
<value>$MinimumDepth</value> |
|
21 |
<value> |
|
22 |
<_rangeStart> |
|
23 |
<value> |
|
24 |
<_replace> |
|
25 |
<\bca\.?></\bca\.?> |
|
26 |
<value>$MinimumElevation</value> |
|
27 |
</_replace> |
|
28 |
</value> |
|
29 |
</_rangeStart> |
|
30 |
</value> |
|
243 | 31 |
</_units> |
244 | 32 |
</min> |
245 | 33 |
</_avg> |
246 |
</waterdepth> |
|
247 |
</locationevent> |
|
248 |
</locationevent_id> |
|
249 |
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc> |
|
250 |
<collectioncode_dwc>$CollectionCode</collectioncode_dwc> |
|
251 |
<collectionnumber> |
|
252 |
<_alt> |
|
253 |
<1><_alt><1>$CollectorNumber</1></_alt></1> |
|
254 |
<3>$FieldNumber</3> |
|
34 |
</2> |
|
255 | 35 |
</_alt> |
256 |
</collectionnumber> |
|
257 |
<definedvalue fkey="tablerecord_id"> |
|
258 |
<userdefined_id> |
|
259 |
<userdefined> |
|
260 |
<tablename>specimenreplicate</tablename> |
|
261 |
<userdefinedname>sex</userdefinedname> |
|
262 |
</userdefined> |
|
263 |
</userdefined_id> |
|
264 |
<definedvalue>$Sex</definedvalue> |
|
265 |
</definedvalue> |
|
266 |
<description><_merge><1>$Notes</1></_merge></description> |
|
267 |
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id> |
|
268 |
<taxondetermination> |
|
269 |
<role>identifier</role> |
|
270 |
<determinationdate> |
|
36 |
</elevation> |
|
37 |
<elevationrange> |
|
38 |
<_range> |
|
39 |
<from> |
|
40 |
<_units> |
|
41 |
<default>m</default> |
|
42 |
<to>m</to> |
|
43 |
<to></to> |
|
44 |
<value> |
|
45 |
<_rangeStart> |
|
46 |
<value> |
|
47 |
<_replace> |
|
48 |
<\bca\.?></\bca\.?> |
|
49 |
<value>$MinimumElevation</value> |
|
50 |
</_replace> |
|
51 |
</value> |
|
52 |
</_rangeStart> |
|
53 |
</value> |
|
54 |
</_units> |
|
55 |
</from> |
|
56 |
<to> |
|
57 |
<_units> |
|
58 |
<default>m</default> |
|
59 |
<to>m</to> |
|
60 |
<to></to> |
|
61 |
<value> |
|
62 |
<_alt> |
|
63 |
<1>$MaximumElevation</1> |
|
64 |
<2> |
|
65 |
<_rangeEnd> |
|
66 |
<value> |
|
67 |
<_replace> |
|
68 |
<\bca\.?></\bca\.?> |
|
69 |
<value>$MinimumElevation</value> |
|
70 |
</_replace> |
|
71 |
</value> |
|
72 |
</_rangeEnd> |
|
73 |
</2> |
|
74 |
</_alt> |
|
75 |
</value> |
|
76 |
</_units> |
|
77 |
</to> |
|
78 |
</_range> |
|
79 |
</elevationrange> |
|
80 |
<locationdetermination> |
|
81 |
<coordsaccuracy><_noCV><value><_alt><2>$CoordinatePrecision</2></_alt></value></_noCV></coordsaccuracy> |
|
82 |
<latitude> |
|
83 |
<_alt> |
|
84 |
<1> |
|
85 |
<_nullIf> |
|
86 |
<null>0</null> |
|
87 |
<type>float</type> |
|
88 |
<value>$Latitude</value> |
|
89 |
</_nullIf> |
|
90 |
</1> |
|
91 |
</_alt> |
|
92 |
</latitude> |
|
93 |
<longitude> |
|
94 |
<_alt> |
|
95 |
<1> |
|
96 |
<_nullIf> |
|
97 |
<null>0</null> |
|
98 |
<type>float</type> |
|
99 |
<value>$Longitude</value> |
|
100 |
</_nullIf> |
|
101 |
</1> |
|
102 |
</_alt> |
|
103 |
</longitude> |
|
104 |
<namedplace_id> |
|
105 |
<_simplifyPath> |
|
106 |
<next>parent_id/namedplace</next> |
|
107 |
<require>placename</require> |
|
108 |
<path> |
|
109 |
<namedplace> |
|
110 |
<rank>county</rank> |
|
111 |
<placename>$County</placename> |
|
112 |
<parent_id> |
|
113 |
<namedplace> |
|
114 |
<rank>stateProvince</rank> |
|
115 |
<placename>$StateProvince</placename> |
|
116 |
<parent_id> |
|
117 |
<namedplace> |
|
118 |
<rank>country</rank> |
|
119 |
<placename>$Country</placename> |
|
120 |
<parent_id> |
|
121 |
<namedplace> |
|
122 |
<rank>continent</rank> |
|
123 |
<placename>$ContinentOcean</placename> |
|
124 |
</namedplace> |
|
125 |
</parent_id> |
|
126 |
</namedplace> |
|
127 |
</parent_id> |
|
128 |
</namedplace> |
|
129 |
</parent_id> |
|
130 |
</namedplace> |
|
131 |
</path> |
|
132 |
</_simplifyPath> |
|
133 |
</namedplace_id> |
|
134 |
</locationdetermination> |
|
135 |
<locationevent> |
|
136 |
<obsenddate> |
|
271 | 137 |
<_date> |
272 | 138 |
<date> |
139 |
<_dateRangeEnd> |
|
140 |
<value> |
|
141 |
<_alt> |
|
142 |
<1> |
|
143 |
<_date> |
|
144 |
<day> |
|
145 |
<_nullIf> |
|
146 |
<null>0</null> |
|
147 |
<type>float</type> |
|
148 |
<value>$DayCollected</value> |
|
149 |
</_nullIf> |
|
150 |
</day> |
|
151 |
<month> |
|
152 |
<_nullIf> |
|
153 |
<null>0</null> |
|
154 |
<type>float</type> |
|
155 |
<value>$MonthCollected</value> |
|
156 |
</_nullIf> |
|
157 |
</month> |
|
158 |
<year> |
|
159 |
<_nullIf> |
|
160 |
<null>0</null> |
|
161 |
<type>float</type> |
|
162 |
<value>$YearCollected</value> |
|
163 |
</_nullIf> |
|
164 |
</year> |
|
165 |
</_date> |
|
166 |
</1> |
|
167 |
</_alt> |
|
168 |
</value> |
|
169 |
</_dateRangeEnd> |
|
170 |
</date> |
|
171 |
</_date> |
|
172 |
</obsenddate> |
|
173 |
<obsstartdate> |
|
174 |
<_date> |
|
175 |
<date> |
|
273 | 176 |
<_dateRangeStart> |
274 | 177 |
<value> |
275 | 178 |
<_alt> |
... | ... | |
279 | 182 |
<_nullIf> |
280 | 183 |
<null>0</null> |
281 | 184 |
<type>float</type> |
282 |
<value>$DayIdentified</value>
|
|
185 |
<value>$DayCollected</value>
|
|
283 | 186 |
</_nullIf> |
284 | 187 |
</day> |
285 | 188 |
<month> |
286 | 189 |
<_nullIf> |
287 | 190 |
<null>0</null> |
288 | 191 |
<type>float</type> |
289 |
<value>$MonthIdentified</value>
|
|
192 |
<value>$MonthCollected</value>
|
|
290 | 193 |
</_nullIf> |
291 | 194 |
</month> |
292 | 195 |
<year> |
293 | 196 |
<_nullIf> |
294 | 197 |
<null>0</null> |
295 | 198 |
<type>float</type> |
296 |
<value>$YearIdentified</value>
|
|
199 |
<value>$YearCollected</value>
|
|
297 | 200 |
</_nullIf> |
298 | 201 |
</year> |
299 | 202 |
</_date> |
... | ... | |
303 | 206 |
</_dateRangeStart> |
304 | 207 |
</date> |
305 | 208 |
</_date> |
306 |
</determinationdate> |
|
307 |
<iscurrent>true</iscurrent> |
|
308 |
<party_id> |
|
309 |
<party> |
|
310 |
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname> |
|
311 |
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename> |
|
312 |
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname> |
|
313 |
</party> |
|
314 |
</party_id> |
|
315 |
<isoriginal>true</isoriginal> |
|
316 |
<plantconcept_id> |
|
317 |
<plantconcept> |
|
318 |
<plantname_id> |
|
319 |
<_simplifyPath> |
|
320 |
<next>parent_id/plantname</next> |
|
321 |
<require>plantname</require> |
|
322 |
<path> |
|
323 |
<plantname> |
|
324 |
<rank>binomial</rank> |
|
325 |
<plantname>$ScientificName</plantname> |
|
326 |
<parent_id> |
|
209 |
</obsstartdate> |
|
210 |
<specimenreplicate> |
|
211 |
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc> |
|
212 |
<collectioncode_dwc>$CollectionCode</collectioncode_dwc> |
|
213 |
<collectionnumber> |
|
214 |
<_alt> |
|
215 |
<1><_alt><1>$CollectorNumber</1></_alt></1> |
|
216 |
<3>$FieldNumber</3> |
|
217 |
</_alt> |
|
218 |
</collectionnumber> |
|
219 |
<definedvalue fkey="tablerecord_id"> |
|
220 |
<userdefined_id> |
|
221 |
<userdefined> |
|
222 |
<tablename>specimenreplicate</tablename> |
|
223 |
<userdefinedname>sex</userdefinedname> |
|
224 |
</userdefined> |
|
225 |
</userdefined_id> |
|
226 |
<definedvalue>$Sex</definedvalue> |
|
227 |
</definedvalue> |
|
228 |
<description><_merge><1>$Notes</1></_merge></description> |
|
229 |
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id> |
|
230 |
<taxondetermination> |
|
231 |
<role>identifier</role> |
|
232 |
<determinationdate> |
|
233 |
<_date> |
|
234 |
<date> |
|
235 |
<_dateRangeStart> |
|
236 |
<value> |
|
237 |
<_alt> |
|
238 |
<1> |
|
239 |
<_date> |
|
240 |
<day> |
|
241 |
<_nullIf> |
|
242 |
<null>0</null> |
|
243 |
<type>float</type> |
|
244 |
<value>$DayIdentified</value> |
|
245 |
</_nullIf> |
|
246 |
</day> |
|
247 |
<month> |
|
248 |
<_nullIf> |
|
249 |
<null>0</null> |
|
250 |
<type>float</type> |
|
251 |
<value>$MonthIdentified</value> |
|
252 |
</_nullIf> |
|
253 |
</month> |
|
254 |
<year> |
|
255 |
<_nullIf> |
|
256 |
<null>0</null> |
|
257 |
<type>float</type> |
|
258 |
<value>$YearIdentified</value> |
|
259 |
</_nullIf> |
|
260 |
</year> |
|
261 |
</_date> |
|
262 |
</1> |
|
263 |
</_alt> |
|
264 |
</value> |
|
265 |
</_dateRangeStart> |
|
266 |
</date> |
|
267 |
</_date> |
|
268 |
</determinationdate> |
|
269 |
<iscurrent>true</iscurrent> |
|
270 |
<party_id> |
|
271 |
<party> |
|
272 |
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname> |
|
273 |
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename> |
|
274 |
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname> |
|
275 |
</party> |
|
276 |
</party_id> |
|
277 |
<isoriginal>true</isoriginal> |
|
278 |
<plantconcept_id> |
|
279 |
<plantconcept> |
|
280 |
<plantname_id> |
|
281 |
<_simplifyPath> |
|
282 |
<next>parent_id/plantname</next> |
|
283 |
<require>plantname</require> |
|
284 |
<path> |
|
327 | 285 |
<plantname> |
328 |
<rank>authority</rank>
|
|
329 |
<plantname>$ScientificNameAuthor</plantname>
|
|
286 |
<rank>binomial</rank>
|
|
287 |
<plantname>$ScientificName</plantname> |
|
330 | 288 |
<parent_id> |
331 | 289 |
<plantname> |
332 |
<rank>subspecies</rank>
|
|
333 |
<plantname>$Subspecies</plantname>
|
|
290 |
<rank>authority</rank>
|
|
291 |
<plantname>$ScientificNameAuthor</plantname>
|
|
334 | 292 |
<parent_id> |
335 | 293 |
<plantname> |
336 |
<rank>species</rank> |
|
337 |
<plantname>$Species</plantname> |
|
294 |
<rank>subspecies</rank>
|
|
295 |
<plantname>$Subspecies</plantname>
|
|
338 | 296 |
<parent_id> |
339 | 297 |
<plantname> |
340 |
<rank>genus</rank>
|
|
341 |
<plantname>$Genus</plantname>
|
|
298 |
<rank>species</rank>
|
|
299 |
<plantname>$Species</plantname>
|
|
342 | 300 |
<parent_id> |
343 | 301 |
<plantname> |
344 |
<rank>family</rank>
|
|
345 |
<plantname>$Family</plantname>
|
|
302 |
<rank>genus</rank>
|
|
303 |
<plantname>$Genus</plantname>
|
|
346 | 304 |
<parent_id> |
347 | 305 |
<plantname> |
348 |
<rank>order</rank>
|
|
349 |
<plantname>$Order</plantname>
|
|
306 |
<rank>family</rank>
|
|
307 |
<plantname>$Family</plantname>
|
|
350 | 308 |
<parent_id> |
351 | 309 |
<plantname> |
352 |
<rank>class</rank>
|
|
353 |
<plantname>$Class</plantname>
|
|
310 |
<rank>order</rank>
|
|
311 |
<plantname>$Order</plantname>
|
|
354 | 312 |
<parent_id> |
355 | 313 |
<plantname> |
356 |
<rank>subkingdom</rank>
|
|
357 |
<plantname>$Phylum</plantname>
|
|
314 |
<rank>class</rank>
|
|
315 |
<plantname>$Class</plantname>
|
|
358 | 316 |
<parent_id> |
359 | 317 |
<plantname> |
360 |
<rank>kingdom</rank> |
|
361 |
<plantname>$Kingdom</plantname> |
|
318 |
<rank>subkingdom</rank> |
|
319 |
<plantname>$Phylum</plantname> |
|
320 |
<parent_id> |
|
321 |
<plantname> |
|
322 |
<rank>kingdom</rank> |
|
323 |
<plantname>$Kingdom</plantname> |
|
324 |
</plantname> |
|
325 |
</parent_id> |
|
362 | 326 |
</plantname> |
363 | 327 |
</parent_id> |
364 | 328 |
</plantname> |
... | ... | |
376 | 340 |
</plantname> |
377 | 341 |
</parent_id> |
378 | 342 |
</plantname> |
379 |
</parent_id> |
|
380 |
</plantname> |
|
381 |
</path> |
|
382 |
</_simplifyPath> |
|
383 |
</plantname_id> |
|
384 |
</plantconcept> |
|
385 |
</plantconcept_id> |
|
386 |
</taxondetermination> |
|
387 |
<verbatimcollectorname>$Collector</verbatimcollectorname> |
|
388 |
</specimenreplicate> |
|
343 |
</path> |
|
344 |
</_simplifyPath> |
|
345 |
</plantname_id> |
|
346 |
</plantconcept> |
|
347 |
</plantconcept_id> |
|
348 |
</taxondetermination> |
|
349 |
<verbatimcollectorname>$Collector</verbatimcollectorname> |
|
350 |
</specimenreplicate> |
|
351 |
<waterdepth> |
|
352 |
<_avg> |
|
353 |
<max> |
|
354 |
<_units> |
|
355 |
<default>m</default> |
|
356 |
<to>m</to> |
|
357 |
<to></to> |
|
358 |
<value>$MaximumDepth</value> |
|
359 |
</_units> |
|
360 |
</max> |
|
361 |
<min> |
|
362 |
<_units> |
|
363 |
<default>m</default> |
|
364 |
<to>m</to> |
|
365 |
<to></to> |
|
366 |
<value>$MinimumDepth</value> |
|
367 |
</_units> |
|
368 |
</min> |
|
369 |
</_avg> |
|
370 |
</waterdepth> |
|
371 |
</locationevent> |
|
372 |
<locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative> |
|
373 |
<sourceaccessioncode> |
|
374 |
<_alt> |
|
375 |
<2> |
|
376 |
<_merge> |
|
377 |
<1>$InstitutionCode</1> |
|
378 |
<2>$CollectionCode</2> |
|
379 |
<3>$CatalogNumber</3> |
|
380 |
</_merge> |
|
381 |
</2> |
|
382 |
</_alt> |
|
383 |
</sourceaccessioncode> |
|
384 |
</location> |
|
389 | 385 |
</VegBIEN> |
390 | 386 |
Inserted 41 new rows into database |
inputs/XAL/maps/VegBIEN.specimens.csv | ||
---|---|---|
1 | 1 |
"XAL[DwC,darwin:]:/content/record/",VegBIEN:,Comments,Order |
2 |
MaximumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72
|
|
3 |
MinimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
4 |
MinimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71
|
|
5 |
MaximumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72
|
|
6 |
MinimumElevation,"/specimenreplicate/*_id/locationevent/*_id/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71
|
|
7 |
CoordinatePrecision,/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/2,,89
|
|
8 |
Latitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81
|
|
9 |
Longitude,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82
|
|
10 |
County,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66
|
|
11 |
StateProvince,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65
|
|
12 |
Country,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63
|
|
13 |
ContinentOcean,"/specimenreplicate/*_id/locationevent/*_id/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59
|
|
14 |
Locality,/specimenreplicate/*_id/locationevent/*_id/location/locationnarrative/_merge/1,,68
|
|
15 |
InstitutionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
16 |
CollectionCode,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
17 |
CatalogNumber,/specimenreplicate/*_id/locationevent/*_id/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
18 |
DayCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
19 |
MonthCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
20 |
YearCollected,"/specimenreplicate/*_id/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
21 |
DayCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
22 |
MonthCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
23 |
YearCollected,"/specimenreplicate/*_id/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
24 |
MaximumDepth,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
25 |
MinimumDepth,"/specimenreplicate/*_id/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
26 |
CatalogNumber,/specimenreplicate/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
|
|
27 |
CollectionCode,/specimenreplicate/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
|
|
28 |
CollectorNumber,/specimenreplicate/collectionnumber/_alt/1/_alt/1,,22
|
|
29 |
FieldNumber,/specimenreplicate/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
|
|
30 |
Sex,"/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
31 |
Notes,/specimenreplicate/description/_merge/1,,
|
|
32 |
InstitutionCode,/specimenreplicate/institution_id/party/organizationname,,
|
|
33 |
DayIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,120
|
|
34 |
MonthIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,120
|
|
35 |
YearIdentified,"/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,120
|
|
36 |
IdentifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
37 |
IdentifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
38 |
IdentifiedBy,/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
39 |
ScientificName,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
40 |
ScientificNameAuthor,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
41 |
Subspecies,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
42 |
Species,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
43 |
Genus,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
44 |
Family,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
45 |
Order,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
46 |
Class,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
47 |
Phylum,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
48 |
Kingdom,"/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
49 |
Collector,/specimenreplicate/verbatimcollectorname,,23
|
|
2 |
MaximumElevation,"/location/elevation/_alt/2/_avg/max/_units:[default=m,to=m,to=]/value",,72 |
|
3 |
MinimumElevation,"/location/elevation/_alt/2/_avg/min/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
4 |
MinimumElevation,"/location/elevationrange/_range/from/_units:[default=m,to=m,to=]/value/_rangeStart/value/_replace[""\bca\.?""=]/value",,71 |
|
5 |
MaximumElevation,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/1",,72 |
|
6 |
MinimumElevation,"/location/elevationrange/_range/to/_units:[default=m,to=m,to=]/value/_alt/2/_rangeEnd/value/_replace[""\bca\.?""=]/value",,71 |
|
7 |
CoordinatePrecision,/location/locationdetermination/coordsaccuracy/_noCV/value/_alt/2,,89 |
|
8 |
Latitude,"/location/locationdetermination/latitude/_alt/1/_nullIf:[null=0,type=float]/value",,81 |
|
9 |
Longitude,"/location/locationdetermination/longitude/_alt/1/_nullIf:[null=0,type=float]/value",,82 |
|
10 |
County,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",,66 |
|
11 |
StateProvince,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",,65 |
|
12 |
Country,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",Brad: Required; reject record if this field NULL,63 |
|
13 |
ContinentOcean,"/location/locationdetermination/namedplace_id/_simplifyPath:[next=""parent_id/namedplace"",require=placename]/path/_forEach:[in:[county,stateProvince,country,],do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",Brad: OMIT,59 |
|
14 |
DayCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
15 |
MonthCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
16 |
YearCollected,"/location/locationevent/obsenddate/_*/date/_dateRangeEnd/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
17 |
DayCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,44
|
|
18 |
MonthCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,44
|
|
19 |
YearCollected,"/location/locationevent/obsstartdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,44
|
|
20 |
CatalogNumber,/location/locationevent/specimenreplicate/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
|
|
21 |
CollectionCode,/location/locationevent/specimenreplicate/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
|
|
22 |
CollectorNumber,/location/locationevent/specimenreplicate/collectionnumber/_alt/1/_alt/1,,22
|
|
23 |
FieldNumber,/location/locationevent/specimenreplicate/collectionnumber/_alt/3,"Brad: Correct for VB, not sure about VX; Nick, is there an element in VX fo Collection Number?",53
|
|
24 |
Sex,"/location/locationevent/specimenreplicate/definedvalue[*_id/userdefined[tablename=specimenreplicate,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections",26
|
|
25 |
Notes,/location/locationevent/specimenreplicate/description/_merge/1,,
|
|
26 |
InstitutionCode,/location/locationevent/specimenreplicate/institution_id/party/organizationname,,
|
|
27 |
DayIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/day/_nullIf:[null=0,type=float]/value",,120
|
|
28 |
MonthIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/month/_nullIf:[null=0,type=float]/value",,120
|
|
29 |
YearIdentified,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]/determinationdate/_*/date/_dateRangeStart/value/_alt/1/_date/year/_nullIf:[null=0,type=float]/value",,120
|
|
30 |
IdentifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/givenname/_namePart/first,Brad: Bob: does this look correct for VegBank?,119
|
|
31 |
IdentifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/middlename/_namePart/middle,Brad: Bob: does this look correct for VegBank?,119
|
|
32 |
IdentifiedBy,/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[iscurrent=true]/*_id/party/surname/_namePart/last,Brad: Bob: does this look correct for VegBank?,119
|
|
33 |
ScientificName,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[],do=""plantname[rank=_val]/parent_id""]/plantname[rank=binomial]/plantname","Brad: Bob, Nick, please is this mapping OK?",134
|
|
34 |
ScientificNameAuthor,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=authority]/plantname","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",153
|
|
35 |
Subspecies,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname",,150
|
|
36 |
Species,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=species]/plantname",,149
|
|
37 |
Genus,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=genus]/plantname",,147
|
|
38 |
Family,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=family]/plantname",,146
|
|
39 |
Order,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=order]/plantname",,145
|
|
40 |
Class,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=class]/plantname",,144
|
|
41 |
Phylum,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subkingdom]/plantname",,143
|
|
42 |
Kingdom,"/location/locationevent/specimenreplicate/taxondetermination[role=identifier]:[isoriginal=true,iscurrent=true]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,subspecies,species,genus,family,order,class,subkingdom,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname",,142
|
|
43 |
Collector,/location/locationevent/specimenreplicate/verbatimcollectorname,,23
|
|
44 |
MaximumDepth,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,75
|
|
45 |
MinimumDepth,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,74
|
|
46 |
Locality,/location/locationnarrative/_merge/1,,68
|
|
47 |
InstitutionCode,/location/sourceaccessioncode/_alt/2/_merge/1,,
|
|
48 |
CollectionCode,/location/sourceaccessioncode/_alt/2/_merge/2,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
|
|
49 |
CatalogNumber,/location/sourceaccessioncode/_alt/2/_merge/3,"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
|
|
50 | 50 |
BasisOfRecord,,** No non-empty join mapping for BasisOfRecord ** |
51 | 51 |
DateLastModified,,** No non-empty join mapping for DateLastModified ** |
52 | 52 |
IndividualCount,,** No non-empty join mapping for IndividualCount ** |
inputs/NY/test/import.specimens.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<specimenreplicate id="-1"> |
|
4 |
<locationevent_id> |
|
5 |
<locationevent> |
|
6 |
<location_id> |
|
7 |
<location> |
|
8 |
<elevation> |
|
9 |
<_alt> |
|
10 |
<2> |
|
11 |
<_avg> |
|
12 |
<max> |
|
13 |
<_units> |
|
14 |
<default>m</default> |
|
15 |
<to>m</to> |
|
16 |
<to></to> |
|
17 |
<value>$MaximumElevation</value> |
|
18 |
</_units> |
|
19 |
</max> |
|
20 |
<min> |
|
21 |
<_units> |
|
22 |
<default>m</default> |
|
23 |
<to>m</to> |
|
24 |
<to></to> |
|
25 |
<value> |
|
26 |
<_rangeStart> |
|
27 |
<value> |
|
28 |
<_replace> |
|
29 |
<\bca\.?></\bca\.?> |
|
30 |
<value> |
|
31 |
<_nullIf> |
|
32 |
<null>.</null> |
|
33 |
<value>$MinimumElevation</value> |
|
34 |
</_nullIf> |
|
35 |
</value> |
|
36 |
</_replace> |
|
37 |
</value> |
|
38 |
</_rangeStart> |
|
39 |
</value> |
|
40 |
</_units> |
|
41 |
</min> |
|
42 |
</_avg> |
|
43 |
</2> |
|
44 |
</_alt> |
|
45 |
</elevation> |
|
46 |
<elevationrange> |
|
47 |
<_range> |
|
48 |
<from> |
|
49 |
<_units> |
|
50 |
<default>m</default> |
|
51 |
<to>m</to> |
|
52 |
<to></to> |
|
53 |
<value> |
|
54 |
<_rangeStart> |
|
55 |
<value> |
|
56 |
<_replace> |
|
57 |
<\bca\.?></\bca\.?> |
|
58 |
<value> |
|
59 |
<_nullIf> |
|
60 |
<null>.</null> |
|
61 |
<value>$MinimumElevation</value> |
|
62 |
</_nullIf> |
|
63 |
</value> |
|
64 |
</_replace> |
|
65 |
</value> |
|
66 |
</_rangeStart> |
|
67 |
</value> |
|
68 |
</_units> |
|
69 |
</from> |
|
70 |
<to> |
|
71 |
<_units> |
|
72 |
<default>m</default> |
|
73 |
<to>m</to> |
|
74 |
<to></to> |
|
75 |
<value> |
|
76 |
<_alt> |
|
77 |
<1>$MaximumElevation</1> |
|
78 |
<2> |
|
79 |
<_rangeEnd> |
|
80 |
<value> |
|
81 |
<_replace> |
|
82 |
<\bca\.?></\bca\.?> |
|
83 |
<value> |
|
84 |
<_nullIf> |
|
85 |
<null>.</null> |
|
86 |
<value>$MinimumElevation</value> |
Also available in: Unified diff
mappings/DwC2-VegBIEN.specimens.csv: Reversed XPaths so that they start with location instead of specimenreplicate