Project

General

Profile

« Previous | Next » 

Revision 5193

mappings/VegCore-VegBIEN.csv: accepted taxonomic terms: Use new _set_canon_taxonpath() to set the canon_taxonpath_id after the taxonpath has been inserted, so that if the taxonpath is an accepted name (scrubs to itself), it will link up to the just-inserted taxonpath with the taxonomic ranks parsed out, rather than to a new taxonpath containing only the few taxonomic ranks of the accepted name that TNRS provides. In particular, this (together with the tnrs_accepted_names sorting index on TNRS.tnrs) ensures that an accepted name is imported with its genus and species parsed out by TNRS instead of concatenated together in the Accepted_name_species field (genus+species). This enables the individual taxonomic ranks to be used in constructing the leaves of the tree of life (the taxon table).

View differences:

VegCore-VegBIEN.csv
145 145
forma,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonpath_id/taxonpath:[datasource_id/party/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/7/_join_words:[1=""fm. ""]/2",
146 146
cultivar,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonpath_id/taxonpath:[datasource_id/party/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/8/_join_words:[1=""cult. ""]/2",
147 147
scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_if[@name=""if has accepted name""]/{then/.,else/canon_taxonpath_id/taxonpath:[datasource_id/party/organizationname=TNRS]}/identifyingtaxonomicname/_alt/2/_join_words/2",
148
acceptedScientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/author,
149
acceptedClass,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/class,
150
acceptedCultivar,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/cultivar,
151
acceptedFamily,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/family,
152
acceptedForma,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/forma,
153
acceptedGenus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/genus,
154
acceptedScientificNameWithAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/1,
155
acceptedScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/1,
156
acceptedFamily,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
157
acceptedGenus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
158
acceptedSpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3,
159
acceptedSubspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
160
acceptedInfraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
161
acceptedTaxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
162
acceptedInfraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2,
163
acceptedVariety,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/6/_join_words:[1=""var. ""]/2",
164
acceptedForma,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/7/_join_words:[1=""fm. ""]/2",
165
acceptedCultivar,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/8/_join_words:[1=""cult. ""]/2",
166
acceptedScientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/identifyingtaxonomicname/_alt/2/_join_words/2,
167
acceptedKingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/kingdom,
168
acceptedOrder,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/order,
169
acceptedPhylum,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/phylum,
170
acceptedSpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/species,
171
acceptedSubspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/subspecies/_alt/1,
172
acceptedInfraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/subspecies/_alt/2/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
173
acceptedTaxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/subspecies/_alt/2/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
174
acceptedInfraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/subspecies/_alt/2/_join_words/2,
175
acceptedScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/taxonomicname,
176
acceptedVariety,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/_set_canon_taxonpath/canon_taxonpath_id/taxonpath/variety,
148 177
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/author,
149
acceptedScientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/author,
150
acceptedClass,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/class,
151
acceptedCultivar,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/cultivar,
152
acceptedFamily,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/family,
153
acceptedForma,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/forma,
154
acceptedGenus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/genus,
155
acceptedScientificNameWithAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/1,
156
acceptedScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/1,
157
acceptedFamily,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/1,
158
acceptedGenus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/2,
159
acceptedSpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/3,
160
acceptedSubspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/4,
161
acceptedInfraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
162
acceptedTaxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
163
acceptedInfraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2,
164
acceptedVariety,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/6/_join_words:[1=""var. ""]/2",
165
acceptedForma,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/7/_join_words:[1=""fm. ""]/2",
166
acceptedCultivar,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/1/_alt/2/_join_words/8/_join_words:[1=""cult. ""]/2",
167
acceptedScientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/identifyingtaxonomicname/_alt/2/_join_words/2,
168
acceptedKingdom,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/kingdom,
169
acceptedOrder,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/order,
170
acceptedPhylum,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/phylum,
171
acceptedSpecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/species,
172
acceptedSubspecies,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/subspecies/_alt/1,
173
acceptedInfraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/subspecies/_alt/2/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
174
acceptedTaxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/subspecies/_alt/2/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
175
acceptedInfraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/subspecies/_alt/2/_join_words/2,
176
acceptedScientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/taxonomicname,
177
acceptedVariety,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/canon_taxonpath_id/taxonpath:[canon_taxonpath_id=0]/variety,
178 178
class,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/class,
179 179
cultivar,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/cultivar,
180 180
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonpath/family,

Also available in: Unified diff