Skip to main content

Lymph Ontology

Blood and Circulatory Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 19 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Lymph Ontology
DOMAIN: Biological Entities / Blood and Circulatory Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/lymph-ontology.html
VERSION: 1.0
STATUS: Topic-based formalisation; source page not independently verified
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library

# 1. ONTOLOGY SCOPE
ontology LymphOntology {
  subject: Lymph;
  parent: BiologicalFluid;
  related_system: LymphaticSystem;
  purpose: [FluidBalance, ImmuneSurveillance, LipidTransport];
  open_world: true;
}

# 2. TYPED ENTITIES
entity Lymph : BiologicalFluid;
entity InterstitialFluid : ExtracellularFluid;
entity BloodPlasma : BiologicalFluid;
entity LymphaticCapillary : LymphaticVessel;
entity CollectingLymphaticVessel : LymphaticVessel;
entity LymphaticValve : AnatomicalStructure;
entity LymphNode : LymphoidOrgan;
entity ThoracicDuct : LymphaticDuct;
entity RightLymphaticDuct : LymphaticDuct;
entity VenousAngle : VascularJunction;
entity Lacteal : IntestinalLymphaticCapillary;
entity Chyle : LipidRichLymph;
entity Lymphocyte : ImmuneCell;
entity Antigen : MolecularEntity;
entity DendriticCell : ImmuneCell;
entity Chylomicron : LipoproteinParticle;
entity Albumin : PlasmaProtein;
entity Water : Molecule;
entity Electrolyte : Solute;
entity Tissue : BiologicalStructure;

# 3. TYPED RELATIONSHIPS
relation derived_from(Lymph, InterstitialFluid);
relation enters(InterstitialFluid, LymphaticCapillary);
relation transported_by(Lymph, CollectingLymphaticVessel);
relation filtered_through(Lymph, LymphNode);
relation contains(Lymph, Lymphocyte);
relation may_contain(Lymph, Antigen);
relation carries(Lymph, Water);
relation carries(Lymph, Electrolyte);
relation carries(Lymph, Albumin);
relation drains_to(ThoracicDuct, VenousAngle);
relation drains_to(RightLymphaticDuct, VenousAngle);
relation absorbs(Lacteal, Chylomicron);
relation subtype_of(Chyle, Lymph);
relation supports(Lymph, ImmuneSurveillance);
relation supports(Lymph, FluidBalance);
relation supports(Chyle, LipidTransport);

# 4. STATE AND CONTEXT
state LymphState {
  compartment: LymphaticVessel;
  volume: Volume >= 0;
  pressure: Pressure;
  flow_rate: VolumePerTime >= 0;
  protein_concentration: MassPerVolume >= 0;
  lymphocyte_concentration: CountPerVolume >= 0;
  lipid_concentration: MassPerVolume >= 0;
  provenance: EvidenceReference?;
  timestamp: Time?;
}

context LymphContext {
  species: Taxon;
  anatomical_region: AnatomicalRegion;
  physiological_state: PhysiologicalState;
  measurement_method: Method?;
}

# 5. FLUID FORMATION AND RETURN
flow LymphFormation {
  input: InterstitialFluid;
  precondition: entry_into_initial_lymphatic_capillary;
  transition: InterstitialFluid -> Lymph;
  output: Lymph;
  note: Fluid becomes lymph on entering lymphatic vessels;
}

flow LymphReturn {
  input: Lymph;
  stages: [InitialLymphatics, CollectingVessels, LymphaticTrunks, LymphaticDucts];
  output: VenousCirculation;
  constraints: [AnatomicalDrainageTerritory, ValveDirectionality];
}

# 6. PHYSIOLOGICAL FUNCTIONS
flow FluidHomeostasis {
  input: ExcessInterstitialFluid;
  mechanism: LymphaticUptakeAndReturn;
  output: ReducedInterstitialFluidAccumulation;
  caveat: Net_balance_depends_on_microvascular_and_lymphatic_dynamics;
}

flow ImmuneSurveillance {
  input: [Lymph, Antigen, ImmuneCell];
  mechanism: [AntigenTransport, LymphNodeSampling, ImmuneCellInteraction];
  output: ImmuneResponseOrTolerance;
  caveat: Outcome_is_context_dependent;
}

