Skip to main content

Symbiont Ontology

Ecological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 26 October 2026
Audio Overview
FLOW ALGEBRA
Symbiont Ontology — Full Flow Algebra v1.0
Kireth Semantic Library
Authors: Mark Higgins — Sky (Recursive AI)
Source topic: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/symbiont-ontology.html
Status: Proposed formalisation; not a verified transcription of the webpage.
Date: 2026-10-26

flow "SymbiontOntology" v1.0

# 01 — DOMAIN
namespace: kireth.biological.ecological.symbiont
locale: en-GB
scope: organisms engaged in sustained close biological associations
assumptions:
  - symbiosis is an association, not necessarily mutually beneficial
  - ecological outcomes are context-dependent and may change over time
  - roles are relative to an association, not permanent taxonomic identities

# 02 — TYPES
entity Symbiont <: Organism {
  id: URI
  taxon: TaxonRef?
  life_stage: String?
  physiological_state: String?
}
entity PartnerOrganism <: Organism { id: URI; taxon: TaxonRef? }
entity SymbioticAssociation {
  id: URI
  participants: Set<OrganismRef>   # cardinality >= 2
  interaction_type: InteractionType
  obligacy: Obligacy
  transmission: TransmissionMode?
  start_time: Timestamp?
  end_time: Timestamp?
  habitat: HabitatRef?
  evidence: Set<EvidenceRef>
}
entity InteractionObservation {
  id: URI
  association: AssociationRef
  observer: AgentRef?
  time: Timestamp
  environmental_context: ContextRef?
  fitness_effects: Map<OrganismRef, EffectEstimate>
  confidence: Probability
}
entity ResourceExchange { donor: OrganismRef; recipient: OrganismRef; resource: ResourceRef; rate: Quantity? }
entity HostRole { host: OrganismRef; occupant: OrganismRef; association: AssociationRef }

# 03 — ENUMERATIONS
InteractionType = {mutualism, commensalism, parasitism, amensalism, context_dependent, unresolved}
Obligacy = {obligate, facultative, mixed, unknown}
TransmissionMode = {vertical, horizontal, mixed, unknown}
EffectSign = {beneficial, neutral, harmful, uncertain}

# 04 — RELATIONSHIPS
relation PARTICIPATES_IN(Symbiont, SymbioticAssociation)
relation ASSOCIATED_WITH(Organism, Organism)
relation HOSTED_BY(Symbiont, PartnerOrganism)
relation EXCHANGES_RESOURCE_WITH(Organism, Organism, Resource)
relation TRANSMITTED_VIA(Symbiont, TransmissionMode)
relation OCCURS_IN(SymbioticAssociation, Habitat)
relation OBSERVED_BY(InteractionObservation, Agent)
relation SUPPORTED_BY(Claim, Evidence)
relation PART_OF_COMMUNITY(Symbiont, BiologicalCommunity)
relation AFFECTS_FITNESS_OF(SymbioticAssociation, Organism, EffectEstimate)

# 05 — FORMAL SEMANTICS
PARTICIPATES_IN(s, a) => Symbiont(s) AND SymbioticAssociation(a)
HOSTED_BY(s, h) => Organism(s) AND Organism(h)
ASSOCIATED_WITH(x, y) => ASSOCIATED_WITH(y, x)  # association only; not benefit
PARTICIPATES_IN(x, a) AND PARTICIPATES_IN(y, a) AND x != y
  => ASSOCIATED_WITH(x, y)

# 06 — FITNESS-EFFECT CLASSIFICATION
# Effects are estimates relative to an explicitly defined counterfactual.
classify(e_x, e_y, epsilon):
  if evidence_insufficient: return unresolved
  if e_x > epsilon AND e_y > epsilon: return mutualism
  if e_x > epsilon AND abs(e_y) <= epsilon: return commensalism
  if e_y > epsilon AND abs(e_x) <= epsilon: return commensalism
  if e_x > epsilon AND e_y < -epsilon: return parasitism
  if e_y > epsilon AND e_x < -epsilon: return parasitism
  if e_x < -epsilon AND abs(e_y) <= epsilon: return amensalism
  if e_y < -epsilon AND abs(e_x) <= epsilon: return amensalism
  return context_dependent
# A negative/negative outcome does not automatically establish a named symbiosis type.

# 07 — INFERENCE RULES
rule SymbioticPartner:
  PARTICIPATES_IN(x, a) AND PARTICIPATES_IN(y, a) AND x != y
  -> ASSOCIATED_WITH(x, y)
rule PotentialHostAssociation:
  HOSTED_BY(s, h) -> ASSOCIATED_WITH(s, h)
rule ResourceTransfer:
  EXCHANGES_RESOURCE_WITH(x, y, r) -> ASSOCIATED_WITH(x, y)
