Project

General

Profile

« Previous | Next » 

Revision 5738

mappings/VegCore-VegBIEN.csv: TNRS<->NCBI attachment: Fixed bug where needed to attach accepted family to NCBI using taxonomicname, which is globally unique, rather than taxonepithet, which is only unique within the parent taxon

View differences:

inputs/.TNRS/tnrs/VegBIEN.csv
10 10
Name_matched_rank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
11 11
Infraspecific_epithet_matched,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2",
12 12
Name_matched_author,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=TNRS]/taxonomicname/_alt/2/_join_words/2",Contains author based on matched name
13
Accepted_name_family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=NCBI,rank=family]/taxonepithet",
13
Accepted_name_family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=NCBI,rank=family]/taxonomicname",
14 14
Accepted_name_family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
15 15
Accepted_name_rank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/rank,
16 16
Accepted_name_rank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/taxonverbatim/verbatimrank,
inputs/.TNRS/tnrs/test.xml.ref
46 46
                                                                                                                                    </party>
47 47
                                                                                                                                </creator_id>
48 48
                                                                                                                                <rank>family</rank>
49
                                                                                                                                <taxonepithet>$Accepted_name_family</taxonepithet>
49
                                                                                                                                <taxonomicname>$Accepted_name_family</taxonomicname>
50 50
                                                                                                                            </taxonlabel>
51 51
                                                                                                                        </matched_label_id>
52 52
                                                                                                                        <taxonepithet>$Accepted_name_family</taxonepithet>
......
203 203
        </path>
204 204
    </_simplifyPath>
205 205
</VegBIEN>
206
Inserted 16 new rows into database
206
Inserted 23 new rows into database
mappings/VegCore-VegBIEN.csv
151 151
acceptedSubspecies,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=subspecies]/taxonepithet",
152 152
acceptedSpecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
153 153
acceptedGenus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
154
acceptedFamily,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=NCBI,rank=family]/taxonepithet",
154
acceptedFamily,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/matched_label_id/taxonlabel:[creator_id/party:[creator_id=0]/organizationname=NCBI,rank=family]/taxonomicname",
155 155
acceptedFamily,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
156 156
acceptedOrder,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
157 157
acceptedClass,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_taxonlabel_set_matched_label_id/matched_label_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
mappings/for_review/VegCore-VegBIEN.csv
151 151
acceptedSubspecies,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=subspecies]/taxonepithet,
152 152
acceptedSpecificEpithet,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=species]/taxonepithet,
153 153
acceptedGenus,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=genus]/taxonepithet,
154
acceptedFamily,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=family]/matched_label_id/taxonlabel/taxonepithet,
154
acceptedFamily,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=family]/matched_label_id/taxonlabel/taxonomicname,
155 155
acceptedFamily,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=family]/taxonepithet,
156 156
acceptedOrder,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=order]/taxonepithet,
157 157
acceptedClass,//*_id/taxonlabel/taxonlabel/parent_id/taxonlabel/parent_id[rank=class]/taxonepithet,

Also available in: Unified diff