Project

General

Profile

« Previous | Next » 

Revision 5240

mappings/VegCore-VegBIEN.csv: Populated new taxonconcept.definer_id from identifiedBy, or when no identifiedBy is specified, from the datasource itself (using _simplifyPath:[next=datasource_id])

View differences:

inputs/XAL/Specimen/VegBIEN.csv
40 40
darwin:ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
41 41
darwin:ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
42 42
darwin:Class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
43
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
44
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
45
darwin:IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
43 46
darwin:Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
44 47
darwin:Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
45 48
darwin:Kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/NY/Specimen/VegBIEN.csv
45 45
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
46 46
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
47 47
Class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
48
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
49
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
50
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
48 51
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
49 52
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
50 53
Kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/NY/Specimen/test.xml.ref
145 145
                                    </canon_taxonconcept_id>
146 146
                                    <author>$ScientificNameAuthor</author>
147 147
                                    <class>$Class</class>
148
                                    <definer_id>
149
                                        <_simplifyPath>
150
                                            <next>datasource_id</next>
151
                                            <path>
152
                                                <party>
153
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
154
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
155
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
156
                                                </party>
157
                                            </path>
158
                                        </_simplifyPath>
159
                                    </definer_id>
148 160
                                    <family>$Family</family>
149 161
                                    <genus>$Genus</genus>
150 162
                                    <kingdom>$Kingdom</kingdom>
inputs/Madidi/Organism/VegBIEN.csv
43 43
Specific epithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
44 44
Autor (revised),"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
45 45
Autor (revised),/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
46
Determined by,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
47
Determined by,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
48
Determined by,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
46 49
Family (revised),/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
47 50
Genera,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
48 51
Specific epithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/species,
inputs/Madidi/Organism/test.xml.ref
103 103
                                        </taxonconcept>
104 104
                                    </canon_taxonconcept_id>
105 105
                                    <author>$Autor (revised)</author>
106
                                    <definer_id>
107
                                        <_simplifyPath>
108
                                            <next>datasource_id</next>
109
                                            <path>
110
                                                <party>
111
                                                    <givenname><_namePart><first>$Determined by</first></_namePart></givenname>
112
                                                    <middlename><_namePart><middle>$Determined by</middle></_namePart></middlename>
113
                                                    <surname><_namePart><last>$Determined by</last></_namePart></surname>
114
                                                </party>
115
                                            </path>
116
                                        </_simplifyPath>
117
                                    </definer_id>
106 118
                                    <family>$Family (revised)</family>
107 119
                                    <genus>$Genera</genus>
108 120
                                    <species>$Specific epithet</species>
inputs/ACAD/Specimen/VegBIEN.csv
43 43
scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
44 44
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
45 45
class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
46
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
47
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
48
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
46 49
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
47 50
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
48 51
kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/ACAD/Specimen/test.xml.ref
115 115
                                    </canon_taxonconcept_id>
116 116
                                    <author>$scientificNameAuthorship</author>
117 117
                                    <class>$class</class>
118
                                    <definer_id>
119
                                        <_simplifyPath>
120
                                            <next>datasource_id</next>
121
                                            <path>
122
                                                <party>
123
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
124
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
125
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
126
                                                </party>
127
                                            </path>
128
                                        </_simplifyPath>
129
                                    </definer_id>
118 130
                                    <family>$family</family>
119 131
                                    <genus>$genus</genus>
120 132
                                    <kingdom>$kingdom</kingdom>
inputs/U/Specimen/VegBIEN.csv
20 20
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/then/taxon_id/_forEach:[in:[cultivar,forma,variety,infraspecies,subspecies,species,genus,],do=""taxon[rank=_val]/parent_id""]/taxon[rank=family]/taxonname",
21 21
Family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1",
22 22
Genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2",
23
Detby,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
24
Detby,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
25
Detby,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
23 26
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
24 27
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
25 28
Detyy,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
inputs/U/Specimen/test.xml.ref
90 90
                                            </identifyingtaxonomicname>
