Project

General

Profile

« Previous | Next » 

Revision 6342

Added inputs/TRT/

View differences:

inputs/TRT/Specimen/map.csv
1
TRT,VegCore,Filter,Comments
2
id,occurrenceID,,
3
maximumElevationInMeters,maximumElevationInMeters,,
4
dateIdentified,dateIdentified,,
5
specificEpithet,specificEpithet,,
6
locality,locality,,
7
reproductiveCondition,reproductiveCondition,,
8
continent,continent,,
9
infraspecificEpithet,infraspecificEpithet,,
10
typeStatus,typeStatus,,
11
occurrenceRemarks,occurrenceRemarks,,
12
associatedReferences,associatedReferences,,
13
decimalLongitude,decimalLongitude,,
14
verbatimLatitude,verbatimLatitude,,
15
georeferenceProtocol,georeferenceProtocol,,
16
verbatimElevation,verbatimElevation,,
17
verbatimLongitude,verbatimLongitude,,
18
type,dcterms:type,,
19
institutionID,institutionID,,
20
scientificNameAuthorship,scientificNameAuthorship,,
21
rights,dcterms:rights,,
22
rightsHolder,dcterms:rightsHolder,,
23
georeferencedBy,georeferencedBy,,
24
family,family,,
25
recordNumber,recordNumber,,
26
country,country,,
27
county,county,,
28
georeferenceRemarks,georeferenceRemarks,,
29
habitat,habitat,,
30
scientificName,scientificName,,
31
sex,sex,,
32
geodeticDatum,geodeticDatum,,
33
coordinateUncertaintyInMeters,coordinateUncertaintyInMeters,,
34
verbatimCoordinates,verbatimCoordinates,,
35
establishmentMeans,establishmentMeans,,
36
verbatimEventDate,verbatimEventDate,,
37
catalogNumber,catalogNumber,,
38
georeferenceVerificationStatus,georeferenceVerificationStatus,,
39
stateProvince,stateProvince,,
40
associatedMedia,associatedMedia,,
41
datasetID,datasetID,,
42
georeferencedDate,georeferencedDate,,
43
eventDate,eventDate,,
44
kingdom,kingdom,,
45
bibliographicCitation,dcterms:bibliographicCitation,,
46
taxonRank,taxonRank,,
47
nomenclaturalCode,nomenclaturalCode,,
48
identificationQualifier,identificationQualifier,,
49
datasetName,datasetName,,
50
decimalLatitude,decimalLatitude,,
51
ownerInstitutionCode,ownerInstitutionCode,,
52
basisOfRecord,basisOfRecord,,
53
georeferenceSources,georeferenceSources,,
54
previousIdentifications,previousIdentifications,,
55
verbatimCoordinateSystem,verbatimCoordinateSystem,,
56
locationRemarks,locationRemarks,,
57
genus,genus,,
58
institutionCode,institutionCode,,
59
higherClassification,higherClassification,,
60
verbatimSRS,verbatimSRS,,
61
municipality,municipality,,
62
identifiedBy,identifiedBy,,
63
otherCatalogNumbers,otherCatalogNumbers,,
64
collectionID,collectionID,,
65
language,dcterms:language,,
66
recordedBy,recordedBy,,
67
minimumElevationInMeters,minimumElevationInMeters,,
68
collectionCode,collectionCode,,
inputs/TRT/Specimen/VegBIEN.csv
1
TRT,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
id,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/1",
3
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
4
institutionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1",
5
collectionCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/1",
6
collectionID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/2/_join/2",
7
catalogNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else",
8
verbatimElevation,"/location/elevation_m/_alt/1/_units:[to=m,to=]/value",
9
maximumElevationInMeters,/location/elevation_m/_alt/2/_avg/max,
10
minimumElevationInMeters,/location/elevation_m/_alt/2/_avg/min,
11
id,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists",
12
recordNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists",
13
eventDate,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/cond/_exists",
14
eventDate,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsenddate/_alt/2/_dateRangeEnd/value",
15
eventDate,"/location/locationevent/_if[@name=""if subplot""]/then/_if[@name=""if has event""]/then/parent_id/locationevent/obsstartdate/_alt/2/_dateRangeStart/value",
16
eventDate,/location/locationevent/obsenddate/_alt/2/_dateRangeEnd/value,
17
eventDate,/location/locationevent/obsstartdate/_alt/2/_dateRangeStart/value,
18
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/collectionnumber,
19
sex,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/definedvalue[*_id/userdefined[tablename=plantobservation,userdefinedname=sex]]:[@fkey=tablerecord_id]/definedvalue","Brad: OMIT. Apparently not used by this institution and of uncertain applicability to plants. With other collections, *sometimes* used for phenological information (if specimen in flower, in fruit, sterile, etc.). If so, this is important information we should keep. Bob, Nick, anywhere for phenological information in VB and VX?; Aaron: Keeping it because it's useful for some collections"
20
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
21
collectionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/1,Brad: Not sure if mapping correct. DwC element; code for entire collection; often same as InstitutionCode; Aaron: Combining with InstitutionCode to create collection name
22
collectionID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/collectioncode_dwc/_join/2,
23
institutionCode,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/institution_id/sourcename/name,
24
id,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/sourceaccessioncode,
25
recordNumber,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/1/_first/1",
26
scientificName,"/location/locationevent/taxonoccurrence/authortaxoncode/_if[@name=""if in plot""]/then/_first/2/_first/2",
27
recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
28
id,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
29
recordNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
30
establishmentMeans,"/location/locationevent/taxonoccurrence/iscultivated/_alt/2/_map:[cultivated=t,wild=f,*=]/value",
31
establishmentMeans,"/location/locationevent/taxonoccurrence/isnative/_map:[native=t,exotic=f,*=]/value",
32
id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
33
identifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
34
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",
35
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",
36
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",
37
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",
38
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",
39
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",
40
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",
41
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",
42
dateIdentified,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/creationdate/_alt/1/_dateRangeStart/value,
43
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/_if[@name=""if has explicit parent""]/else/rank",
44
taxonRank,"/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/_if[@name=""if has explicit parent""]/else/taxonverbatim/verbatimrank",
45
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",
46
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",
47
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",
48
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",
49
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",
50
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",
51
infraspecificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/parent_id/taxonlabel/taxonepithet,
52
taxonRank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/rank,
53
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",
54
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/1/_taxon_family_require_std/family,
55
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/1,
56
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/1/_alt/2/_join_words/2,
57
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,
58
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",
59
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",
60
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,
61
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/*_id/taxonlabel/taxonomicname/_join_words/2/_alt/2/_join_words/2,
62
scientificNameAuthorship,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/author,
63
family,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/family,
64
genus,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/genus,
65
specificEpithet,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/specific_epithet,
66
scientificName,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/taxonomicname,
67
taxonRank,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/taxonverbatim/verbatimrank,
68
dateIdentified,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/determinationdate/_alt/1/_dateRangeStart/value,
69
identificationQualifier,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/taxonfit,
70
catalogNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
71
locality,/location/locationnarrative/_merge/1,
72
habitat,"/location/locationnarrative/_merge/3/_label[label=""habitat""]/value","Brad: Free-text description of vegetation community where collected, frequently redundane wrt 'Vegetation'. Bob, Nick: keep as user defined or create special element?"
73
coordinateUncertaintyInMeters,/location/locationplace/*_id/place/*_id/coordinates/coordsaccuracy_m/_noCV/value,
74
decimalLatitude,"/location/locationplace/*_id/place/*_id/coordinates/latitude_deg/_nullIf:[null=0,type=float]/value",
75
decimalLongitude,"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value",
76
verbatimLatitude,/location/locationplace/*_id/place/*_id/coordinates/verbatimlatitude,
77
verbatimLongitude,/location/locationplace/*_id/place/*_id/coordinates/verbatimlongitude,
78
continent,/location/locationplace/*_id/place/continent,
79
country,/location/locationplace/*_id/place/country,
80
county,/location/locationplace/*_id/place/county,
81
decimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
82
decimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,source_id/source/shortname=geoscrub]/*_id/coordinates:[source_id/source/shortname=geoscrub]/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value",""".,"" sorts it with other coordinates mappings"
83
country,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/country/_first/2,
84
county,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/county/_first/2,
85
stateProvince,/location/locationplace/*_id/place/matched_place_id/place:[source_id/source/shortname=geoscrub]/stateprovince/_first/2,
86
stateProvince,/location/locationplace/*_id/place/stateprovince,
87
verbatimElevation,/location/verbatimelevation,
88
associatedMedia,,** No join mapping for associatedMedia ** 
89
associatedReferences,,** No join mapping for associatedReferences ** 
90
basisOfRecord,,** No join mapping for basisOfRecord ** 
91
bibliographicCitation,,** No join mapping for dcterms:bibliographicCitation ** 
92
datasetID,,** No join mapping for datasetID ** 
93
datasetName,,** No join mapping for datasetName ** 
94
geodeticDatum,,** No join mapping for geodeticDatum ** 
95
georeferenceProtocol,,** No join mapping for georeferenceProtocol ** 
96
georeferenceRemarks,,** No join mapping for georeferenceRemarks ** 
97
georeferenceSources,,** No join mapping for georeferenceSources ** 
98
georeferenceVerificationStatus,,** No join mapping for georeferenceVerificationStatus ** 
99
georeferencedBy,,** No join mapping for georeferencedBy ** 
100
georeferencedDate,,** No join mapping for georeferencedDate ** 
101
higherClassification,,** No join mapping for higherClassification ** 
102
institutionID,,** No join mapping for institutionID ** 
103
language,,** No join mapping for dcterms:language ** 
104
locationRemarks,,** No join mapping for locationRemarks ** 
105
municipality,,** No join mapping for municipality ** 
106
nomenclaturalCode,,** No join mapping for nomenclaturalCode ** 
107
occurrenceRemarks,,** No join mapping for occurrenceRemarks ** 
108
otherCatalogNumbers,,** No join mapping for otherCatalogNumbers ** 
109
ownerInstitutionCode,,** No join mapping for ownerInstitutionCode ** 
110
previousIdentifications,,** No join mapping for previousIdentifications ** 
111
reproductiveCondition,,** No join mapping for reproductiveCondition ** 
112
rights,,** No join mapping for dcterms:rights ** 
113
rightsHolder,,** No join mapping for dcterms:rightsHolder ** 
114
type,,** No join mapping for dcterms:type ** 
115
typeStatus,,** No join mapping for typeStatus ** 
116
verbatimCoordinateSystem,,** No join mapping for verbatimCoordinateSystem ** 
117
verbatimCoordinates,,** No join mapping for verbatimCoordinates ** 
118
verbatimEventDate,,** No join mapping for verbatimEventDate ** 
119
verbatimSRS,,** No join mapping for verbatimSRS ** 
inputs/TRT/Specimen/test.xml.ref
1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_alt>
26
                        <1>
27
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30
                                <value>$verbatimElevation</value>
31
                            </_units>
32
                        </1>
33
                        <2>
34
                            <_avg>
35
                                <max>$maximumElevationInMeters</max>
36
                                <min>$minimumElevationInMeters</min>
37
                            </_avg>
38
                        </2>
39
                    </_alt>
40
                </elevation_m>
41
                <locationevent>
42
                    <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
43
                    <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
44
                    <taxonoccurrence>
45
                        <aggregateoccurrence>
46
                            <plantobservation>
47
                                <collectionnumber>$recordNumber</collectionnumber>
48
                                <definedvalue fkey="tablerecord_id">
49
                                    <userdefined_id>
50
                                        <userdefined>
51
                                            <tablename>plantobservation</tablename>
52
                                            <userdefinedname>sex</userdefinedname>
53
                                        </userdefined>
54
                                    </userdefined_id>
55
                                    <definedvalue>$sex</definedvalue>
56
                                </definedvalue>
57
                                <specimenreplicate>
58
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
59
                                    <collectioncode_dwc>
60
                                        <_join>
61
                                            <1>$collectionCode</1>
62
                                            <2>$collectionID</2>
63
                                        </_join>
64
                                    </collectioncode_dwc>
65
                                    <institution_id><sourcename><name>$institutionCode</name></sourcename></institution_id>
66
                                    <sourceaccessioncode>$id</sourceaccessioncode>
67
                                </specimenreplicate>
68
                            </plantobservation>
69
                        </aggregateoccurrence>
70
                        <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
71
                        <iscultivated>
72
                            <_map>
73
                                <cultivated>t</cultivated>
74
                                <wild>f</wild>
75
                                <*></*>
76
                                <value>$establishmentMeans</value>
77
                            </_map>
78
                        </iscultivated>
79
                        <isnative>
80
                            <_map>
81
                                <native>t</native>
82
                                <exotic>f</exotic>
83
                                <*></*>
84
                                <value>$establishmentMeans</value>
85
                            </_map>
86
                        </isnative>
87
                        <sourceaccessioncode>$id</sourceaccessioncode>
88
                        <taxondetermination>
89
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
90
                            <taxonverbatim_id>
91
                                <taxonverbatim>
92
                                    <taxonlabel_id>
93
                                        <taxonlabel>
94
                                            <matched_label_id>
95
                                                <taxonlabel>
96
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
97
                                                    <taxonomicname>
98
                                                        <_join_words>
99
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
100
                                                            <2>
101
                                                                <_alt>
102
                                                                    <1>$scientificName</1>
103
                                                                    <2>
104
                                                                        <_join_words>
105
                                                                            <1>
106
                                                                                <_join_words>
107
                                                                                    <2>$genus</2>
108
                                                                                    <3>$specificEpithet</3>
109
                                                                                    <5>
110
                                                                                        <_join_words>
111
                                                                                            <1>
112
                                                                                                <_if name="if has infraspecificEpithet">
113
                                                                                                    <cond>$infraspecificEpithet</cond>
114
                                                                                                    <then>$taxonRank</then>
115
                                                                                                </_if>
116
                                                                                            </1>
117
                                                                                            <2>$infraspecificEpithet</2>
118
                                                                                        </_join_words>
119
                                                                                    </5>
120
                                                                                </_join_words>
121
                                                                            </1>
122
                                                                            <2>$scientificNameAuthorship</2>
123
                                                                        </_join_words>
124
                                                                    </2>
125
                                                                </_alt>
126
                                                            </2>
127
                                                        </_join_words>
128
                                                    </taxonomicname>
129
                                                </taxonlabel>
130
                                            </matched_label_id>
131
                                            <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
132
                                            <parent_id>
133
                                                <taxonlabel>
134
                                                    <rank>$taxonRank</rank>
135
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
136
                                                    <parent_id>
137
                                                        <taxonlabel>
138
                                                            <rank>cultivar</rank>
139
                                                            <parent_id>
140
                                                                <taxonlabel>
141
                                                                    <rank>forma</rank>
142
                                                                    <parent_id>
143
                                                                        <taxonlabel>
144
                                                                            <rank>variety</rank>
145
                                                                            <parent_id>
146
                                                                                <taxonlabel>
147
                                                                                    <rank>subspecies</rank>
148
                                                                                    <parent_id>
149
                                                                                        <taxonlabel>
150
                                                                                            <rank>species</rank>
151
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
152
                                                                                            <parent_id>
153
                                                                                                <taxonlabel>
154
                                                                                                    <rank>genus</rank>
155
                                                                                                    <taxonepithet>$genus</taxonepithet>
156
                                                                                                    <parent_id>
157
                                                                                                        <taxonlabel>
158
                                                                                                            <rank>family</rank>
159
                                                                                                            <taxonepithet>$family</taxonepithet>
160
                                                                                                            <parent_id>
161
                                                                                                                <taxonlabel>
162
                                                                                                                    <rank>order</rank>
163
                                                                                                                    <parent_id>
164
                                                                                                                        <taxonlabel>
165
                                                                                                                            <rank>class</rank>
166
                                                                                                                            <parent_id>
167
                                                                                                                                <taxonlabel>
168
                                                                                                                                    <rank>phylum</rank>
169
                                                                                                                                    <parent_id>
170
                                                                                                                                        <taxonlabel>
171
                                                                                                                                            <rank>kingdom</rank>
172
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
173
                                                                                                                                        </taxonlabel>
174
                                                                                                                                    </parent_id>
175
                                                                                                                                </taxonlabel>
176
                                                                                                                            </parent_id>
177
                                                                                                                        </taxonlabel>
178
                                                                                                                    </parent_id>
179
                                                                                                                </taxonlabel>
180
                                                                                                            </parent_id>
181
                                                                                                        </taxonlabel>
182
                                                                                                    </parent_id>
183
                                                                                                </taxonlabel>
184
                                                                                            </parent_id>
185
                                                                                        </taxonlabel>
186
                                                                                    </parent_id>
187
                                                                                </taxonlabel>
188
                                                                            </parent_id>
189
                                                                        </taxonlabel>
190
                                                                    </parent_id>
191
                                                                </taxonlabel>
192
                                                            </parent_id>
193
                                                        </taxonlabel>
194
                                                    </parent_id>
195
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
196
                                                </taxonlabel>
197
                                            </parent_id>
198
                                            <rank>$taxonRank</rank>
199
                                            <taxonomicname>
200
                                                <_join_words>
201
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
202
                                                    <2>
203
                                                        <_alt>
204
                                                            <1>$scientificName</1>
205
                                                            <2>
206
                                                                <_join_words>
207
                                                                    <1>
208
                                                                        <_join_words>
209
                                                                            <2>$genus</2>
210
                                                                            <3>$specificEpithet</3>
211
                                                                            <5>
212
                                                                                <_join_words>
213
                                                                                    <1>
214
                                                                                        <_if name="if has infraspecificEpithet">
215
                                                                                            <cond>$infraspecificEpithet</cond>
216
                                                                                            <then>$taxonRank</then>
217
                                                                                        </_if>
218
                                                                                    </1>
219
                                                                                    <2>$infraspecificEpithet</2>
220
                                                                                </_join_words>
221
                                                                            </5>
222
                                                                        </_join_words>
223
                                                                    </1>
224
                                                                    <2>$scientificNameAuthorship</2>
225
                                                                </_join_words>
226
                                                            </2>
227
                                                        </_alt>
228
                                                    </2>
229
                                                </_join_words>
230
                                            </taxonomicname>
231
                                        </taxonlabel>
232
                                    </taxonlabel_id>
233
                                    <author>$scientificNameAuthorship</author>
234
                                    <family>$family</family>
235
                                    <genus>$genus</genus>
236
                                    <specific_epithet>$specificEpithet</specific_epithet>
237
                                    <taxonomicname>$scientificName</taxonomicname>
238
                                    <verbatimrank>$taxonRank</verbatimrank>
239
                                </taxonverbatim>
240
                            </taxonverbatim_id>
241
                            <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
242
                            <taxonfit>$identificationQualifier</taxonfit>
243
                        </taxondetermination>
244
                    </taxonoccurrence>
245
                </locationevent>
246
                <locationnarrative>
247
                    <_merge>
248
                        <1>$locality</1>
249
                        <3>
250
                            <_label>
251
                                <label>habitat</label>
252
                                <value>$habitat</value>
253
                            </_label>
254
                        </3>
255
                    </_merge>
256
                </locationnarrative>
257
                <locationplace>
258
                    <place_id>
259
                        <place>
260
                            <coordinates_id>
261
                                <coordinates>
262
                                    <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
263
                                    <latitude_deg>
264
                                        <_nullIf>
265
                                            <null>0</null>
266
                                            <type>float</type>
267
                                            <value>$decimalLatitude</value>
268
                                        </_nullIf>
269
                                    </latitude_deg>
270
                                    <longitude_deg>
271
                                        <_nullIf>
272
                                            <null>0</null>
273
                                            <type>float</type>
274
                                            <value>$decimalLongitude</value>
275
                                        </_nullIf>
276
                                    </longitude_deg>
277
                                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
278
                                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
279
                                </coordinates>
280
                            </coordinates_id>
281
                            <continent>$continent</continent>
282
                            <country>$country</country>
283
                            <county>$county</county>
284
                            <matched_place_id>
285
                                <place>
286
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
287
                                    <coordinates_id>
288
                                        <coordinates>
289
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
290
                                            <latitude_deg>
291
                                                <_nullIf>
292
                                                    <null>0</null>
293
                                                    <type>float</type>
294
                                                    <value>$decimalLatitude</value>
295
                                                </_nullIf>
296
                                            </latitude_deg>
297
                                            <longitude_deg>
298
                                                <_nullIf>
299
                                                    <null>0</null>
300
                                                    <type>float</type>
301
                                                    <value>$decimalLongitude</value>
302
                                                </_nullIf>
303
                                            </longitude_deg>
304
                                        </coordinates>
305
                                    </coordinates_id>
306
                                    <country>$country</country>
307
                                    <county>$county</county>
308
                                    <stateprovince>$stateProvince</stateprovince>
309
                                </place>
310
                            </matched_place_id>
311
                            <stateprovince>$stateProvince</stateprovince>
312
                        </place>
313
                    </place_id>
314
                </locationplace>
315
                <verbatimelevation>$verbatimElevation</verbatimelevation>
316
            </location>
317
        </path>
318
    </_simplifyPath>
319
</VegBIEN>
320
Inserted 42 new rows into database
inputs/TRT/Specimen/unmapped_terms.csv
1
reproductiveCondition
2
typeStatus
3
occurrenceRemarks
4
associatedReferences
5
georeferenceProtocol
6
dcterms:type
7
institutionID
8
dcterms:rights
9
dcterms:rightsHolder
10
georeferencedBy
11
georeferenceRemarks
12
geodeticDatum
13
verbatimCoordinates
14
verbatimEventDate
15
georeferenceVerificationStatus
16
associatedMedia
17
datasetID
18
georeferencedDate
19
dcterms:bibliographicCitation
20
nomenclaturalCode
21
datasetName
22
ownerInstitutionCode
23
basisOfRecord
24
georeferenceSources
25
previousIdentifications
26
verbatimCoordinateSystem
27
locationRemarks
28
higherClassification
29
verbatimSRS
30
municipality
31
otherCatalogNumbers
32
dcterms:language

Also available in: Unified diff