Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>JBM</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$dataProviderRecordID</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$accessionNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>$minimumElevationInMeters</elevation_m>
29
                        <iscultivated>
30
                            <_locationnarrative_is_cultivated>
31
                                <locationnarrative>
32
                                    <_join>
33
                                        <1>$locality</1>
34
                                        <3>$habitat</3>
35
                                    </_join>
36
                                </locationnarrative>
37
                            </_locationnarrative_is_cultivated>
38
                        </iscultivated>
39
                        <locationevent>
40
                            <taxonoccurrence>
41
                                <aggregateoccurrence>
42
                                    <collectiondate>$dateCollected</collectiondate>
43
                                    <plantobservation>
44
                                        <authorplantcode>$collectorNumber</authorplantcode>
45
                                        <definedvalue fkey="tablerecord_id">
46
                                            <userdefined_id>
47
                                                <userdefined>
48
                                                    <tablename>plantobservation</tablename>
49
                                                    <userdefinedname>sex</userdefinedname>
50
                                                </userdefined>
51
                                            </userdefined_id>
52
                                            <definedvalue>$sex</definedvalue>
53
                                        </definedvalue>
54
                                        <specimenreplicate>
55
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
56
                                            <collectioncode_dwc>
57
                                                <_alt>
58
                                                    <1>$collection</1>
59
                                                    <2>$collectionURL</2>
60
                                                </_alt>
61
                                            </collectioncode_dwc>
62
                                            <collectionnumber>$collectorNumber</collectionnumber>
63
                                            <institution_id>
64
                                                <sourcelist>
65
                                                    <name>$specimenHolderInstitutions</name>
66
                                                    <sourcename>
67
                                                        <name>
68
                                                            <_split>
69
                                                                <separator>[,;] *</separator>
70
                                                                <value>$specimenHolderInstitutions</value>
71
                                                            </_split>
72
                                                        </name>
73
                                                    </sourcename>
74
                                                </sourcelist>
75
                                            </institution_id>
76
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
77
                                        </specimenreplicate>
78
                                    </plantobservation>
79
                                </aggregateoccurrence>
80
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
81
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
82
                                <taxondetermination>
83
                                    <taxonverbatim_id>
84
                                        <taxonverbatim>
85
                                            <taxonlabel_id>
86
                                                <taxonlabel>
87
                                                    <parent_id>
88
                                                        <taxonlabel>
89
                                                            <parent_id>
90
                                                                <taxonlabel>
91
                                                                    <rank>cultivar</rank>
92
                                                                    <parent_id>
93
                                                                        <taxonlabel>
94
                                                                            <rank>forma</rank>
95
                                                                            <parent_id>
96
                                                                                <taxonlabel>
97
                                                                                    <rank>variety</rank>
98
                                                                                    <parent_id>
99
                                                                                        <taxonlabel>
100
                                                                                            <rank>subspecies</rank>
101
                                                                                            <parent_id>
102
                                                                                                <taxonlabel>
103
                                                                                                    <rank>species</rank>
104
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
105
                                                                                                    <parent_id>
106
                                                                                                        <taxonlabel>
107
                                                                                                            <rank>genus</rank>
108
                                                                                                            <taxonepithet>$genus</taxonepithet>
109
                                                                                                            <parent_id>
110
                                                                                                                <taxonlabel>
111
                                                                                                                    <rank>family</rank>
112
                                                                                                                    <taxonepithet>$family</taxonepithet>
113
                                                                                                                    <parent_id>
114
                                                                                                                        <taxonlabel>
115
                                                                                                                            <rank>order</rank>
116
                                                                                                                            <taxonepithet>$order</taxonepithet>
117
                                                                                                                            <parent_id>
118
                                                                                                                                <taxonlabel>
119
                                                                                                                                    <rank>class</rank>
120
                                                                                                                                    <parent_id>
121
                                                                                                                                        <taxonlabel>
122
                                                                                                                                            <rank>phylum</rank>
123
                                                                                                                                            <parent_id>
124
                                                                                                                                                <taxonlabel>
125
                                                                                                                                                    <rank>kingdom</rank>
126
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                </taxonlabel>
128
                                                                                                                                            </parent_id>
129
                                                                                                                                        </taxonlabel>
130
                                                                                                                                    </parent_id>