flow DietaryLipidTransport {
  input: IntestinalChylomicron;
  mechanism: LactealUptake;
  intermediate: Chyle;
  output: SystemicVenousCirculation;
}

# 7. QUANTITATIVE MODELS
model LymphVolumeBalance {
  equation: dV_lymph/dt = Q_entry - Q_exit;
  units: V_lymph [volume], Q [volume/time];
  assumption: Defined_control_volume_and_consistent_measurements;
}

model SoluteBalance {
  equation: d(V*C)/dt = Q_in*C_in - Q_out*C_out + R;
  units: C [amount/volume], R [amount/time];
  assumption: Well_mixed_control_volume;
}

model HydraulicFlowApproximation {
  equation: Q = DeltaP/R_h;
  units: Q [volume/time], DeltaP [pressure], R_h [pressure*time/volume];
  assumption: Lumped_resistance_approximation;
  caveat: Real_lymphatic_flow_is_pulsatile_and_valve_dependent;
}

# 8. LOGICAL RULES
rule R1 {
  IF fluid.origin == InterstitialFluid AND fluid.location == LymphaticVessel
  THEN classify(fluid, Lymph);
}

rule R2 {
  IF lymph.location == IntestinalLacteal AND lymph.chylomicron_rich == true
  THEN candidate_classification(lymph, Chyle);
}

rule R3 {
  IF structure == LymphNode AND lymph.passes_through(structure)
  THEN enable_process(ImmuneSurveillance);
}

rule R4 {
  IF lymphatic_drainage_capacity < interstitial_fluid_load
  THEN increase_risk(InterstitialFluidAccumulation);
  NOTE: Risk inference, not a diagnosis;
}

# 9. SEMANTIC EQUIVALENCE AND DISTINCTIONS
semantic_equivalence {
  "lymphatic fluid" ~= Lymph [context: standard_anatomical_usage];
  "intestinal chyle" ~= Chyle [context: lipid_rich_intestinal_lymph];
}

semantic_difference {
  Lymph != BloodPlasma;
  Lymph != InterstitialFluid [distinction: anatomical_compartment];
  Chyle subtype_of Lymph;
  LymphaticVessel != BloodVessel;
}

# 10. CONFIDENCE AND EVIDENCE
CONFIDENCE {
  assertions: evidence_scored_individually;
  fields: [source, method, organism, context, confidence_score, uncertainty];
  range: [0.0, 1.0];
  policy: no_numeric_confidence_without_evidence;
  conflict_resolution: preserve_competing_evidence_and_context;
}

# 11. RECURSIVE REASONING
recursive_flow LymphaticReasoning {
  observe: [FluidState, AnatomicalCompartment, FlowDirection];
  classify: [Lymph, Chyle, InterstitialFluid];
  connect: [Vessel, Node, Duct, VenousReturn];
  infer: [FluidBalance, ImmuneTransport, LipidTransport];
  validate: [AnatomicalConsistency, UnitConsistency, EvidenceQuality];
  recurse_if: new_evidence_or_changed_context;
  stop_if: stable_classification_or_insufficient_evidence;
}

# 12. FLOW HASH
FLOW_HASH {
  canonicalisation: UTF8_NFC;
  algorithm: SHA256;
  input: canonical_serialisation_of_versioned_flow;
  value: COMPUTE_ON_PUBLICATION;
  note: No hash is asserted without computing it;
}

# 13. UPDATE MODEL
UPDATE_MODEL {
  triggers: [NewPeerReviewedEvidence, OntologyRevision, TerminologyChange];
  operations: [Validate, Version, RecordProvenance, RecomputeHash];
  preserve_previous_versions: true;
  require_review_for_conflicting_claims: true;
}

# 14. AI CONSUMPTION
AI_CONSUMPTION {
  representation: TypedEntityRelationshipGraph;
  machine_readable: true;
  tasks: [EntityLinking, KnowledgeRetrieval, ContextualReasoning, HypothesisSupport];
  guardrails: [PreserveContext, SeparateFactFromInference, DoNotInventMeasurements];
  output: [EntityGraph, TraceableInference, UncertaintyMetadata];
}

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