Skip to main content

Metabolite Ontology

Enzyme and Metabolic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 October 2026
Audio Overview
FLOW ALGEBRA
METABOLITE ONTOLOGY
Kireth Semantic Library | Biological Entities | Enzyme and Metabolic Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/enzyme-and-metabolic-entities/metabolite-ontology.html
Version: 1.0 | Locale: en-GB | Status: domain-grounded formalisation

AI INTERPRETATION NOTE
Interpret the following as a typed, evidence-aware semantic reasoning specification. Rules are declarative constraints; they do not assert experimental findings without evidence. This document is not an executable program without a conforming Flow Algebra interpreter.

01. ONTOLOGY IDENTITY
ONTOLOGY_ID := KIRETH:BIO:ENZYME_METABOLIC:METABOLITE
ENTITY_CLASS := Metabolite
PARENT_CLASS := BiochemicalEntity
DOMAIN := Biochemistry / Metabolism / Systems Biology
DEFINITION := A molecular chemical species that participates as an intermediate, substrate, product or other participant in a metabolic process.

02. TYPE SYSTEM
TYPE EntityID := nonempty string
TYPE ChemicalSpeciesID := nonempty string
TYPE ReactionID := nonempty string
TYPE PathwayID := nonempty string
TYPE CompartmentID := nonempty string
TYPE OrganismID := nonempty string
TYPE EvidenceID := nonempty string
TYPE Concentration := real >= 0 with unit
TYPE Flux := real with amount / time unit and explicit sign convention
TYPE Probability := real in [0,1]
TYPE Timestamp := ISO-8601 datetime
TYPE Provenance := {source: EvidenceID, method: string, observed_at: Timestamp?}
TYPE Context := {organism: OrganismID?, tissue: string?, compartment: CompartmentID?, condition: string?, time: Timestamp?}

03. ENTITY SCHEMA
ENTITY Metabolite {
  id: EntityID;
  preferred_name: string;
  synonyms: set<string>;
  chemical_species: ChemicalSpeciesID?;
  molecular_formula: string?;
  charge: integer?;
  stereochemistry: string?;
  identifiers: map<string,string>;
  roles: set<M-etabolicRole>;
  contexts: set<Context>;
  evidence: set<Provenance>;
}
ENUM MetabolicRole := Substrate | Product | Intermediate | Cofactor | Coenzyme | EnergyCarrier | SignallingMetabolite | WasteProduct | BiomarkerCandidate
ENTITY BiochemicalReaction {id: ReactionID; participants: set<EntityID>; stoichiometry: map<EntityID,real>; reversible: boolean?; evidence: set<Provenance>}
ENTITY MetabolicPathway {id: PathwayID; reactions: set<ReactionID>; context: Context?}
ENTITY Measurement {metabolite: EntityID; value: Concentration; context: Context; method: string; evidence: EvidenceID}

04. TAXONOMY
Metabolite -> PrimaryMetabolite | SecondaryMetabolite
Metabolite -> EndogenousMetabolite | ExogenousMetabolite
Metabolite -> OrganicMetabolite | InorganicMetabolicParticipant
Metabolite -> CarbohydrateMetabolite | LipidMetabolite | AminoAcidMetabolite | NucleotideMetabolite | OrganicAcidMetabolite
NOTE: These are overlapping classification axes, not disjoint partitions.
NOTE: A metabolite's role is contextual; the same species may be a substrate in one reaction and a product in another.

05. TYPED RELATIONSHIPS
REL participates_in(Metabolite, BiochemicalReaction)
REL substrate_of(Metabolite, BiochemicalReaction)
REL product_of(Metabolite, BiochemicalReaction)
REL intermediate_in(Metabolite, MetabolicPathway)
REL member_of_pathway(BiochemicalReaction, MetabolicPathway)
REL located_in(Metabolite, CompartmentID, Context)
REL transformed_to(Metabolite, Metabolite, BiochemicalReaction)
REL catalysed_by(BiochemicalReaction, EntityID)
REL measured_as(Metabolite, Measurement)
REL derived_from(Metabolite, Metabolite, BiochemicalReaction)
REL regulates(Metabolite, EntityID, Context)
REL shares_chemical_identity(Metabolite, Metabolite)
REL associated_with(Metabolite, string, Context)

