Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TG2-VALIDATION_GENUS_FOUND #122

Open
godfoder opened this issue Jan 18, 2018 · 6 comments
Open

TG2-VALIDATION_GENUS_FOUND #122

godfoder opened this issue Jan 18, 2018 · 6 comments
Labels
Conformance CORE TG2 CORE tests NAME Parameterized Test requires a parameter Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT TG2 Validation VOCABULARY

Comments

@godfoder
Copy link
Contributor

godfoder commented Jan 18, 2018

TestField Value
GUID f2ce7d55-5b1d-426a-b00e-6d4efe3058ec
Label VALIDATION_GENUS_FOUND
Description Does the value of dwc:genus occur at the rank of Genus in the bdq:sourceAuthority?
TestType Validation
Darwin Core Class dwc:Taxon
Information Elements ActedUpon dwc:genus
Information Elements Consulted
Expected Response EXTERNAL_PREREQUISITES_NOT_MET if the bdq:sourceAuthority is not available; INTERNAL_PREREQUISITES_NOT_MET if dwc:genus is bdq:Empty; COMPLIANT if the value of dwc:genus is found as a value at the rank of genus in the bdq:sourceAuthority; otherwise NOT_COMPLIANT
Data Quality Dimension Conformance
Term-Actions GENUS_FOUND
Parameter(s) bdq:sourceAuthority
Source Authority bdq:sourceAuthority default = "GBIF Backbone Taxonomy" {[https://doi.org/10.15468/39omei]} {API endpoint [https://api.gbif.org/v1/species?datasetKey=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c&name=]}
Specification Last Updated 2023-09-18
Examples [dwc:genus="Egernia": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:genus has an equivalent at the rank of Genus in the Parameterized Source Authority"]
[dwc:genus="Egernea": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:genus does not have an equivalent at the rank of Genus in the bdq:sourceAuthority. This may be fixed using fuzzy matching at the AMENDMENT stage"]
Source iDigBio
References
Example Implementations (Mechanisms)
Link to Specification Source Code
Notes The purpose of this test is to check whether the value is a name that is a result of a nomenclatural act at this rank. This excludes unpublished names, misspellings and vernacular names. It is expected that the test will designate the source authority against which to check. The same test might return distinct results when using distinct source authorities.
@ArthurChapman ArthurChapman added TG2 Validation NAME VOCABULARY Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT labels Jan 18, 2018
@tucotuco tucotuco added the Parameterized Test requires a parameter label Oct 1, 2018
ArthurChapman added a commit that referenced this issue Oct 6, 2020
In accord with #189 added test data file for GENUS_NOTFOUND #122
@Tasilee
Copy link
Collaborator

Tasilee commented Mar 11, 2022

Do we need dwc:genericName as an Information Element? If so, we also need an amended Expected Response.

@chicoreus
Copy link
Collaborator

@Tasilee, no dwc:genericName isn't needed in this test, it looks at just the dwc:genus term (which under the Darwin Core definitions is a classification term rather than a part of scientificName.

We could have a separate test for genericName not found, but we don't have correspondng tests for the other terms that form parts of dwc:scientificName.

@Tasilee Tasilee changed the title TG2-VALIDATION_GENUS_NOTFOUND TG2-VALIDATION_GENUS_FOUND Mar 22, 2022
@chicoreus
Copy link
Collaborator

uuid for this test (3667556d-d8f5-454c-922b-af8af38f613c) duplicated that of #28, likely copy/paste error. replaced this test with f2ce7d55-5b1d-426a-b00e-6d4efe3058ec

chicoreus added a commit to MCZbase/MCZbase that referenced this issue Apr 27, 2022
…GENUS_FOUND had copy/paste error in tdwg/bdq#122 the guid for the test duplicated that of the family validation.  GUID has been corrected in original issue, adding that value here for the generic validation.
@Tasilee
Copy link
Collaborator

Tasilee commented Jun 13, 2023

Restructured Parameter(s) and Source authority

chicoreus added a commit to FilteredPush/sci_name_qc that referenced this issue Jun 26, 2023
…tdwg/bdq specifications. Updated metadata (added ProvidesVersion and Specification) for tdwg/bdq#77 tdwg/bdq#83 tdwg/bdq#28 tdwg/bdq#122. VALIDATIONs for CLASS, ORDER, FAMILY, GENUS NOTEMPTY.  Updated metadata, no changes to specifications. removing reviewed stub methods.
@Tasilee
Copy link
Collaborator

Tasilee commented Jul 4, 2023

Amended Source Authority values to align with @chicoreus syntax

From

bdq:sourceAuthority default = "GBIF Backbone Taxonomy" [https://doi.org/10.15468/39omei] |
| | API endpoint [https://api.gbif.org/v1/species?datasetKey=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c&name=]

to

bdq:sourceAuthority default = "GBIF Backbone Taxonomy" {[https://doi.org/10.15468/39omei]} {API endpoint [https://api.gbif.org/v1/species?datasetKey=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c&name=]}

@Tasilee
Copy link
Collaborator

Tasilee commented Sep 18, 2023

Splitting bdqffdq:Information Elements into "Information Elements ActedUpon" and "Information Elements Consulted".

Also changed "Field" to "TestField", "Output Type" to "TestType" and updated "Specification Last Updated"

@chicoreus chicoreus added the CORE TG2 CORE tests label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Conformance CORE TG2 CORE tests NAME Parameterized Test requires a parameter Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT TG2 Validation VOCABULARY
Projects
None yet
Development

No branches or pull requests

6 participants