Revision 4987
Added by Aaron Marcuse-Kubitza about 12 years ago
VegBIEN.csv | ||
---|---|---|
1 | 1 |
SALVIAS-CSV,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments |
2 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists/_first/2",
|
|
2 |
subplot,"/location/_if[@name=""if subplot""]/cond/_exists", |
|
3 | 3 |
plot_code,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1", |
4 | 4 |
PLOT_ID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists", |
5 | 5 |
coll_number,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists/_alt/1",Brad: Map instead as for voucher_string |
... | ... | |
11 | 11 |
plot_code,"/location/_if[@name=""if subplot""]/then/parent_id/location/authorlocationcode", |
12 | 12 |
PLOT_ID,"/location/_if[@name=""if subplot""]/then/parent_id/location/sourceaccessioncode", |
13 | 13 |
subplot,/location/authorlocationcode, |
14 |
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists/_first/2",
|
|
14 |
subplot,"/location/locationevent/_if[@name=""if subplot""]/cond/_exists", |
|
15 | 15 |
plot_code,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/authorlocationcode", |
16 | 16 |
PLOT_ID,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if event""]/then/parent_id/locationevent/*_id/location/sourceaccessioncode", |
17 | 17 |
census_date,/location/locationevent/obsenddate/_*/date/_alt/2/_dateRangeEnd/value,"This is for the subplot, not the organism, as all organisms in a subplot have the same value for it. The following query returns no rows: |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Removed unnecessary /_first/# suffix for multiple terms in the same _exists expression, because _exists() only checks whether its node is non-empty, and it does not matter how many child nodes it contains