tdwg / bdq

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

TG2-VALIDATION_ISLANDGROUP_NOTEMPTY #234

Closed Tasilee closed 9 months ago

Tasilee commented 10 months ago
TestField Value
GUID 0b90c114-5ff1-4024-a174-b866b7ca6b81
Label VALIDATION_ISLANDGROUP_NOTEMPTY
Description Is there a value in dwc:islandGroup?
TestType Validation
Darwin Core Class location
Information Elements ActedUpon dwc:islandGroup
Information Elements Consulted
Expected Response COMPLIANT if dwc:islandGroup is bdq:NotEmpty; otherwise NOT_COMPLIANT
Data Quality Dimension Completeness
Term-Actions ISLANDGROUP_NOTEMPTY
Parameter(s)
Source Authority
Specification Last Updated 2024-01-29
Examples [dwc:islandGroup="Seychelles": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:islandGroup is bdq:NotEmpty]
[dwc:islandGroup="": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:islandGroup is bdq:Empty"]
Source TG2
References
Example Implementations (Mechanisms)
Link to Specification Source Code
Notes This bdq:Supplementary test is not regarded as CORE (cf. bdq:CORE) because of one or more of the reasons: not being widely applicable; not informative; not straightforward to implement or likely to return a high percentage of either bdq:COMPLIANT or bdq:NOT_COMPLIANT results (cf bdq:Response.result). A Supplementary test may be implemented as CORE when a suitable use case exists.
chicoreus commented 10 months ago

As with validation_island_notempty, this feels like it is almost certainly a do not implement test, dwc:islandGroup will almost always be empty, except for cases where the material was collected on (or off shore, depending on interpretation) of an islandGroup. Examination of other terms will make it very difficult to assert that island group should contain a value, as there seem few cases where particular values in other terms would impose a requirement that islandGroup should contain a value (with a few cases where the country is entirely composed of islands, and island is unique and occurs only within an islandGroup).