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
18 18
                        <taxondetermination>
19 19
                            <taxonpath_id>
20 20
                                <taxonpath>
21
                                    <canon_taxonpath_id>
22
                                        <taxonpath>
23
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
24
                                            <identifyingtaxonomicname>
25
                                                <_join_words>
26
                                                    <1>$Family</1>
27
                                                    <2>$Genus</2>
28
                                                    <3>$Species</3>
29
                                                    <4>$Subspecies</4>
30
                                                    <6>
31
                                                        <_join_words>
32
                                                            <1>var. </1>
33
                                                            <2>$Variety</2>
34
                                                        </_join_words>
35
                                                    </6>
36
                                                    <7>
37
                                                        <_join_words>
38
                                                            <1>fm. </1>
39
                                                            <2>$Forma</2>
40
                                                        </_join_words>
41
                                                    </7>
42
                                                </_join_words>
43
                                            </identifyingtaxonomicname>
44
                                        </taxonpath>
45
                                    </canon_taxonpath_id>
21 46
                                    <class>$Class</class>
22 47
                                    <family>$Family</family>
23 48
                                    <forma>$Forma</forma>
24 49
                                    <genus>$Genus</genus>
25
                                    <identifyingtaxonomicname>
26
                                        <_join_words>
27
                                            <1>$Family</1>
28
                                            <2>$Genus</2>
29
                                            <3>$Species</3>
30
                                            <4>$Subspecies</4>
31
                                            <6>
32
                                                <_join_words>
33
                                                    <1>var. </1>
34
                                                    <2>$Variety</2>
35
                                                </_join_words>
36
                                            </6>
37
                                            <7>
38
                                                <_join_words>
39
                                                    <1>fm. </1>
40
                                                    <2>$Forma</2>
41
                                                </_join_words>
42
                                            </7>
43
                                        </_join_words>
44
                                    </identifyingtaxonomicname>
45 50
                                    <kingdom>$Kingdom</kingdom>
46 51
                                    <order>$Order</order>
47 52
                                    <species>$Species</species>
......
56 61
                            <isoriginal>true</isoriginal>
57 62
                            <taxonpath_id>
58 63
                                <taxonpath>
59
                                    <identifyingtaxonomicname>$authorplantname</identifyingtaxonomicname>
64
                                    <canon_taxonpath_id>
65
                                        <taxonpath>
66
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
67
                                            <identifyingtaxonomicname>$authorplantname</identifyingtaxonomicname>
68
                                        </taxonpath>
69
                                    </canon_taxonpath_id>
60 70
                                    <taxonomicname>$authorplantname</taxonomicname>
61 71
                                </taxonpath>
62 72
                            </taxonpath_id>
......
67 77
        </path>
68 78
    </_simplifyPath>
69 79
</VegBIEN>
70
Inserted 18 new rows into database
80
Inserted 23 new rows into database

Also available in: Unified diff