Smart Data Models’ Candidates repository now includes a new candidate standard translated from the Allotrope Foundation Ontologies (AFO): allotrope-foundation-ontologies, with 5 candidate models for analytical laboratory data: samples and materials, instruments, measurement runs, results and analytical methods. AFO is published by the Allotrope Foundation under CC-BY-4.0. Like every candidate, each model comes with a JSON Schema, an NGSI-LD @context and all four example serializations (NGSI-v2 and NGSI-LD, key-values and normalized), each validated against its schema.
About the Allotrope Foundation Ontologies
The Allotrope Foundation is a consortium of pharmaceutical, biotech and chemical companies and instrument vendors that builds a common framework for analytical laboratory data. Its ontologies (AFO) are the shared vocabulary of that framework. They are built on the Basic Formal Ontology (BFO 2.0) and reuse OBO terms (RO, IAO, OBI, CHMO). AFO covers laboratory equipment, materials and samples, the roles they play (sample, standard, analyte, solvent…), analytical processes (chromatography, spectroscopy, weighing…) and results, with units from QUDT. Release REC/2026/09, the one translated here, has about 3,100 classes and 300 properties. It is freely downloadable from the Allotrope PURL service.
The models
| Model | AFO class | Classes covered | Examples of afoClass values |
|---|---|---|---|
PortionOfMaterial |
portion of material | 57 | solution, suspension, chemical substance, emulsion, gas mixture |
Device |
device | 132 | liquid chromatograph, balance, spectrophotometer, mass spectrometer, autosampler, container |
PlannedProcess |
planned process | 89 | liquid chromatography, weighing, pH measurement, sample preparation, calibration |
AssayResult |
assay result | 24 | chromatography result, weighing result, titration result, particle sizing result |
AnalyticalMethod |
analytical method | 1 | (no subclasses) |
The models are linked by AFO’s own relations. A process hasMaterialInput samples, hasParticipant instruments, hasDataOutput results and hasPrescription a method. A result isAbout a sample and is the dataOutputOf a process. A device hasComponent other devices. In NGSI-LD these become Relationships.
One consistent example scenario
AFO has no instance data, so the examples are synthetic, and say so. Together they describe one pharmaceutical quality-control assay. A test solution of acetaminophen 500 mg tablets (0.1 mg/mL, sample role) is injected (10 µL, 1.0 mL/min, 30 °C, detection at 243 nm) into an HPLC system following method AM-HPLC-APAP-003. The chromatography result is 0.0998 ± 0.0006 mg/mL, which is 499 mg per tablet. Every class, role, quantity and unit used in the examples was checked against AFO REC/2026/09. The instrument maker and serial numbers are fictitious.
Translation notes
- Five entry points into a large ontology. Each model is generic, and an
afoClassattribute holds the specific AFO classes, as in the EMMO, Brick and Open Energy Ontology candidates. - Names from AFO labels. AFO identifies terms by opaque IRIs (
AFE_0000354) and names them with lower-case labels such as “has material input”. Type and attribute names are the PascalCase and camelCase forms of those labels. Enum values are the labels, unchanged. Every@contextmaps back to the exact AFO, OBO or QUDT IRI. - Flattened like the Allotrope Simple Model. Identifiers, names and times, which AFO models as separate “facet” individuals, are plain attributes (
sampleIdentifier,measurementTime…). Quantity values are lists of{quantity, numericValue, unit, standardUncertainty}. The quantity comes from AFO’s 179 quantification classes and the unit is a QUDT or Allotrope unit IRI. - Licence. The ontology files are CC BY 4.0. Definitions that AFO reproduces by permission of IUPAC are not copied. The Allotrope Data Format and the ASM schemas have their own terms and are not part of this candidate.
Try it, and tell us what’s missing
These are Candidates: first, carefully sourced translations that are not yet official Smart Data Models subjects. Before that step, the main open question is the type name Device, which already exists in dataModel.Device with an IoT meaning (a name such as LabDevice may be better). There is also a partial overlap with the EMMO candidate for materials testing. No Smart Data Models subject covers analytical laboratory data today. Natural next steps are AFO qualities and functions, and the peak, spectrum and data-cube structures of laboratory results.
Browse the models, open an issue, or send a PR:
👉 https://github.com/smart-data-models/Candidates/tree/master/standards/allotrope-foundation-ontologies