131
                                                                                                                                </taxonlabel>
132
                                                                                                                            </parent_id>
133
                                                                                                                        </taxonlabel>
134
                                                                                                                    </parent_id>
135
                                                                                                                </taxonlabel>
136
                                                                                                            </parent_id>
137
                                                                                                        </taxonlabel>
138
                                                                                                    </parent_id>
139
                                                                                                </taxonlabel>
140
                                                                                            </parent_id>
141
                                                                                        </taxonlabel>
142
                                                                                    </parent_id>
143
                                                                                </taxonlabel>
144
                                                                            </parent_id>
145
                                                                        </taxonlabel>
146
                                                                    </parent_id>
147
                                                                </taxonlabel>
148
                                                            </parent_id>
149
                                                        </taxonlabel>
150
                                                    </parent_id>
151
                                                    <taxonomicname>
152
                                                        <_merge_prefix>
153
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
154
                                                            <value>
155
                                                                <_alt>
156
                                                                    <1>$scientificName</1>
157
                                                                    <2>
158
                                                                        <_join_words>
159
                                                                            <2><_filter_genus><value>$genus</value></_filter_genus></2>
160
                                                                            <3>$specificEpithet</3>
161
                                                                        </_join_words>
162
                                                                    </2>
163
                                                                </_alt>
164
                                                            </value>
165
                                                        </_merge_prefix>
166
                                                    </taxonomicname>
167
                                                </taxonlabel>
168
                                            </taxonlabel_id>
169
                                            <family>$family</family>
170
                                            <genus>$genus</genus>
171
                                            <specific_epithet>$specificEpithet</specific_epithet>
172
                                            <taxonomicname>$scientificName</taxonomicname>
173
                                        </taxonverbatim>
174
                                    </taxonverbatim_id>
175
                                </taxondetermination>
176
                            </taxonoccurrence>
177
                        </locationevent>
178
                        <locationnarrative>
179
                            <_merge>
180
                                <1>$locality</1>
181
                                <3>
182
                                    <_label>
183
                                        <label>habitat</label>
184
                                        <value>$habitat</value>
185
                                    </_label>
186
                                </3>
187
                            </_merge>
188
                        </locationnarrative>
189
                        <locationplace>
190
                            <place_id>
191
                                <place>
192
                                    <coordinates_id>
193
                                        <coordinates>
194
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
195
                                            <latitude_deg>
196
                                                <_nullIf>
197
                                                    <null>0</null>
198
                                                    <type>float</type>
199
                                                    <value>$decimalLatitude</value>
200
                                                </_nullIf>
201
                                            </latitude_deg>
202
                                            <longitude_deg>
203
                                                <_nullIf>
204
                                                    <null>0</null>
205
                                                    <type>float</type>
206
                                                    <value>$decimalLongitude</value>
207
                                                </_nullIf>
208
                                            </longitude_deg>
209
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
210
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
211
                                        </coordinates>
212
                                    </coordinates_id>
213
                                    <country>$country</country>
214
                                    <county>$county</county>
215
                                    <matched_place_id>
216
                                        <place>
217
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
218
                                            <coordinates_id>
219
                                                <coordinates>
220
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
221
                                                    <latitude_deg>
222
                                                        <_nullIf>
223
                                                            <null>0</null>
224
                                                            <type>float</type>
225
                                                            <value>$decimalLatitude</value>
226
                                                        </_nullIf>
227
                                                    </latitude_deg>
228
                                                    <longitude_deg>
229
                                                        <_nullIf>
230
                                                            <null>0</null>
231
                                                            <type>float</type>
232
                                                            <value>$decimalLongitude</value>
233
                                                        </_nullIf>
234
                                                    </longitude_deg>
235
                                                </coordinates>
236
                                            </coordinates_id>
237
                                            <country>$country</country>
238
                                            <county>$county</county>
239
                                            <stateprovince>$stateProvince</stateprovince>
240
                                        </place>
241
                                    </matched_place_id>
242
                                    <stateprovince>$stateProvince</stateprovince>
243
                                </place>
244
                            </place_id>
245
                        </locationplace>
246
                    </location>
247
                </path>
248
            </_simplifyPath>
249
        </path>
250
    </_setDefault>
251
</VegBIEN>
252
Inserted 35 new rows into database
(6-6/7)