Project

General

Profile

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