91 91
                                        </taxonconcept>
92 92
                                    </canon_taxonconcept_id>
93
                                    <definer_id>
94
                                        <_simplifyPath>
95
                                            <next>datasource_id</next>
96
                                            <path>
97
                                                <party>
98
                                                    <givenname><_namePart><first>$Detby</first></_namePart></givenname>
99
                                                    <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
100
                                                    <surname><_namePart><last>$Detby</last></_namePart></surname>
101
                                                </party>
102
                                            </path>
103
                                        </_simplifyPath>
104
                                    </definer_id>
93 105
                                    <family>$Family</family>
94 106
                                    <genus>$Genus</genus>
95 107
                                </taxonconcept>
inputs/ARIZ/Specimen/VegBIEN.csv
47 47
Species,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
48 48
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
49 49
Class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
50
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
51
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
52
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
50 53
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
51 54
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
52 55
Kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/ARIZ/Specimen/test.xml.ref
144 144
                                        </taxonconcept>
145 145
                                    </canon_taxonconcept_id>
146 146
                                    <class>$Class</class>
147
                                    <definer_id>
148
                                        <_simplifyPath>
149
                                            <next>datasource_id</next>
150
                                            <path>
151
                                                <party>
152
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
153
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
154
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
155
                                                </party>
156
                                            </path>
157
                                        </_simplifyPath>
158
                                    </definer_id>
147 159
                                    <family>$Family</family>
148 160
                                    <genus>$Genus</genus>
149 161
                                    <kingdom>$Kingdom</kingdom>
inputs/GBIF/Specimen/VegBIEN.csv
30 30
InfraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2",
31 31
AuthorOfScientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
32 32
AuthorOfScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
33
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
34
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
35
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
33 36
Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
34 37
Genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
35 38
SpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/species,
inputs/GBIF/Specimen/test.xml.ref
84 84
                                        </taxonconcept>
85 85
                                    </canon_taxonconcept_id>
86 86
                                    <author>$AuthorOfScientificName</author>
87
                                    <definer_id>
88
                                        <_simplifyPath>
89
                                            <next>datasource_id</next>
90
                                            <path>
91
                                                <party>
92
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
93
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
94
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
95
                                                </party>
96
                                            </path>
97
                                        </_simplifyPath>
98
                                    </definer_id>
87 99
                                    <family>$Family</family>
88 100
                                    <genus>$Genus</genus>
89 101
                                    <species>$SpecificEpithet</species>
inputs/SpeciesLink/Specimen/VegBIEN.csv
157 157
conceptual_darwin_2003_1_0_Class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
158 158
dwc_dwcore_Class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
159 159
dwc_terms_class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
160
conceptual_darwin_2003_1_0_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
161
dwc_curatorial_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
162
dwc_terms_identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
163
conceptual_darwin_2003_1_0_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
164
dwc_curatorial_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
165
dwc_terms_identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
166
conceptual_darwin_2003_1_0_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
167
dwc_curatorial_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
168
dwc_terms_identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
160 169
conceptual_darwin_2003_1_0_Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
161 170
dwc_dwcore_Family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
162 171
dwc_terms_family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
inputs/SpeciesLink/Specimen/test.xml.ref
332 332
                                            <2>$dwc_terms_class</2>
333 333
                                        </_alt>
334 334
                                    </class>
335
                                    <definer_id>
336
                                        <_simplifyPath>
337
                                            <next>datasource_id</next>
338
                                            <path>
339
                                                <party>
340
                                                    <givenname>
341
                                                        <_namePart>
342
                                                            <first>
343
                                                                <_alt>
344
                                                                    <0>$conceptual_darwin_2003_1_0_IdentifiedBy</0>
345
                                                                    <1>$dwc_curatorial_IdentifiedBy</1>
346
                                                                    <2>$dwc_terms_identifiedBy</2>
347
                                                                </_alt>
348
                                                            </first>
349
                                                        </_namePart>
350
                                                    </givenname>
351
                                                    <middlename>
352
                                                        <_namePart>
