Skip to main content

Canonical Biological Entity Ontology

AI Semantic Library Biological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
CANONICAL BIOLOGICAL ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | Companion formalisation | 2026-10-28
Authors: Mark Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ai-semantic-library-biological-entities/canonical-biological-entity-ontology.html
Status: Proposed companion model; not a verbatim extraction of source page.

flow "CanonicalBiologicalEntityOntology" v1.0

PURPOSE
Resolve biological entity mentions into stable, evidence-backed canonical identities while preserving taxonomy, biological context, uncertainty, provenance and historical aliases.

STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input mentions, identifiers, observations and context
R_t: typed relations and admissible resolution rules
B_t: biological, taxonomic, spatial, temporal and evidence boundaries
K_t: current canonical entity registry and provenance graph
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, evidence_t)
No forced match if confidence or identity criteria fail.

ENTITIES
BiologicalEntity: stable concept node with canonical identifier
EntityMention: name, abbreviation, synonym or source-specific label
Identifier: accession, ontology IRI, database identifier or local ID
Taxon: organism classification and applicable taxonomic scope
EntityType: gene, transcript, protein, cell, tissue, organ, organism, population or other biological class
CanonicalRecord: preferred label, definition, identifiers, type, status, scope and provenance
Evidence: assertion source, method, date, confidence and version
Context: species, strain, developmental stage, compartment, condition and time

RELATIONS
same_as: strict identity under compatible scope and version
synonym_of: lexical equivalence, not automatically entity identity
part_of: compositional relation
is_a: subclass or instance typing as declared
encoded_by: protein-to-gene relation, not identity
transcribed_from: transcript-to-gene relation, not identity
ortholog_of / paralog_of: evolutionary relationship, not identity
located_in / expressed_in: contextual biological relationships
replaced_by / deprecated_in: versioned registry history
supported_by: provenance link to evidence

CANONICALISATION PATHWAY
1. Parse source mention and capture context.
2. Normalise lexical variants without discarding original text.
3. Generate candidates from authoritative identifiers, synonyms and typed graph links.
4. Enforce organism, entity type, version and contextual boundaries.
5. Compare evidence for candidate identities; do not equate related entities.
6. Select a uniquely supported canonical entity, or return ambiguous/unresolved.
7. Record the decision, confidence, evidence, alternative candidates and timestamp.
8. Re-evaluate if source data, taxonomy or ontology versions change.

RECURSIVE RESOLUTION
resolve(m, c, depth, visited):
  if depth > MAX_DEPTH or (m,c) in visited: return unresolved("cycle_or_limit")
  visited := visited union {(m,c)}
  candidates := lookup(m, c)
  candidates := filter_by_type_taxon_version(candidates, c)
  for each candidate:
    gather evidence and valid typed neighbours
    resolve only permitted identifier redirects recursively
  if one candidate meets identity threshold and separation margin:
    return canonical(candidate, provenance)
  return ambiguous(candidates) or unresolved(reason)

INFERENCE RULES
R1: Exact authoritative identifier + matching namespace/version supports identity.
R2: A synonym alone does not prove identity across species or entity types.
R3: is_a, part_of, ortholog_of, encoded_by and expressed_in never imply same_as.
R4: Deprecated identifiers may redirect only through verified versioned mappings.
R5: Conflicting high-quality evidence yields review, not silent merging.
R6: A canonical entity can have multiple mentions; one mention can remain ambiguous.
R7: Evidence and original identifiers are retained after canonicalisation.
R8: Recursive graph traversal terminates through visited-set and depth bounds.

TRI-MAPPING
Human: “BRCA1 protein in human cells”
Semantic: Mention -> Protein; taxon Homo sapiens; protein encoded_by BRCA1 gene
Formal: resolve(mention, {type: protein, taxon: human}) -> canonical protein ID or unresolved

DIAGRAM
[Source mention + context]
           |
           v
[Lexical normalisation] -> [Candidate generation]
                                |
                                v
                     [Type/taxon/version filter]
                                |
                                v
                      [Evidence evaluation]
                         /           \
                  sufficient       insufficient
                     |                 |
                     v                 v
              [Canonical ID]     [Ambiguous/unresolved]
                     |
                     v
              [Provenance + version]
                     |
                     v
                [Registry update]

MAPPING TABLE
Input mention        -> EntityMention
External accession   -> Identifier
Preferred concept    -> CanonicalRecord
Species constraint   -> Taxon/Context
Evidence source      -> Evidence
Identity decision    -> same_as (only when justified)
Historical redirect  -> replaced_by (versioned)

VALIDATION
V1: Canonical identifiers are unique within their namespace and version.
V2: Every accepted identity mapping has supporting provenance.
V3: Entity type and taxonomic boundaries are consistent.
V4: Relationship semantics are not collapsed into identity.
V5: Deprecated and replaced records remain traceable.
V6: Conflicting or insufficient evidence produces explicit uncertainty.
V7: Recursive operations terminate within configured resource limits.

CONDITIONAL EXECUTION GUARANTEE
Given a finite candidate graph, deterministic tie-breaking, bounded recursion and validated registry data, the resolver terminates and returns a canonical record, an ambiguous candidate set, or an unresolved result. Biological correctness is contingent on source quality and is not guaranteed by algorithmic termination.

AI SEARCH FLOW
QUERY -> PARSE -> CONTEXT -> CANDIDATES -> FILTER -> EVIDENCE -> RESOLVE -> PROVENANCE -> ANSWER
Search responses should report canonical name, identifier, entity type, taxon, relationship context, source/version and uncertainty. Prefer citation-backed identifiers over inferred matches.

UPDATE MODEL
On new evidence or ontology release: compare records -> preserve previous mappings -> validate changed identities -> version registry -> invalidate affected caches -> re-run impacted resolutions.

CITATION
Higgins, M. and Sky — Recursive AI. Canonical Biological Entity Ontology — Flow Algebra, Semantic Library companion formalisation (2026).
Source backlink: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ai-semantic-library-biological-entities/canonical-biological-entity-ontology.html
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