Skip to main content

Host Entity 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
Host Entity Ontology — Full Flow Algebra v1.0
Kireth Semantic Library
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/host-entity-ontology.html
Status: Proposed formalisation; not a verified transcription of the source webpage.
Locale: en-GB

flow "HostEntityOntology" v1.0

# 1. PURPOSE
# Model host entities and their context-dependent relationships with parasites,
# pathogens, symbionts and other associated organisms. Host is a relational role,
# not an immutable taxonomic class.

ontology:
  id: kireth:biological.ecological.host_entity
  label: "Host Entity Ontology"
  parent: kireth:biological.ecological.ecological_entity
  scope: [individual_host, host_population, host_species, host_association]

# 2. TYPED ENTITIES
entity HostEntity:
  fields:
    id: URI
    taxon_id: URI?
    organism_id: URI?
    life_stage: String?
    health_state: String?
    location_id: URI?
    observation_interval: TimeInterval?
    evidence: EvidenceRef[]
  constraints:
    - "id is unique"
    - "organism_id or taxon_id must be supplied"

entity AssociatedOrganism:
  fields:
    id: URI
    taxon_id: URI?
    biological_role: Enum[parasite, pathogen, commensal, mutualist, parasitoid, other]
    evidence: EvidenceRef[]

entity HostAssociation:
  fields:
    id: URI
    host_id: URI
    associate_id: URI
    association_type: Enum[parasitism, infection, mutualism, commensalism, parasitoidism, other]
    host_role: Enum[definitive, intermediate, paratenic, reservoir, incidental, vector, unspecified]?
    start_time: DateTime?
    end_time: DateTime?
    anatomical_site: String?
    outcome: Enum[beneficial, neutral, harmful, mixed, unknown]
    evidence: EvidenceRef[]
    confidence: Probability
  constraints:
    - "0 <= confidence <= 1"
    - "end_time >= start_time when both are known"
    - "host_id != associate_id for distinct-organism associations"
    - "host_role requires organism- and lifecycle-specific evidence"

entity TransmissionEvent:
  fields:
    id: URI
    agent_id: URI
    source_host_id: URI?
    destination_host_id: URI?
    route: Enum[direct, vector_borne, environmental, vertical, trophic, unknown]
    event_time: DateTime?
    evidence: EvidenceRef[]
    confidence: Probability

entity EvidenceRef:
  fields:
    source_id: URI
    method: String?
    observed_at: DateTime?
    provenance: String?

# 3. RELATIONSHIPS
relations:
  HOSTS: HostEntity -> AssociatedOrganism
  PARTICIPATES_IN: HostEntity -> HostAssociation
  ASSOCIATED_WITH: AssociatedOrganism -> HostAssociation
  HAS_TAXON: HostEntity -> Taxon
  OCCURS_IN: HostEntity -> Habitat
  HAS_LIFE_STAGE: HostEntity -> LifeStage
  TRANSMITS_TO: HostEntity -> HostEntity [via TransmissionEvent]
  PROVIDES_RESOURCE_TO: HostEntity -> AssociatedOrganism
  AFFECTS_FITNESS_OF: AssociatedOrganism -> HostEntity

# 4. SEMANTIC DISTINCTIONS
semantic_rules:
  - "Host is not synonymous with prey: hosting need not involve consumption."
  - "Host is not synonymous with vector: vector denotes a transmission role."
  - "Reservoir host is not automatically equivalent to asymptomatic host."
  - "Definitive host is defined by parasite development/reproduction, not severity."
  - "An organism may simultaneously host multiple associates with different roles."
  - "A species-level host claim must not be inferred solely from one individual."
  - "Host status can vary with time, life stage, locality and associate taxon."

# 5. INFERENCE RULES
rule "ObservedHostAssociation":
  when:
    - "association.host_id == host.id"
    - "association.associate_id == associate.id"
    - "association.evidence is nonempty"
  infer:
    - "HOSTS(host, associate) [qualified_by association]"
  confidence: "association.confidence"

