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
70 70
                            </party_id>
71 71
                            <taxonpath_id>
72 72
                                <taxonpath>
73
                                    <canon_taxonpath_id>
74
                                        <taxonpath>
75
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
76
                                            <identifyingtaxonomicname>
77
                                                <_alt>
78
                                                    <1>$Specie+autor</1>
79
                                                    <2>
80
                                                        <_join_words>
81
                                                            <1>
82
                                                                <_alt>
83
                                                                    <1>$Species and morphotypes</1>
84
                                                                    <2>
85
                                                                        <_join_words>
86
                                                                            <1>$Family (revised)</1>
87
                                                                            <2>$Genera</2>
88
                                                                            <3>$Specific epithet</3>
89
                                                                        </_join_words>
90
                                                                    </2>
91
                                                                </_alt>
92
                                                            </1>
93
                                                            <2>$Autor (revised)</2>
94
                                                        </_join_words>
95
                                                    </2>
96
                                                </_alt>
97
                                            </identifyingtaxonomicname>
98
                                        </taxonpath>
99
                                    </canon_taxonpath_id>
73 100
                                    <author>$Autor (revised)</author>
74 101
                                    <family>$Family (revised)</family>
75 102
                                    <genus>$Genera</genus>
76
                                    <identifyingtaxonomicname>
77
                                        <_alt>
78
                                            <1>$Specie+autor</1>
79
                                            <2>
80
                                                <_join_words>
81
                                                    <1>
82
                                                        <_alt>
83
                                                            <1>$Species and morphotypes</1>
84
                                                            <2>
85
                                                                <_join_words>
86
                                                                    <1>$Family (revised)</1>
87
                                                                    <2>$Genera</2>
88
                                                                    <3>$Specific epithet</3>
89
                                                                </_join_words>
90
                                                            </2>
91
                                                        </_alt>
92
                                                    </1>
93
                                                    <2>$Autor (revised)</2>
94
                                                </_join_words>
95
                                            </2>
96
                                        </_alt>
97
                                    </identifyingtaxonomicname>
98 103
                                    <species>$Specific epithet</species>
99 104
                                    <taxonomicname>$Species and morphotypes</taxonomicname>
100 105
                                    <taxonomicnamewithauthor>$Specie+autor</taxonomicnamewithauthor>
......
106 111
                            <isoriginal>true</isoriginal>
107 112
                            <taxonpath_id>
108 113
                                <taxonpath>
114
                                    <canon_taxonpath_id>
115
                                        <taxonpath>
116
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
117
                                            <identifyingtaxonomicname>
118
                                                <_join_words>
119
                                                    <1>$Field family</1>
120
                                                    <2>$Field name</2>
121
                                                </_join_words>
122
                                            </identifyingtaxonomicname>
123
                                        </taxonpath>
124
                                    </canon_taxonpath_id>
109 125
                                    <family>$Field family</family>
110 126
                                    <genus>$Field name</genus>
111
                                    <identifyingtaxonomicname>
112
                                        <_join_words>
113
                                            <1>$Field family</1>
114
                                            <2>$Field name</2>
115
                                        </_join_words>
116
                                    </identifyingtaxonomicname>
117 127
                                </taxonpath>
118 128
                            </taxonpath_id>
119 129
                        </taxondetermination>
......
124 134
        </path>
125 135
    </_simplifyPath>
126 136
</VegBIEN>
127
Inserted 27 new rows into database
137
Inserted 32 new rows into database

Also available in: Unified diff