Class AnnotationsWebService.ExternalIdentificationValueObject
- Enclosing class:
AnnotationsWebService
🛑 getIdentifier() is not an annotation. The only URI here a curator may
commit is getGroundedTermUri(), and it is present precisely when the identification
could be bridged back to a term Gemma already has: ChEMBL says WY-14643 is pirinixic
acid, Gemma's own search says pirinixic acid is CHEBI_32509 with 17 corpus uses, and that
CHEBI URI is the answer. When the bridge does not land the identification still tells a
curator what they are looking at, and there is nothing to annotate with — which is the honest
outcome, not a gap to paper over.
The provenance fields are the point of the object as much as the name is. An identification a curator cannot trace back to a source, a release and a matched string is an unsourced assertion, and those are what the curation pipeline is trying to stop emitting.
- Author:
- tesarst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLabel ofgetGroundedTermUri().A term Gemma already has whose name equalsgetName()— the one URI here that is safe to commit.The authority's accession, e.g.The synonym string that matched — the evidence for the identification, not decoration.getName()The authority's preferred name, e.g.Which authority answered, e.g.Release the identification was read from, e.g.Link to the authority's record, for a curator who wants to check it.
-
Constructor Details
-
ExternalIdentificationValueObject
-
-
Method Details
-
getSource
Which authority answered, e.g.ChEMBL. -
getIdentifier
The authority's accession, e.g.CHEMBL295416. NOT a term URI — do not annotate with it. -
getName
The authority's preferred name, e.g.PIRINIXIC ACID. -
getMatchedSynonym
The synonym string that matched — the evidence for the identification, not decoration. -
getSourceRelease
Release the identification was read from, e.g.ChEMBL_37. -
getSourceUrl
Link to the authority's record, for a curator who wants to check it. -
getGroundedTermUri
-
getGroundedTermLabel
Label ofgetGroundedTermUri().
-