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
100 100
                            </party_id>
101 101
                            <taxonpath_id>
102 102
                                <taxonpath>
103
                                    <canon_taxonpath_id>
104
                                        <taxonpath>
105
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
106
                                            <identifyingtaxonomicname>
107
                                                <_join_words>
108
                                                    <1>
109
                                                        <_alt>
110
                                                            <1>$scientificName</1>
111
                                                            <2>
112
                                                                <_join_words>
113
                                                                    <1>$family</1>
114
                                                                    <2>$genus</2>
115
                                                                    <3>$specificEpithet</3>
116
                                                                    <5>
117
                                                                        <_join_words>
118
                                                                            <1>
119
                                                                                <_if name="if has infraspecificEpithet">
120
                                                                                    <cond>$infraspecificEpithet</cond>
121
                                                                                    <then>$taxonRank</then>
122
                                                                                </_if>
123
                                                                            </1>
124
                                                                            <2>$infraspecificEpithet</2>
125
                                                                        </_join_words>
126
                                                                    </5>
127
                                                                </_join_words>
128
                                                            </2>
129
                                                        </_alt>
130
                                                    </1>
131
                                                    <2>$scientificNameAuthorship</2>
132
                                                </_join_words>
133
                                            </identifyingtaxonomicname>
134
                                        </taxonpath>
135
                                    </canon_taxonpath_id>
103 136
                                    <author>$scientificNameAuthorship</author>
104 137
                                    <class>$class</class>
105 138
                                    <family>$family</family>
106 139
                                    <genus>$genus</genus>
107
                                    <identifyingtaxonomicname>
108
                                        <_join_words>
109
                                            <1>
110
                                                <_alt>
111
                                                    <1>$scientificName</1>
112
                                                    <2>
113
                                                        <_join_words>
114
                                                            <1>$family</1>
115
                                                            <2>$genus</2>
116
                                                            <3>$specificEpithet</3>
117
                                                            <5>
118
                                                                <_join_words>
119
                                                                    <1>
120
                                                                        <_if name="if has infraspecificEpithet">
121
                                                                            <cond>$infraspecificEpithet</cond>
122
                                                                            <then>$taxonRank</then>
123
                                                                        </_if>
124
                                                                    </1>
125
                                                                    <2>$infraspecificEpithet</2>
126
                                                                </_join_words>
127
                                                            </5>
128
                                                        </_join_words>
129
                                                    </2>
130
                                                </_alt>
131
                                            </1>
132
                                            <2>$scientificNameAuthorship</2>
133
                                        </_join_words>
134
                                    </identifyingtaxonomicname>
135 140
                                    <kingdom>$kingdom</kingdom>
136 141
                                    <order>$order</order>
137 142
                                    <phylum>$phylum</phylum>
......
182 187
        </path>
183 188
    </_simplifyPath>
184 189
</VegBIEN>
185
Inserted 26 new rows into database
190
Inserted 28 new rows into database

Also available in: Unified diff