tdwg / bdq

Biodiversity Data Quality (BDQ) Interest Group
https://github.com/tdwg/bdq
43 stars 7 forks source link

TG2-VALIDATION_COUNTRY_NOTEMPTY #223

Closed Tasilee closed 9 months ago

Tasilee commented 10 months ago
TestField Value
GUID duplicate of 6ce2b2b4-6afe-4d13-82a0-390d31ade01c
Label VALIDATION_COUNTRY_NOTEMPTY
Description Is there a value in dwc:country?
TestType Validation
Darwin Core Class Location
Information Elements ActedUpon dwc:country
Information Elements Consulted
Expected Response COMPLIANT if dwc:country is bdq:NotEmpty; otherwise NOT_COMPLIANT
Data Quality Dimension Completeness
Term-Actions COUNTRY_NOTEMPTY
Parameter(s)
Source Authority
Specification Last Updated 2024-01-29
Examples [dwc:country="Argentina": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:country is bdq:NotEmpty"]
[dwc:country="": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:country is bdq:Empty"]
Source TG2
References
Example Implementations (Mechanisms)
Link to Specification Source Code
Notes Duplicate
chicoreus commented 10 months ago

This test makes very little sense in isolation. Country is expected to be empty if material comes from the high seas, or from those portions of Antartica outside of any sovereign nation. It needs to include higherGeography, continent, and waterBody at the least as information elements consulted to determine if they contain values indicative of a requirement for country to contain a value.

ArthurChapman commented 10 months ago

See discussion under #221. There are several of these - we either include them as simple NOTEMPTY tests or not at all.

ymgan commented 9 months ago

@chicoreus is what you mentioned perhaps covered by #95 and the amendment test should be this #118 ?

Tasilee commented 9 months ago

This is a duplicate of #42