Project

General

Profile

« Previous | Next » 

Revision 6375

mappings/VegCore-VegBIEN.csv: institutionCode: Remap to source.shortname when specimen information is not provided, as is the case for geoscrub.herbaria on nimoy

View differences:

VegBIEN.csv
8 8
GROUP BY herbarium, accession
9 9
HAVING count(*) > 1
10 10
-----"
11
herbarium,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1",
11
accession,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
12

  
13
[1] Using the following query:
14
-----
15
SELECT herbarium, accession, count(*)
16
FROM ""UNCC"".""Specimen""
17
GROUP BY herbarium, accession
18
HAVING count(*) > 1
19
-----"
20
herbarium,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/then",
12 21
accession,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
13 22

  
14 23
[1] Using the following query:
......
31 40
loanto,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/6/_label[label=""loaned to""]/value",
32 41
inorout,"/location/locationevent/taxonoccurrence/aggregateoccurrence/notes/_join/7/_label[label=""in or out""]/value",
33 42
collectno,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber,
34
herbarium,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name,
43
accession,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
44

  
45
[1] Using the following query:
46
-----
47
SELECT herbarium, accession, count(*)
48
FROM ""UNCC"".""Specimen""
49
GROUP BY herbarium, accession
50
HAVING count(*) > 1
51
-----"
52
herbarium,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name/_if[@name=""if specimen""]/then",
35 53
accession,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,"Globally unique, although occasionally duplicated. [1]
36 54

  
37 55
[1] Using the following query:
......
116 134
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
117 135
state,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
118 136
state,/location/locationplace/*_id/place/stateprovince,
137
accession,"/source/shortname/_if[@name=""if specimen""]/cond/_exists","Globally unique, although occasionally duplicated. [1]
138

  
139
[1] Using the following query:
140
-----
141
SELECT herbarium, accession, count(*)
142
FROM ""UNCC"".""Specimen""
143
GROUP BY herbarium, accession
144
HAVING count(*) > 1
145
-----"
146
herbarium,"/source/shortname/_if[@name=""if specimen""]/else",
119 147
filler,,"** No join mapping for *filler ** Where used, same as family"
120 148
flower,,"** No join mapping for reproductiveCondition/_map:[A=*,I=*,M=*]/value ** Main values are A, I, and M. What do they mean?"
121 149
fruit,,"** No join mapping for reproductiveCondition/_map:[A=*,I=*,M=*]/value ** Main values are A, I, and M. What do they mean?"

Also available in: Unified diff