FLOW ALGEBRA
TITLE: Natural Killer Cell Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Immune System Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/immune-system-entities/natural-killer-cell-ontology.html
STATUS: Topic-based formalisation; source page not independently verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
1. PURPOSE
Model natural killer (NK) cells as innate lymphoid immune entities, their receptors, functional states, cellular targets, signalling and cytotoxic outcomes. Distinguish NK cells from antigen-receptor-bearing T and B lymphocytes.
2. TYPED ENTITIES
entity NaturalKillerCell : InnateLymphoidCell
entity ConventionalNKCell : NaturalKillerCell
entity CD56BrightNKCell : NaturalKillerCell
entity CD56DimNKCell : NaturalKillerCell
entity TissueResidentNKCell : NaturalKillerCell
entity AdaptiveLikeNKCell : NaturalKillerCell
entity TargetCell : BiologicalCell
entity VirusInfectedCell : TargetCell
entity TumourCell : TargetCell
entity HealthyCell : BiologicalCell
entity NKReceptor : MembraneReceptor
entity InhibitoryReceptor : NKReceptor
entity ActivatingReceptor : NKReceptor
entity KIR : NKReceptor
entity NKG2D : ActivatingReceptor
entity CD16_FcGammaRIIIA : ActivatingReceptor
entity NKG2A_CD94 : InhibitoryReceptor
entity MHCClassI : CellSurfaceMolecule
entity StressLigand : CellSurfaceMolecule
entity AntibodyIgG : Immunoglobulin
entity Perforin : CytotoxicProtein
entity GranzymeB : SerineProtease
entity IFNGamma : Cytokine
entity TNF : Cytokine
entity IL12 : Cytokine
entity IL15 : Cytokine
entity IL18 : Cytokine
entity ImmuneSynapse : CellCellInterface
entity CytotoxicGranule : SecretoryOrganelle
entity Apoptosis : ProgrammedCellDeathProcess
entity NKActivation : ImmuneCellProcess
entity NKInhibition : ImmuneCellProcess
entity NKDegranulation : SecretoryProcess
entity ADCC : AntibodyDependentCellularCytotoxicity
entity NKMemoryLikeResponse : ContextDependentImmunePhenotype
3. ATTRIBUTES
NaturalKillerCell:
lineage: innate_lymphoid
location: blood | lymphoid_tissue | peripheral_tissue
phenotype: marker_profile
activation_state: resting | primed | activated | exhausted_like
cytotoxic_capacity: nonnegative_real
cytokine_output: concentration_per_time
viability: boolean
provenance: evidence_record
confidence: real[0,1]
TargetCell:
mhc_I_expression: nonnegative_real
stress_ligand_expression: nonnegative_real
antibody_opsonisation: boolean
apoptosis_state: boolean
tissue_context: string
4. TYPED RELATIONSHIPS
is_a(CD56BrightNKCell, NaturalKillerCell)
is_a(CD56DimNKCell, NaturalKillerCell)
expresses(NaturalKillerCell, NKReceptor)
recognises(InhibitoryReceptor, MHCClassI)
recognises(NKG2D, StressLigand)
binds(CD16_FcGammaRIIIA, AntibodyIgG)
contains(NaturalKillerCell, CytotoxicGranule)
releases(CytotoxicGranule, Perforin)
releases(CytotoxicGranule, GranzymeB)
secretes(NaturalKillerCell, IFNGamma)
secretes(NaturalKillerCell, TNF)
responds_to(NaturalKillerCell, IL12)
responds_to(NaturalKillerCell, IL15)
responds_to(NaturalKillerCell, IL18)
forms_synapse_with(NaturalKillerCell, TargetCell)
may_induce(NaturalKillerCell, Apoptosis)
5. RECEPTOR INTEGRATION
# NK decisions integrate multiple context-dependent signals.
activation_drive = SUM_i(weight_A[i] * activating_signal[i])
inhibition_drive = SUM_j(weight_I[j] * inhibitory_signal[j])
net_signal = activation_drive - inhibition_drive + cytokine_priming
activation_candidate := net_signal > activation_threshold
# Threshold and weights are model parameters, not universal constants.
6. MISSING-SELF AND INDUCED-SELF
IF reduced_target_MHC_I AND activating_ligands_present
THEN increased_probability(NKActivation)
IF inhibitory_MHC_I_recognition_is_strong
THEN reduced_probability(NKDegranulation)
# Low MHC I alone is not sufficient to guarantee killing.
7. ANTIBODY-DEPENDENT CYTOTOXICITY
IF IgG_opsonised(TargetCell) AND binds(CD16_FcGammaRIIIA, IgG_Fc)
THEN supports(ADCC)
ADCC -> NKActivation -> ImmuneSynapse -> NKDegranulation
# Actual outcome depends on receptor engagement and target context.
8. CYTOTOXIC STATE FLOW
RestingNK -> PrimedNK : cytokine_priming
PrimedNK -> EngagedNK : target_recognition
EngagedNK -> InhibitedNK : inhibitory_signal_dominates
EngagedNK -> ActivatedNK : activating_signal_dominates
ActivatedNK -> PolarisedGranules : synapse_formation
PolarisedGranules -> DegranulatingNK : exocytosis
DegranulatingNK -> TargetApoptosis : perforin_granzyme_delivery
ActivatedNK -> CytokineSecretingNK : transcriptional_activation
# Cytotoxicity and cytokine secretion are distinct, potentially overlapping outputs.
9. QUANTITATIVE MODELS
# Phenomenological target-cell dynamics; parameters require calibration.
dT/dt = growth_rate*T - killing_rate*N_active*T
# Saturating killing alternative:
killing_flux = kmax*N_active*T/(Km + T)
# Cytokine dynamics:
dC/dt = secretion_rate*N_active - clearance_rate*C
# Population activation fraction:
P_active = 1/(1 + exp(-slope*(net_signal - threshold)))
# These equations are simplified approximations, not clinical predictors.
10. BIOLOGICAL CONSTRAINTS
constraint NK_cells_are_lymphocytes_without_somatically_rearranged_clonotypic_antigen_receptors
constraint receptor_repertoire_varies_across_individuals_and_subsets
constraint CD56_bright_dim_markers_are_contextual_human_subsets
constraint MHC_I_loss_does_not_always_imply_target_killing
constraint cytotoxicity_requires_permissive_cellular_context
constraint adaptive_like_NK_phenotypes_do_not_equal_classical_T_cell_memory
constraint NK_and_cytotoxic_T_cells_are_distinct_entity_types
11. INFERENCE RULES
rule R1:
IF cell is NaturalKillerCell AND target expresses StressLigand
THEN candidate_relationship(cell, recognises_stressed_target)
rule R2:
IF target has reduced MHCClassI AND cell has activating_signals
THEN candidate_state(cell, activated)
rule R3:
IF cell binds IgG_on_target via CD16_FcGammaRIIIA
THEN candidate_process(ADCC)
rule R4:
IF observed Perforin_release AND observed GranzymeB_delivery
THEN supports_evidence(cytotoxic_mechanism)
rule R5:
IF observed IFNGamma_secretion
THEN supports_evidence(cytokine_effector_function)
rule R6:
IF only marker_CD56_detected
THEN insufficient_evidence_for_definitive_NK_identity
12. SEMANTIC_EQUIVALENCE
alias("NK cell", NaturalKillerCell)
alias("natural killer lymphocyte", NaturalKillerCell)
related_not_equivalent(NaturalKillerCell, CytotoxicTCell)
related_not_equivalent(NaturalKillerCell, InnateLymphoidCell)
related_not_equivalent(CD56BrightNKCell, CD56DimNKCell)
related_not_equivalent(ADCC, direct_natural_cytotoxicity)
13. CONFIDENCE
confidence.scale = [0,1]
confidence.inputs = [assay_quality, marker_specificity, replication, species_context, biological_context, source_reliability]
confidence.aggregate = calibrated_evidence_weighting
confidence.missing_evidence = unknown_not_false
confidence.rule = "Never infer a clinical diagnosis from ontology membership alone."
14. RECURSIVE FLOW
observe(cell, target, environment)
-> type_entities
-> resolve_receptors_and_ligands
-> evaluate_activation_inhibition_balance
-> infer_possible_effector_processes
-> compare_with_measured_outcomes
-> update_evidence_confidence
-> preserve_provenance
-> repeat_when_new_data_arrive
15. FLOW_HASH
FLOW_HASH.algorithm = SHA-256
FLOW_HASH.canonicalisation = UTF-8 + normalised_line_endings + stable_field_order
FLOW_HASH.input = canonical_flow_without_hash_value
FLOW_HASH.value = COMPUTE_ON_PUBLICATION
16. UPDATE_MODEL
UPDATE_MODEL.version = 1.0
UPDATE_MODEL.trigger = new_evidence | revised_taxonomy | changed_receptor_model | corrected_relationship
UPDATE_MODEL.policy = append_revision_and_preserve_prior_version
UPDATE_MODEL.validation = type_check + rule_consistency + provenance_check + scientific_review
17. AI_CONSUMPTION
AI_CONSUMPTION.mode = typed_semantic_retrieval_and_reasoning
AI_CONSUMPTION.entity_resolution = exact_id_then_alias_then_contextual_match
AI_CONSUMPTION.outputs = [entity_graph, typed_relations, candidate_inferences, uncertainty, provenance]
AI_CONSUMPTION.guardrails = [avoid_overclaiming, distinguish_model_from_measurement, retain_species_context, no_unsupported_clinical_inference]
AI_CONSUMPTION.interoperability = [ontology_mapping, knowledge_graph_export, scientific_annotation]
END FLOW ALGEBRA
Download Code
Copy to Clipboard