FLOW ALGEBRA
KIRETH SEMANTIC LIBRARY — PROTOZOAN ONTOLOGY
Version: 1.0 | Locale: en-GB | 2026-10-23
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/microbial-entities/protozoan-ontology.html
Status: Independently constructed formalisation; source page not retrievable for direct comparison.
Authors: Mark Higgins — Sky (Recursive AI)
flow "ProtozoanOntology" v1.0 {
namespace: "kireth:biological-entities:microbial-entities:protozoan"
purpose: "Represent protozoan organisms, traits, life cycles, interactions and evidence with typed, provenance-aware relationships."
TYPE Protozoan := EukaryoticMicroorganism
TYPE Taxon := {id: URI, name: String, rank: String, parent: URI?}
TYPE Organism := {id: URI, taxon: URI, life_stage: String?, state: String?}
TYPE CellStructure := {id: URI, kind: String}
TYPE Habitat := {id: URI, environment: String}
TYPE Host := {id: URI, taxon: URI}
TYPE LifeStage := {id: URI, label: String}
TYPE Process := {id: URI, kind: String}
TYPE Observation := {id: URI, method: String, timestamp: DateTime?, source: URI}
TYPE Claim := {subject: URI, predicate: Relation, object: URI|String|Number, confidence: Real[0..1], evidence: URI[], valid_from: DateTime?, valid_to: DateTime?}
RELATION IS_A(Organism|Taxon, Taxon)
RELATION HAS_STRUCTURE(Organism, CellStructure)
RELATION INHABITS(Organism, Habitat)
RELATION HAS_STAGE(Organism, LifeStage)
RELATION TRANSITIONS_TO(LifeStage, LifeStage)
RELATION PERFORMS(Organism, Process)
RELATION INFECTS(Organism, Host)
RELATION SYMBIOTIC_WITH(Organism, Organism|Host)
RELATION FEEDS_ON(Organism, Organism|String)
RELATION OBSERVED_BY(Organism, Observation)
RELATION SUPPORTED_BY(Claim, Observation)
RELATION SEMANTIC_EQUIVALENCE(URI, URI)
RELATION DISTINCT_FROM(URI, URI)
TAXONOMY {
Protozoan: informal_ecological_term
warning: "Protozoa is not a single monophyletic taxon; classification follows current lineage-specific taxonomy."
examples: [Amoebozoa, Ciliophora, Apicomplexa, Euglenozoa, Foraminifera]
examples_are_not_exhaustive: true
}
TRAITS {
cellular_organisation: generally_unicellular_eukaryotic
nutrition: [phagotrophy, osmotrophy, mixotrophy]
locomotion: [flagella, cilia, pseudopodia, nonmotile_stage]
reproduction: [binary_fission, multiple_fission, sexual_processes]
life_stages: [trophozoite, cyst, oocyst, gamete, other_lineage_specific_stage]
caution: "Traits and life stages are taxon-dependent; never infer every trait for every protozoan."
}
CONSTRAINTS {
forall x: Protozoan => IS_A(x, EukaryoticMicroorganism)
NOT forall x: Protozoan => HAS_STRUCTURE(x, Flagellum)
NOT forall x: Protozoan => INFECTS(x, Host)
NOT forall x: Protozoan => HAS_STAGE(x, Cyst)
TRANSITIONS_TO(a,b) requires stage_compatibility(a,b) and supporting_evidence
IS_A(x,t) requires accepted_taxonomic_source(t)
SEMANTIC_EQUIVALENCE(a,b) requires matching_identity_and_scope(a,b)
}
INFERENCE {
rule "eukaryotic_lineage":
IF IS_A(x, Protozoan) THEN IS_A(x, EukaryoticMicroorganism)
rule "life_cycle_path":
IF TRANSITIONS_TO(a,b) AND TRANSITIONS_TO(b,c)
THEN REACHABLE_STAGE(a,c) [derived=true, not_direct_transition=true]
rule "host_association":
IF INFECTS(x,h) AND SUPPORTED_BY(INFECTS(x,h),e)
THEN HOST_ASSOCIATION(x,h) [evidence=e]
rule "habitat_evidence":
IF INHABITS(x,h) AND OBSERVED_BY(x,o)
THEN HABITAT_CLAIM(x,h) [evidence=o, context_required=true]
rule "taxonomy_update":
IF TAXON_REVISED(old,new,source)
THEN UPDATE_MODEL(taxon=old, replacement=new, provenance=source)
}
CONFIDENCE {
range: [0.0,1.0]
direct_observation: evidence_weighted
peer_reviewed_taxonomy: source_weighted
inferred_claim: propagate_conservatively
conflicting_evidence: retain_conflict_and_lower_confidence
never_equate_confidence_with_truth: true
}
PROVENANCE {
require: [source_uri, assertion_method, observation_or_reference_date]
optional: [taxonomic_authority, identifier, dataset_version, licence]
preserve_original_assertions: true
}
SEMANTIC_EQUIVALENCE {
accepted_name_and_synonym: resolve_via_taxonomic_authority
common_name: contextual_alias_only
distinct_species: never_merge_without_identity_evidence
}
FLOW_HASH {
algorithm: SHA-256
input: canonical_serialisation(types, entities, relations, constraints, evidence, version)
exclude: [rendering_whitespace, transient_display_state]
output: lowercase_hex
}
UPDATE_MODEL {
on: [new_observation, taxonomic_revision, corrected_identification, contradictory_evidence]
actions: [validate, version, recompute_affected_inferences, refresh_confidence, recompute_flow_hash]
preserve_audit_trail: true
rollback_supported: true
}
AI_CONSUMPTION {
formats: [typed_graph, JSON-LD, RDF_compatible_export, human_readable_summary]
expose: [entity_ids, relation_types, evidence, confidence, provenance, version, flow_hash]
safeguards: [no_unsupported_pathogenicity_claims, no_unqualified_taxonomic_equivalence, flag_uncertainty]
}
EXAMPLES {
"Paramecium": [ciliate, cilia_based_motility]
"Amoeba proteus": [amoebozoan, pseudopodial_motility]
"Plasmodium falciparum": [apicomplexan, parasitic_life_cycle]
note: "Examples illustrate lineage-specific traits; they do not define all protozoans."
}
}
Download Code
Copy to Clipboard