Project

General

Profile

« Previous | Next » 

Revision 5138

mappings/VegCore-VegBIEN.csv: non-TNRS taxonpaths: Store the concatenated identifyingtaxonomicname in a separate taxonpath owned by the TNRS datasource, so that it will match up with (and create a link to) the corresponding submitted TNRS name's taxonpath. This in turn is linked to the TNRS-determined accepted name, thus creating a three-level hierarchy of datasource name -> concatenated name -> accepted name.

View differences:

test.xml.ref
76 76
                            </party_id>
77 77
                            <taxonpath_id>
78 78
                                <taxonpath>
79
                                    <canon_taxonpath_id>
80
                                        <taxonpath>
81
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
82
                                            <identifyingtaxonomicname>
83
                                                <_alt>
84
                                                    <1>$scientificName</1>
85
                                                    <2>
86
                                                        <_join_words>
87
                                                            <1>
88
                                                                <_join_words>
89
                                                                    <1>$family</1>
90
                                                                    <2>$genus</2>
91
                                                                    <3>$specificEpithet</3>
92
                                                                    <5>
93
                                                                        <_join_words>
94
                                                                            <1>
95
                                                                                <_if name="if has infraspecificEpithet">
96
                                                                                    <cond>$infraspecificEpithet</cond>
97
                                                                                    <then>$taxonRank</then>
98
                                                                                </_if>
99
                                                                            </1>
100
                                                                            <2>$infraspecificEpithet</2>
101
                                                                        </_join_words>
102
                                                                    </5>
103
                                                                </_join_words>
104
                                                            </1>
105
                                                            <2>$scientificNameAuthorship</2>
106
                                                        </_join_words>
107
                                                    </2>
108
                                                </_alt>
109
                                            </identifyingtaxonomicname>
110
                                        </taxonpath>
111
                                    </canon_taxonpath_id>
79 112
                                    <author>$scientificNameAuthorship</author>
80 113
                                    <class>$class</class>
81 114
                                    <family>$family</family>
82 115
                                    <genus>$genus</genus>
83
                                    <identifyingtaxonomicname>
84
                                        <_alt>
85
                                            <1>$scientificName</1>
86
                                            <2>
87
                                                <_join_words>
88
                                                    <1>
89
                                                        <_join_words>
90
                                                            <1>$family</1>
91
                                                            <2>$genus</2>
92
                                                            <3>$specificEpithet</3>
93
                                                            <5>
94
                                                                <_join_words>
95
                                                                    <1>
96
                                                                        <_if name="if has infraspecificEpithet">
97
                                                                            <cond>$infraspecificEpithet</cond>
98
                                                                            <then>$taxonRank</then>
99
                                                                        </_if>
100
                                                                    </1>
101
                                                                    <2>$infraspecificEpithet</2>
102
                                                                </_join_words>
103
                                                            </5>
104
                                                        </_join_words>
105
                                                    </1>
106
                                                    <2>$scientificNameAuthorship</2>
107
                                                </_join_words>
108
                                            </2>
109
                                        </_alt>
110
                                    </identifyingtaxonomicname>
111 116
                                    <kingdom>$kingdom</kingdom>
112 117
                                    <order>$order</order>
113 118
                                    <phylum>$phylum</phylum>
......
157 162
        </path>
158 163
    </_simplifyPath>
159 164
</VegBIEN>
160
Inserted 24 new rows into database
165
Inserted 27 new rows into database

Also available in: Unified diff