bdq
bdq copied to clipboard
TG2-VALIDATION_NAMEPUBLISHEDINYEAR_NOTEMPTY
TestField | Value |
---|---|
GUID | ff59f77d-71e9-4eb1-aac9-8bd05c50ff70 |
Label | VALIDATION_NAMEPUBLISHEDINYEAR_NOTEMPTY |
Description | Is there a value in dwc:namePublishedInYear? |
TestType | Validation |
Darwin Core Class | dwc:Taxon |
Information Elements ActedUpon | dwc:namePublishedInYear |
Information Elements Consulted | |
Expected Response | COMPLIANT if dwc:namePublishedInYear is bdq:NotEmpty; otherwise NOT_COMPLIANT |
Data Quality Dimension | Completeness |
Term-Actions | NAMEPUBLISHEDINYEAR_NOTEMPTY |
Parameter(s) | |
Source Authority | |
Specification Last Updated | 2024-02-07 |
Examples | [dwc:namePublishedInYear="2024": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:namePublishedInYear is bdq:NotEmpty"] |
[dwc:namePublishedInYear="": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:namePublishedInYear is bdq:Empty"] | |
Source | TG2 |
References | |
Example Implementations (Mechanisms) | Kurator/FilteredPush sci_name_qc Library |
Link to Specification Source Code | https://github.com/FilteredPush/sci_name_qc/blob/v1.1.2/src/main/java/org/filteredpush/qc/sciname/DwCSciNameDQ.java#L3094 |
Notes |
Like #244 there are good arguments for including this test in CORE, and adding a validation for in range for dwc:namePublishedInYear. This term is of utility to implementors attempting to understand the content of dwc:scientificName, and similarly to match dwc:scientificName to a dwc:scientificNameID as year of publication may disambiguate some homonyms. We should also include dwc:namePublishedInYear as a field consulted in some of the existing core tests that work with dwc:scientificName.