Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>REMIB.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$specimenHolderInstitutions</1>
13
                                <3>$accessionNumber</3>
14
                            </_join>
15
                        </authorlocationcode>
16
                        <iscultivated>
17
                            <_locationnarrative_is_cultivated>
18
                                <locationnarrative>
19
                                    <_join>
20
                                        <1>$locality</1>
21
                                        <3>$habitat</3>
22
                                    </_join>
23
                                </locationnarrative>
24
                            </_locationnarrative_is_cultivated>
25
                        </iscultivated>
26
                        <locationevent>
27
                            <locationevent fkey="parent_id">
28
                                <taxonoccurrence>
29
                                    <aggregateoccurrence>
30
                                        <collectiondate>
31
                                            <_date>
32
                                                <day>
33
                                                    <_nullIf>
34
                                                        <null>0</null>
35
                                                        <type>float</type>
36
                                                        <value>$dayCollected</value>
37
                                                    </_nullIf>
38
                                                </day>
39
                                                <month>
40
                                                    <_nullIf>
41
                                                        <null>0</null>
42
                                                        <type>float</type>
43
                                                        <value>$monthCollected</value>
44
                                                    </_nullIf>
45
                                                </month>
46
                                                <year>
47
                                                    <_nullIf>
48
                                                        <null>0</null>
49
                                                        <type>float</type>
50
                                                        <value>$yearCollected</value>
51
                                                    </_nullIf>
52
                                                </year>
53
                                            </_date>
54
                                        </collectiondate>
55
                                        <plantobservation>
56
                                            <specimenreplicate>
57
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
58
                                                <institution_id>
59
                                                    <sourcelist>
60
                                                        <name>$specimenHolderInstitutions</name>
61
                                                        <sourcename>
62
                                                            <name>
63
                                                                <_split>
64
                                                                    <separator>[,;] *</separator>
65
                                                                    <value>$specimenHolderInstitutions</value>
66
                                                                </_split>
67
                                                            </name>
68
                                                        </sourcename>
69
                                                    </sourcelist>
70
                                                </institution_id>
71
                                            </specimenreplicate>
72
                                        </plantobservation>
73
                                    </aggregateoccurrence>
74
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
75
                                    <taxondetermination>
76
                                        <taxonverbatim_id>
77
                                            <taxonverbatim>
78
                                                <taxonlabel_id>
79
                                                    <taxonlabel>
80
                                                        <parent_id>
81
                                                            <taxonlabel>
82
                                                                <parent_id>
83
                                                                    <taxonlabel>
84
                                                                        <rank>cultivar</rank>
85
                                                                        <parent_id>
86
                                                                            <taxonlabel>
87
                                                                                <rank>forma</rank>
88
                                                                                <parent_id>
89
                                                                                    <taxonlabel>
90
                                                                                        <rank>variety</rank>
91
                                                                                        <parent_id>
92
                                                                                            <taxonlabel>
93
                                                                                                <rank>subspecies</rank>
94
                                                                                                <parent_id>
95
                                                                                                    <taxonlabel>
96
                                                                                                        <rank>species</rank>
97
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
98
                                                                                                        <parent_id>
99
                                                                                                            <taxonlabel>
100
                                                                                                                <rank>genus</rank>
101
                                                                                                                <taxonepithet>$genus</taxonepithet>
102
                                                                                                                <parent_id>
103
                                                                                                                    <taxonlabel>
104
                                                                                                                        <rank>family</rank>
105
                                                                                                                        <taxonepithet>$family</taxonepithet>
106
                                                                                                                    </taxonlabel>
107
                                                                                                                </parent_id>
108
                                                                                                            </taxonlabel>
109
                                                                                                        </parent_id>
110
                                                                                                    </taxonlabel>
111
                                                                                                </parent_id>
112
                                                                                            </taxonlabel>
113
                                                                                        </parent_id>
114
                                                                                    </taxonlabel>
115
                                                                                </parent_id>
116
                                                                            </taxonlabel>
117
                                                                        </parent_id>
118
                                                                    </taxonlabel>
119
                                                                </parent_id>
120
                                                            </taxonlabel>
121
                                                        </parent_id>
122
                                                        <taxonomicname>
123
                                                            <_merge_prefix>
124
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
125
                                                                <value>
126
                                                                    <_join_words>
127
                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
128
                                                                        <3>$specificEpithet</3>
129
                                                                    </_join_words>
130
                                                                </value>
131
                                                            </_merge_prefix>
132
                                                        </taxonomicname>
133
                                                    </taxonlabel>
134
                                                </taxonlabel_id>
135
                                                <family>$family</family>
136
                                                <genus>$genus</genus>
137
                                                <specific_epithet>$specificEpithet</specific_epithet>
138
                                            </taxonverbatim>
139
                                        </taxonverbatim_id>
140
                                    </taxondetermination>
141
                                </taxonoccurrence>
142
                            </locationevent>
143
                        </locationevent>
144
                        <locationnarrative>
145
                            <_merge>
146
                                <1>$locality</1>
147
                                <3>
148
                                    <_label>
149
                                        <label>habitat</label>
150
                                        <value>$habitat</value>
151
                                    </_label>
152
                                </3>
153
                            </_merge>
154
                        </locationnarrative>
155
                        <locationplace>
156
                            <place_id>
157
                                <place>
158
                                    <coordinates_id>
159
                                        <coordinates>
160
                                            <latitude_deg>
161
                                                <_dms_to_dd>
162
                                                    <deg>$latitude_deg</deg>
163
                                                    <min>$latitude_min</min>
164
                                                    <sec>$latitude_sec</sec>
165
                                                </_dms_to_dd>
166
                                            </latitude_deg>
167
                                            <longitude_deg>
168
                                                <_dms_to_dd>
169
                                                    <deg>$longitude_deg</deg>
170
                                                    <min>$longitude_min</min>
171
                                                    <sec>$longitude_sec</sec>
172
                                                </_dms_to_dd>
173
                                            </longitude_deg>
174
                                        </coordinates>
175
                                    </coordinates_id>
176
                                    <country>$country</country>
177
                                    <county>$county</county>
178
                                    <matched_place_id>
179
                                        <place>
180
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
181
                                            <coordinates_id>
182
                                                <coordinates>
183
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
184
                                                    <latitude_deg>
185
                                                        <_dms_to_dd>
186
                                                            <deg>$latitude_deg</deg>
187
                                                            <min>$latitude_min</min>
188
                                                            <sec>$latitude_sec</sec>
189
                                                        </_dms_to_dd>
190
                                                    </latitude_deg>
191
                                                    <longitude_deg>
192
                                                        <_dms_to_dd>
193
                                                            <deg>$longitude_deg</deg>
194
                                                            <min>$longitude_min</min>
195
                                                            <sec>$longitude_sec</sec>
196
                                                        </_dms_to_dd>
197
                                                    </longitude_deg>
198
                                                </coordinates>
199
                                            </coordinates_id>
200
                                            <country>$country</country>
201
                                            <county>$county</county>
202
                                            <stateprovince>$stateProvince</stateprovince>
203
                                        </place>
204
                                    </matched_place_id>
205
                                    <stateprovince>$stateProvince</stateprovince>
206
                                </place>
207
                            </place_id>
208
                        </locationplace>
209
                    </location>
210
                </path>
211
            </_simplifyPath>
212
        </path>
213
    </_setDefault>
214
</VegBIEN>
215
Inserted 29 new rows into database
(9-9/10)