Skip to main content

Viral Strain Ontology

Viral and Subcellular Infectious Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 26 October 2026
Audio Overview
FLOW ALGEBRA — VIRAL STRAIN ONTOLOGY
Kireth Semantic Library | Independent formalisation | v1.0 | 2026-10-26
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/viral-and-subcellular-infectious-entities/viral-strain-ontology.html
Status: Conceptual specification; not a verified transcription of the source page.

flow "ViralStrainOntology" v1.0

# 1. PURPOSE
# Represent a viral strain as an evidence-supported, context-dependent designation
# within a viral taxon, distinguishing strain, variant, isolate, lineage and species.

ontology:
  id: "kireth:viral-strain"
  parent: "kireth:viral-and-subcellular-infectious-entities"
  label: "Viral Strain Ontology"
  scope: [taxonomy, genetics, phenotype, provenance, evolution, surveillance]

# 2. TYPED ENTITIES
entity ViralStrain:
  fields:
    id: iri
    preferred_label: str
    aliases: list[str]
    taxon_id: iri?
    defining_evidence: list[iri]
    designation_authority: str?
    designation_date: date?
    status: enum[proposed, recognised, deprecated, unresolved]
entity VirusTaxon:
  fields: {id: iri, rank: str, name: str, authority: str?}
entity ViralVariant:
  fields: {id: iri, description: str, defining_changes: list[iri]}
entity ViralLineage:
  fields: {id: iri, lineage_name: str, phylogenetic_method: str?}
entity ViralIsolate:
  fields: {id: iri, sample_id: iri, collection_date: date?, location_general: str?}
entity ViralGenome:
  fields: {id: iri, accession: str?, sequence_hash: str?, completeness: str?}
entity GeneticChange:
  fields: {id: iri, type: enum[substitution, insertion, deletion, recombination, reassortment, other], reference: iri?, position: str?}
entity Phenotype:
  fields: {id: iri, trait: str, value: str, assay_id: iri?, context: str?}
entity Evidence:
  fields: {id: iri, source: str, method: str?, date: date?, quality: float?}
entity HostTaxon:
  fields: {id: iri, name: str}

# 3. RELATIONSHIP TYPES
relationship IS_STRAIN_OF: ViralStrain -> VirusTaxon
relationship HAS_VARIANT: ViralStrain -> ViralVariant
relationship BELONGS_TO_LINEAGE: ViralStrain -> ViralLineage
relationship REPRESENTED_BY_ISOLATE: ViralStrain -> ViralIsolate
relationship HAS_GENOME: ViralIsolate -> ViralGenome
relationship HAS_GENETIC_CHANGE: ViralGenome -> GeneticChange
relationship HAS_OBSERVED_PHENOTYPE: ViralIsolate -> Phenotype
relationship SUPPORTED_BY: ViralStrain -> Evidence
relationship INFECTS_HOST: ViralIsolate -> HostTaxon
relationship DESCENDED_FROM: ViralLineage -> ViralLineage
relationship SEMANTIC_EQUIVALENCE: iri -> iri
relationship DISTINCT_FROM: iri -> iri

# 4. INVARIANTS AND CONSTRAINTS
constraints:
  - "Every ViralStrain has a persistent identifier and preferred label."
  - "A strain designation is not automatically equivalent to a taxonomic species."
  - "Variant, lineage, isolate and strain are distinct entity types."
  - "A shared mutation alone does not establish strain identity."
  - "Observed phenotype is assay- and environment-dependent."
  - "An isolate may represent a strain; an isolate is not itself necessarily a strain."
  - "Phylogenetic ancestry requires supporting data and an explicit method."
  - "A strain assignment must carry evidence and designation provenance."
  - "Unknown values remain unknown rather than being inferred as negative."

# 5. INFERENCE RULES
rule "strain_taxon_membership":
  when: "IS_STRAIN_OF(s,t) and type(s,ViralStrain) and type(t,VirusTaxon)"
  infer: "taxonomic_context(s,t)"
  confidence: "inherit evidence quality; do not assume 1.0"

rule "isolate_representation":
  when: "REPRESENTED_BY_ISOLATE(s,i) and HAS_GENOME(i,g)"
  infer: "genomic_evidence_candidate(s,g)"
  caution: "do not assert all members of s share every change in g"

rule "phenotype_context":
  when: "REPRESENTED_BY_ISOLATE(s,i) and HAS_OBSERVED_PHENOTYPE(i,p)"
  infer: "phenotype_observed_in_representative(s,p)"
  caution: "do not generalise phenotype to all strain members"

rule "strain_identity_review":
  when: "same_designation_authority(s1,s2) and matching_accession_evidence(s1,s2)"
  infer: "candidate_semantic_equivalence(s1,s2)"
  require: "manual or authority-backed identity resolution before SAME_AS"

# 6. CONFIDENCE AND PROVENANCE
CONFIDENCE:
  range: [0.0, 1.0]
  factors: [source_quality, sequence_quality, designation_authority, phylogenetic_support, reproducibility]
  policy: "confidence is evidence-weighted and never a substitute for validation"
PROVENANCE:
  required: [source_identifier, retrieval_or_observation_date, method, assertion_author]
  optional: [accession, dataset_version, publication_doi, curator, uncertainty_notes]

# 7. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  exact: "same authoritative strain identity and compatible provenance"
  close: "closely related designations, not necessarily identical"
  prohibited: ["strain == variant", "strain == isolate", "strain == species", "lineage == strain"]

# 8. FLOW HASH
FLOW_HASH:
  canonicalise: [ontology_id, entity_id, entity_type, sorted_relations, source_ids, version]
  algorithm: "SHA-256"
  note: "Hash denotes canonical record content, not biological identity."

# 9. UPDATE MODEL
UPDATE_MODEL:
  mode: "append-only assertions with supersession"
  operations: [add_evidence, revise_assignment, deprecate_alias, split_strain, merge_designations, update_taxonomy]
  safeguards: [preserve_prior_versions, audit_trail, revalidate_inferences, do_not_erase_uncertainty]

# 10. AI CONSUMPTION
AI_CONSUMPTION:
  outputs: [typed_entity_graph, evidence_links, uncertainty, lineage_context, machine_readable_summary]
  guardrails:
    - "Separate reported designations from inferred classifications."
    - "Avoid unsupported claims about pathogenicity, severity or transmissibility."
    - "Identify taxonomic nomenclature version and observation date."
    - "Never infer a clinical outcome from strain name alone."

# 11. ABSTRACT EXAMPLE (NON-REAL STRAIN)
example:
  strain: "urn:example:strain:A"
  taxon: "urn:example:virus-taxon:T"
  isolate: "urn:example:isolate:I"
  evidence: "urn:example:evidence:E"
  assertions:
    - "IS_STRAIN_OF(strain, taxon)"
    - "REPRESENTED_BY_ISOLATE(strain, isolate)"
    - "SUPPORTED_BY(strain, evidence)"
  confidence: 0.80
  note: "Illustrative only; not a real biological classification."

# 12. VALIDATION
validate:
  - "all identifiers are unique and resolvable in local graph"
  - "all relations obey domain and range"
  - "all strain assignments have evidence"
  - "no automatic equivalence across distinct entity types"
  - "all changes are versioned and attributable"

end flow

Authorship: Mark Higgins — Sky (Recursive AI)
Project: https://kirethresearch.org
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