Skip to main content

White Blood Cell 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: White Blood Cell Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Blood and Circulatory Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/white-blood-cell-ontology.html
AUTHORS: Mark Higgins — Sky (Recursive AI)
SITE: https://kirethresearch.org
STATUS: Topic-based formalisation; source page content not independently verified.

# 1. PURPOSE
flow WhiteBloodCellOntology v1.0 {
  purpose: represent leukocyte identity, differentiation, trafficking, immune activity and evidence;
  scope: human and comparative vertebrate leukocytes;
  semantics: typed, contextual, provenance-aware;
}

# 2. TYPES
TYPE Entity = {id: URI, label: String, kind: String};
TYPE Cell <: Entity;
TYPE Leukocyte <: Cell;
TYPE ProgenitorCell <: Cell;
TYPE Tissue <: Entity;
TYPE Molecule <: Entity;
TYPE Pathogen <: Entity;
TYPE ImmuneProcess <: Entity;
TYPE Observation = {subject: URI, predicate: URI, object: Any, context: Context};
TYPE Context = {species: String?, tissue: String?, time: String?, condition: String?};
TYPE Evidence = {source: URI?, method: String?, confidence: Float[0..1]};
TYPE Claim = {statement: Observation, evidence: Evidence[], status: String};

# 3. ENTITY TAXONOMY
ENTITY WhiteBloodCell : Leukocyte;
ENTITY Granulocyte : Leukocyte;
ENTITY Neutrophil : Granulocyte;
ENTITY Eosinophil : Granulocyte;
ENTITY Basophil : Granulocyte;
ENTITY MononuclearLeukocyte : Leukocyte;
ENTITY Monocyte : MononuclearLeukocyte;
ENTITY Lymphocyte : MononuclearLeukocyte;
ENTITY BCell : Lymphocyte;
ENTITY TCell : Lymphocyte;
ENTITY NaturalKillerCell : Lymphocyte;
ENTITY PlasmaCell : Cell;
ENTITY Macrophage : Cell;
ENTITY DendriticCell : Cell;
ENTITY HaematopoieticStemCell : ProgenitorCell;
ENTITY MyeloidProgenitor : ProgenitorCell;
ENTITY LymphoidProgenitor : ProgenitorCell;

# 4. RELATIONSHIP SIGNATURES
RELATION is_a(Cell, Entity) -> Boolean;
RELATION differentiates_into(Cell, Cell, Context) -> Boolean;
RELATION circulates_in(Leukocyte, Tissue, Context) -> Boolean;
RELATION migrates_to(Leukocyte, Tissue, Context) -> Boolean;
RELATION expresses(Cell, Molecule, Context) -> Boolean;
RELATION secretes(Cell, Molecule, Context) -> Boolean;
RELATION recognises(Cell, Entity, Context) -> Boolean;
RELATION phagocytoses(Cell, Entity, Context) -> Boolean;
RELATION presents_antigen(Cell, Entity, Context) -> Boolean;
RELATION participates_in(Cell, ImmuneProcess, Context) -> Boolean;
RELATION supported_by(Claim, Evidence) -> Boolean;

# 5. TAXONOMY FACTS
FACT is_a(Neutrophil, Granulocyte);
FACT is_a(Eosinophil, Granulocyte);
FACT is_a(Basophil, Granulocyte);
FACT is_a(Monocyte, MononuclearLeukocyte);
FACT is_a(Lymphocyte, MononuclearLeukocyte);
FACT is_a(BCell, Lymphocyte);
FACT is_a(TCell, Lymphocyte);
FACT is_a(NaturalKillerCell, Lymphocyte);
RULE is_a(x, y) AND is_a(y, z) => is_a(x, z);
CONSTRAINT no_circular_subclass_path(x);