353
                                                            <middle>
354
                                                                <_alt>
355
                                                                    <0>$conceptual_darwin_2003_1_0_IdentifiedBy</0>
356
                                                                    <1>$dwc_curatorial_IdentifiedBy</1>
357
                                                                    <2>$dwc_terms_identifiedBy</2>
358
                                                                </_alt>
359
                                                            </middle>
360
                                                        </_namePart>
361
                                                    </middlename>
362
                                                    <surname>
363
                                                        <_namePart>
364
                                                            <last>
365
                                                                <_alt>
366
                                                                    <0>$conceptual_darwin_2003_1_0_IdentifiedBy</0>
367
                                                                    <1>$dwc_curatorial_IdentifiedBy</1>
368
                                                                    <2>$dwc_terms_identifiedBy</2>
369
                                                                </_alt>
370
                                                            </last>
371
                                                        </_namePart>
372
                                                    </surname>
373
                                                </party>
374
                                            </path>
375
                                        </_simplifyPath>
376
                                    </definer_id>
335 377
                                    <family>
336 378
                                        <_alt>
337 379
                                            <0>$conceptual_darwin_2003_1_0_Family</0>
inputs/MO/Specimen/VegBIEN.csv
35 35
Subspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4",
36 36
ScientificNameAuthor,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
37 37
ScientificNameAuthor,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
38
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
39
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
40
IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
38 41
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
39 42
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
40 43
Kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/MO/Specimen/test.xml.ref
116 116
                                        </taxonconcept>
117 117
                                    </canon_taxonconcept_id>
118 118
                                    <author>$ScientificNameAuthor</author>
119
                                    <definer_id>
120
                                        <_simplifyPath>
121
                                            <next>datasource_id</next>
122
                                            <path>
123
                                                <party>
124
                                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
125
                                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
126
                                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
127
                                                </party>
128
                                            </path>
129
                                        </_simplifyPath>
130
                                    </definer_id>
119 131
                                    <family>$family</family>
120 132
                                    <genus>$genus</genus>
121 133
                                    <kingdom>$Kingdom</kingdom>
inputs/QMOR/Specimen/VegBIEN.csv
50 50
scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonconcept_id/taxonconcept:[datasource_id/party:[datasource_id=0]/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
51 51
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
52 52
class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
53
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
54
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
55
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
53 56
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
54 57
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
55 58
kingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/kingdom,
inputs/QMOR/Specimen/test.xml.ref
139 139
                                    </canon_taxonconcept_id>
140 140
                                    <author>$scientificNameAuthorship</author>
141 141
                                    <class>$class</class>
142
                                    <definer_id>
143
                                        <_simplifyPath>
144
                                            <next>datasource_id</next>
145
                                            <path>
146
                                                <party>
147
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
148
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
149
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
150
                                                </party>
151
                                            </path>
152
                                        </_simplifyPath>
153
                                    </definer_id>
142 154
                                    <family>$family</family>
143 155
                                    <genus>$genus</genus>
144 156
                                    <kingdom>$kingdom</kingdom>
mappings/VegCore-VegBIEN.csv
193 193
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/author,
194 194
class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/class,
195 195
cultivar,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/cultivar,
196
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/givenname/_namePart/first,
197
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/middlename/_namePart/middle,
198
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/definer_id/_simplifyPath:[next=datasource_id]/path/party/surname/_namePart/last,
196 199
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/family,
197 200
forma,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/forma,
198 201
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonconcept/genus,
mappings/for_review/VegCore-VegBIEN.csv
193 193
scientificNameAuthorship,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/author,
194 194
class,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/class,
195 195
cultivar,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/cultivar,
196
identifiedBy,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/definer_id/party/givenname,
197
identifiedBy,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/definer_id/party/middlename,
198
identifiedBy,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/definer_id/party/surname,
196 199
family,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/family,
197 200
forma,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/forma,
198 201
genus,//taxonoccurrence/taxondetermination[]/*_id/taxonconcept/genus,

Also available in: Unified diff