Project

General

Profile

« Previous | Next » 

Revision 6347

Added inputs/VASCAN/

View differences:

inputs/VASCAN/Taxon/map.csv
1
VASCAN,VegCore,Filter,Comments
2
id,taxonID,,
3
nameAccordingTo,nameAccordingTo,,
4
nameAccordingToID,nameAccordingToID,,
5
datasetID,datasetID,,
6
references,dcterms:references,,
7
specificEpithet,specificEpithet,,
8
higherClassification,higherClassification,,
9
genus,genus,,
10
order,order,,
11
rightsHolder,dcterms:rightsHolder,,
12
bibliographicCitation,dcterms:bibliographicCitation,,
13
language,dcterms:language,,
14
family,family,,
15
acceptedNameUsageID,acceptedNameUsageID,,
16
rights,dcterms:rights,,
17
taxonRank,taxonRank,,
18
taxonomicStatus,taxonomicStatus,,
19
infraspecificEpithet,infraspecificEpithet,,
20
datasetName,datasetName,,
21
class,class,,
22
parentNameUsage,parentNameUsage,,
23
parentNameUsageID,parentNameUsageID,,
24
modified,dcterms:modified,,
25
acceptedNameUsage,acceptedNameUsage,,
26
scientificNameAuthorship,scientificNameAuthorship,,
27
subgenus,subgenus,,
28
scientificName,scientificName,,
29
kingdom,kingdom,,
30
nomenclaturalCode,nomenclaturalCode,,
inputs/VASCAN/Taxon/VegBIEN.csv
1
VASCAN,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/2",
3
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/1/_taxon_family_require_std/family",
4
scientificName,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/1",
5
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/2",
6
specificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1",
7
infraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
8
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
9
infraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2",
10
scientificNameAuthorship,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/_if[@name=""if has verbatim name""]/else/matched_label_id/taxonlabel:[source_id/source/shortname=TNRS]/taxonomicname/_join_words/2/_alt/2/_join_words/2",
11
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/_if[@name=""if has explicit parent""]/else/rank",
12
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/_if[@name=""if has explicit parent""]/else/taxonverbatim/verbatimrank",
13
specificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=species]/taxonepithet",
14
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/_if[@name=""if is canonical name""]/then/matched_label_id/taxonlabel:[source_id/source/shortname=NCBI]/taxonomicname",
15
genus,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=genus]/taxonepithet",
16
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/_if[@name=""if is canonical name""]/then/matched_label_id/taxonlabel:[source_id/source/shortname=NCBI]/taxonomicname",
17
family,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=family]/taxonepithet",
18
order,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=order]/taxonepithet",
19
class,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=class]/taxonepithet",
20
kingdom,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/parent_id/_forEach:[in:[cultivar,forma,variety,subspecies,species,genus,family,order,class,phylum,],do=""taxonlabel[rank=_val]/parent_id""]/taxonlabel[rank=kingdom]/taxonepithet",
21
infraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/taxonepithet,
22
taxonRank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/rank,
23
id,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/sourceaccessioncode,
24
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonepithet/_if[@name=""if taxonomic name is epithet""]/cond/_alt:[2=true]/1/_taxonomic_name_is_epithet/rank",
25
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/1/_taxon_family_require_std/family,
26
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/1,
27
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/2,
28
specificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/3/_join_words/1,
29
infraspecificEpithet,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/cond",
30
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/1/_if[@name=""if has infraspecificEpithet""]/then",
31
infraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/5/_join_words/2,
32
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/2,
33
taxonomicStatus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonstatus,
34
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/author,
35
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
36
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
37
specificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
38
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,
39
taxonRank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/verbatimrank,
40
acceptedNameUsage,,** No join mapping for acceptedNameUsage ** 
41
acceptedNameUsageID,,** No join mapping for acceptedNameUsageID ** 
42
bibliographicCitation,,** No join mapping for dcterms:bibliographicCitation ** 
43
datasetID,,** No join mapping for datasetID ** 
44
datasetName,,** No join mapping for datasetName ** 
45
higherClassification,,** No join mapping for higherClassification ** 
46
language,,** No join mapping for dcterms:language ** 
47
modified,,** No join mapping for dcterms:modified ** 
48
nameAccordingTo,,** No join mapping for nameAccordingTo ** 
49
nameAccordingToID,,** No join mapping for nameAccordingToID ** 
50
nomenclaturalCode,,** No join mapping for nomenclaturalCode ** 
51
parentNameUsage,,** No join mapping for parentNameUsage ** 
52
parentNameUsageID,,** No join mapping for parentNameUsageID ** 
53
references,,** No join mapping for dcterms:references ** 
54
rights,,** No join mapping for dcterms:rights ** 
55
rightsHolder,,** No join mapping for dcterms:rightsHolder ** 
56
subgenus,,** No join mapping for subgenus ** 
inputs/VASCAN/Taxon/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <locationevent>
8
                    <taxonoccurrence>
