Project

General

Profile

« Previous | Next » 

Revision 4857

input.Makefile: Maps validation: %/new_terms.csv: Include the entire map spreadsheet row, so that each new term is listed together with its mapping. This facilitates adding new mappings to mappings/Veg+-VegCore.csv directly from any new_terms.csv. Note that the use of `sort -u` (in lib/mappings.Makefile) causes multiline comments to be separated, leading to spurious lines for each multiline comment line.

View differences:

new_terms.csv
1
conceptual_darwin_2003_1_0_BasisOfRecord
2
conceptual_darwin_2003_1_0_BoundingBox
3
conceptual_darwin_2003_1_0_CatalogNumber
4
conceptual_darwin_2003_1_0_Class
5
conceptual_darwin_2003_1_0_CollectionCode
6
conceptual_darwin_2003_1_0_Collector
7
conceptual_darwin_2003_1_0_CollectorNumber
8
conceptual_darwin_2003_1_0_ContinentOcean
9
conceptual_darwin_2003_1_0_CoordinatePrecision
10
conceptual_darwin_2003_1_0_Country
11
conceptual_darwin_2003_1_0_County
12
conceptual_darwin_2003_1_0_DateLastModified
13
conceptual_darwin_2003_1_0_DayCollected
14
conceptual_darwin_2003_1_0_DayIdentified
15
conceptual_darwin_2003_1_0_Family
16
conceptual_darwin_2003_1_0_FieldNumber
17
conceptual_darwin_2003_1_0_Genus
18
conceptual_darwin_2003_1_0_IdentifiedBy
19
conceptual_darwin_2003_1_0_IndividualCount
20
conceptual_darwin_2003_1_0_InstitutionCode
21
conceptual_darwin_2003_1_0_JulianDay
22
conceptual_darwin_2003_1_0_Kingdom
23
conceptual_darwin_2003_1_0_Latitude
24
conceptual_darwin_2003_1_0_Locality
25
conceptual_darwin_2003_1_0_Longitude
26
conceptual_darwin_2003_1_0_MaximumDepth
27
conceptual_darwin_2003_1_0_MaximumElevation
28
conceptual_darwin_2003_1_0_MinimumDepth
29
conceptual_darwin_2003_1_0_MinimumElevation
30
conceptual_darwin_2003_1_0_MonthCollected
31
conceptual_darwin_2003_1_0_MonthIdentified
32
conceptual_darwin_2003_1_0_Notes
33
conceptual_darwin_2003_1_0_Order
34
conceptual_darwin_2003_1_0_Phylum
35
conceptual_darwin_2003_1_0_PreparationType
36
conceptual_darwin_2003_1_0_PreviousCatalogNumber
37
conceptual_darwin_2003_1_0_RelatedCatalogItem
38
conceptual_darwin_2003_1_0_RelationshipType
39
conceptual_darwin_2003_1_0_ScientificName
40
conceptual_darwin_2003_1_0_ScientificNameAuthor
41
conceptual_darwin_2003_1_0_Sex
42
conceptual_darwin_2003_1_0_Species
43
conceptual_darwin_2003_1_0_StateProvince
44
conceptual_darwin_2003_1_0_Subspecies
45
conceptual_darwin_2003_1_0_TimeOfDay
46
conceptual_darwin_2003_1_0_TypeStatus
47
conceptual_darwin_2003_1_0_YearCollected
48
conceptual_darwin_2003_1_0_YearIdentified
49
dwc_curatorial_CollectorNumber
50
dwc_curatorial_FieldNumber
51
dwc_curatorial_IdentifiedBy
52
dwc_curatorial_IndividualCount
53
dwc_curatorial_TypeStatus
54
dwc_dwcore_AuthorYearOfScientificName
55
dwc_dwcore_BasisOfRecord
56
dwc_dwcore_CatalogNumber
57
dwc_dwcore_Class
58
dwc_dwcore_CollectionCode
59
dwc_dwcore_Collector
60
dwc_dwcore_Continent
61
dwc_dwcore_Country
62
dwc_dwcore_County
63
dwc_dwcore_DateLastModified
64
dwc_dwcore_DayOfYear
65
dwc_dwcore_Family
66
dwc_dwcore_Genus
67
dwc_dwcore_GlobalUniqueIdentifier
68
dwc_dwcore_InfraspecificEpithet
69
dwc_dwcore_InstitutionCode
70
dwc_dwcore_Kingdom
71
dwc_dwcore_Locality
72
dwc_dwcore_MaximumDepthInMeters
73
dwc_dwcore_MaximumElevationInMeters
74
dwc_dwcore_MinimumDepthInMeters
75
dwc_dwcore_MinimumElevationInMeters
76
dwc_dwcore_Order
77
dwc_dwcore_Phylum
78
dwc_dwcore_Remarks
79
dwc_dwcore_ScientificName
80
dwc_dwcore_Sex
81
dwc_dwcore_SpecificEpithet
82
dwc_dwcore_StateProvince
83
dwc_geospatial_DecimalLatitude
84
dwc_geospatial_DecimalLongitude
85
dwc_geospatial_VerbatimLatitude
86
dwc_geospatial_VerbatimLongitude
87
dwc_terms_basisOfRecord
88
dwc_terms_catalogNumber
89
dwc_terms_class
90
dwc_terms_collectionCode
91
dwc_terms_collectionID
92
dwc_terms_continent
93
dwc_terms_coordinateUncertaintyInMeters
94
dwc_terms_country
95
dwc_terms_county
96
dwc_terms_dateIdentified
97
dwc_terms_day
98
dwc_terms_decimalLatitude
99
dwc_terms_decimalLongitude
100
dwc_terms_endDayOfYear
101
dwc_terms_eventTime
102
dwc_terms_family
103
dwc_terms_fieldNumber
104
dwc_terms_genus
105
dwc_terms_identifiedBy
106
dwc_terms_individualCount
107
dwc_terms_infraspecificEpithet
108
dwc_terms_institutionCode
109
dwc_terms_kingdom
110
dwc_terms_locality
111
dwc_terms_maximumDepthInMeters
112
dwc_terms_maximumElevationInMeters
113
dwc_terms_minimumDepthInMeters
114
dwc_terms_minimumElevationInMeters
115
dwc_terms_month
116
dwc_terms_occurrenceRemarks
117
dwc_terms_order
118
dwc_terms_otherCatalogNumbers
119
dwc_terms_phylum
120
dwc_terms_preparations
121
dwc_terms_recordNumber
122
dwc_terms_recordedBy
123
dwc_terms_scientificName
124
dwc_terms_scientificNameAuthorship
125
dwc_terms_sex
126
dwc_terms_specificEpithet
127
dwc_terms_startDayOfYear
128
dwc_terms_stateProvince
129
dwc_terms_typeStatus
130
dwc_terms_verbatimLatitude
131
dwc_terms_verbatimLongitude
132
dwc_terms_year
133
http__purl_org_dc_terms_modified
1
-----
2
-----"
3
SELECT count(*) FROM ""SpeciesLink"".specimens
4
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
5
conceptual_darwin_2003_1_0_BasisOfRecord,basisOfRecord,,
6
conceptual_darwin_2003_1_0_BoundingBox,footprintWKT,,
7
conceptual_darwin_2003_1_0_CatalogNumber,catalogNumber,,
8
conceptual_darwin_2003_1_0_Class,class,,
9
conceptual_darwin_2003_1_0_CollectionCode,collectionCode,,
10
conceptual_darwin_2003_1_0_Collector,recordedBy,,
11
conceptual_darwin_2003_1_0_CollectorNumber,recordNumber,/_alt/3,
12
conceptual_darwin_2003_1_0_ContinentOcean,continent,,
13
conceptual_darwin_2003_1_0_CoordinatePrecision,coordinatePrecision,,
14
conceptual_darwin_2003_1_0_Country,country,,
15
conceptual_darwin_2003_1_0_County,county,,
16
conceptual_darwin_2003_1_0_DateLastModified,dcterms:modified,,
17
conceptual_darwin_2003_1_0_DayCollected,dayCollected,,
18
conceptual_darwin_2003_1_0_DayIdentified,dayIdentified,,
19
conceptual_darwin_2003_1_0_Family,family,,
20
conceptual_darwin_2003_1_0_FieldNumber,recordNumber,/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
21
conceptual_darwin_2003_1_0_Genus,genus,,
22
conceptual_darwin_2003_1_0_IdentifiedBy,identifiedBy,,
23
conceptual_darwin_2003_1_0_IndividualCount,individualCount,,
24
conceptual_darwin_2003_1_0_InstitutionCode,institutionCode,,
25
conceptual_darwin_2003_1_0_JulianDay,day,/_alt/1,
26
conceptual_darwin_2003_1_0_Kingdom,kingdom,,
27
conceptual_darwin_2003_1_0_Latitude,verbatimLatitude,,
28
conceptual_darwin_2003_1_0_Locality,locality,,
29
conceptual_darwin_2003_1_0_Longitude,verbatimLongitude,,
30
conceptual_darwin_2003_1_0_MaximumDepth,maximumDepthInMeters,,
31
conceptual_darwin_2003_1_0_MaximumElevation,maximumElevationInMeters,,
32
conceptual_darwin_2003_1_0_MinimumDepth,minimumDepthInMeters,,
33
conceptual_darwin_2003_1_0_MinimumElevation,minimumElevationInMeters,,
34
conceptual_darwin_2003_1_0_MonthCollected,monthCollected,,
35
conceptual_darwin_2003_1_0_MonthIdentified,monthIdentified,,
36
conceptual_darwin_2003_1_0_Notes,fieldNotes,,
37
conceptual_darwin_2003_1_0_Order,order,,
38
conceptual_darwin_2003_1_0_Phylum,phylum,,
39
conceptual_darwin_2003_1_0_PreparationType,preparations,,
40
conceptual_darwin_2003_1_0_PreviousCatalogNumber,otherCatalogNumbers,,
41
conceptual_darwin_2003_1_0_RelatedCatalogItem,relatedResourceID,,
42
conceptual_darwin_2003_1_0_RelationshipType,relationshipOfResource,,
43
conceptual_darwin_2003_1_0_ScientificName,scientificName,,
44
conceptual_darwin_2003_1_0_ScientificNameAuthor,scientificNameAuthorship,/_alt/2,
45
conceptual_darwin_2003_1_0_Sex,sex,,
46
conceptual_darwin_2003_1_0_Species,specificEpithet,,
47
conceptual_darwin_2003_1_0_StateProvince,stateProvince,,
48
conceptual_darwin_2003_1_0_Subspecies,subspecies,,
49
conceptual_darwin_2003_1_0_TimeOfDay,eventTime,,
50
conceptual_darwin_2003_1_0_TypeStatus,typeStatus,,
51
conceptual_darwin_2003_1_0_YearCollected,yearCollected,,
52
conceptual_darwin_2003_1_0_YearIdentified,yearIdentified,,
53
dwc_curatorial_CollectorNumber,recordNumber,/_alt/3,
54
dwc_curatorial_FieldNumber,recordNumber,/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
55
dwc_curatorial_IdentifiedBy,identifiedBy,,
56
dwc_curatorial_IndividualCount,individualCount,,
57
dwc_curatorial_TypeStatus,typeStatus,,
58
dwc_dwcore_AuthorYearOfScientificName,scientificNameAuthorship,/_alt/3,
59
dwc_dwcore_BasisOfRecord,basisOfRecord,,
60
dwc_dwcore_CatalogNumber,catalogNumber,,
61
dwc_dwcore_Class,class,,
62
dwc_dwcore_CollectionCode,collectionCode,,
63
dwc_dwcore_Collector,recordedBy,,
64
dwc_dwcore_Continent,continent,,
65
dwc_dwcore_Country,country,,
66
dwc_dwcore_County,county,,
67
dwc_dwcore_DateLastModified,dcterms:modified,,
68
dwc_dwcore_DayOfYear,day,/_alt/2,
69
dwc_dwcore_Family,family,,
70
dwc_dwcore_Genus,genus,,
71
dwc_dwcore_GlobalUniqueIdentifier,occurrenceID,,
72
dwc_dwcore_InfraspecificEpithet,infraspecificEpithet,,
73
dwc_dwcore_InstitutionCode,institutionCode,,
74
dwc_dwcore_Kingdom,kingdom,,
75
dwc_dwcore_Locality,locality,,
76
dwc_dwcore_MaximumDepthInMeters,maximumDepthInMeters,,
77
dwc_dwcore_MaximumElevationInMeters,maximumElevationInMeters,,
78
dwc_dwcore_MinimumDepthInMeters,minimumDepthInMeters,,
79
dwc_dwcore_MinimumElevationInMeters,minimumElevationInMeters,,
80
dwc_dwcore_Order,order,,
81
dwc_dwcore_Phylum,phylum,,
82
dwc_dwcore_Remarks,taxonRemarks,,
83
dwc_dwcore_ScientificName,scientificName,,
84
dwc_dwcore_Sex,sex,,
85
dwc_dwcore_SpecificEpithet,specificEpithet,,
86
dwc_dwcore_StateProvince,stateProvince,,
87
dwc_geospatial_DecimalLatitude,decimalLatitude,,
88
dwc_geospatial_DecimalLongitude,decimalLongitude,,
89
dwc_geospatial_VerbatimLatitude,verbatimLatitude,,
90
dwc_geospatial_VerbatimLongitude,verbatimLongitude,,
91
dwc_terms_basisOfRecord,basisOfRecord,,
92
dwc_terms_catalogNumber,catalogNumber,,
93
dwc_terms_class,class,,
94
dwc_terms_collectionCode,collectionCode,,
95
dwc_terms_collectionID,collectionID,,
96
dwc_terms_continent,continent,,
97
dwc_terms_coordinateUncertaintyInMeters,coordinateUncertaintyInMeters,,
98
dwc_terms_country,country,,
99
dwc_terms_county,county,,
100
dwc_terms_dateIdentified,dateIdentified,,
101
dwc_terms_day,day,,
102
dwc_terms_decimalLatitude,decimalLatitude,,
103
dwc_terms_decimalLongitude,decimalLongitude,,
104
dwc_terms_endDayOfYear,endDayOfYear,,
105
dwc_terms_eventTime,eventTime,,
106
dwc_terms_family,family,,
107
dwc_terms_fieldNumber,recordNumber,/_alt/2,"Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
108
dwc_terms_genus,genus,,
109
dwc_terms_identifiedBy,identifiedBy,,
110
dwc_terms_individualCount,individualCount,,
111
dwc_terms_infraspecificEpithet,infraspecificEpithet,,
112
dwc_terms_institutionCode,institutionCode,,
113
dwc_terms_kingdom,kingdom,,
114
dwc_terms_locality,locality,,
115
dwc_terms_maximumDepthInMeters,maximumDepthInMeters,,
116
dwc_terms_maximumElevationInMeters,maximumElevationInMeters,,
117
dwc_terms_minimumDepthInMeters,minimumDepthInMeters,,
118
dwc_terms_minimumElevationInMeters,minimumElevationInMeters,,
119
dwc_terms_month,month,,
120
dwc_terms_occurrenceRemarks,occurrenceRemarks,,
121
dwc_terms_order,order,,
122
dwc_terms_otherCatalogNumbers,otherCatalogNumbers,,
123
dwc_terms_phylum,phylum,,
124
dwc_terms_preparations,preparations,,
125
dwc_terms_recordNumber,recordNumber,/_alt/1,
126
dwc_terms_recordedBy,recordedBy,,
127
dwc_terms_scientificName,scientificName,,
128
dwc_terms_scientificNameAuthorship,scientificNameAuthorship,/_alt/1,
129
dwc_terms_sex,sex,,
130
dwc_terms_specificEpithet,specificEpithet,,
131
dwc_terms_startDayOfYear,startDayOfYear,,
132
dwc_terms_stateProvince,stateProvince,,
133
dwc_terms_typeStatus,typeStatus,,
134
dwc_terms_verbatimLatitude,verbatimLatitude,,
135
dwc_terms_verbatimLongitude,verbatimLongitude,,
136
dwc_terms_year,year,,
137
http__purl_org_dc_terms_modified,dcterms:modified,,

Also available in: Unified diff