Skip to main content

Recursive Biological Knowledge Graph 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
FLOW ALGEBRA — RECURSIVE BIOLOGICAL KNOWLEDGE GRAPH ONTOLOGY
Version: 1.0 | Locale: en-GB | Encoding: UTF-8
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ai-semantic-library-biological-entities/recursive-biological-knowledge-graph-ontology.html
Status: Companion formalisation; source page's embedded specification is not exposed in retrieved HTML. Not a verbatim transcription.

1. PURPOSE
Represent biological knowledge as a typed, evidence-linked graph whose successive inference cycles preserve entity identity, provenance and uncertainty. Separate observed facts from inferred propositions.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: identified biological entities and candidate assertions at cycle t.
R_t: typed relations, inference rules and permitted traversal paths.
B_t: boundaries: taxonomy, scale, time, context, provenance and evidence constraints.
K_t: accepted knowledge with supporting evidence, confidence and revision history.
G_t = (V_t, E_t, A_t, P_t) where V are entities, E typed edges, A assertions, P provenance records.

3. ENTITY TYPES
BiologicalEntity(id, type, taxon, scale, context)
Gene | Transcript | Protein | Metabolite | Cell | Tissue | Organ | Organism | Population | Ecosystem
Observation(id, subject, predicate, object, method, time, source)
Assertion(id, subject, predicate, object, status, confidence, provenance)
Evidence(id, source, method, quality, context)
Inference(id, rule, premises, conclusion, iteration)

4. RELATION TYPES
part_of; located_in; expressed_in; encodes; interacts_with; regulates; participates_in;
derived_from; homologous_to; observed_in; supports; contradicts; inferred_from.
Do not treat homologous_to, orthologous_to, similar_to or same_as as interchangeable.
Use directed, typed edges; do not infer reverse edges unless a rule explicitly permits them.

5. RECURSIVE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and provenance_valid(x)}
C_t = rank(V_t, K_t, evidence_quality, contextual_fit)
I_(t+1) = update(I_t, select(C_t), K_t)
K_(t+1) = revise(K_t, validated(C_t))
Stop when no new admissible assertions appear, a fixed iteration bound is reached,
or evidence is insufficient. Cycles are tracked by visited (entity, relation, context) tuples.

6. IMPLEMENTATION
INPUT: seed entity, taxon, biological context, question, source graph, evidence registry.
STEP 1: Resolve seed to a canonical, taxon-scoped identifier.
STEP 2: Gather directly supported observations and their provenance.
STEP 3: Traverse permitted typed relations, recording path and scale.
STEP 4: Apply context-sensitive rules to propose new assertions.
STEP 5: Reject invalid type, species, temporal or causal leaps.
STEP 6: Attach derivation trees, evidence and calibrated confidence metadata.
STEP 7: Detect contradictions and retain competing interpretations.
STEP 8: Commit only validated assertions; repeat within bounds.
OUTPUT: graph delta, accepted and rejected assertions, reasoning paths and audit log.

7. INFERENCE RULES
R1: observed(x, relation, y) AND source_valid(observation) => candidate_edge(x, relation, y).
R2: part_of(x,y) AND part_of(y,z) AND compatible_context => candidate(part_of(x,z)).
R3: encodes(g,p) AND participates_in(p,pathway) => candidate(g, associated_with, pathway), NOT direct causation.
R4: regulates(a,b) AND regulates(b,c) => candidate(indirect_influence(a,c)); sign is unknown unless supported.
R5: contradicts(evidence_a,evidence_b) => flag_conflict; never silently discard either source.
R6: cross_species_mapping(a,b) => preserve source/target taxa and mapping method; never assert identity by default.
R7: missing_evidence(assertion) => status = unresolved, not false.

8. HOW TO READ
An entity is a node; a typed relationship is an edge; an assertion has an evidence trail.
Recursive traversal expands possible knowledge but does not automatically establish truth.
A graph path is an explanatory candidate, not proof of a causal mechanism.

9. TRI-MAPPING
ONTOLOGY: BiologicalEntity -> typed identity and biological scale.
GRAPH: node(id, type, taxon) -> relation edge -> target node.
FLOW: (I,R,B,K) -> expand -> validate -> infer -> update.

10. TEXT DIAGRAM
[Seed biological entity]
          |
          v
[Canonical identity + context]
          |
          v
[Evidence-backed graph traversal] ---> [Boundary/type check]
          |                                   |
          v                                   v
[Candidate inferences]                 [Reject or defer]
          |
          v
[Provenance + confidence + conflicts]
          |
          v
[Validated graph update] ----> [Next bounded iteration]

11. MAPPING TABLE
Concept                 Graph representation             Flow responsibility
Entity identity         Canonical node ID               Resolve before traversal
Biological relation     Typed directed edge             Enforce domain/range
Evidence                Provenance-linked observation   Check support
Inference               Derived assertion + premises    Record rule and depth
Uncertainty             Confidence/status annotation    Avoid unjustified certainty
Revision                Versioned graph delta           Preserve audit trail
Boundary                Taxon/scale/time/context         Block invalid transfer

12. VALIDATION
V1: Every node has a stable ID, entity type and source or creation record.
V2: Every asserted edge meets its predicate's domain/range constraints.
V3: Every derived assertion links to premises and a named rule.
V4: Cross-species claims explicitly identify taxa and mapping evidence.
V5: Observation, hypothesis and inference statuses remain distinct.
V6: Contradictory evidence is surfaced, not silently overwritten.
V7: Traversal terminates by visited-state tracking and resource limits.
V8: Updates retain provenance and version history.

13. CONDITIONAL EXECUTION GUARANTEE
Given finite graph input, deterministic rule ordering, valid source identifiers and
configured traversal limits, the procedure terminates and emits an auditable result.
This guarantees bounded processing and traceability, NOT biological truth, completeness,
or correctness of the underlying evidence.

14. AI SEARCH FLOW
QUERY -> identify biological entities -> normalise terminology and taxon -> retrieve
supported subgraph -> recursively traverse allowed relations -> evaluate evidence ->
produce answer with provenance, uncertainty and unresolved alternatives.
No evidence: answer 'not established by available sources'.

15. EXAMPLE
Seed: a gene in a specified species.
Known: gene encodes protein; protein participates in pathway.
Inference: gene may be associated with the pathway through its protein product.
Do NOT infer: gene directly controls the pathway or has the same role in another species.

16. ATTRIBUTION
Source project: Kireth Research — Semantic Library.
Companion Flow Algebra: Mark Anthony Higgins — Sky, Recursive AI.
Cite the source page when redistributing or extending this companion specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