BIOLOGICAL ENTITY IDENTITY 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/biological-entity-identity-ontology.html
Status: Conceptual formalisation; source page content not independently verified.
1. PURPOSE
Resolve, preserve and audit the identity of biological entities across names, datasets, observations, developmental states and scales without conflating identity, similarity and membership.
2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed records, identifiers, attributes, timestamps and provenance.
R_t: typed identity, equivalence, derivation and containment relations.
B_t: taxonomic, temporal, spatial, evidential and biological constraints.
K_t: versioned knowledge, confidence and identity decisions.
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)
3. ENTITY SCHEMA
BiologicalEntity:
entity_id: persistent internal identifier
entity_type: gene | transcript | protein | cell | tissue | organism | population | other
canonical_label: preferred label scoped to authority and version
aliases: names and historical labels with sources
external_identifiers: namespace, accession, version
taxon: taxon identifier when applicable
context: tissue, stage, location, environment, time
provenance: source, evidence method, timestamp, licence
identity_status: confirmed | probable | unresolved | disputed
confidence: calibrated value or unknown
4. RELATIONSHIP TYPES
same_identity_as: strict identity, only after compatible scope checks.
possibly_same_as: candidate match, not transitive.
corresponds_to: mapping across resources or representations.
derived_from: lineage or transformation; not identity.
part_of: compositional membership; not identity.
instance_of: entity-class membership; not identity.
homologous_to: evolutionary relationship; not identity.
expresses / encodes: biological functional relations; not identity.
5. RECURSIVE IDENTITY FLOW
Input records -> normalise identifiers and labels -> generate candidates
-> check entity type, taxon, context, version and provenance
-> compare discriminating evidence -> assign decision
-> update graph -> inspect new conflicts -> repeat until fixed point or limit.
Pseudo-flow:
flow "BiologicalEntityIdentity" v1.0
input: records, identity_graph, evidence_policy
state: S = (I,R,B,K)
repeat:
candidates = candidate_pairs(I, K)
decisions = evaluate(candidates, B, provenance)
R = apply_supported_links(R, decisions)
conflicts = detect_inconsistent_components(R, B)
K = record_decisions(K, decisions, conflicts)
until no_supported_changes or iteration_limit
output: identity_graph, unresolved_pairs, conflict_log, provenance_log
6. INFERENCE RULES
R1. Matching names alone never establish strict identity.
R2. Matching authoritative stable identifiers within the same namespace and version scope support identity, subject to identifier reuse and mapping checks.
R3. Different developmental states may belong to one persistent organism but not one identical cell.
R4. part_of, derived_from and homologous_to never imply same_identity_as.
R5. Conflicting taxon, entity type or incompatible temporal evidence blocks automatic merges pending review.
R6. Transitive closure is permitted only for verified strict identity links under compatible scope; candidate links remain non-transitive.
R7. Changes to a source record trigger reassessment of dependent identity decisions.
R8. Unresolved or disputed matches retain separate identifiers.
7. TRI-MAPPING
Ontology: BiologicalEntity, IdentityAssertion, Evidence, Context, Authority.
Graph: nodes = entities/records; edges = typed assertions with provenance.
Flow: normalise -> candidate -> validate -> decide -> propagate -> audit.
8. DIAGRAM
[Source A] --candidate--> [Identity Resolver] <--candidate-- [Source B]
|
[Scope + Evidence]
|
+-----------+-----------+
| | |
[Match] [Unresolved] [Conflict]
| | |
[Canonical] [Keep separate] [Review]
\ | /
[Versioned Entity Graph]
|
[Recursive Recheck]
9. MAPPING TABLE
Input concept Graph representation Flow operation
Accession/version Identifier node/property namespace validation
Preferred label Label assertion label normalisation
Candidate correspondence possibly_same_as edge evidence comparison
Confirmed identity same_identity_as edge guarded merge/link
Lineage derived_from edge lineage traversal
Source citation provenance assertion audit/revalidation
Conflict conflict record quarantine/review
10. VALIDATION
- Preserve source identifiers and original records.
- Require provenance for every asserted identity edge.
- Detect contradictory strict-identity components.
- Test idempotence of repeated runs on unchanged inputs.
- Test deterministic outcomes for fixed policies and input ordering.
- Report precision/recall on independently curated benchmark pairs when available.
- Keep uncertainty explicit; do not fabricate confidence values.
11. CONDITIONAL EXECUTION GUARANTEES
Given finite inputs, deterministic rules and a fixed iteration limit, processing terminates.
No semantic guarantee of biological truth follows from algorithmic termination.
Strict identity merges require evidence and policy compliance; conflicts remain reviewable.
All transformations should be reversible through versioned provenance logs.
12. AI SEARCH FLOW
Query -> detect entity type and biological scope -> normalise terminology
-> resolve authoritative IDs -> retrieve identity graph candidates
-> filter by taxon, stage, time and evidence -> rank supported matches
-> return canonical entity with aliases, links, uncertainty and citations.
13. UPDATE MODEL
On new data: ingest -> version -> invalidate affected mappings -> rerun local
resolution -> publish changes and unresolved conflicts. Preserve old graph snapshots.
14. CITATION
Higgins, Mark; Sky — Recursive AI (2026). Biological Entity Identity Ontology — Flow Algebra. Companion to Kireth Research Semantic Library.
Source page: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ai-semantic-library-biological-entities/biological-entity-identity-ontology.html
Download Code
Copy to Clipboard