Project

General

Profile

« Previous | Next » 

Revision 6314

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

View differences:

VegBIEN.csv
20 20
dwc_dwcore_MinimumElevationInMeters,/location/elevation_m/_alt/2/_avg/min,
21 21
dwc_terms_minimumElevationInMeters,/location/elevation_m/_alt/2/_avg/min,
22 22
dwc_dwcore_GlobalUniqueIdentifier,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists",
23
dwc_terms_recordNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/1",
24
conceptual_darwin_2003_1_0_FieldNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
25
-----
26
SELECT count(*) FROM ""SpeciesLink"".specimens
27
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
28
-----"
29
dwc_curatorial_FieldNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
30
-----
31
SELECT count(*) FROM ""SpeciesLink"".specimens
32
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
33
-----"
34
dwc_terms_fieldNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
35
-----
36
SELECT count(*) FROM ""SpeciesLink"".specimens
37
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
38
-----"
39
conceptual_darwin_2003_1_0_CollectorNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/3",
40
dwc_curatorial_CollectorNumber,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/3",
23 41
conceptual_darwin_2003_1_0_DayCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/day/_nullIf:[null=0,type=float]/value",
24 42
conceptual_darwin_2003_1_0_MonthCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/month/_nullIf:[null=0,type=float]/value",
25 43
conceptual_darwin_2003_1_0_YearCollected,"/location/locationevent/taxonoccurrence/aggregateoccurrence/collectiondate/_alt/2/_date/year/_nullIf:[null=0,type=float]/value",
......
84 102
dwc_dwcore_Collector,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
85 103
dwc_terms_recordedBy,/location/locationevent/taxonoccurrence/collector_id/party/fullname,
86 104
dwc_dwcore_GlobalUniqueIdentifier,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists",
105
dwc_terms_recordNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/1",
106
conceptual_darwin_2003_1_0_FieldNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
107
-----
108
SELECT count(*) FROM ""SpeciesLink"".specimens
109
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
110
-----"
111
dwc_curatorial_FieldNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
112
-----
113
SELECT count(*) FROM ""SpeciesLink"".specimens
114
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
115
-----"
116
dwc_terms_fieldNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/2","Usage inconsistent with DwC definition. This field is instead identical to recordNumber, as the following query returns zero: (takes 23 sec)
117
-----
118
SELECT count(*) FROM ""SpeciesLink"".specimens
119
WHERE COALESCE(""dwc_curatorial_FieldNumber"", ""dwc_terms_fieldNumber"", ""conceptual_darwin_2003_1_0_FieldNumber"") != ""dwc_terms_recordNumber""
120
-----"
121
conceptual_darwin_2003_1_0_CollectorNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/3",
122
dwc_curatorial_CollectorNumber,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists/_alt/3",
87 123
dwc_dwcore_GlobalUniqueIdentifier,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/3,
88 124
conceptual_darwin_2003_1_0_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,
89 125
dwc_curatorial_IdentifiedBy,/location/locationevent/taxonoccurrence/taxondetermination[!isoriginal]/*_id/party/fullname,

Also available in: Unified diff