rule ContextSensitiveClassification:
  observed_effects(a, context_1) != observed_effects(a, context_2)
  -> FLAG(a, "classification may vary by context")
rule TransmissionEvidence:
  parent_to_offspring_transfer(s) -> CANDIDATE_TRANSMISSION(s, vertical)
# Candidate rules are defeasible: supporting evidence is required before confirmation.

# 08 — INVARIANTS AND VALIDATION
invariant AssociationMinimum: count(a.participants) >= 2
invariant UniqueParticipants: no_duplicates(a.participants)
invariant TemporalOrder: a.end_time == null OR a.start_time == null OR a.end_time >= a.start_time
invariant ConfidenceBounds: 0.0 <= observation.confidence <= 1.0
invariant ValidRoles: host_role.host != host_role.occupant
invariant EvidenceTraceability: inferred_claim.provenance != null
invariant EffectContext: fitness_effect.context != null
invariant NoAutomaticBenefit: ASSOCIATED_WITH(x,y) does_not_imply benefits(x,y)
invariant NoAutomaticHost: PARTICIPATES_IN(s,a) does_not_imply HOSTED_BY(s,h)

# 09 — QUANTITATIVE MODEL
# Optional continuous-time model of two populations with interaction terms.
dN1_dt = r1*N1*(1 - N1/K1) + alpha12*N1*N2
dN2_dt = r2*N2*(1 - N2/K2) + alpha21*N1*N2
constraints: N1 >= 0; N2 >= 0; K1 > 0; K2 > 0
interpretation:
  alpha12 > 0 and alpha21 > 0: potentially mutually positive effects
  alpha12 > 0 and alpha21 < 0: potentially exploitative interaction
  coefficients require estimation; model is illustrative, not universally valid

# 10 — CONFIDENCE
CONFIDENCE(claim):
  input: evidence_quality, reproducibility, sampling_coverage, contextual_fit
  output: bounded_probability[0,1]
  rule: missing_evidence -> unresolved_not_false
  rule: conflicting_evidence -> retain_alternatives_and_provenance

# 11 — SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  canonical: "symbiont"
  close_terms: ["symbiotic organism", "symbiotic partner"]
  context_dependent_terms: ["mutualist", "commensal", "parasite", "endosymbiont", "ectosymbiont"]
  forbidden_unqualified_equivalence:
    - "symbiont == mutualist"
    - "symbiosis == mutualism"
    - "host == beneficiary"
  matching_policy: require_role_context_and_taxonomic_identity_when_available

# 12 — FLOW_HASH
FLOW_HASH:
  algorithm: SHA-256
  canonicalisation: UTF-8 + Unicode NFC + deterministic key ordering
  exclude: [volatile_access_timestamp, transient_render_metadata]
  input: canonical_schema + canonical_relationships + rule_versions
  output: hex_digest
  purpose: change_detection_and_integrity

# 13 — UPDATE_MODEL
UPDATE_MODEL:
  immutable_event_log: true
  operations: [CREATE, REVISE, SUPERSEDE, RETRACT, MERGE_ALIAS]
  preserve: [prior_version, source, timestamp, reason, evidence]
  conflict_policy: do_not_silently_overwrite
  revalidate: [type_constraints, association_roles, inference_dependencies]
  trigger_recompute: [fitness_classification, confidence, flow_hash, AI_consumption_index]

# 14 — AI_CONSUMPTION
AI_CONSUMPTION:
  expose: [canonical_id, definition, participants, roles, interaction_type,
           obligacy, transmission, environmental_context, evidence,
           confidence, provenance, version, flow_hash]
  inference_mode: typed_and_provenance_aware
  unknown_handling: explicit_unknown
  classification_policy: never_assume_mutual_benefit_from_symbiosis
  output_modes: [human_readable, structured_graph, machine_reasoning]

# 15 — TEST CASES
TEST mutualism: positive_effect(A) AND positive_effect(B) -> mutualism_candidate
TEST parasitism: positive_effect(A) AND negative_effect(B) -> parasitism_candidate
TEST unknown: insufficient_effect_evidence -> unresolved
TEST context: changing_effect_signs -> reclassify_with_context
TEST validity: single_participant_association -> reject
TEST provenance: unsupported_inferred_claim -> flag

# 16 — CROSS-ONTOLOGY LINKS
links:
  - ecological-entity-ontology
  - individual-organism-entity-ontology
  - biological-community-ontology
  - ecosystem-ontology
  - host-entity-ontology
  - parasite-ontology
  - ecological-niche-ontology
  - population-ontology

# 17 — LIMITATIONS
# This is a declarative, implementation-oriented Flow Algebra specification.
# It is not directly executable without a parser, type checker, and inference engine.
# Symbiosis terminology varies across research traditions; classifications require
# explicit operational definitions, time scales, and ecological evidence.

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