FLOW ALGEBRA
Symbiotic Organism Ontology
Kireth Semantic Library | Biological Entities > Organism Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organism-entities/symbiotic-organism-ontology.html
Version: 1.0 | Locale: en-GB | Date: 2026-10-19
PURPOSE
Represent organisms participating in sustained, close interspecific associations, their roles, context-dependent effects, evidence and temporal dynamics. Symbiosis is an association, not necessarily mutual benefit; distinguish it from brief ecological encounters.
TYPE SYSTEM
entity Organism {id: URI; taxon: TaxonRef?; life_stage: String?; phenotype: Set[String]; habitat: HabitatRef?}
entity SymbioticAssociation {id: URI; participants: Set[OrganismRef]; interaction_type: InteractionType; intimacy: Intimacy; duration: Duration?; obligacy: Obligation; context: ContextRef; status: Status}
entity SymbioticRole {organism: OrganismRef; association: AssociationRef; role: RoleType; effects: EffectVector}
entity EffectVector {fitness: EffectSign; resource: EffectSign?; survival: EffectSign?; reproduction: EffectSign?; evidence: EvidenceRef?}
entity Context {id: URI; environment: String?; host_condition: String?; temporal_scope: Interval?}
entity Evidence {id: URI; method: String; citation: URI?; observation: String?; confidence: Float[0,1]; date: Date?}
entity Provenance {source: URI; retrieved_at: DateTime?; licence: String?; curator: String?}
enum InteractionType = MUTUALISM | COMMENSALISM | PARASITISM | AMENSALISM | UNCERTAIN
# AMENSALISM is retained as a comparative interaction; not all instances qualify as close symbiosis.
enum Intimacy = ENDOSYMBIOTIC | ECTOSYMBIOTIC | CLOSE_ASSOCIATION | UNKNOWN
enum Obligation = OBLIGATE | FACULTATIVE | MIXED | UNKNOWN
enum EffectSign = POSITIVE | NEGATIVE | NEUTRAL | UNKNOWN
enum RoleType = HOST | SYMBIONT | PARTNER | VECTOR | OTHER
enum Status = OBSERVED | HYPOTHESISED | HISTORICAL | DISPUTED
RELATIONSHIPS
PARTICIPATES_IN(Organism, SymbioticAssociation)
HAS_PARTNER(Organism, Organism, SymbioticAssociation)
HOSTS(Organism, Organism, SymbioticAssociation)
LIVES_WITHIN(Organism, Organism, SymbioticAssociation)
BENEFITS_FROM(Organism, SymbioticAssociation, Context)
HARMED_BY(Organism, SymbioticAssociation, Context)
DEPENDS_ON(Organism, Organism, Context)
EXCHANGES_RESOURCE(Organism, Organism, Resource, SymbioticAssociation)
HAS_EVIDENCE(SymbioticAssociation, Evidence)
HAS_PROVENANCE(SymbioticAssociation, Provenance)
INVARIANTS
I1: Every association has >= 2 distinct participating organisms, typically of different species.
I2: A host is not automatically harmed, and a symbiont is not automatically beneficial.
I3: Fitness effects are indexed by participant, context and time; do not infer them from names alone.
I4: Obligacy and interaction type are independent axes.
I5: An intracellular organelle is not automatically a currently independent symbiotic organism; distinguish evolutionary endosymbiotic origin from present-day association.
I6: A microbiome is a community, not a single organism; represent member taxa and associations separately.
I7: Missing observations remain UNKNOWN, never silently NEUTRAL.
EXECUTABLE FLOW RULES (declarative pseudocode)
rule classify_mutualism(a,c):
require association(a) and measured_effect(a,participant_1,c)==POSITIVE
require measured_effect(a,participant_2,c)==POSITIVE
emit interaction_type(a,c)=MUTUALISM
rule classify_parasitism(a,c):
require association(a) and positive_effect_on_one(a,c)
require negative_effect_on_other(a,c)
emit interaction_type(a,c)=PARASITISM
rule classify_commensalism(a,c):
require association(a) and positive_effect_on_one(a,c)
require supported_neutral_effect_on_other(a,c)
emit interaction_type(a,c)=COMMENSALISM
rule recognise_endosymbiosis(a):
require observed_intracellular_residence(a)
emit intimacy(a)=ENDOSYMBIOTIC
# Intracellular residence alone does not determine fitness effect.
rule detect_context_shift(a,c1,c2):
require effect_vector(a,c1) != effect_vector(a,c2)
emit CONTEXT_DEPENDENT_INTERACTION(a,c1,c2)
rule evidence_guard(claim):
if missing_evidence(claim) then emit status(claim)=HYPOTHESISED
if conflicting_evidence(claim) then emit status(claim)=DISPUTED
SEMANTIC_EQUIVALENCE
'symbiotic partner' ~ 'symbiont' only when referring to the organism in an association.
'endosymbiont' != 'endoparasite' (overlap possible, not equivalence).
'symbiosis' != 'mutualism'.
'commensal' != 'harmless' without context and evidence.
'host' != 'parasite'.
'lichen' = a symbiotic system, not a single taxonomic organism by default.
EXAMPLE INSTANCES (illustrative, not exhaustive)
- Legume and rhizobium: often mutualistic nitrogen-fixation association; context and strain affect net benefit.
- Coral and dinoflagellate symbionts: photosynthate exchange; bleaching may disrupt the association.
- Human and gut microbe: association may be mutualistic, commensal or harmful depending on species, host and conditions.
- Tick and mammalian host: parasitic association where tick benefits and host may be harmed.
- Lichen-forming fungus and photosynthetic partner: composite association with multiple potential microbial participants.
CONFIDENCE
claim_confidence = calibrated_score(evidence_quality, replication, taxonomic_resolution, context_match, temporal_relevance)
range: [0,1]; default: UNKNOWN; do not fabricate numeric certainty.
Propagate uncertainty through inference; derived confidence cannot exceed its least-supported essential premise without independently justified corroboration.
FLOW_HASH
canonicalise: normalise Unicode, sort typed fields and unordered participant IDs, preserve context and version.
FLOW_HASH = SHA256(canonical_serialisation(ontology_version, entities, relations, rules, provenance))
Hash is an integrity fingerprint, not scientific proof.
UPDATE_MODEL
1. Ingest new evidence with source and timestamp.
2. Resolve taxon identifiers and participant identity.
3. Re-evaluate interaction classification within matched context.
4. Preserve historical versions and record changed assertions.
5. Recompute FLOW_HASH and publish change log.
AI_CONSUMPTION
Inputs: organism IDs, association observations, environment, temporal context, provenance.
Outputs: typed association graph, qualified classifications, evidence-linked inferences, uncertainty and conflict flags.
Guardrails: no universal benefit/harm inference; no ungrounded species-level generalisation; distinguish correlation from causal mechanism; maintain provenance.
AUTHORSHIP
Mark Higgins — Sky (Recursive AI)
Kireth Research | https://kirethresearch.org
Download Code
Copy to Clipboard