06. STRUCTURAL AND IDENTITY RULES
RULE IDENTITY_01: matching preferred names alone does not establish chemical identity.
RULE IDENTITY_02: chemical identity requires compatible structure, protonation, stereochemistry and identifier context at the chosen granularity.
RULE IDENTITY_03: distinguish chemical species, molecular pool, measurement and metabolic role.
RULE IDENTITY_04: isotopologues and stereoisomers must remain distinguishable where relevant.
RULE IDENTITY_05: compartment-specific pools may share chemical identity but differ as biological entities.

07. REACTION PARTICIPATION
RULE REACTION_01: substrate_of(m,r) => participates_in(m,r).
RULE REACTION_02: product_of(m,r) => participates_in(m,r).
RULE REACTION_03: substrate_of(m,r) requires stoichiometry(r,m) < 0 under the declared forward-reaction convention.
RULE REACTION_04: product_of(m,r) requires stoichiometry(r,m) > 0 under the declared forward-reaction convention.
RULE REACTION_05: a reversible reaction can exchange substrate/product roles when reaction direction reverses.
RULE REACTION_06: transformed_to(a,b,r) requires a and b to be linked by a chemically justified reaction; co-participation alone is insufficient.
RULE REACTION_07: reaction equations should conserve atoms and electric charge when all reactants/products are explicitly represented.
RULE REACTION_08: catalysts are not consumed stoichiometrically in an overall catalytic cycle.

08. METABOLIC PATHWAY REASONING
RULE PATHWAY_01: member_of_pathway(r,p) AND participates_in(m,r) => metabolite_associated_with_pathway(m,p).
RULE PATHWAY_02: intermediate_in(m,p) requires pathway-specific production and consumption evidence or a curated pathway designation.
RULE PATHWAY_03: pathway association does not establish net flux direction.
RULE PATHWAY_04: connected reactions do not necessarily imply physiological operation in a given organism or condition.
RULE PATHWAY_05: transport between compartments must be represented explicitly when needed for mechanistic inference.

09. MEASUREMENT AND QUANTIFICATION
RULE MEASURE_01: every concentration value must specify units, sample context and measurement method.
RULE MEASURE_02: concentration is not equivalent to flux.
RULE MEASURE_03: a change in concentration alone does not identify the causal reaction.
RULE MEASURE_04: missing or below-detection measurements must not be treated as zero without a justified model.
RULE MEASURE_05: measured features with ambiguous chemical identification must retain ambiguity and confidence.
RULE MEASURE_06: comparisons require compatible normalisation, sampling and analytical conditions.

10. BIOLOGICAL FUNCTIONS
FUNCTION energy_metabolism: associate ATP, ADP, NADH and relevant intermediates with supported reaction roles.
FUNCTION biosynthesis: trace precursors through documented reactions to synthesised products.
FUNCTION catabolism: trace breakdown reactions and their products.
FUNCTION signalling: identify metabolites with context-dependent regulatory activities.
FUNCTION homeostasis: relate metabolite pools to transport, production, consumption and clearance.
FUNCTION metabolic_exchange: connect extracellular and intracellular pools through explicit transport processes.

11. EXAMPLE ASSERTIONS (ILLUSTRATIVE)
EXAMPLE glycolysis: glucose is a substrate in an initial phosphorylation reaction; glucose-6-phosphate is a product of that reaction.
EXAMPLE redox: NAD+ and NADH participate in paired oxidation-reduction reactions; roles depend on direction and reaction.
EXAMPLE energy: ATP may serve as a phosphoryl-group donor; its role is reaction-specific.
EXAMPLE compartment: cytosolic and mitochondrial acetyl-CoA pools must not be merged for compartment-specific pathway reasoning.
NOTE: Examples are generic biochemical knowledge, not measurements from the linked chapter.

