AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
HETEROTROPHIC ORGANISM ONTOLOGY
Kireth Semantic Library | Biological Entities | Organism Entities
Version: 1.0 | Locale: en-GB | Format: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organism-entities/heterotrophic-organism-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
1. PURPOSE
Represent organisms that obtain organic carbon from external organic compounds, distinguishing carbon source from energy source, trophic role, nutritional strategy and taxonomic identity. Support typed biological knowledge graphs, evidence-aware inference and updates.
2. TYPES
entity Organism {id:IRI, scientific_name:str?, taxon:IRI?, life_stage:str?, environment:IRI?}
entity Heterotroph <: Organism
entity NutritionalStrategy {id:IRI, label:str, carbon_source:IRI, energy_source:IRI?}
entity OrganicCompound {id:IRI, name:str, molecular_formula:str?}
entity CarbonSource {id:IRI, category:enum[organic,inorganic,mixed,unknown]}
entity EnergySource {id:IRI, category:enum[light,chemical,unknown]}
entity MetabolicPathway {id:IRI, name:str, pathway_type:str?}
entity EcologicalRole {id:IRI, label:str}
entity Habitat {id:IRI, label:str}
entity Evidence {id:IRI, method:str?, reference:IRI?, observed_at:datetime?, reliability:float?}
entity Assertion {subject:IRI, predicate:str, object:IRI|str, evidence:IRI?, confidence:float, valid_from:datetime?, valid_to:datetime?}
3. CLASSIFICATION
class Chemoheterotroph <: Heterotroph
class Photoheterotroph <: Heterotroph
class Saprotroph <: Heterotroph
class Consumer <: Heterotroph
class Parasite <: Heterotroph
class Mixotroph <: Organism
Notes:
- Chemoheterotroph: organic carbon source; chemical energy source.
- Photoheterotroph: organic carbon source; light energy source.
- Saprotroph: acquires nutrients from dead or decaying organic material, commonly via extracellular digestion.
- Consumer: ingests other organisms or organic material.
- Parasite: obtains resources from a host; may cause harm.
- Mixotroph: combines nutritional modes; do not infer exclusive heterotrophy.
- Decomposer is an ecological role, not a synonym for heterotroph.
- Carbon source, energy source and electron donor are distinct dimensions.
4. RELATIONSHIPS
relation HAS_CARBON_SOURCE(Organism,CarbonSource)
relation HAS_ENERGY_SOURCE(Organism,EnergySource)
relation USES_ORGANIC_COMPOUND(Organism,OrganicCompound)
relation HAS_NUTRITIONAL_STRATEGY(Organism,NutritionalStrategy)
relation USES_METABOLIC_PATHWAY(Organism,MetabolicPathway)
relation HAS_ECOLOGICAL_ROLE(Organism,EcologicalRole)
relation INHABITS(Organism,Habitat)
relation CONSUMES(Organism,Organism|OrganicCompound)
relation DECOMPOSES(Organism,OrganicCompound)
relation PARASITISES(Organism,Organism)
relation HAS_HOST(Organism,Organism)
relation BELONGS_TO_TAXON(Organism,IRI)
relation SUPPORTED_BY(Assertion,Evidence)
relation SEMANTIC_EQUIVALENCE(IRI,IRI)
relation SEMANTIC_SIMILARITY(IRI,IRI,float)
relation DEPENDS_ON(IRI,IRI)
5. FLOW RULES (DECLARATIVE PSEUDOCODE)
rule HETEROTROPHIC_CARBON:
when HAS_CARBON_SOURCE(o, organic_carbon) and evidence_sufficient(o)
infer INSTANCE_OF(o,Heterotroph)
rule CHEMOHETEROTROPH:
when INSTANCE_OF(o,Heterotroph) and HAS_ENERGY_SOURCE(o,chemical_energy)
infer INSTANCE_OF(o,Chemoheterotroph)
rule PHOTOHETEROTROPH:
when INSTANCE_OF(o,Heterotroph) and HAS_ENERGY_SOURCE(o,light_energy)
infer INSTANCE_OF(o,Photoheterotroph)
rule SAPROTROPHY:
when extracellular_degradation_observed(o,dead_organic_material)
and uptake_of_products_observed(o)
infer HAS_NUTRITIONAL_STRATEGY(o,saprotrophy)
rule PARASITISM:
when obtains_resources_from(o,host) and evidence_of_host_association(o,host)
infer HAS_ECOLOGICAL_ROLE(o,parasitic_role)
infer HAS_HOST(o,host)
# Do not automatically infer host harm or pathogenicity.
rule MIXOTROPHY:
when organic_carbon_assimilation_observed(o)
and inorganic_carbon_fixation_observed(o)
infer INSTANCE_OF(o,Mixotroph)
# Evidence may be condition-dependent; retain environmental context.
rule TROPHIC_RELATION:
when CONSUMES(predator,prey)
infer ecological_link(prey,predator,energy_transfer)
# Does not determine trophic level without food-web context.
6. CONSTRAINTS AND VALIDATION
- Every organism and evidence record requires a stable identifier.
- Confidence is a real number in [0,1]; unknown is represented explicitly, never silently as 1.
- Nutritional mode may vary with developmental stage, light, substrate or environment.
- Do not classify all fungi, animals, protists or bacteria solely from broad taxon labels without contextual evidence.
- An organism may exhibit multiple ecological roles and metabolic strategies.
- Organic carbon uptake alone does not establish an exclusive carbon strategy.
- Missing evidence is not evidence of absence (open-world semantics).
- Avoid asserting a universal one-to-one mapping between species and trophic role.
7. CONFIDENCE AND PROVENANCE
confidence(assertion) := calibrated_evidence_score(evidence_set,method_quality,context_match)
combine_independent_evidence := calibrated_aggregation(evidence_set)
conflicting_evidence := preserve_all_claims_and_flag_review
provenance := {source_uri, evidence_id, observation_method, timestamp, curator, version}
Inference confidence must not exceed its weakest indispensable premise without a justified calibration model.
8. SEMANTIC EQUIVALENCE
Heterotroph ≈ organism using externally sourced organic carbon (scope: carbon nutrition).
Chemoheterotroph != Photoheterotroph.
Heterotroph != Consumer; Heterotroph != Decomposer; Heterotroph != Parasite.
Heterotroph and Autotroph are not necessarily mutually exclusive across conditions or life stages.
Use SKOS exactMatch only for validated concept equivalence; use closeMatch for near-equivalent vocabularies.
9. FLOW_HASH
canonicalise: UTF-8 NFC; sort typed entities, relations and rules by stable identifiers; normalise whitespace; preserve version and scope.
FLOW_HASH := SHA-256(canonical_semantic_payload)
Hash is computed by the consuming implementation, not claimed as a precomputed value here.
10. UPDATE_MODEL
on new_evidence:
validate_schema -> attach_provenance -> detect_conflicts -> revise_assertion_confidence
-> recompute_affected_inferences -> increment_version -> recompute_FLOW_HASH
Maintain history; do not overwrite contradictory source observations.
11. AI_CONSUMPTION
input: typed entity graph + contextual evidence + requested query
process: resolve identity -> check source/conditions -> evaluate rules -> propagate provenance -> calibrate confidence
output: {answer, inferred_relations, supporting_evidence, confidence, caveats, ontology_version, flow_hash}
Never present inferred relations as directly observed; flag unknown or mixed nutritional modes.
12. EXAMPLE
organism: Example_Photoheterotrophic_Bacterium
HAS_CARBON_SOURCE: organic_carbon
HAS_ENERGY_SOURCE: light_energy
INFERENCE: Photoheterotroph and Heterotroph, conditional on supporting observations.
No specific species identity or universal metabolism is asserted by this example.
END FLOW ALGEBRA