Skip to main content

Commensal Microorganism Ontology

Microbial Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 23 October 2026
Audio Overview
FLOW ALGEBRA
KIRETH SEMANTIC LIBRARY — COMMENSAL MICROORGANISM ONTOLOGY
Version: 1.0 | Locale: en-GB | 2026-10-23
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/microbial-entities/commensal-microorganism-ontology.html
Status: Independently constructed formalisation; source page not verified.
Authors: Mark Higgins — Sky (Recursive AI)

flow "CommensalMicroorganismOntology" v1.0 {

  namespace: "kireth.biological.microbial.commensal"
  domain: BiologicalEntities > MicrobialEntities
  semantics: typed, contextual, evidence-aware, non-monotonic

  ENTITY TYPES {
    Microorganism: BiologicalEntity
    Bacterium: Microorganism
    Archaeon: Microorganism
    MicroscopicFungus: Microorganism
    Protist: Microorganism
    HostOrganism: BiologicalEntity
    HostSite: AnatomicalLocation
    MicrobialPopulation: BiologicalPopulation
    MicrobialCommunity: BiologicalCommunity
    Microbiome: EcologicalSystem
    CommensalAssociation: EcologicalInteraction
    EnvironmentalContext: Context
    Resource: MaterialEntity
    Nutrient: Resource
    Metabolite: ChemicalEntity
    Observation: EvidenceEntity
    Study: ProvenanceEntity
  }

  RELATION TYPES {
    IS_A(Microorganism, BiologicalEntity)
    MEMBER_OF(Microorganism, MicrobialCommunity)
    COLONISES(Microorganism, HostSite)
    HOSTED_BY(Microorganism, HostOrganism)
    OCCURS_IN(MicrobialPopulation, EnvironmentalContext)
    UTILISES(Microorganism, Resource)
    PRODUCES(Microorganism, Metabolite)
    INTERACTS_WITH(Microorganism, HostOrganism)
    BENEFITS_FROM(Microorganism, HostOrganism)
    AFFECTS(Microorganism, HostOrganism, Effect)
    SUPPORTED_BY(Assertion, Observation)
    DERIVED_FROM(Observation, Study)
  }

  DEFINITIONS {
    commensalism: "An ecological interaction in which one partner benefits and the other has no demonstrable net benefit or harm within a specified context."
    commensal_microorganism: "A microorganism participating in a context-dependent commensal association; not an immutable taxonomic class."
    colonisation: "Presence and persistence at a site; does not alone imply disease, commensalism, or mutualism."
    opportunistic_pathogenicity: "Potential to cause harm in particular host or environmental contexts; does not invalidate commensal observations in other contexts."
  }

  TYPED ASSERTIONS {
    CommensalAssociation(a) -> EXISTS(m:Microorganism,h:HostOrganism,c:EnvironmentalContext)
      INTERACTS_WITH(m,h) AND BENEFITS_FROM(m,h) AND
      NET_HOST_EFFECT(m,h,c) ~= 0

    COLONISES(m,s) AND PART_OF(s,h) -> HOSTED_BY(m,h)
    HOSTED_BY(m,h) -/-> COMMENSAL_WITH(m,h)
    MEMBER_OF(m,community) -/-> COMMENSAL_WITH(m,host)
  }

  CONTEXT MODEL {
    context_fields: [host_species, host_health, anatomical_site, age,
                     immune_status, diet, environment, time, measurement_method]
    host_effect: {beneficial, neutral, harmful, unknown, mixed}
    interaction_state: {commensal, mutualistic, parasitic, uncertain}
    neutrality: "Evidence-bounded estimate, not proof of zero effect."
  }

  INFERENCE {
    rule R1 "Contextual commensal candidate":
      IF BENEFITS_FROM(m,h,c) AND HOST_EFFECT(m,h,c) == neutral
         AND EVIDENCE_SUFFICIENT(m,h,c)
      THEN CANDIDATE_COMMENSAL(m,h,c)

    rule R2 "Do not infer from presence":
      IF COLONISES(m,s)
      THEN DO_NOT_INFER(COMMENSAL_WITH(m,h))

    rule R3 "Context-dependent transition":
      IF CANDIDATE_COMMENSAL(m,h,c1) AND HOST_EFFECT(m,h,c2) == harmful
      THEN CLASSIFY_INTERACTION(m,h,c2,parasitic_or_pathogenic)
           AND RETAIN_CONTEXT(m,h,c1)

    rule R4 "Uncertain neutrality":
      IF HOST_EFFECT(m,h,c) == unknown
      THEN CLASSIFY_INTERACTION(m,h,c,uncertain)

    rule R5 "Evidence revision":
      IF NEW_OBSERVATION(o) AND CONTRADICTS(o,assertion)
      THEN REEVALUATE(assertion) AND PRESERVE_PROVENANCE(assertion)
  }

  SEMANTIC_EQUIVALENCE {
    "commensal microbe" ~= "commensal microorganism" [contextual_alias]
    "normal microbiota" != "commensal microorganisms" [non_equivalent]
    "resident microorganism" != "commensal microorganism" [non_equivalent]
    "probiotic" != "commensal microorganism" [non_equivalent]
    "non-pathogenic" != "commensal" [non_equivalent]
  }

  CONFIDENCE {
    value: float[0.0,1.0]
    basis: [study_quality, replication, measurement_precision,
            context_match, conflicting_evidence]
    missing_evidence: unknown
    no_default_certainty: true
    calibration_required: true
  }

  PROVENANCE {
    required: [source_identifier, observation_method, date,
               organism_identifier, host_context, assertion_version]
    preserve_conflicts: true
    distinguish: [observed, inferred, hypothetical]
  }

  FLOW_HASH {
    algorithm: SHA-256
    canonicalise: [entity_ids, relation_ids, context, evidence_refs, version]
    purpose: integrity_and_change_detection
    hash_is_not_evidence: true
  }

  UPDATE_MODEL {
    operation: append_versioned_evidence
    on_conflict: retain_both_and_reassess
    on_context_change: recompute_interaction_classification
    invalidate_dependents: true
    audit_trail: true
  }

  AI_CONSUMPTION {
    output: [typed_entities, contextual_relations, evidence,
             confidence, provenance, inference_trace, flow_hash]
    prohibit: [context_free_commensal_labels, unsupported_causation,
               inference_of_safety_from_colonisation]
    unknowns: explicit
    human_review: recommended_for_clinical_interpretation
  }

  VALIDATION {
    test "Presence is not commensalism":
      COLONISES(m,s) DOES_NOT_ENTAIL COMMENSAL_WITH(m,h)
    test "Neutrality requires context":
      COMMENSAL_WITH(m,h,c1) DOES_NOT_ENTAIL COMMENSAL_WITH(m,h,c2)
    test "No invented confidence":
      IF NO_EVIDENCE THEN CONFIDENCE == unknown
    test "Hash does not validate truth":
      FLOW_HASH(assertion) DOES_NOT_ENTAIL TRUE(assertion)
  }
}

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