# 6. HAEMATOPOIESIS
FLOW Haematopoiesis {
  input: HaematopoieticStemCell;
  transition: lineage_commitment(context);
  intermediate: [MyeloidProgenitor, LymphoidProgenitor];
  output: mature_immune_lineages;
  guard: lineage_mapping_must_be_evidence_supported;
}
RULE differentiates_into(Monocyte, Macrophage, ctx) WHEN suitable_tissue_signals(ctx);
RULE differentiates_into(BCell, PlasmaCell, ctx) WHEN suitable_activation(ctx);
NOTE: Differentiation pathways are context-dependent and not necessarily direct single-step events.

# 7. IMMUNE FUNCTIONS
FLOW InnateResponse {
  input: pathogen_or_damage_signal;
  processes: [recognition, chemotaxis, phagocytosis, degranulation, cytokine_signalling];
  participants: [Neutrophil, Monocyte, NaturalKillerCell, Eosinophil, Basophil];
  output: context_dependent_containment_or_inflammation;
}
FLOW AdaptiveResponse {
  input: antigen_and_activation_context;
  processes: [antigen_presentation, lymphocyte_activation, clonal_expansion, effector_function, memory_formation];
  participants: [BCell, TCell];
  output: antigen_specific_response;
}
NOTE: Innate and adaptive responses interact; membership does not imply exclusive function.

# 8. CELL TRAFFICKING
FLOW LeukocyteExtravasation {
  states: [circulating, rolling, activated, firmly_adherent, transmigrating, tissue_localised];
  transitions: [selectin_interaction, chemokine_signal, integrin_adhesion, diapedesis, chemotaxis];
  guard: tissue_and_inflammatory_context;
}
MODEL chemotactic_flux: J = -D * grad(C) + chi * n * grad(S);
PARAM D: cell_random_motility_coefficient;
PARAM chi: chemotactic_sensitivity;
PARAM n: local_cell_density;
PARAM S: chemoattractant_field;
NOTE: Flux equation is an illustrative continuum approximation, not a universal leukocyte law.

# 9. POPULATION DYNAMICS
MODEL dL_dt = production + recruitment - clearance - egress;
MODEL differential_count(type) = absolute_count(type) / total_leukocyte_count;
CONSTRAINT total_leukocyte_count > 0 FOR differential_count;
CONSTRAINT 0 <= differential_count(type) <= 1;
CONSTRAINT sum_over_exhaustive_disjoint_types(differential_count) ~= 1;
NOTE: Count reference intervals depend on age, species, assay and clinical context.

# 10. SIGNAL TRANSDUCTION
FLOW LeukocyteActivation {
  input: receptor_ligand_binding;
  steps: [receptor_activation, intracellular_signalling, transcriptional_response, effector_response];
  modifiers: [cell_subtype, tissue, prior_exposure, metabolic_state];
  output: activation_state;
}
RELATION inhibits(Molecule, ImmuneProcess, Context) -> Boolean;
RELATION activates(Molecule, ImmuneProcess, Context) -> Boolean;
CONSTRAINT activation_inference_requires_receptor_and_context_evidence;

# 11. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE("white blood cell", "leukocyte") WHEN biomedical_English_context;
SEMANTIC_EQUIVALENCE("white blood cells", "leukocytes") WHEN plural_biomedical_context;
SEMANTIC_EQUIVALENCE("polymorphonuclear neutrophil", "neutrophil") WHEN explicitly_neutrophil_context;
SEMANTIC_DIFFERENCE("leukocyte", "lymphocyte") = broader_vs_narrower;
SEMANTIC_DIFFERENCE("monocyte", "macrophage") = related_but_distinct_cell_states;
SEMANTIC_DIFFERENCE("white blood cell", "platelet") = distinct_blood_components;
RULE synonym(x, y, ctx) => candidate_same_concept(x, y, ctx);
CONSTRAINT synonym_does_not_imply_unconditional_identity;