rule "PotentialHost":
  when:
    - "documented host compatibility exists"
    - "ecological exposure is plausible"
  infer:
    - "POTENTIAL_HOST(host, associate)"
  guard: "Do not infer an observed infection or association."

rule "TransmissionCandidate":
  when:
    - "event.source_host_id is known"
    - "event.destination_host_id is known"
    - "event.evidence is nonempty"
  infer:
    - "POSSIBLE_TRANSMISSION(source, destination, agent)"
  guard: "Do not infer direction or causality beyond the evidence."

rule "DefinitiveHostRole":
  when:
    - "parasite sexual reproduction or required maturation is documented in host"
  infer:
    - "HOST_ROLE(host, parasite, definitive)"
  guard: "Interpret relative to the parasite's documented lifecycle."

# 6. INVARIANTS AND VALIDATION
invariants:
  I1: "Every HostAssociation references resolvable host and associate identifiers."
  I2: "Every derived assertion retains evidence and provenance."
  I3: "Host role is scoped to a particular associated organism and context."
  I4: "Unknown outcome is not silently converted into neutral outcome."
  I5: "A potential host claim is not promoted to an observed host claim."
  I6: "Missing evidence is not equivalent to evidence of absence."

validation:
  on_failure: [reject_invalid_assertion, log_reason, preserve_source_record]
  duplicate_policy: "merge only when identifiers and contexts match"
  temporal_policy: "preserve observation and validity intervals"

# 7. CONFIDENCE
CONFIDENCE:
  domain: "[0,1]"
  inputs: [evidence_quality, identification_reliability, temporal_relevance, independent_replication]
  policy: "Calibrate per evidence type; never treat illustrative weights as measured probabilities."
  propagation: "Derived confidence cannot exceed weakest indispensable premise without independent evidence."

# 8. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  exact: ["host organism", "host entity"]
  contextual: ["reservoir host", "carrier", "vector", "host species"]
  exclusions: ["prey", "predator", "parasite"]
  rule: "Require matched taxon, associated organism, role, lifecycle and temporal context before merging."

# 9. FLOW HASH AND PROVENANCE
FLOW_HASH:
  algorithm: SHA-256
  canonicalise: [ontology_id, version, entity_ids, relation_types, evidence_ids, context]
  output: "hex_digest(canonical_serialisation)"
  note: "Digest is computed by an implementation; no digest is fabricated here."

# 10. UPDATE MODEL
UPDATE_MODEL:
  events: [host_observed, associate_identified, role_revised, transmission_recorded, evidence_retracted]
  operations: [validate, version, recompute_affected_inferences, preserve_history, refresh_hash]
  conflict_policy: "retain competing claims with provenance until adjudicated"
  deletion_policy: "tombstone withdrawn claims; preserve audit trail"

# 11. AI CONSUMPTION
AI_CONSUMPTION:
  output_types: [typed_graph, contextual_claims, provenance_bundle, confidence_metadata]
  required_fields: [entity_id, relation, context, evidence, confidence, ontology_version]
  safeguards:
    - "Differentiate observation, hypothesis and inference."
    - "Report uncertainty and temporal limits."
    - "Do not infer infection, pathogenicity or transmission without evidence."
    - "Do not interpret ecological associations as clinical diagnoses."

# 12. EXAMPLE (ILLUSTRATIVE, NOT OBSERVATIONAL DATA)
example:
  host: "example:host_01"
  associate: "example:parasite_01"
  association: "example:association_01"
  type: parasitism
  role: unspecified
  confidence: null  # Unknown until evidence is supplied
  status: hypothetical

# 13. OUTPUT CONTRACT
emit:
  format: "UTF-8 plain text / typed semantic graph"
  include: [validated_entities, qualified_relations, evidence, uncertainty, version, flow_hash_if_computed]
  exclude: [unsupported_causal_claims, invented_measurements, unverified_host_roles]

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