12. RECURSIVE REASONING
FLOW RECURSIVE_TRACE(start: Metabolite, context: Context, max_depth: integer) -> set<PathTrace>
  REQUIRE max_depth >= 0
  INITIALISE frontier := {start}; visited := empty set; traces := empty set
  REPEAT while frontier nonempty AND depth < max_depth:
    EXPAND only evidence-supported reaction edges compatible with context
    RECORD reaction direction, stoichiometry, compartment and provenance
    SKIP previously visited (metabolite, reaction, direction, compartment) states
    PRESERVE ambiguous alternatives without choosing an unsupported pathway
  RETURN traces
TERMINATION: bounded depth and visited-state tracking prevent infinite recursion.

13. CONFIDENCE
CONFIDENCE(assertion) := calibrated_probability_or_label(assertion, evidence, method, context)
RULE CONF_01: CONFIDENCE is bounded in [0,1] when numeric.
RULE CONF_02: confidence scores require stated calibration or are explicitly heuristic.
RULE CONF_03: propagate uncertainty through derived assertions; do not automatically multiply dependent evidence scores.
RULE CONF_04: inferred claims retain links to their supporting evidence.
RULE CONF_05: absence of evidence is not evidence of absence.

14. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b,context) := identity_supported_by_compatible_identifiers_and_chemical_specification(a,b,context)
RULE EQUIV_01: synonymy alone is insufficient for exact identity.
RULE EQUIV_02: broad class equivalence must not be mistaken for molecule-level identity.
RULE EQUIV_03: separate same_chemical_species from same_biological_pool.
RULE EQUIV_04: map external identifiers with version and source provenance.

15. FLOW_HASH
FLOW_HASH := SHA256(canonical_serialisation(ontology_id, version, entity_schema, relation_schema, rules, source_metadata))
RULE HASH_01: sort unordered collections and normalise whitespace before hashing.
RULE HASH_02: any semantic rule change generates a new canonical hash.
RULE HASH_03: a hash identifies a specification snapshot, not scientific correctness.

16. UPDATE_MODEL
UPDATE_MODEL(new_evidence, prior_model) -> revised_model
  VALIDATE evidence identifiers, units, chemical identity and contexts
  COMPARE against existing assertions and versions
  ADD, REVISE or RETRACT claims with explicit provenance
  PRESERVE contradictory evidence as separate supported assertions pending adjudication
  RECALCULATE affected inferences and confidence assessments
  RECOMPUTE FLOW_HASH for revised canonical specification
  LOG timestamp, author, changes and rationale

17. AI_CONSUMPTION
AI_CONSUMPTION {
  input: typed metabolite/reaction/pathway entities and evidence;
  operations: validate, classify, link, trace, compare, infer;
  output: typed assertions, pathway traces, uncertainties, provenance;
  requirements: distinguish observations from inferences; preserve biological context;
  safeguards: do not invent measurements, mechanisms, identifiers or citations;
  interoperability: use stable identifiers and explicit units where available;
}

18. VALIDATION
CHECK each entity has a unique ID.
CHECK each relationship matches declared argument types.
CHECK stoichiometric sign conventions and reaction direction are consistent.
CHECK chemical identities and compartment labels are not silently conflated.
CHECK concentration measurements have units and provenance.
CHECK derived assertions can be traced to evidence and rules.
CHECK recursive traces terminate within max_depth.
CHECK revisions preserve prior versions and update the canonical hash.

19. SCIENTIFIC LIMITATIONS
Metabolite identity and function depend on chemical granularity, organism, tissue, compartment and conditions.
Pathway membership does not establish flux, regulation or causality.
Biomarker associations are not diagnostic conclusions.
This formalisation requires validation against curated databases and experimental evidence before scientific deployment.

20. ATTRIBUTION AND LICENCE
Authors: Mark Higgins — Sky (Recursive AI)
Research site: https://kirethresearch.org
Source chapter: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/enzyme-and-metabolic-entities/metabolite-ontology.html
Licence: Consult the current Kireth Research Open Research Licence on the research website.
END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