Revision 3800
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 |
<cond> |
|
26 |
<_eq> |
|
27 |
<left>$det_type</left> |
|
28 |
<right>direct</right> |
|
29 |
</_eq> |
|
30 |
</cond> |
|
31 |
<else> |
|
32 |
<voucher> |
|
33 |
<specimenreplicate_id> |
|
34 |
<specimenreplicate> |
|
35 |
<catalognumber_dwc> |
|
36 |
<_alt> |
|
37 |
<1>$coll_number</1> |
|
38 |
<2>$voucher_string</2> |
|
39 |
</_alt> |
|
40 |
</catalognumber_dwc> |
|
41 |
</specimenreplicate> |
|
42 |
</specimenreplicate_id> |
|
43 |
</voucher> |
|
44 |
</else> |
|
45 |
<then> |
|
46 |
<aggregateoccurrence merge="1"> |
|
47 |
<plantobservation merge="1"> |
|
48 |
<specimenreplicate> |
|
49 |
<catalognumber_dwc> |
|
50 |
<_alt> |
|
51 |
<1>$coll_number</1> |
|
52 |
<2>$voucher_string</2> |
|
53 |
</_alt> |
|
54 |
</catalognumber_dwc> |
|
55 |
</specimenreplicate> |
|
56 |
</plantobservation> |
|
57 |
</aggregateoccurrence> |
|
58 |
</then> |
|
59 |
</_if> |
|
24 | 60 |
<aggregateoccurrence> |
25 | 61 |
<count>$no_of_individuals</count> |
26 | 62 |
<cover>$cover_percent</cover> |
... | ... | |
213 | 249 |
<last>$coll_lastname</last> |
214 | 250 |
</_name> |
215 | 251 |
</verbatimcollectorname> |
216 |
<_if> |
|
217 |
<cond> |
|
218 |
<_eq> |
|
219 |
<left><_ref><addr>../../../../_ignore/voucherType</addr></_ref></left> |
|
220 |
<right>direct</right> |
|
221 |
</_eq> |
|
222 |
</cond> |
|
223 |
<else> |
|
224 |
<voucher> |
|
225 |
<specimenreplicate_id> |
|
226 |
<specimenreplicate> |
|
227 |
<catalognumber_dwc> |
|
228 |
<_alt> |
|
229 |
<1>$coll_number</1> |
|
230 |
<2>$voucher_string</2> |
|
231 |
</_alt> |
|
232 |
</catalognumber_dwc> |
|
233 |
</specimenreplicate> |
|
234 |
</specimenreplicate_id> |
|
235 |
</voucher> |
|
236 |
</else> |
|
237 |
<then> |
|
238 |
<aggregateoccurrence merge="1"> |
|
239 |
<plantobservation merge="1"> |
|
240 |
<specimenreplicate> |
|
241 |
<catalognumber_dwc> |
|
242 |
<_alt> |
|
243 |
<1>$coll_number</1> |
|
244 |
<2>$voucher_string</2> |
|
245 |
</_alt> |
|
246 |
</catalognumber_dwc> |
|
247 |
</specimenreplicate> |
|
248 |
</plantobservation> |
|
249 |
</aggregateoccurrence> |
|
250 |
</then> |
|
251 |
</_if> |
|
252 |
<_ignore><voucherType>$det_type</voucherType></_ignore> |
|
253 | 252 |
</taxonoccurrence> |
254 | 253 |
</locationevent> |
255 | 254 |
<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" |
6 | 6 |
plot_code,/location/locationevent/parent_id/locationevent/authorlocationcode,"Brad: Same as plotCode, above" |
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." |
8 |
det_type,/location/locationevent/taxonoccurrence/_if/cond/_eq/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." |
|
9 |
coll_number,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string |
|
10 |
voucher_string,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/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." |
|
11 |
coll_number,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string |
|
12 |
voucher_string,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/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." |
|
8 | 13 |
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." |
9 | 14 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
10 | 15 |
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." |
... | ... | |
35 | 40 |
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 |
36 | 41 |
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above |
37 | 42 |
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." |
38 |
coll_number,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1","Brad: Incorrect. Map instead as for voucher_string; ""{.}"" sorts it with other _ifs" |
|
39 |
voucher_string,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/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.; ""{.}"" sorts it with other _ifs" |
|
40 |
coll_number,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1","Brad: Incorrect. Map instead as for voucher_string; ""{.}"" sorts it with other _ifs" |
|
41 |
voucher_string,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/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.; ""{.}"" sorts it with other _ifs" |
|
42 |
det_type,/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"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.; ""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
43 | 43 |
PLOT_ID,/location/sourceaccessioncode/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
44 | 44 |
plot_code,/location/sourceaccessioncode/_merge/1/_alt/2,"Brad: Same as plotCode, above" |
45 | 45 |
subplot,/location/sourceaccessioncode/_merge/2/_alt/2, |
inputs/SALVIAS/test/import.organisms.xml.ref | ||
---|---|---|
20 | 20 |
</locationevent> |
21 | 21 |
</parent_id> |
22 | 22 |
<taxonoccurrence> |
23 |
<_if> |
|
24 |
<cond> |
|
25 |
<_eq> |
|
26 |
<left>$DetType</left> |
|
27 |
<right>direct</right> |
|
28 |
</_eq> |
|
29 |
</cond> |
|
30 |
<else> |
|
31 |
<voucher> |
|
32 |
<specimenreplicate_id> |
|
33 |
<specimenreplicate> |
|
34 |
<catalognumber_dwc> |
|
35 |
<_alt> |
|
36 |
<1>$coll_number</1> |
|
37 |
<2>$SourceVoucher</2> |
|
38 |
</_alt> |
|
39 |
</catalognumber_dwc> |
|
40 |
<collectiondate><_date><date>$census_date</date></_date></collectiondate> |
|
41 |
</specimenreplicate> |
|
42 |
</specimenreplicate_id> |
|
43 |
</voucher> |
|
44 |
</else> |
|
45 |
<then> |
|
46 |
<aggregateoccurrence merge="1"> |
|
47 |
<plantobservation merge="1"> |
|
48 |
<specimenreplicate> |
|
49 |
<catalognumber_dwc> |
|
50 |
<_alt> |
|
51 |
<1>$coll_number</1> |
|
52 |
<2>$SourceVoucher</2> |
|
53 |
</_alt> |
|
54 |
</catalognumber_dwc> |
|
55 |
<collectiondate><_date><date>$census_date</date></_date></collectiondate> |
|
56 |
</specimenreplicate> |
|
57 |
</plantobservation> |
|
58 |
</aggregateoccurrence> |
|
59 |
</then> |
|
60 |
</_if> |
|
23 | 61 |
<aggregateoccurrence> |
24 | 62 |
<count>$NoInd</count> |
25 | 63 |
<cover>$cover_percent</cover> |
... | ... | |
207 | 245 |
<last>$coll_lastname</last> |
208 | 246 |
</_name> |
209 | 247 |
</verbatimcollectorname> |
210 |
<_if> |
|
211 |
<cond> |
|
212 |
<_eq> |
|
213 |
<left><_ref><addr>../../../../_ignore/voucherType</addr></_ref></left> |
|
214 |
<right>direct</right> |
|
215 |
</_eq> |
|
216 |
</cond> |
|
217 |
<else> |
|
218 |
<voucher> |
|
219 |
<specimenreplicate_id> |
|
220 |
<specimenreplicate> |
|
221 |
<catalognumber_dwc> |
|
222 |
<_alt> |
|
223 |
<1>$coll_number</1> |
|
224 |
<2>$SourceVoucher</2> |
|
225 |
</_alt> |
|
226 |
</catalognumber_dwc> |
|
227 |
<collectiondate><_date><date>$census_date</date></_date></collectiondate> |
|
228 |
</specimenreplicate> |
|
229 |
</specimenreplicate_id> |
|
230 |
</voucher> |
|
231 |
</else> |
|
232 |
<then> |
|
233 |
<aggregateoccurrence merge="1"> |
|
234 |
<plantobservation merge="1"> |
|
235 |
<specimenreplicate> |
|
236 |
<catalognumber_dwc> |
|
237 |
<_alt> |
|
238 |
<1>$coll_number</1> |
|
239 |
<2>$SourceVoucher</2> |
|
240 |
</_alt> |
|
241 |
</catalognumber_dwc> |
|
242 |
<collectiondate><_date><date>$census_date</date></_date></collectiondate> |
|
243 |
</specimenreplicate> |
|
244 |
</plantobservation> |
|
245 |
</aggregateoccurrence> |
|
246 |
</then> |
|
247 |
</_if> |
|
248 |
<_ignore><voucherType>$DetType</voucherType></_ignore> |
|
249 | 248 |
</taxonoccurrence> |
250 | 249 |
</locationevent> |
251 | 250 |
<sourceaccessioncode> |
inputs/SALVIAS/maps/VegBIEN.organisms.csv | ||
---|---|---|
4 | 4 |
PlotCode,/location/locationevent/parent_id/locationevent/*_id/location/sourceaccessioncode/_alt/2,"Brad: Same as plotCode, above" |
5 | 5 |
PlotCode,/location/locationevent/parent_id/locationevent/authorlocationcode,"Brad: Same as plotCode, above" |
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." |
7 |
DetType,/location/locationevent/taxonoccurrence/_if/cond/_eq/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." |
|
8 |
coll_number,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string |
|
9 |
SourceVoucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/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." |
|
10 |
census_date,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/collectiondate/_*/date, |
|
11 |
coll_number,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1,Brad: Incorrect. Map instead as for voucher_string |
|
12 |
SourceVoucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/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." |
|
13 |
census_date,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate/_*/date, |
|
7 | 14 |
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." |
8 | 15 |
cover_percent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
9 | 16 |
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." |
... | ... | |
33 | 40 |
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 |
34 | 41 |
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above |
35 | 42 |
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." |
36 |
coll_number,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc/_alt/1","Brad: Incorrect. Map instead as for voucher_string; ""{.}"" sorts it with other _ifs" |
|
37 |
SourceVoucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/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.; ""{.}"" sorts it with other _ifs" |
|
38 |
census_date,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate/_*/date","""{.}"" sorts it with other _ifs" |
|
39 |
coll_number,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc/_alt/1","Brad: Incorrect. Map instead as for voucher_string; ""{.}"" sorts it with other _ifs" |
|
40 |
SourceVoucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/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.; ""{.}"" sorts it with other _ifs" |
|
41 |
census_date,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate/_*/date","""{.}"" sorts it with other _ifs" |
|
42 |
DetType,/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"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.; ""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
43 | 43 |
PlotID,/location/sourceaccessioncode/_merge/1/_alt/1,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above." |
44 | 44 |
PlotCode,/location/sourceaccessioncode/_merge/1/_alt/2,"Brad: Same as plotCode, above" |
45 | 45 |
Line,/location/sourceaccessioncode/_merge/2/_alt/2, |
mappings/VegX-VegBIEN.plots.csv | ||
---|---|---|
45 | 45 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value,/location/locationevent/soilobs/sodium, |
46 | 46 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/location/locationevent/soilobs/texture, |
47 | 47 |
/*s/plot/plotUniqueIdentifier,/location/locationevent/sourceaccessioncode, |
48 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc, |
|
52 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate, |
|
48 | 53 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/aggregateOrganismObservation[*ID]/*/aggregateValue/value,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
49 | 54 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/volumeCanopy/*ID->/*s/attribute/ordinal/coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
50 | 55 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=censusNo]/value,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue", |
... | ... | |
95 | 100 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[tcs:Rank/@code=reg])/tcs:Name","/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", |
96 | 101 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]/temperature,/location/locationevent/temperature, |
104 | 104 |
/*s/plot/geospatial/maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value", |
105 | 105 |
/*s/plot/geospatial/minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value", |
mappings/VegX-VegBIEN.organisms.csv | ||
---|---|---|
45 | 45 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value,/location/locationevent/soilobs/sodium, |
46 | 46 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/location/locationevent/soilobs/texture, |
47 | 47 |
/*s/plot/plotUniqueIdentifier,/location/locationevent/sourceaccessioncode, |
48 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc, |
|
52 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate, |
|
48 | 53 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/aggregateOrganismObservation[*ID]/*/aggregateValue/value,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
49 | 54 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/volumeCanopy/*ID->/*s/attribute/ordinal/coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
50 | 55 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=censusNo]/value,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue", |
... | ... | |
95 | 100 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[tcs:Rank/@code=reg])/tcs:Name","/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", |
96 | 101 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]/temperature,/location/locationevent/temperature, |
104 | 104 |
/*s/plot/geospatial/maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value", |
105 | 105 |
/*s/plot/geospatial/minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value", |
mappings/for_review/VegX-VegBIEN.plots.csv | ||
---|---|---|
45 | 45 |
//*s/abioticObservation/simpleUserdefined[name=sodium]/value,//soilobs/sodium, |
46 | 46 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/texture, |
47 | 47 |
//plot/plotUniqueIdentifier,//locationevent/sourceaccessioncode, |
48 |
//*s/taxonDetermination[role=collector]/groupType,//locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc, |
|
52 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate, |
|
48 | 53 |
//*s/aggregateOrganismObservation/*/aggregateValue/value,//aggregateoccurrence/count, |
49 | 54 |
//ordinal/coverPercent,//aggregateoccurrence/cover, |
50 | 55 |
//*s/individualOrganismObservation/simpleUserdefined[name=censusNo]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue", |
... | ... | |
95 | 100 |
//*s/taxonConcept[tcs:@code=reg]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname", |
96 | 101 |
//individualName/givenName,//taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
//individualName/surName,//taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
//*s/taxonDetermination[role=collector]/groupType,/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
//*s/plotObservation/temperature,//locationevent/temperature, |
104 | 104 |
//geospatial/maximumDepthInMeters,//locationevent/waterdepth/_avg/max/_units/value, |
105 | 105 |
//geospatial/minimumDepthInMeters,//locationevent/waterdepth/_avg/min/_units/value, |
mappings/for_review/VegX-VegBIEN.organisms.csv | ||
---|---|---|
45 | 45 |
//*s/abioticObservation/simpleUserdefined[name=sodium]/value,//soilobs/sodium, |
46 | 46 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/texture, |
47 | 47 |
//plot/plotUniqueIdentifier,//locationevent/sourceaccessioncode, |
48 |
//*s/taxonDetermination[role=collector]/groupType,//locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc, |
|
52 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate, |
|
48 | 53 |
//*s/aggregateOrganismObservation/*/aggregateValue/value,//aggregateoccurrence/count, |
49 | 54 |
//ordinal/coverPercent,//aggregateoccurrence/cover, |
50 | 55 |
//*s/individualOrganismObservation/simpleUserdefined[name=censusNo]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue", |
... | ... | |
95 | 100 |
//*s/taxonConcept[tcs:@code=reg]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname", |
96 | 101 |
//individualName/givenName,//taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
//individualName/surName,//taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
//*s/taxonDetermination[role=collector]/groupType,/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
//*s/plotObservation/temperature,//locationevent/temperature, |
104 | 104 |
//geospatial/maximumDepthInMeters,//locationevent/waterdepth/_avg/max/_units/value, |
105 | 105 |
//geospatial/minimumDepthInMeters,//locationevent/waterdepth/_avg/min/_units/value, |
mappings/for_review/VegX-VegBIEN.stems.csv | ||
---|---|---|
45 | 45 |
//*s/abioticObservation/simpleUserdefined[name=sodium]/value,//soilobs/sodium, |
46 | 46 |
//*s/abioticObservation/simpleUserdefined[name=texture]/value,//soilobs/texture, |
47 | 47 |
//plot/plotUniqueIdentifier,//locationevent/sourceaccessioncode, |
48 |
//*s/taxonDetermination[role=collector]/groupType,//locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
//taxonNameUsageConcept/voucher,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc, |
|
52 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,//locationevent/taxonoccurrence/_if/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate, |
|
48 | 53 |
//*s/aggregateOrganismObservation/*/aggregateValue/value,//aggregateoccurrence/count, |
49 | 54 |
//ordinal/coverPercent,//aggregateoccurrence/cover, |
50 | 55 |
//*s/individualOrganismObservation/simpleUserdefined[name=censusNo]/value,"//aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]/definedvalue", |
... | ... | |
95 | 100 |
//*s/taxonConcept[tcs:@code=reg]/tcs:Name,"//taxonoccurrence/taxondetermination[role=identifier]/*_id/plantconcept/plantname_id/_simplifyPath/path/_forEach:[do=""plantname[rank=_val]/parent_id""]/plantname[rank=kingdom]/plantname", |
96 | 101 |
//individualName/givenName,//taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
//individualName/surName,//taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
//taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
//*s/individualOrganismObservation/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence/plantobservation/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
//*s/taxonDetermination[role=collector]/groupType,/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
//*s/plotObservation/temperature,//locationevent/temperature, |
104 | 104 |
//geospatial/maximumDepthInMeters,//locationevent/waterdepth/_avg/max/_units/value, |
105 | 105 |
//geospatial/minimumDepthInMeters,//locationevent/waterdepth/_avg/min/_units/value, |
mappings/VegX-VegBIEN.stems.csv | ||
---|---|---|
45 | 45 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value,/location/locationevent/soilobs/sodium, |
46 | 46 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value,/location/locationevent/soilobs/texture, |
47 | 47 |
/*s/plot/plotUniqueIdentifier,/location/locationevent/sourceaccessioncode, |
48 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/_if/cond/_eq/left, |
|
49 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/catalognumber_dwc, |
|
50 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/else/voucher/*_id/specimenreplicate/collectiondate, |
|
51 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc, |
|
52 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,/location/locationevent/taxonoccurrence/_if:[cond/_eq/right=direct]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate, |
|
48 | 53 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/aggregateOrganismObservation[*ID]/*/aggregateValue/value,/location/locationevent/taxonoccurrence/aggregateoccurrence/count, |
49 | 54 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/volumeCanopy/*ID->/*s/attribute/ordinal/coverPercent,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover, |
50 | 55 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=censusNo]/value,"/location/locationevent/taxonoccurrence/aggregateoccurrence/definedvalue[*_id/userdefined[tablename=aggregateoccurrence,userdefinedname=censusNo]]:[@fkey=tablerecord_id]/definedvalue", |
... | ... | |
95 | 100 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID->/*s/taxonConcept[tcs:Rank/@code=reg])/tcs:Name","/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", |
96 | 101 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/givenName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first, |
97 | 102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID->/parties/party/individualName/surName",/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last, |
98 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
99 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/else/voucher/*_id/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
100 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept/voucher,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/catalognumber_dwc","""{.}"" sorts it with other _ifs" |
|
101 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/simpleUserdefined[name=collectionDate]/value,"/location/locationevent/taxonoccurrence/{.}/_if:[cond/_eq:[left/_ref[addr=""../../../../_ignore/voucherType""],right=direct]]/then/aggregateoccurrence:[@merge=1]/plantobservation:[@merge=1]/specimenreplicate/collectiondate","""{.}"" sorts it with other _ifs" |
|
102 |
"/*s/plot->/*s/plotObservation[*UniqueIdentifierID]->/*s/individualOrganismObservation[*ID]/*ID->/*s/individualOrganism/*ID->/*s/taxonNameUsageConcept->/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType",/location/locationevent/taxonoccurrence/{.}/_ignore/voucherType,"""{"" sorts it after what uses it, so the _ignore is executed after the _refs" |
|
103 | 103 |
/*s/plot->/*s/plotObservation[*UniqueIdentifierID]/temperature,/location/locationevent/temperature, |
104 | 104 |
/*s/plot/geospatial/maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value", |
105 | 105 |
/*s/plot/geospatial/minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value", |
Also available in: Unified diff
mappings/VegX-VegBIEN.stems.csv: _if that maps to specimenreplicate via plantobservation or voucher: Refactored to map voucherType directly into _if/cond/_eq/left rather than mapping it to a temporary _ignore location and retrieving it with _ref