Project

General

Profile

« Previous | Next » 

Revision 1353

VegBIEN mappings: plantnames: Nest taxons hierarchically using plantname.parent_id. Mappings using _forEach: Append a "," to the `in` list so that mappings will sort from shortest to longest `in` list ("]" comes after "," in ASCII, causing this not to happen without the trailing ",").

View differences:

VegBIEN.organisms.xml.ref
57 57
        </aggregateoccurrence>
58 58
        <taxondetermination>
59 59
            <role>computer</role>
60
            <plantconcept_id>
61
                <plantconcept>
62
                    <plantname_id>
63
                        <plantname>
64
                            <rank>family</rank>
65
                            <plantname>Fabaceae</plantname>
66
                        </plantname>
67
                    </plantname_id>
68
                </plantconcept>
69
            </plantconcept_id>
70 60
            <iscurrent>true</iscurrent>
71
        </taxondetermination>
72
        <taxondetermination>
73
            <role>computer</role>
74 61
            <plantconcept_id>
75 62
                <plantconcept>
76 63
                    <plantname_id>
77 64
                        <plantname>
78
                            <rank>genus</rank>
79
                            <plantname>Inga</plantname>
80
                        </plantname>
81
                    </plantname_id>
82
                </plantconcept>
83
            </plantconcept_id>
84
            <iscurrent>true</iscurrent>
85
        </taxondetermination>
86
        <taxondetermination>
87
            <role>computer</role>
88
            <plantconcept_id>
89
                <plantconcept>
90
                    <plantname_id>
91
                        <plantname>
92 65
                            <rank>species</rank>
93 66
                            <plantname>indet</plantname>
67
                            <parent_id>
68
                                <plantname>
69
                                    <rank>genus</rank>
70
                                    <plantname>Inga</plantname>
71
                                    <parent_id>
72
                                        <plantname>
73
                                            <rank>family</rank>
74
                                            <plantname>Fabaceae</plantname>
75
                                        </plantname>
76
                                    </parent_id>
77
                                </plantname>
78
                            </parent_id>
94 79
                        </plantname>
95 80
                    </plantname_id>
96 81
                </plantconcept>
97 82
            </plantconcept_id>
98
            <iscurrent>true</iscurrent>
99 83
        </taxondetermination>
100 84
        <taxondetermination>
101 85
            <role>identifier</role>
86
            <isoriginal>true</isoriginal>
87
            <iscurrent>true</iscurrent>
102 88
            <plantconcept_id>
103 89
                <plantconcept>
104 90
                    <plantname_id>
105 91
                        <plantname>
106 92
                            <rank>binomial</rank>
107 93
                            <plantname>Inga indet</plantname>
94
                            <parent_id>
95
                                <plantname>
96
                                    <rank>family</rank>
97
                                    <plantname>Fabaceae</plantname>
98
                                </plantname>
99
                            </parent_id>
108 100
                        </plantname>
109 101
                    </plantname_id>
110 102
                </plantconcept>
111 103
            </plantconcept_id>
112
            <isoriginal>true</isoriginal>
113
            <iscurrent>true</iscurrent>
114 104
        </taxondetermination>
115
        <taxondetermination>
116
            <role>identifier</role>
117
            <plantconcept_id>
118
                <plantconcept>
119
                    <plantname_id>
120
                        <plantname>
121
                            <rank>family</rank>
122
                            <plantname>Fabaceae</plantname>
123
                        </plantname>
124
                    </plantname_id>
125
                </plantconcept>
126
            </plantconcept_id>
127
            <isoriginal>true</isoriginal>
128
            <iscurrent>true</iscurrent>
129
        </taxondetermination>
130 105
    </taxonoccurrence>
131 106
    <taxonoccurrence id="1">
132 107
        <locationevent_id>
......
185 160
        </aggregateoccurrence>
186 161
        <taxondetermination>
187 162
            <role>computer</role>
188
            <plantconcept_id>
189
                <plantconcept>
190
                    <plantname_id>
191
                        <plantname>
192
                            <rank>family</rank>
193
                            <plantname>Myristicaceae</plantname>
194
                        </plantname>
195
                    </plantname_id>
196
                </plantconcept>
197
            </plantconcept_id>
198 163
            <iscurrent>true</iscurrent>
199
        </taxondetermination>
200
        <taxondetermination>
201
            <role>computer</role>
202 164
            <plantconcept_id>
203 165
                <plantconcept>
204 166
                    <plantname_id>
205 167
                        <plantname>
206
                            <rank>genus</rank>
207
                            <plantname>Virola</plantname>
208
                        </plantname>
209
                    </plantname_id>
210
                </plantconcept>
211
            </plantconcept_id>
212
            <iscurrent>true</iscurrent>
213
        </taxondetermination>
214
        <taxondetermination>
215
            <role>computer</role>
216
            <plantconcept_id>
217
                <plantconcept>
218
                    <plantname_id>
219
                        <plantname>
220 168
                            <rank>species</rank>
221 169
                            <plantname>pavonis</plantname>
170
                            <parent_id>
171
                                <plantname>
172
                                    <rank>genus</rank>
173
                                    <plantname>Virola</plantname>
174
                                    <parent_id>
175
                                        <plantname>
176
                                            <rank>family</rank>
177
                                            <plantname>Myristicaceae</plantname>
178
                                        </plantname>
179
                                    </parent_id>
180
                                </plantname>
181
                            </parent_id>
222 182
                        </plantname>
223 183
                    </plantname_id>
224 184
                </plantconcept>
225 185
            </plantconcept_id>
226
            <iscurrent>true</iscurrent>
227 186
        </taxondetermination>
228 187
        <taxondetermination>
229 188
            <role>identifier</role>
189
            <isoriginal>true</isoriginal>
190
            <iscurrent>true</iscurrent>
230 191
            <plantconcept_id>
231 192
                <plantconcept>
232 193
                    <plantname_id>
233 194
                        <plantname>
234 195
                            <rank>binomial</rank>
235 196
                            <plantname>Virola pavonis</plantname>
197
                            <parent_id>
198
                                <plantname>
199
                                    <rank>family</rank>
200
                                    <plantname>Myristicaceae</plantname>
201
                                </plantname>
202
                            </parent_id>
236 203
                        </plantname>
237 204
                    </plantname_id>
238 205
                </plantconcept>
239 206
            </plantconcept_id>
240
            <isoriginal>true</isoriginal>
241
            <iscurrent>true</iscurrent>
242 207
        </taxondetermination>
243
        <taxondetermination>
244
            <role>identifier</role>
245
            <plantconcept_id>
246
                <plantconcept>
247
                    <plantname_id>
248
                        <plantname>
249
                            <rank>family</rank>
250
                            <plantname>Myristicaceae</plantname>
251
                        </plantname>
252
                    </plantname_id>
253
                </plantconcept>
254
            </plantconcept_id>
255
            <isoriginal>true</isoriginal>
256
            <iscurrent>true</iscurrent>
257
        </taxondetermination>
258 208
    </taxonoccurrence>
259 209
</VegBIEN>

Also available in: Unified diff