Class AnnotationsWebService.PriorCurationValueObject
- Enclosing class:
AnnotationsWebService
Deliberately NOT in data, for the same reason ruledOut is not: these terms
did not come from the ontology search at all. They are drawn from what curators have
recorded, which answers a question lexical search cannot. vehicle, untreated
and sham are annotated with reference substance role and
reference subject role — terms sharing no word with the string, so no label or
synonym search returns them under any ranking. Likewise EAE matches
episodic angioedema with eosinophilia lexically and means
experimental autoimmune encephalomyelitis, which is what the corpus records.
A client reading data[0] without knowing this field must not silently pick up a
term that was never returned by the search, which is why it lives in its own section.
⚠️ These are counts of what curators did, not of what is right. A string mis-tagged for years arrives with a large and confident-looking count. Read an entry as evidence with a denominator attached.
- Author:
- tesarst
-
Constructor Summary
ConstructorsConstructorDescriptionPriorCurationValueObject(String valueUri, String value, long experimentCount, double agreement) -
Method Summary
Modifier and TypeMethodDescriptiondoubleThis term's share of every annotation made from this string, in[0, 1].longDistinct experiments on which this string was annotated with this term.getValue()The label stored alongside the term in the corpus.The term prior curators chose.
-
Constructor Details
-
PriorCurationValueObject
-
-
Method Details
-
getAgreement
public double getAgreement()This term's share of every annotation made from this string, in[0, 1].Read this before the count. The count says how much evidence there is; agreement says whether curators agreed, and the two come apart.
wild typeresolves towild type genotypewith agreement ≈ 1.0 — settled convention.shamsplits 187/28 betweenreference subject roleandreference substance role— still a large count, but a contested one, and a consumer should not treat the two the same way.This is the field that makes the section safe to use. A convention that was consistently wrong is indistinguishable from one that was consistently right, but a convention that was never settled is visible here, and that is the case where a downstream stage should stop and reason rather than adopt.
-
getValueUri
The term prior curators chose. -
getValue
The label stored alongside the term in the corpus. Read from curation records rather than resolved from the ontology, so it stays populated for ontologies that are not loaded. -
getExperimentCount
public long getExperimentCount()Distinct experiments on which this string was annotated with this term.
-