9
                        <taxondetermination>
10
                            <taxonverbatim_id>
11
                                <taxonverbatim>
12
                                    <taxonlabel_id>
13
                                        <taxonlabel>
14
                                            <matched_label_id>
15
                                                <taxonlabel>
16
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
17
                                                    <taxonomicname>
18
                                                        <_join_words>
19
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
20
                                                            <2>
21
                                                                <_alt>
22
                                                                    <1>$scientificName</1>
23
                                                                    <2>
24
                                                                        <_join_words>
25
                                                                            <1>
26
                                                                                <_join_words>
27
                                                                                    <2>$genus</2>
28
                                                                                    <3>$specificEpithet</3>
29
                                                                                    <5>
30
                                                                                        <_join_words>
31
                                                                                            <1>
32
                                                                                                <_if name="if has infraspecificEpithet">
33
                                                                                                    <cond>$infraspecificEpithet</cond>
34
                                                                                                    <then>$taxonRank</then>
35
                                                                                                </_if>
36
                                                                                            </1>
37
                                                                                            <2>$infraspecificEpithet</2>
38
                                                                                        </_join_words>
39
                                                                                    </5>
40
                                                                                </_join_words>
41
                                                                            </1>
42
                                                                            <2>$scientificNameAuthorship</2>
43
                                                                        </_join_words>
44
                                                                    </2>
45
                                                                </_alt>
46
                                                            </2>
47
                                                        </_join_words>
48
                                                    </taxonomicname>
49
                                                </taxonlabel>
50
                                            </matched_label_id>
51
                                            <parent_id>
52
                                                <taxonlabel>
53
                                                    <rank>$taxonRank</rank>
54
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
55
                                                    <parent_id>
56
                                                        <taxonlabel>
57
                                                            <rank>cultivar</rank>
58
                                                            <parent_id>
59
                                                                <taxonlabel>
60
                                                                    <rank>forma</rank>
61
                                                                    <parent_id>
62
                                                                        <taxonlabel>
63
                                                                            <rank>variety</rank>
64
                                                                            <parent_id>
65
                                                                                <taxonlabel>
66
                                                                                    <rank>subspecies</rank>
67
                                                                                    <parent_id>
68
                                                                                        <taxonlabel>
69
                                                                                            <rank>species</rank>
70
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
71
                                                                                            <parent_id>
72
                                                                                                <taxonlabel>
73
                                                                                                    <rank>genus</rank>
74
                                                                                                    <taxonepithet>$genus</taxonepithet>
75
                                                                                                    <parent_id>
76
                                                                                                        <taxonlabel>
77
                                                                                                            <rank>family</rank>
78
                                                                                                            <taxonepithet>$family</taxonepithet>
79
                                                                                                            <parent_id>
80
                                                                                                                <taxonlabel>
81
                                                                                                                    <rank>order</rank>
82
                                                                                                                    <taxonepithet>$order</taxonepithet>
83
                                                                                                                    <parent_id>
84
                                                                                                                        <taxonlabel>
85
                                                                                                                            <rank>class</rank>
