Skip to content
LITHOEN

Evidence platform and governance

Document

ADR-0014: A concentration claim-value type, and no Sample or Measurement entity

Repository path
docs/decisions/ADR-0014-concentration-value-type.md
Size · SHA-256
2.1 KB · b37df7b4e8c305e24c94f4f4f403e6e851425363695198cb59b45e432725ea3b

Status: accepted (2026-09-06)

Context

Phase 2 asked whether the corpus needs Sample, Measurement and AnalyticalMethod abstractions before a claim like "this material contains X ppm of Y, measured by ICP-MS" can be represented correctly.

Testing the existing model against that sentence exposed a real gap, but not the one expected. A scalar value with unit ppm on a subject entity says how much and in what — and never of what. The element was unrepresentable.

Decision

Add a concentration claim-value type (and concentrationRange) carrying a substanceEntityId alongside the value and unit. The claim's subject is the material or reservoir; the substance is a validated entity reference inside the value. Both ends are entities, so "nickel in upper continental crust" and "nickel in bulk silicate Earth" are different records that cannot be confused, and neither can exist without naming both.

Do not add Sample or Measurement entities in Phase 2. The method is already representable as a ScientificMethod entity and a method qualifier, and the sampling frame as a GeochemicalReservoir. A Sample abstraction earns its place when Lithoen holds measurements of specific physical specimens — which it does not, and inventing the machinery before the data would be modelling for its own sake.

Consequences

  • A geochemical-data validator enforces what the type makes possible: a concentration must sit on a material or reservoir, its substance must be an element or a mineral, and a published one must carry a locality, method or definition qualifier saying where and how it applies.
  • The reservoir became a first-class requirement rather than a convention. "Average crustal abundance" is recorded against a reservoir whose own record states that it does not distinguish continental from oceanic crust — the coarseness is part of the datum.
  • The model is populated with five verified crustal abundances and no others. Phase 2 built the capacity and then declined to fill it with numbers it had not read.