Skip to main content

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
Microorganism Ontology — Kireth Semantic Library
Version: 1.0 | Locale: en-GB | Date: 2026-10-23
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/microbial-entities/microorganism-ontology-2.html
Status: Independently constructed formalisation; source page's embedded code was not accessible in the retrieved HTML. This file is not a transcription of that code.

flow "MicroorganismOntology" v1.0 {
  namespace: "kireth:biological:microbial:microorganism"
  domain: "Biological Entities / Microbial Entities"
  semantics: "typed, provenance-aware, open-world"

  TYPE Entity
  TYPE BiologicalEntity <: Entity
  TYPE Organism <: BiologicalEntity
  TYPE Microorganism <: Organism
  TYPE Bacterium <: Microorganism
  TYPE Archaeon <: Microorganism
  TYPE MicroscopicFungus <: Microorganism
  TYPE MicroscopicProtist <: Microorganism
  TYPE MicroscopicAlga <: Microorganism
  TYPE Virus <: BiologicalEntity  # not classified as cellular organism
  TYPE Cell <: BiologicalEntity
  TYPE Habitat <: Entity
  TYPE Environment <: Entity
  TYPE MetabolicProcess <: Entity
  TYPE Nutrient <: Entity
  TYPE Community <: Entity
  TYPE Microbiome <: Entity
  TYPE Biofilm <: Community
  TYPE Host <: Organism
  TYPE Observation <: Entity
  TYPE Evidence <: Entity
  TYPE Taxon <: Entity
  TYPE Trait <: Entity

  RELATION instance_of(Entity, Entity)
  RELATION subtype_of(Entity, Entity)
  RELATION classified_as(Organism, Taxon)
  RELATION has_cell(Organism, Cell)
  RELATION inhabits(Organism, Habitat)
  RELATION tolerates(Organism, Environment)
  RELATION performs_metabolism(Organism, MetabolicProcess)
  RELATION uses_nutrient(Organism, Nutrient)
  RELATION member_of(Organism, Community)
  RELATION associated_with_host(Organism, Host)
  RELATION forms_biofilm(Organism, Biofilm)
  RELATION interacts_with(Organism, Organism)
  RELATION has_trait(Organism, Trait)
  RELATION supported_by(Entity, Evidence)
  RELATION observed_in(Organism, Observation)

  AXIOM subtype_of(Bacterium, Microorganism)
  AXIOM subtype_of(Archaeon, Microorganism)
  AXIOM subtype_of(MicroscopicFungus, Microorganism)
  AXIOM subtype_of(MicroscopicProtist, Microorganism)
  AXIOM subtype_of(MicroscopicAlga, Microorganism)
  AXIOM subtype_of(Microorganism, Organism)
  AXIOM disjoint(Virus, CellularOrganism)

  # Taxa and functional/ecological groupings must remain distinct.
  CONSTRAINT classification_requires_evidence:
    classified_as(x, taxon) -> exists e:Evidence supported_by(x, e)
  CONSTRAINT do_not_infer_pathogenicity_from_taxon:
    classified_as(x, taxon) !=> pathogenic(x)
  CONSTRAINT do_not_infer_universality:
    observed_in(x, sample) !=> present_in_all_samples(x)
  CONSTRAINT virus_distinction:
    instance_of(x, Virus) -> not instance_of(x, Microorganism)
  CONSTRAINT context_dependent_traits:
    has_trait(x, trait) requires context where trait is conditional

  RULE R01 taxonomy_transitivity:
    subtype_of(a,b) AND subtype_of(b,c) -> subtype_of(a,c)
  RULE R02 instance_inheritance:
    instance_of(x,a) AND subtype_of(a,b) -> instance_of(x,b)
  RULE R03 habitat_evidence:
    observed_in(x,o) AND sample_habitat(o,h) -> candidate(inhabits(x,h))
  RULE R04 biofilm_membership:
    member_of(x,b) AND instance_of(b,Biofilm) -> candidate(biofilm_associated(x))
  RULE R05 metabolic_inference:
    performs_metabolism(x,p) AND requires(p,n) -> candidate(uses_nutrient(x,n))
  RULE R06 host_association:
    observed_in(x,o) AND host_sample(o,h) -> candidate(associated_with_host(x,h))
  RULE R07 no_causal_shortcut:
    associated_with_host(x,h) !=> causes_disease(x,h)
  RULE R08 community_context:
    member_of(x,c) AND instance_of(c,Community) -> candidate(community_member(x,c))

  CONFIDENCE {
    range: [0.0, 1.0]
    attach_to: "assertion or inferred edge"
    require: ["evidence", "method", "scope"]
    combine: "calibrated evidence aggregation; never assume independence"
    propagation: "do not exceed weakest unsupported inference link"
    unresolved: "unknown, not false"
  }

  SEMANTIC_EQUIVALENCE {
    exact: ["microorganism", "microbe"]
    contextual: ["microbial organism", "microscopic organism"]
    non_equivalent: ["microorganism", "virus", "pathogen", "bacterium", "microbiome"]
    rule: "aliases normalise terminology without collapsing distinct taxa or ecological roles"
  }

  PROVENANCE {
    for_each_assertion: ["source_uri", "evidence_id", "observation_time", "method", "author", "version"]
    revisions: "append-only lineage; retain superseded evidence"
  }

  FLOW_HASH {
    algorithm: "SHA-256"
    canonicalise: ["ontology_version", "sorted_type_declarations", "sorted_relations", "sorted_rules", "normalised_parameters"]
    exclude: ["display_formatting", "volatile_runtime_timestamp"]
    compute: "SHA256(canonical_serialisation)"
    note: "hash value calculated by an implementation, not fabricated here"
  }

  UPDATE_MODEL {
    ingest(new_evidence)
    validate_schema_and_provenance()
    detect_contradictions()
    update_assertion_confidence()
    preserve_previous_versions()
    recompute_affected_inferences()
    recalculate_flow_hash()
    publish_versioned_snapshot()
  }

  AI_CONSUMPTION {
    output: ["typed_entities", "grounded_relations", "inferences", "confidence", "provenance", "contradictions", "flow_hash"]
    guardrails: ["distinguish observation from inference", "avoid taxonomic overgeneralisation", "label uncertain assertions", "do not invent measurements"]
    execution_order: ["parse", "validate", "normalise", "resolve", "infer", "audit", "emit"]
  }
}

INTERPRETATION NOTES
- 'Microorganism' is an operational category spanning multiple lineages, not a single clade.
- Viruses are modelled separately from cellular organisms, though microbiology studies them.
- Fungi and algae can have microscopic representatives without all members being microscopic.
- Some rules use candidate(...) deliberately: ecological association and nutrient use require confirmation.
- The notation is a declarative specification. A runtime must implement the declared operators and validators to execute it.

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