86
                                                                                                                            <taxonepithet>$class</taxonepithet>
87
                                                                                                                            <parent_id>
88
                                                                                                                                <taxonlabel>
89
                                                                                                                                    <rank>phylum</rank>
90
                                                                                                                                    <parent_id>
91
                                                                                                                                        <taxonlabel>
92
                                                                                                                                            <rank>kingdom</rank>
93
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
94
                                                                                                                                        </taxonlabel>
95
                                                                                                                                    </parent_id>
96
                                                                                                                                </taxonlabel>
97
                                                                                                                            </parent_id>
98
                                                                                                                        </taxonlabel>
99
                                                                                                                    </parent_id>
100
                                                                                                                </taxonlabel>
101
                                                                                                            </parent_id>
102
                                                                                                        </taxonlabel>
103
                                                                                                    </parent_id>
104
                                                                                                </taxonlabel>
105
                                                                                            </parent_id>
106
                                                                                        </taxonlabel>
107
                                                                                    </parent_id>
108
                                                                                </taxonlabel>
109
                                                                            </parent_id>
110
                                                                        </taxonlabel>
111
                                                                    </parent_id>
112
                                                                </taxonlabel>
113
                                                            </parent_id>
114
                                                        </taxonlabel>
115
                                                    </parent_id>
116
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
117
                                                </taxonlabel>
118
                                            </parent_id>
119
                                            <rank>$taxonRank</rank>
120
                                            <sourceaccessioncode>$id</sourceaccessioncode>
121
                                            <taxonomicname>
122
                                                <_join_words>
123
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
124
                                                    <2>
125
                                                        <_alt>
126
                                                            <1>$scientificName</1>
127
                                                            <2>
128
                                                                <_join_words>
129
                                                                    <1>
130
                                                                        <_join_words>
131
                                                                            <2>$genus</2>
132
                                                                            <3>$specificEpithet</3>
133
                                                                            <5>
134
                                                                                <_join_words>
135
                                                                                    <1>
136
                                                                                        <_if name="if has infraspecificEpithet">
137
                                                                                            <cond>$infraspecificEpithet</cond>
138
                                                                                            <then>$taxonRank</then>
139
                                                                                        </_if>
140
                                                                                    </1>
141
                                                                                    <2>$infraspecificEpithet</2>
142
                                                                                </_join_words>
143
                                                                            </5>
144
                                                                        </_join_words>
145
                                                                    </1>
146
                                                                    <2>$scientificNameAuthorship</2>
147
                                                                </_join_words>
148
                                                            </2>
149
                                                        </_alt>
150
                                                    </2>
151
                                                </_join_words>
152
                                            </taxonomicname>
153
                                            <taxonstatus>$taxonomicStatus</taxonstatus>
154
                                        </taxonlabel>
155
                                    </taxonlabel_id>
156
                                    <author>$scientificNameAuthorship</author>
157
                                    <family>$family</family>
158
                                    <genus>$genus</genus>
159
                                    <specific_epithet>$specificEpithet</specific_epithet>
160
                                    <taxonomicname>$scientificName</taxonomicname>
161
                                    <verbatimrank>$taxonRank</verbatimrank>
162
                                </taxonverbatim>
163
                            </taxonverbatim_id>
164
                        </taxondetermination>
165
                    </taxonoccurrence>
166
                </locationevent>
167
            </location>
168
        </path>
169
    </_simplifyPath>
170
</VegBIEN>
171
Inserted 13 new rows into database
inputs/VASCAN/Taxon/unmapped_terms.csv
1
nameAccordingTo
2
nameAccordingToID
3
datasetID
4
dcterms:references
5
higherClassification
6
dcterms:rightsHolder
7
dcterms:bibliographicCitation
8
dcterms:language
9
acceptedNameUsageID
10
dcterms:rights
11
datasetName
12
parentNameUsage
13
parentNameUsageID
14
dcterms:modified
15
acceptedNameUsage
16
subgenus
17
nomenclaturalCode

Also available in: Unified diff