FLOW ALGEBRA
B-CELL ONTOLOGY
Kireth Semantic Library | Biological Entities > Immune System Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/immune-system-entities/b-cell-ontology.html
Version: 1.0 | Date: 2026-10-19 | Locale: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
Status: Topic-based formalisation; source page content not independently verified.
1. PURPOSE
Model B lymphocyte identity, lineage, receptor specificity, activation, differentiation, antibody secretion, tolerance and memory with typed, traceable relationships.
2. TYPE SYSTEM
TYPE Entity = {id:URI, label:String, class:Class, provenance:Evidence[]}
TYPE Cell <: Entity
TYPE ImmuneCell <: Cell
TYPE Lymphocyte <: ImmuneCell
TYPE BCell <: Lymphocyte
TYPE PrecursorBCell <: BCell
TYPE ImmatureBCell <: BCell
TYPE TransitionalBCell <: BCell
TYPE NaiveBCell <: BCell
TYPE ActivatedBCell <: BCell
TYPE GerminalCentreBCell <: BCell
TYPE MemoryBCell <: BCell
TYPE PlasmaCell <: BCell
TYPE Plasmablast <: BCell
TYPE RegulatoryBCell <: BCell
TYPE Antigen <: Entity
TYPE Epitope <: Entity
TYPE BCellReceptor <: Entity
TYPE Immunoglobulin <: Entity
TYPE Antibody <: Immunoglobulin
TYPE THelperCell <: Lymphocyte
TYPE TfhCell <: THelperCell
TYPE Cytokine <: Entity
TYPE LymphoidOrgan <: Entity
TYPE BoneMarrow <: LymphoidOrgan
TYPE LymphNode <: LymphoidOrgan
TYPE Spleen <: LymphoidOrgan
TYPE GerminalCentre <: Entity
TYPE Signal <: Entity
TYPE BiologicalProcess <: Entity
TYPE Evidence = {source:URI, method:String, timestamp:DateTime, confidence:Real[0,1]}
TYPE CellState = {stage:String, activation:String, isotype:String?, specificity:String?, location:URI?, viability:String}
3. ENTITY INSTANCES AND SUBCLASSES
CLASS BCell IS_A Lymphocyte
CLASS PlasmaCell IS_A BCell
CLASS MemoryBCell IS_A BCell
CLASS BCellReceptor IS_A AntigenReceptor
CLASS Antibody IS_A Immunoglobulin
EXAMPLE ImmunoglobulinIsotype = {IgM, IgD, IgG, IgA, IgE}
EXAMPLE DevelopmentalStage = {proB, preB, immature, transitional, matureNaive, activated, germinalCentre, memory, plasma}
EXAMPLE BCellLocation = {boneMarrow, blood, spleen, lymphNode, mucosa, inflamedTissue}
4. TYPED RELATIONSHIPS
REL IS_A(child:Entity,parent:Entity)
REL PART_OF(part:Entity,whole:Entity)
REL LOCATED_IN(cell:Cell,location:Entity)
REL EXPRESSES(cell:Cell,molecule:Entity)
REL RECOGNISES(receptor:BCellReceptor,epitope:Epitope)
REL BINDS(molecule:Entity,target:Entity)
REL PRESENTS_ANTIGEN(cell:BCell,peptide:Entity)
REL RECEIVES_HELP(cell:BCell,helper:TfhCell)
REL RESPONDS_TO(cell:BCell,signal:Signal)
REL DIFFERENTIATES_INTO(source:BCell,target:BCell)
REL SECRETES(cell:PlasmaCell,antibody:Antibody)
REL UNDERGOES(cell:BCell,process:BiologicalProcess)
REL DERIVED_FROM(cell:BCell,ancestor:BCell)
REL HAS_STATE(cell:BCell,state:CellState)
REL SUPPORTED_BY(assertion:Entity,evidence:Evidence)
5. DEVELOPMENT AND RECEPTOR GENERATION
FLOW BoneMarrowProgenitor -> ProBCell -> PreBCell -> ImmatureBCell
FLOW ImmatureBCell -> TransitionalBCell -> MatureNaiveBCell
PROCESS VDJRecombination: rearrange immunoglobulin variable-region gene segments
PROCESS LightChainRearrangement: produce functional light-chain repertoire
PROCESS CentralTolerance: receptorEditing | deletion | anergy (context-dependent)
RULE FunctionalBCR(cell) AND SurvivalSignals(cell) => EligibleForMaturation(cell)
RULE StrongSelfRecognition(cell) => ToleranceCheckpoint(cell)
CONSTRAINT VDJRecombination occurs in developing B cells before antigen-driven germinal-centre diversification
CONSTRAINT BCR specificity is clone-dependent and is not equivalent to an antigen-independent universal marker
6. ACTIVATION
INPUT AntigenExposure, BCRBinding, CoStimulation, CytokineContext, AnatomicalContext
FLOW NaiveBCell + CognateAntigen -> AntigenBoundBCell
FLOW AntigenBoundBCell + AppropriateSignals -> ActivatedBCell
PATHWAY TDependent: BCRUptake -> PeptideMHCII -> TfhHelp(CD40-CD40L,Cytokines) -> Expansion
PATHWAY TIndependent: AntigenReceptorCrosslinking or InnateCoSignals -> Activation (antigen/context dependent)
RULE AntigenBindingAlone != SufficientActivationInAllContexts
RULE TfhHelp AND AppropriateAntigenPresentation => SupportsGerminalCentreResponse
RULE Activation AND SurvivalSignals => ClonalExpansionPossible
7. GERMINAL CENTRE AND EFFECTOR FATES
FLOW ActivatedBCell -> ExtrafollicularPlasmablast | GerminalCentreBCell
FLOW GerminalCentreBCell -> MemoryBCell | LongLivedPlasmaCell | OtherContextDependentFate
PROCESS SomaticHypermutation: diversify immunoglobulin variable-region sequence
PROCESS AffinitySelection: select B-cell clones based on antigen acquisition and T-cell help
PROCESS ClassSwitchRecombination: change antibody constant region while generally retaining antigen specificity
RULE ClassSwitchRecombination => IsotypeChange, not mandatory specificity change
RULE SomaticHypermutation => MayIncreaseOrDecreaseAffinity
RULE PlasmaCell => HighRateAntibodySecretion (context-dependent)
RULE MemoryBCell AND AntigenReExposure => AcceleratedSecondaryResponsePossible
CONSTRAINT Not all activated B cells enter germinal centres
CONSTRAINT Not all antibody responses undergo class switching or affinity maturation
8. QUANTITATIVE AND STATE MODELS
MODEL ClonalPopulation:
dN/dt = (proliferation_rate - death_rate - differentiation_exit_rate)*N + influx_rate
units: N=cells; rates=per_time; influx=cells/per_time
MODEL AntibodyConcentration:
dA/dt = secretion_rate - clearance_rate*A
units: A=concentration; secretion_rate=concentration/per_time; clearance_rate=per_time
MODEL BindingOccupancy (simplified equilibrium):
theta = [Ag]/(Kd + [Ag])
assumptions: single-site binding, equilibrium, no avidity or competition effects
MODEL PopulationState:
State(t+dt) = TRANSITION(State(t), antigen, coSignals, cytokines, niche, stochasticity)
CONSTRAINT These models are illustrative; parameter values require experimental calibration
9. INFERENCE AND SAFETY RULES
RULE EXPRESSES(cell,CD19) => SupportsBLineageClassification(cell), not proof alone
RULE EXPRESSES(cell,CD20) => SupportsManyMatureBCellStates(cell), not universal
RULE SECRETES(cell,antibody) AND PlasmaCell(cell) => AntibodyProducingEffector(cell)
RULE RECEIVES_HELP(cell,Tfh) AND PresentsCognatePeptide(cell) => TDependentActivationSupported(cell)
RULE HAS_STATE(cell,memory) => AntigenExperiencedLikely(cell) WITH evidence
RULE LowConfidenceMarkerPanel => RequireOrthogonalValidation
NEGATION RULE PlasmaCellsDoNotUniversallyExpressCD20
NEGATION RULE AllBCellsAreNotAntibodySecretingAtAllTimes
NEGATION RULE BCellAntigenRecognitionDoesNotRequirePeptideMHCForInitialBCRBinding
10. SEMANTIC_EQUIVALENCE
ALIAS "B lymphocyte" ~ "B cell" [exact_in_context]
ALIAS "antibody-secreting cell" ~ "plasma cell" [contextual_not_universal]
ALIAS "BCR" ~ "B-cell receptor" [exact]
ALIAS "GC B cell" ~ "germinal-centre B cell" [exact]
DISTINGUISH BCellReceptor FROM SecretedAntibody [membrane_form_vs_secreted_form]
DISTINGUISH PlasmaCell FROM Plasmablast [maturation_and_proliferation_context]
DISTINGUISH AntibodyClassSwitch FROM SomaticHypermutation [distinct_mechanisms]
11. CONFIDENCE
CONFIDENCE(assertion) = calibrated_evidence_score(assertion, sources, assay_quality, reproducibility, context)
REQUIRE confidence in [0,1]
REQUIRE provenance for empirical assertions
POLICY inferred_claims MUST carry evidence and uncertainty
POLICY absence_of_marker != absence_of_lineage without assay context
12. RECURSIVE REASONING
FLOW ObserveCell -> TypeCell -> IdentifyMarkers -> InferDevelopmentalState
FLOW InferDevelopmentalState -> EvaluateAntigenHistory -> PredictResponse
FLOW PredictResponse -> CompareEvidence -> UpdateHypothesis -> ObserveCell
STOP when confidence_stable OR evidence_exhausted OR safety_constraint_triggered
13. FLOW_HASH
FLOW_HASH = SHA256(canonicalise(ontology_id, version, type_system, relations, rules, model_definitions))
RULE canonicalise sorts unordered sets, normalises whitespace, preserves mathematical meaning
RULE hash changes on semantically material ontology revisions
14. UPDATE_MODEL
UPDATE_MODEL(new_evidence):
validate_source(new_evidence)
map_to_entities_and_relations(new_evidence)
detect_conflicts_and_context(new_evidence)
revise_confidence_without_erasing_provenance()
increment_version_if_semantic_change()
recompute_FLOW_HASH()
preserve_prior_versions_for_audit()
15. AI_CONSUMPTION
AI_CONSUMPTION:
ontology_id: kireth:immune-system-entities/b-cell
root_type: BCell
output: typed_entity_graph + causal_rules + quantitative_models
preferred_reasoning: provenance_aware, context_sensitive, uncertainty_calibrated
do_not_assume: universal_markers, deterministic_cell_fates, clinical_diagnosis
interoperability: RDF/OWL/SKOS mappings only after term-level validation
validation: type_check + constraint_check + provenance_check + biological_review
16. CROSS-ONTOLOGY LINKS
LINK ImmuneEntityOntology -> BCell
LINK LymphocyteOntology -> BCell
LINK AntigenOntology -> Antigen
LINK AntibodyOntology -> Antibody
LINK PlasmaCellOntology -> PlasmaCell
LINK TCellOntology -> TfhCell
LINK BoneMarrowOntology -> BCellDevelopment
LINK CellSignallingOntology -> BCellActivation
17. LIMITATIONS
The model is a conceptual and machine-readable research scaffold, not a clinically validated diagnostic or treatment system.
Biological mechanisms are context-dependent and may differ across species, tissues, developmental stages and disease states.
Source-page wording and hierarchy were not verified during this generation.
END FLOW ALGEBRA
Download Code
Copy to Clipboard