FLOW ALGEBRA
BENEFICIAL MICROORGANISM ONTOLOGY — v1.0
Kireth Semantic Library | Biological Entities > Microbial Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/microbial-entities/beneficial-microorganism-ontology.html
Status: Independently constructed formalisation; source page not retrieved for verification.
Authors: Mark Higgins — Sky (Recursive AI)
flow "BeneficialMicroorganismOntology" v1.0 {
DOMAIN: BiologicalEntities.MicrobialEntities
ROOT_ENTITY: BeneficialMicroorganism
LOCALE: en-GB
# 1. TYPE SYSTEM
type Microorganism: BiologicalEntity
type BeneficialMicroorganism: Microorganism
type Host: BiologicalOrganism
type PlantHost: Host
type AnimalHost: Host
type MicrobialCommunity: BiologicalCommunity
type Habitat: EnvironmentalEntity
type Benefit: FunctionalOutcome
type Evidence: ResearchObservation
type Metabolite: ChemicalEntity
type Nutrient: ChemicalEntity
type Process: BiologicalProcess
type Strain: TaxonomicOrGeneticIdentifier
type Context: EnvironmentalOrHostContext
enum BenefitCategory {
NUTRIENT_CYCLING, NITROGEN_FIXATION, PLANT_GROWTH_PROMOTION,
DIGESTIVE_SUPPORT, COMPETITIVE_EXCLUSION, BIOREMEDIATION,
FERMENTATION, SYMBIOSIS, BIOCONTROL, METABOLITE_PRODUCTION
}
enum EvidenceStatus { HYPOTHESISED, OBSERVED, REPLICATED, DISPUTED }
enum InteractionType { MUTUALISTIC, COMMENSAL, CONTEXT_DEPENDENT, ANTAGONISTIC }
# 2. ENTITY GRAPH
entity BeneficialMicroorganism {
identifier: str
scientific_name: str?
strain_id: str?
taxonomic_lineage: list[str]?
functional_roles: set[BenefitCategory]
habitats: set[Habitat]
evidence_records: list[Evidence]
}
# 3. TYPED RELATIONSHIPS
relation IS_A(BeneficialMicroorganism, Microorganism)
relation BELONGS_TO_STRAIN(Microorganism, Strain)
relation OCCURS_IN(Microorganism, Habitat)
relation MEMBER_OF(Microorganism, MicrobialCommunity)
relation INTERACTS_WITH(Microorganism, Host)
relation PRODUCES(Microorganism, Metabolite)
relation TRANSFORMS_NUTRIENT(Microorganism, Nutrient)
relation PARTICIPATES_IN(Microorganism, Process)
relation CONFERS_BENEFIT(Microorganism, Host, Benefit, Context)
relation SUPPORTED_BY(Benefit, Evidence)
relation DEPENDS_ON(Benefit, Context)
# 4. SEMANTIC CONSTRAINTS
constraint BENEFIT_IS_CONTEXTUAL:
CONFERS_BENEFIT(m,h,b,c) requires SUPPORTED_BY(b,e)
and e.context compatible_with c
constraint NOT_ALL_MEMBERS_EQUIVALENT:
beneficial(m1,c) does_not_imply beneficial(m2,c)
merely_because same_species(m1,m2)
constraint NO_UNIVERSAL_SAFETY_INFERENCE:
beneficial(m,c) does_not_imply safe_for_all_hosts(m)
constraint ASSOCIATION_NOT_CAUSATION:
CORRELATED_WITH(m,b) does_not_imply CAUSES(m,b)
# 5. FUNCTIONAL SUBTYPES (NON-EXCLUSIVE)
subtype NitrogenFixingMicroorganism: BeneficialMicroorganism
subtype PlantGrowthPromotingMicroorganism: BeneficialMicroorganism
subtype FermentativeMicroorganism: BeneficialMicroorganism
subtype BioremediationMicroorganism: BeneficialMicroorganism
subtype BiocontrolMicroorganism: BeneficialMicroorganism
subtype HostAssociatedBeneficialMicroorganism: BeneficialMicroorganism
# 6. EXAMPLE GRAPH ASSERTIONS (ILLUSTRATIVE, NOT UNIVERSAL)
example:
RhizobiumSymbiont IS_A NitrogenFixingMicroorganism
RhizobiumSymbiont INTERACTS_WITH LegumeHost
RhizobiumSymbiont PARTICIPATES_IN BiologicalNitrogenFixation
BiologicalNitrogenFixation DEPENDS_ON CompatibleHostAndConditions
example:
FermentationYeast IS_A FermentativeMicroorganism
FermentationYeast PARTICIPATES_IN Fermentation
FermentationYeast PRODUCES FermentationMetabolites
# 7. INFERENCE ENGINE
rule R01: IS_A(x, BeneficialMicroorganism)
-> IS_A(x, Microorganism)
rule R02: CONFERS_BENEFIT(m,h,b,c) and SUPPORTED_BY(b,e)
and adequate(e) -> CANDIDATE_BENEFICIAL_IN(m,c)
rule R03: CANDIDATE_BENEFICIAL_IN(m,c) and replicated(e)
and applicable(e,c) -> SUPPORTED_BENEFICIAL_IN(m,c)
rule R04: SUPPORTED_BENEFICIAL_IN(m,c1) and different(c1,c2)
-> REQUIRE_REVALIDATION(m,c2)
rule R05: MEMBER_OF(m,community) and SUPPORTED_BENEFICIAL_IN(m,c)
-> POSSIBLE_FUNCTIONAL_CONTRIBUTOR(m,community,c)
# Does not infer a net community-level benefit.
rule R06: PRODUCES(m,metabolite) and measured_effect(metabolite,b,c)
-> CANDIDATE_MECHANISM(m,b,c)
# Mechanism requires independent validation.
# 8. CONFIDENCE AND UNCERTAINTY
CONFIDENCE(claim): float in [0.0, 1.0]
confidence_inputs:
- evidence_quality
- independent_replication
- strain_specificity
- context_match
- methodological_bias
- contradictory_findings
confidence_policy:
no_default_numeric_certainty: true
preserve_uncertainty: true
do_not_infer_from_taxonomy_alone: true
# 9. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE("beneficial microbe", "beneficial microorganism"):
scope: general_terminology
status: context_dependent
SEMANTIC_EQUIVALENCE("probiotic", "beneficial microorganism"):
status: false_as_global_equivalence
reason: probiotic is a narrower evidence- and use-dependent designation
# 10. FLOW HASH AND PROVENANCE
FLOW_HASH:
algorithm: SHA-256
canonical_inputs:
- flow_version
- entity_identifiers
- typed_relations
- inference_rules
- evidence_references
canonicalisation: deterministic_UTF-8
output: computed_at_runtime
PROVENANCE:
source_url: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/microbial-entities/beneficial-microorganism-ontology.html
source_verification: unavailable
origin: independent_formalisation
author_credit: "Mark Higgins — Sky (Recursive AI)"
claim_requirements: source_identifier, date, method, context, uncertainty
# 11. RECURSIVE UPDATE MODEL
UPDATE_MODEL(new_evidence):
validate_schema(new_evidence)
link_to_claim_and_context(new_evidence)
retain_prior_claim_versions()
recompute_evidence_status()
recompute_confidence_without_fabricated_values()
invalidate_context_incompatible_inferences()
recalculate_FLOW_HASH()
publish_change_log()
# 12. AI CONSUMPTION
AI_CONSUMPTION:
outputs:
- typed_entity_graph
- contextual_benefit_claims
- provenance_trails
- evidence_status
- confidence_with_limitations
- versioned_change_log
safeguards:
- do_not_equate_taxonomic_identity_with_benefit
- do_not_infer_clinical_efficacy_without_evidence
- do_not_infer_universal_host_safety
- distinguish_observation_from_causation
- preserve_strain_and_environmental_context
# 13. VALIDATION
tests:
- infer_microorganism_from_beneficial_subtype: pass_expected
- reject_universal_safety_from_benefit: pass_expected
- require_context_for_benefit: pass_expected
- reject_species_wide_strain_extrapolation: pass_expected
- preserve_evidence_provenance: pass_expected
- require_revalidation_after_context_change: pass_expected
OUTPUT: ContextualBeneficialMicroorganismKnowledgeGraph
}
END FLOW
Download Code
Copy to Clipboard