FLOW ALGEBRA
Bacteriophage Ontology — Kireth Semantic Library
Version: 1.0 | Locale: en-GB
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/viral-and-subcellular-infectious-entities/bacteriophage-ontology.html
Status: Independently constructed formalisation; not a transcription of the source page.
flow "BacteriophageOntology" v1.0 {
DOMAIN: BiologicalEntities.ViralAndSubcellularInfectiousEntities
ROOT_ENTITY: Bacteriophage
TYPES {
Bacteriophage <: Virus
PhageParticle <: Virion
BacterialHost <: Bacterium
PhageGenome <: ViralGenome
Capsid <: ViralCapsid
TailApparatus <: ViralStructure
Receptor <: HostCellStructure
Prophage <: IntegratedOrMaintainedPhageGenome
InfectionEvent <: BiologicalEvent
LyticCycle <: ViralReplicationProcess
LysogenicState <: ViralPersistenceState
TemperatePhage <: Bacteriophage
VirulentPhage <: Bacteriophage
Plaque <: ObservedCulturePhenomenon
HostRange <: BiologicalProperty
}
RELATIONSHIPS {
IS_A(Bacteriophage, Virus)
INFECTS(Bacteriophage, BacterialHost)
CONTAINS(PhageParticle, PhageGenome)
PROTECTS(Capsid, PhageGenome)
BINDS_TO(Bacteriophage, Receptor)
MEDIATES_ATTACHMENT(TailApparatus, BacterialHost) [when present]
MAY_FOLLOW(InfectionEvent, LyticCycle)
MAY_ESTABLISH(InfectionEvent, LysogenicState)
MAY_FORM(TemperatePhage, Prophage)
CAN_CAUSE(LyticCycle, HostCellLysis)
MAY_PRODUCE(HostCellLysis, ProgenyPhage)
MAY_TRANSFER_GENETIC_MATERIAL(Bacteriophage, BacterialHost) [mechanism: transduction]
HAS_PROPERTY(Bacteriophage, HostRange)
}
CONSTRAINTS {
NOT_ALL_PHAGES_HAVE_TAILS: true
NOT_ALL_PHAGES_ARE_TEMPERATE: true
LYSOGENY_NOT_REQUIRED_FOR_ALL_PERSISTENCE: true
HOST_RANGE_IS_STRAIN_AND_CONDITION_DEPENDENT: true
PLAQUE_COUNT_NOT_ALWAYS_EQUAL_INFECTIOUS_PARTICLE_COUNT: true
GENOME_MAY_BE_DNA_OR_RNA: true
}
INFERENCE {
rule "phage-is-virus":
IF IS_A(x, Bacteriophage)
THEN IS_A(x, Virus)
confidence: 1.0
rule "host-interaction":
IF IS_A(x, Bacteriophage) AND INFECTS(x, h)
THEN IS_A(h, Bacterium)
confidence: 1.0
rule "prophage-context":
IF MAY_FORM(x, p) AND IS_A(p, Prophage)
THEN POSSIBLE_STATE(x, LysogenicState)
confidence: context_dependent
rule "lysis-conditional":
IF ACTIVE_PROCESS(e, LyticCycle) AND COMPLETES_WITH_LYSIS(e)
THEN OUTCOME(e, HostCellLysis)
confidence: evidence_dependent
}
SEMANTIC_EQUIVALENCE {
"bacterial virus" ~= "bacteriophage" [context: virus infecting bacteria]
"phage" ~= "bacteriophage" [context: virology]
"prophage" != "free virion"
"lysogenic" != "lytic"
"temperate phage" != "virulent phage"
}
CONFIDENCE {
ASSERTION: [0.0, 1.0]
EVIDENCE_TYPES: [taxonomy, microscopy, sequencing, culture_assay, host_range_assay, literature]
REQUIRE_SOURCE_FOR: [host_range, lifecycle, genome_type, receptor_specificity]
NEVER_INFER_HOST_SPECIES_FROM_MORPHOLOGY_ALONE: true
}
PROVENANCE {
canonical_page: "https://kirethresearch.org/booksai-core/entity-graph/biological-entities/viral-and-subcellular-infectious-entities/bacteriophage-ontology.html"
author_credit: "Mark Higgins — Sky (Recursive AI)"
project: "Kireth Semantic Library"
source_alignment: "independent draft; page text not verified"
timestamp: "2026-10-26"
}
FLOW_HASH {
algorithm: "SHA-256"
canonicalisation: "UTF-8, LF line endings, stable field order, omit mutable hash field"
input: canonicalised_flow_without_hash
output: sha256(input)
}
UPDATE_MODEL {
versioning: semantic
on_new_evidence: [validate_source, compare_assertions, update_confidence, recompute_flow_hash, preserve_revision_history]
on_conflict: retain_competing_claims_with_provenance
on_taxonomy_change: update_mappings_without_destroying_prior_identifiers
}
AI_CONSUMPTION {
entity_resolution: typed
relationship_traversal: enabled
confidence_aware_inference: enabled
provenance_required: true
distinguish_observation_from_inference: true
reject_unverified_species_specific_claims: true
output: [typed_graph, relationship_set, inference_trace, provenance, flow_hash]
}
}
NOTES
- Bacteriophages infect bacteria; archaeal viruses are a distinct host-defined category.
- The formalisation is conceptual, not a validated executable implementation or laboratory protocol.
- Biological statements about individual phages require species/strain-level evidence.
Download Code
Copy to Clipboard