Revision 3942
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/SALVIAS-CSV/test/import.organisms.xml.ref | ||
---|---|---|
21 | 21 |
</locationevent> |
22 | 22 |
</parent_id> |
23 | 23 |
<taxonoccurrence> |
24 |
<_if> |
|
25 |
<name>specimenreplicate_via</name> |
|
26 |
<cond> |
|
27 |
<_eq> |
|
28 |
<right>indirect</right> |
|
29 |
<left>$det_type</left> |
|
30 |
</_eq> |
|
31 |
</cond> |
|
32 |
<else> |
|
33 |
<aggregateoccurrence merge="1"> |
|
34 |
<plantobservation merge="1"> |
|
35 |
<specimenreplicate> |
|
36 |
<catalognumber_dwc> |
|
37 |
<_alt> |
|
38 |
<1>$coll_number</1> |
|
39 |
<2>$voucher_string</2> |
|
40 |
</_alt> |
|
41 |
</catalognumber_dwc> |
|
42 |
</specimenreplicate> |
|
43 |
</plantobservation> |
|
44 |
</aggregateoccurrence> |
|
45 |
</else> |
|
46 |
<then> |
|
47 |
<voucher> |
|
48 |
<specimenreplicate_id> |
|
49 |
<specimenreplicate> |
|
50 |
<catalognumber_dwc> |
|
51 |
<_alt> |
|
52 |
<1>$coll_number</1> |
|
53 |
<2>$voucher_string</2> |
|
54 |
</_alt> |
|
55 |
</catalognumber_dwc> |
|
56 |
</specimenreplicate> |
|
57 |
</specimenreplicate_id> |
|
58 |
</voucher> |
|
59 |
</then> |
|
60 |
</_if> |
|
61 | 24 |
<aggregateoccurrence> |
62 | 25 |
<count>$no_of_individuals</count> |
63 | 26 |
<cover>$cover_percent</cover> |
... | ... | |
80 | 43 |
</_alt> |
81 | 44 |
</overallheight> |
82 | 45 |
<sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode> |
46 |
<specimenreplicate> |
|
47 |
<_if name="voucherType"> |
|
48 |
<cond> |
|
49 |
<_eq> |
|
50 |
<right>indirect</right> |
|
51 |
<left>$det_type</left> |
|
52 |
</_eq> |
|
53 |
</cond> |
|
54 |
<else> |
|
55 |
<catalognumber_dwc> |
|
56 |
<_alt> |
|
57 |
<1>$coll_number</1> |
|
58 |
<2>$voucher_string</2> |
|
59 |
</_alt> |
|
60 |
</catalognumber_dwc> |
|
61 |
</else> |
|
62 |
</_if> |
|
63 |
</specimenreplicate> |
|
83 | 64 |
<stemcount>$no_of_individuals</stemcount> |
84 | 65 |
<stemobservation> |
85 | 66 |
<basaldiameter>$basal_diam</basaldiameter> |
... | ... | |
301 | 282 |
<last>$coll_lastname</last> |
302 | 283 |
</_name> |
303 | 284 |
</verbatimcollectorname> |
285 |
<voucher> |
|
286 |
<specimenreplicate_id> |
|
287 |
<specimenreplicate> |
|
288 |
<_if name="voucherType"> |
|
289 |
<cond> |
|
290 |
<_eq> |
|
291 |
<right>indirect</right> |
|
292 |
<left>$det_type</left> |
|
293 |
</_eq> |
|
294 |
</cond> |
|
295 |
<then> |
|
296 |
<catalognumber_dwc> |
|
297 |
<_alt> |
|
298 |
<1>$coll_number</1> |
|
299 |
<2>$voucher_string</2> |
|
300 |
</_alt> |
|
301 |
</catalognumber_dwc> |
|
302 |
</then> |
|
303 |
</_if> |
|
304 |
</specimenreplicate> |
|
305 |
</specimenreplicate_id> |
|
306 |
</voucher> |
|
304 | 307 |
</taxonoccurrence> |
305 | 308 |
</locationevent> |
306 | 309 |
<sourceaccessioncode> |
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv | ||
---|---|---|
5 | 5 |
plot_code,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
6 | 6 |
plot_code,/location/locationevent/parent_id/locationevent/authorlocationcode,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
7 | 7 |
PLOT_ID,/location/locationevent/parent_id/locationevent/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above.","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://rs.tdwg.org/dwc/terms/#occurrenceID","3, 0" |
8 |
det_type,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
9 |
coll_number,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/else/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
10 |
voucher_string,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/else/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
11 |
coll_number,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/then/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
12 |
voucher_string,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/then/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
13 | 8 |
no_of_individuals,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this.",http://rs.tdwg.org/dwc/terms/#individualCount,25 |
14 | 9 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/attributes/attribute/ordinal/coverPercent,0 |
15 | 10 |
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not.; Expanded for clarity",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.census_no,3 |
16 | 11 |
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover,"Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance.",http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/volumeCanopy,3 |
17 |
individual_code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
12 |
individual_code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
18 | 13 |
height_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/overallheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
19 | 14 |
stem_height_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/overallheight,"Brad: Same as for height, but applies to individuals stems, not trees. Rare.",http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
20 |
OBSERVATION_ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
15 |
OBSERVATION_ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
16 |
det_type,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
17 |
coll_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
18 |
voucher_string,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
21 | 19 |
no_of_individuals,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this.",http://rs.tdwg.org/dwc/terms/#individualCount,25 |
22 | 20 |
basal_diam,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.basal_diam,37 |
23 | 21 |
stem_canopy_form,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. ,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_form,40 |
... | ... | |
36 | 34 |
x_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX.; Table added for clarity",http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeX,801 |
37 | 35 |
y_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,Brad: See comment above for x_position; Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeY,802 |
38 | 36 |
habit,"/location/locationevent/taxonoccurrence/growthform/_map:[./{T,Arbol,palm}=tree,./{H,""Hemiepífito""}=hemiepiphyte,./{L,l,""L?"",Liana}=liana,E=epiphyte,S=shrub,Hb=herb,""vine-herbaceous""=vine,graminoid=grass,rosette=forb,*=]/value","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait.",http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=observation&entity=dba_tabledescription&where=where_tablename#growthform1Type,62 |
39 |
OBSERVATION_ID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
40 |
individual_code,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
37 |
OBSERVATION_ID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
38 |
individual_code,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
41 | 39 |
orig_species,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_name/last,Brad: OMIT,http://rs.tdwg.org/dwc/terms/#scientificName,134 |
42 | 40 |
infra_rank_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#taxonRank","2, 151" |
43 | 41 |
specific_authority,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]:[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: Incorrect. This is the author of the scientificName. The should be a place for this in the taxonomic name elements of VegB and VegX. Let's discuss.,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#scientificNameAuthorship","2, 153" |
... | ... | |
51 | 49 |
orig_family,"/location/locationevent/taxonoccurrence/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",Brad: OMIT,http://rs.tdwg.org/dwc/terms/#family,146 |
52 | 50 |
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/givenName","23, 01" |
53 | 51 |
coll_lastname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick.","http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/surName","23, 02" |
52 |
det_type,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
53 |
coll_number,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
54 |
voucher_string,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
54 | 55 |
PLOT_ID,/location/sourceaccessioncode/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above.","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://rs.tdwg.org/dwc/terms/#occurrenceID","3, 0" |
55 | 56 |
plot_code,/location/sourceaccessioncode/_merge/1/_alt/2,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
56 | 57 |
subplot,/location/sourceaccessioncode/_merge/2/_alt/2,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName,1 |
inputs/SALVIAS/test/import.organisms.xml.ref | ||
---|---|---|
20 | 20 |
</locationevent> |
21 | 21 |
</parent_id> |
22 | 22 |
<taxonoccurrence> |
23 |
<_if> |
|
24 |
<name>specimenreplicate_via</name> |
|
25 |
<cond> |
|
26 |
<_eq> |
|
27 |
<right>indirect</right> |
|
28 |
<left>$DetType</left> |
|
29 |
</_eq> |
|
30 |
</cond> |
|
31 |
<else> |
|
32 |
<aggregateoccurrence merge="1"> |
|
33 |
<plantobservation merge="1"> |
|
34 |
<specimenreplicate> |
|
35 |
<catalognumber_dwc> |
|
36 |
<_alt> |
|
37 |
<1>$coll_number</1> |
|
38 |
<2>$SourceVoucher</2> |
|
39 |
</_alt> |
|
40 |
</catalognumber_dwc> |
|
41 |
</specimenreplicate> |
|
42 |
</plantobservation> |
|
43 |
</aggregateoccurrence> |
|
44 |
</else> |
|
45 |
<then> |
|
46 |
<voucher> |
|
47 |
<specimenreplicate_id> |
|
48 |
<specimenreplicate> |
|
49 |
<catalognumber_dwc> |
|
50 |
<_alt> |
|
51 |
<1>$coll_number</1> |
|
52 |
<2>$SourceVoucher</2> |
|
53 |
</_alt> |
|
54 |
</catalognumber_dwc> |
|
55 |
</specimenreplicate> |
|
56 |
</specimenreplicate_id> |
|
57 |
</voucher> |
|
58 |
</then> |
|
59 |
</_if> |
|
60 | 23 |
<aggregateoccurrence> |
61 | 24 |
<collectiondate><_date><date><_dateRangeStart><value><_date><date>$census_date</date></_date></value></_dateRangeStart></date></_date></collectiondate> |
62 | 25 |
<count>$NoInd</count> |
... | ... | |
76 | 39 |
<authorplantcode>$Ind</authorplantcode> |
77 | 40 |
<overallheight>$height_m</overallheight> |
78 | 41 |
<sourceaccessioncode>$PlotObsID</sourceaccessioncode> |
42 |
<specimenreplicate> |
|
43 |
<_if name="voucherType"> |
|
44 |
<cond> |
|
45 |
<_eq> |
|
46 |
<right>indirect</right> |
|
47 |
<left>$DetType</left> |
|
48 |
</_eq> |
|
49 |
</cond> |
|
50 |
<else> |
|
51 |
<catalognumber_dwc> |
|
52 |
<_alt> |
|
53 |
<1>$coll_number</1> |
|
54 |
<2>$SourceVoucher</2> |
|
55 |
</_alt> |
|
56 |
</catalognumber_dwc> |
|
57 |
</else> |
|
58 |
</_if> |
|
59 |
</specimenreplicate> |
|
79 | 60 |
<stemcount>$NoInd</stemcount> |
80 | 61 |
<stemobservation> |
81 | 62 |
<definedvalue fkey="tablerecord_id"> |
... | ... | |
277 | 258 |
<last>$coll_lastname</last> |
278 | 259 |
</_name> |
279 | 260 |
</verbatimcollectorname> |
261 |
<voucher> |
|
262 |
<specimenreplicate_id> |
|
263 |
<specimenreplicate> |
|
264 |
<_if name="voucherType"> |
|
265 |
<cond> |
|
266 |
<_eq> |
|
267 |
<right>indirect</right> |
|
268 |
<left>$DetType</left> |
|
269 |
</_eq> |
|
270 |
</cond> |
|
271 |
<then> |
|
272 |
<catalognumber_dwc> |
|
273 |
<_alt> |
|
274 |
<1>$coll_number</1> |
|
275 |
<2>$SourceVoucher</2> |
|
276 |
</_alt> |
|
277 |
</catalognumber_dwc> |
|
278 |
</then> |
|
279 |
</_if> |
|
280 |
</specimenreplicate> |
|
281 |
</specimenreplicate_id> |
|
282 |
</voucher> |
|
280 | 283 |
</taxonoccurrence> |
281 | 284 |
</locationevent> |
282 | 285 |
<sourceaccessioncode> |
inputs/SALVIAS/maps/VegBIEN.stems.csv | ||
---|---|---|
1 | 1 |
SALVIAS,VegBIEN:,Comments,Source,Order within table |
2 | 2 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
3 | 3 |
stem_height_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/overallheight,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
4 |
PlotObsID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
4 |
PlotObsID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
5 | 5 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
6 | 6 |
basal_diam,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.basal_diam,37 |
7 | 7 |
stem_canopy_form,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_form,40 |
... | ... | |
14 | 14 |
stem_height_first_branch_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/heightfirstbranch,,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.ht_first_branch_m,33 |
15 | 15 |
stem_tag1,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true]/tag",Number removed for clarity; Quotes sort it before tag2,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.tag2,9 |
16 | 16 |
stem_tag2,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,Number replaced with named prefix for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.tag1,8 |
17 |
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
17 |
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
18 | 18 |
origrecord_id_stems,,** No input mapping for origrecord_id_stems ** |
19 | 19 |
stem_id,,** No input mapping for stem_id ** |
20 | 20 |
tmp_del,,** No input mapping for tmp_del ** |
inputs/SALVIAS/maps/VegBIEN.organisms.csv | ||
---|---|---|
4 | 4 |
PlotCode,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
5 | 5 |
PlotCode,/location/locationevent/parent_id/locationevent/authorlocationcode,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
6 | 6 |
PlotID,/location/locationevent/parent_id/locationevent/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above.","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://rs.tdwg.org/dwc/terms/#occurrenceID","3, 0" |
7 |
DetType,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
8 |
coll_number,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/else/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
9 |
SourceVoucher,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/else/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
10 |
coll_number,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/then/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
11 |
SourceVoucher,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/then/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
12 | 7 |
census_date,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value/_*/date,,http://rs.tdwg.org/dwc/terms/#eventDate,44 |
13 | 8 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this.",http://rs.tdwg.org/dwc/terms/#individualCount,25 |
14 | 9 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/attributes/attribute/ordinal/coverPercent,0 |
15 | 10 |
census_no,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue","Brad: Assigned by SALVIAS. 1 for first plot, then 2, 3, etc. I can't recall if we even have repeat censuses in SALVIAS. Probably not.; Expanded for clarity",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.census_no,3 |
16 | 11 |
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover,"Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance.",http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/volumeCanopy,3 |
17 | 12 |
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,,http://rs.tdwg.org/dwc/terms/#fieldNotes,54 |
18 |
Ind,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
13 |
Ind,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
19 | 14 |
height_m,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/overallheight,Brad: Incorrect for VegBank. This is a measurement applied to a single tree. Check with Bob,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
20 |
PlotObsID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
15 |
PlotObsID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
16 |
DetType,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
17 |
coll_number,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
18 |
SourceVoucher,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
21 | 19 |
NoInd,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,"Brad: Incorrect for VegX. This is a count of number of indiiduals for an *aggregate* observation. For VegBank, I'm not sure. Not exactly the same as stemCount. An individual tree could have 3 stems but would still only count as 1. We need to check with Bob on this.",http://rs.tdwg.org/dwc/terms/#individualCount,25 |
22 | 20 |
canopy_form,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. ,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_form,40 |
23 | 21 |
canopy_position,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. ,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_position,41 |
... | ... | |
30 | 28 |
x_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,"Brad: Correct for VegBank. I'm not so sure for VegX. Let's ask Nick about this. These are important, fundamental values of many tree plots, and should be accommodated within VegX.; Table added for clarity",http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeX,801 |
31 | 29 |
y_position,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,Brad: See comment above for x_position; Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeY,802 |
32 | 30 |
Habit,"/location/locationevent/taxonoccurrence/growthform/_map:[./{T,Arbol,palm}=tree,./{H,""Hemiepífito""}=hemiepiphyte,./{L,l,""L?"",Liana}=liana,E=epiphyte,S=shrub,Hb=herb,""vine-herbaceous""=vine,graminoid=grass,rosette=forb,*=]/value","Brad: Incorrect for VegBank, correct for VegX. This is growth form (tree, shrub, herb, etc.). It is an observation of a trait.",http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=observation&entity=dba_tabledescription&where=where_tablename#growthform1Type,62 |
33 |
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
34 |
Ind,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
31 |
PlotObsID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
32 |
Ind,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot.; ""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
35 | 33 |
OrigGenus,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_name/first,,http://rs.tdwg.org/dwc/terms/#scientificName,134 |
36 | 34 |
OrigSpecies,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3/_name/last,Brad: OMIT,http://rs.tdwg.org/dwc/terms/#scientificName,134 |
37 | 35 |
infra_rank_1,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#taxonRank","2, 151" |
... | ... | |
47 | 45 |
OrigFamily,"/location/locationevent/taxonoccurrence/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",Brad: OMIT,http://rs.tdwg.org/dwc/terms/#family,146 |
48 | 46 |
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/givenName","23, 01" |
49 | 47 |
coll_lastname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick.","http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/surName","23, 02" |
48 |
DetType,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen.; values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
49 |
coll_number,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
50 |
SourceVoucher,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc/_alt/2,"Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below.",http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
50 | 51 |
PlotID,/location/sourceaccessioncode/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above.","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://rs.tdwg.org/dwc/terms/#occurrenceID","3, 0" |
51 | 52 |
PlotCode,/location/sourceaccessioncode/_merge/1/_alt/2,"Brad: Same as plotCode, above","http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#PARENT_ID, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName","3, 1" |
52 | 53 |
Line,/location/sourceaccessioncode/_merge/2/_alt/2,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot/plotName,1 |
mappings/VegCSV-VegBIEN.specimens.csv | ||
---|---|---|
45 | 45 |
sodium,/location/locationevent/soilobs/sodium,Expanded for clarity,http://nimoy.nceas.ucsb.edu/phpmyadmin/index.php?db=salvias_plots&table=plotMetadata&target=tbl_structure.php#soil_Na,41 |
46 | 46 |
texture,/location/locationevent/soilobs/texture,,http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilObs&entity=dba_tabledescription&where=where_tablename#soilTexture,7 |
47 | 47 |
plotID,/location/locationevent/sourceaccessioncode,,"http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot, http://rs.tdwg.org/dwc/terms/#occurrenceID",", 0" |
48 |
voucherType,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/cond/_eq:[right=indirect]/left,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
49 |
catalogNumber,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/else/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
50 |
catalogNumber,/location/locationevent/taxonoccurrence/_if:[name=specimenreplicate_via]/then/voucher/*_id/specimenreplicate/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
51 | 48 |
eventDate,/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_*/date/_dateRangeStart/value,,http://rs.tdwg.org/dwc/terms/#eventDate,44 |
52 | 49 |
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/count,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
53 | 50 |
coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/attributes/attribute/ordinal/coverPercent,0 |
54 | 51 |
censusNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue",Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.census_no,3 |
55 | 52 |
volumeCanopy,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/volumeCanopy,3 |
56 | 53 |
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,,http://rs.tdwg.org/dwc/terms/#fieldNotes,54 |
57 |
fieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
54 |
fieldNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
58 | 55 |
height,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/overallheight,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
59 |
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
56 |
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
57 |
voucherType,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
58 |
catalogNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
60 | 59 |
individualCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
61 | 60 |
basalDiameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.basal_diam,37 |
62 | 61 |
canopyForm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_form,40 |
... | ... | |
72 | 71 |
relativePlotX,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/xposition,Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeX,801 |
73 | 72 |
relativePlotY,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/yposition,Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeY,802 |
74 | 73 |
growthForm,/location/locationevent/taxonoccurrence/growthform,,http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=observation&entity=dba_tabledescription&where=where_tablename#growthform1Type,62 |
75 |
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
76 |
fieldNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
74 |
occurrenceID,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/1,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
75 |
fieldNumber,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/2,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
77 | 76 |
scientificName,/location/locationevent/taxonoccurrence/sourceaccessioncode/_alt/3,,http://rs.tdwg.org/dwc/terms/#scientificName,134 |
78 | 77 |
computer.taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]/*_id/plantconcept/plantname_id/_simplifyPath:[next=""parent_id/plantname"",require=plantname]/path/_forEach:[in:[binomial,authority,],do=""plantname[rank=_val]/parent_id""]/plantname[rank=subspecies]/plantname/_name/first",,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#taxonRank","2, 151" |
79 | 78 |
computer.scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[role=computer]:[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",,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#scientificNameAuthorship","2, 153" |
... | ... | |
95 | 94 |
kingdom,"/location/locationevent/taxonoccurrence/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",,http://rs.tdwg.org/dwc/terms/#kingdom,142 |
96 | 95 |
recordedBy.givenName,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/givenName","23, 01" |
97 | 96 |
recordedBy.surName,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/surName","23, 02" |
97 |
voucherType,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/cond/_eq:[right=indirect]/left,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
98 |
catalogNumber,/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
98 | 99 |
temperature,/location/locationevent/temperature,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plotObservations/plotObservation/observationConditions/temperature,1900 |
99 | 100 |
maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value",,http://rs.tdwg.org/dwc/terms/#maximumDepthInMeters,75 |
100 | 101 |
minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value",,http://rs.tdwg.org/dwc/terms/#minimumDepthInMeters,74 |
mappings/for_review/VegCSV-VegBIEN.specimens.csv | ||
---|---|---|
45 | 45 |
sodium,//soilobs/sodium,Expanded for clarity,http://nimoy.nceas.ucsb.edu/phpmyadmin/index.php?db=salvias_plots&table=plotMetadata&target=tbl_structure.php#soil_Na,41 |
46 | 46 |
texture,//soilobs/texture,,http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilObs&entity=dba_tabledescription&where=where_tablename#soilTexture,7 |
47 | 47 |
plotID,//locationevent/sourceaccessioncode,,"http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plots/plot, http://rs.tdwg.org/dwc/terms/#occurrenceID",", 0" |
48 |
voucherType,//locationevent/taxonoccurrence,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
49 |
catalogNumber,//locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
50 |
catalogNumber,//locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
51 | 48 |
eventDate,//aggregateoccurrence/collectiondate/_*/date,,http://rs.tdwg.org/dwc/terms/#eventDate,44 |
52 | 49 |
individualCount,//aggregateoccurrence/count,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
53 | 50 |
coverPercent,//aggregateoccurrence/cover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/attributes/attribute/ordinal/coverPercent,0 |
54 | 51 |
censusNumber,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue",Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.census_no,3 |
55 | 52 |
volumeCanopy,//aggregateoccurrence/linecover,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/volumeCanopy,3 |
56 | 53 |
fieldNotes,//aggregateoccurrence/notes,,http://rs.tdwg.org/dwc/terms/#fieldNotes,54 |
57 |
fieldNumber,//plantobservation/authorplantcode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
54 |
fieldNumber,//plantobservation/authorplantcode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
58 | 55 |
height,//plantobservation/overallheight,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/height,4 |
59 |
occurrenceID,//plantobservation/sourceaccessioncode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
56 |
occurrenceID,//plantobservation/sourceaccessioncode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19 |
|
57 |
voucherType,//plantobservation/specimenreplicate/_if[@name=voucherType]/cond,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
58 |
catalogNumber,//plantobservation/specimenreplicate/_if[@name=voucherType]/else/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
60 | 59 |
individualCount,//plantobservation/stemcount,,http://rs.tdwg.org/dwc/terms/#individualCount,25 |
61 | 60 |
basalDiameter,//stemobservation/basaldiameter,Expanded for clarity,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.basal_diam,37 |
62 | 61 |
canopyForm,"//stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]/definedvalue",,http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.stem_canopy_form,40 |
... | ... | |
72 | 71 |
relativePlotX,//stemobservation/xposition,Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeX,801 |
73 | 72 |
relativePlotY,//stemobservation/yposition,Table added for clarity,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/individualOrganismObservations/individualOrganismObservation/relativePlotPosition/relativeY,802 |
74 | 73 |
growthForm,//taxonoccurrence/growthform,,http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=observation&entity=dba_tabledescription&where=where_tablename#growthform1Type,62 |
75 |
occurrenceID,//taxonoccurrence/sourceaccessioncode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
76 |
fieldNumber,//taxonoccurrence/sourceaccessioncode,"""{"" sorts it with other _if:[name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
74 |
occurrenceID,//taxonoccurrence/sourceaccessioncode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#occurrenceID,19
|
|
75 |
fieldNumber,//taxonoccurrence/sourceaccessioncode,"""{"" sorts it with other _if[@name=specimenreplicate_via]s",http://rs.tdwg.org/dwc/terms/#fieldNumber,53
|
|
77 | 76 |
scientificName,//taxonoccurrence/sourceaccessioncode,,http://rs.tdwg.org/dwc/terms/#scientificName,134 |
78 | 77 |
computer.taxonRank,//plantconcept/plantname_id[rank=subspecies]/plantname,,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#taxonRank","2, 151" |
79 | 78 |
computer.scientificNameAuthorship,//plantconcept/plantname_id[rank=authority]/plantname,,"https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/schemas/vegbien.sql#role.computer, http://rs.tdwg.org/dwc/terms/#scientificNameAuthorship","2, 153" |
... | ... | |
95 | 94 |
kingdom,//plantconcept/plantname_id[rank=kingdom]/plantname,,http://rs.tdwg.org/dwc/terms/#kingdom,142 |
96 | 95 |
recordedBy.givenName,//taxonoccurrence/verbatimcollectorname,,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/givenName","23, 01" |
97 | 96 |
recordedBy.surName,//taxonoccurrence/verbatimcollectorname,,"http://rs.tdwg.org/dwc/terms/#recordedBy, http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/parties/party/individualName/surName","23, 02" |
97 |
voucherType,//*_id/specimenreplicate/_if[@name=voucherType]/cond,"values: direct, indirect",http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data.det_type,17 |
|
98 |
catalogNumber,//*_id/specimenreplicate/_if[@name=voucherType]/then/catalognumber_dwc,,http://rs.tdwg.org/dwc/terms/#catalogNumber,20 |
|
98 | 99 |
temperature,//locationevent/temperature,,http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/plotObservations/plotObservation/observationConditions/temperature,1900 |
99 | 100 |
maximumDepthInMeters,//locationevent/waterdepth,,http://rs.tdwg.org/dwc/terms/#maximumDepthInMeters,75 |
100 | 101 |
minimumDepthInMeters,//locationevent/waterdepth,,http://rs.tdwg.org/dwc/terms/#minimumDepthInMeters,74 |
Also available in: Unified diff
mappings/VegCSV-VegBIEN.specimens.csv: catalogNumber: Split _if apart into separate _ifs for the indirect and direct voucher cases. Moved direct voucher _if inwards so it is just wrapping catalognumber_dwc itself. This will enable this mapping to be used for specimens data, which is always considered a direct voucher and will always have this _if return true. Also moved indirect voucher _if inwards in the same way, so that a future SQL function implementation of _if only needs to concern itself with returning one value or another, not with handling entire XML subtrees. Note that if the indirect voucher _if returns false, NOT NULL and CHECK constraint violations will cause the intervening voucher and specimenreplicate elements to be deleted, thus having the same effect. Use new @name syntax for distinguishing _if statements.