# 12. LOGICAL INFERENCE
RULE is_a(x, Neutrophil) => is_a(x, Leukocyte);
RULE is_a(x, BCell) => is_a(x, Leukocyte);
RULE is_a(x, TCell) => is_a(x, Leukocyte);
RULE phagocytoses(x, target, ctx) => participates_in(x, Phagocytosis, ctx);
RULE secretes(x, mediator, ctx) AND cytokine(mediator) => participates_in(x, CytokineSignalling, ctx);
RULE observes_marker(x, marker, ctx) => candidate_classification(x, marker, ctx);
CONSTRAINT single_marker_alone_must_not_force_unique_cell_identity;
CONSTRAINT immune_function_does_not_always_determine_cell_subtype;

# 13. CONFIDENCE
CONFIDENCE score(claim) IN [0, 1];
CONFIDENCE inputs: [source_quality, directness, replication, assay_specificity, context_match];
CONFIDENCE combine: calibrated_method_with_dependency_control;
RULE contradictory_evidence(claim) => flag_for_review(claim);
RULE insufficient_evidence(claim) => status(claim, "unresolved");
RULE supported_claim(claim) => retain_provenance(claim);
CONSTRAINT no_numeric_confidence_without_calibration_or_explicit_heuristic_label;

# 14. RECURSIVE REASONING
FLOW RecursiveCellClassification {
  input: observation_set;
  step_1: identify_candidate_lineage;
  step_2: compare_markers_morphology_and_function;
  step_3: validate_species_tissue_and_assay_context;
  step_4: check_conflicts_and_missing_evidence;
  step_5: refine_candidate_classification;
  stop: stable_classification OR evidence_exhausted OR iteration_limit;
  output: classification_with_provenance_and_uncertainty;
}

# 15. FLOW_HASH
FLOW_HASH algorithm: SHA-256;
FLOW_HASH canonicalisation: UTF-8 + normalised_line_endings + stable_key_order;
FLOW_HASH scope: canonical_flow_content_excluding_hash_value;
FLOW_HASH value: COMPUTE_AT_INGESTION;
CONSTRAINT hash_is_integrity_identifier_not_scientific_validation;

# 16. UPDATE_MODEL
UPDATE_MODEL triggers: [new_peer_reviewed_evidence, ontology_revision, corrected_taxonomy, assay_reclassification];
UPDATE_MODEL procedure: [validate_source, compare_claims, revise_relations, preserve_history, regenerate_hash];
UPDATE_MODEL version_policy: semantic_versioning;
UPDATE_MODEL conflict_policy: retain_conflicting_claims_with_provenance_until_resolved;

# 17. AI_CONSUMPTION
AI_CONSUMPTION representation: typed_entity_relationship_graph;
AI_CONSUMPTION outputs: [concept_id, cell_type, lineage, function, context, evidence, confidence, provenance];
AI_CONSUMPTION retrieval: ontology_guided_semantic_search;
AI_CONSUMPTION reasoning: rule_based_with_uncertainty;
AI_CONSUMPTION restrictions: [no_unverified_clinical_diagnosis, no_context_free_marker_assumptions, no_invented_evidence];
AI_CONSUMPTION interoperability: [RDF, OWL, JSON-LD, typed_graph];

# 18. VALIDATION
TEST is_a(Neutrophil, Leukocyte) == true;
TEST is_a(BCell, Leukocyte) == true;
TEST is_a(TCell, Leukocyte) == true;
TEST is_a(Platelet, Leukocyte) != true;
TEST differentiates_into(Monocyte, Macrophage, ctx) requires context;
TEST differential_count(type) requires total_leukocyte_count > 0;
TEST inferred_classification retains evidence;
TEST FLOW_HASH computed_after_canonicalisation;

# 19. SCIENTIFIC BOUNDARIES
NOTE: Taxonomy is deliberately representative rather than exhaustive.
NOTE: Mature human erythrocytes and platelets are not leukocytes.
NOTE: Some immune cells reside primarily in tissues rather than circulating blood.
NOTE: Clinical interpretation requires validated reference ranges and professional judgement.
NOTE: Formal rules are conceptual representations and not an executable clinical decision system.

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