Skip to main content

Producer Organism 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
Producer Organism Ontology — Full Flow Algebra v1.0
Kireth Semantic Library | Biological Entities / Ecological Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source ontology: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/producer-organism-ontology.html
Status: Proposed formalisation; not a verified transcription of source page.

flow "ProducerOrganismOntology" v1.0

# 01 — DOMAIN AND TYPED ENTITIES
namespace: kireth.biological.ecological.producer
locale: en-GB

type Entity = { id: URI, label: String, provenance: URI?, valid_at: DateTime? }
type Organism extends Entity = { taxon: URI?, life_stage: String?, alive: Bool? }
type ProducerOrganism extends Organism = {
  primary_production_mode: ProductionMode,
  habitat: URI?, ecosystem: URI?,
  photosynthetic_pigments: Set<String>?,
  carbon_source: CarbonSource,
  energy_source: EnergySource
}
enum ProductionMode = { oxygenic_photosynthesis, anoxygenic_photosynthesis, chemosynthesis, mixed }
enum CarbonSource = { inorganic_carbon, organic_carbon, mixed, unknown }
enum EnergySource = { light, chemical_oxidation, mixed, unknown }
type PrimaryProduction extends Entity = { producer: URI, rate: Real?, unit: String?, period: Interval?, gross: Bool }
type Resource extends Entity = { kind: String, concentration: Real?, unit: String? }
type Habitat extends Entity = { abiotic_conditions: Map<String, Quantity> }
type Ecosystem extends Entity = { location: URI?, biome: URI? }
type TrophicRole extends Entity = { role: String, context: URI }
type Observation extends Entity = { subject: URI, property: String, value: Any, method: String?, uncertainty: Real? }

# 02 — ONTOLOGICAL CLASSIFICATION
axiom ProducerOrganism subset_of Organism
axiom ProducerOrganism has_role primary_producer when autotrophic_carbon_fixation_observed
note "Producer" is a context-sensitive trophic role, not a universal taxonomic category.
note "Plants, algae and some bacteria/archaea may be producers; not every member of these groups is necessarily autotrophic."
note "Mixotrophs may combine autotrophic and heterotrophic nutrition."

# 03 — RELATIONSHIPS
relation INHABITS(Organism, Habitat)
relation MEMBER_OF_ECOSYSTEM(Organism, Ecosystem)
relation FIXES_CARBON(ProducerOrganism, Resource)
relation USES_ENERGY_SOURCE(ProducerOrganism, EnergySource)
relation USES_NUTRIENT(ProducerOrganism, Resource)
relation PERFORMS(ProducerOrganism, PrimaryProduction)
relation CONTRIBUTES_TO(PrimaryProduction, Ecosystem)
relation CONSUMED_BY(ProducerOrganism, Organism)
relation COMPETES_FOR(Organism, Organism, Resource)
relation SUPPORTS_TROPHIC_LEVEL(ProducerOrganism, TrophicRole)
relation OBSERVED_BY(Entity, Observation)

# 04 — SEMANTIC CONSTRAINTS
constraint unique_entity_id: all Entity.id are unique within graph snapshot
constraint positive_rates: PrimaryProduction.rate >= 0 when rate is reported as a nonnegative flux
constraint rate_units: production rates must specify area/volume or organism basis and time basis
constraint gross_net_distinction: gross and net primary production must not be conflated
constraint evidence_required: asserted production mode requires observation or cited provenance
constraint temporal_context: trophic role claims specify ecosystem and observation interval where available
constraint no_taxonomic_inference: membership in a plant/algal/microbial taxon alone does not prove current production

# 05 — FLOW OPERATORS
operator CLASSIFY_PRODUCER(o: Organism, observations: Set<Observation>) -> ProducerOrganism?
  require evidence_of_inorganic_carbon_assimilation(o, observations)
  infer production_mode from measured energy and carbon acquisition
  return typed_producer(o) with evidence references

operator GROSS_PRIMARY_PRODUCTION(P: Real, R_auto: Real) -> Real
  require P >= 0 and R_auto >= 0
  return P + R_auto
  # P denotes net primary production; consistent spatial and temporal units required.

operator NET_PRIMARY_PRODUCTION(GPP: Real, R_auto: Real) -> Real
  require GPP >= 0 and R_auto >= 0
  return GPP - R_auto
  # Net flux can be negative for a specified interval; do not clamp to zero.

operator TRANSFER_ENERGY(available: Real, efficiency: Real) -> Real
  require available >= 0 and 0 <= efficiency <= 1
  return available * efficiency
  # Efficiency must be measured or explicitly assumed, not universally fixed at 10%.

operator RESOURCE_LIMITATION(resources: Map<String, Real>, response_model: Model) -> Result
  require response_model.valid_for(resources)
  return response_model.predict(resources)
  # No universal single-resource minimum is assumed.

# 06 — INFERENCE RULES
rule R1: IF o fixes inorganic carbon using light energy THEN classify o as photoautotrophic producer [context-dependent]
rule R2: IF o fixes inorganic carbon using chemical oxidation energy THEN classify o as chemoautotrophic producer [context-dependent]
rule R3: IF producer p is consumed by consumer c THEN p contributes biomass/energy to c's food pathway, subject to assimilation evidence
rule R4: IF measured GPP and autotrophic respiration share units and period THEN derive NPP = GPP - respiration
rule R5: IF environmental conditions change THEN reassess production rates; direction and magnitude require a specified response model
rule R6: IF organism is mixotrophic THEN preserve multiple nutritional modes rather than forcing one exclusive label
rule R7: IF photosynthesis is observed THEN do not infer net oxygen release without pathway and measurement evidence

# 07 — INVARIANTS
invariant I1: entity identifiers remain stable across non-identity-changing updates
invariant I2: source evidence and provenance are preserved for derived assertions
invariant I3: energy and carbon quantities are not interchangeable
invariant I4: gross production, net production, and standing biomass are distinct measures
invariant I5: trophic assignments are explicitly scoped to ecosystem and time
invariant I6: dimensional consistency holds across flux calculations

# 08 — CONFIDENCE
CONFIDENCE:
  scale: [0.0, 1.0]
  fields: [score, method, sample_size, uncertainty, provenance, assessed_at]
  policy: "Scores require calibration; missing evidence is unknown, not zero confidence."
  aggregation: "Do not multiply confidence scores without a justified probabilistic model."

# 09 — SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  primary_producer: "organism performing primary production in a specified context"
  autotroph: "organism capable of synthesising organic carbon from inorganic carbon"
  photoautotroph: "autotroph using light as energy source"
  chemoautotroph: "autotroph using chemical oxidation as energy source"
  non_equivalences:
    - "producer != plant"
    - "autotroph != photosynthetic organism"
    - "primary production != total ecosystem production"
    - "biomass != primary productivity"

# 10 — FLOW HASH AND PROVENANCE
FLOW_HASH:
  canonicalisation: "UTF-8; normalised identifiers; sorted unordered sets; explicit units"
  algorithm: SHA-256
  input: "canonical ontology assertions + rule version + provenance references"
  output: "hex digest computed by implementation"
  note: "No digest is asserted without actual canonical serialisation and hashing."

# 11 — UPDATE MODEL
UPDATE_MODEL:
  operations: [CREATE, REVISE, DEPRECATE, MERGE_WITH_PROVENANCE, RETRACT]
  immutable: [original_observation, original_provenance, historical_snapshot]
  on_new_observation:
    - validate units, methods and identity
    - append observation with timestamp
    - recompute affected producer classifications and fluxes
    - record changed assertions and confidence
    - issue new graph version and recompute FLOW_HASH
  conflict_policy: "Preserve conflicting observations; resolve only with documented evidence."

# 12 — AI CONSUMPTION
AI_CONSUMPTION:
  export: [typed_entities, relations, evidence, derived_assertions, constraints, confidence, versions]
  query_examples:
    - "Which organisms perform primary production in this ecosystem?"
    - "Which producers use chemical rather than light energy?"
    - "What is the measured NPP for this habitat and interval?"
    - "Which consumers rely on the recorded producer biomass?"
  response_policy:
    - distinguish observations from inferences
    - state ecosystem, time window and measurement units
    - disclose missing data and competing explanations
    - do not invent productivity figures or confidence values

# 13 — VALIDATION TESTS
assert NET_PRIMARY_PRODUCTION(100, 30) == 70
assert NET_PRIMARY_PRODUCTION(10, 15) == -5
assert TRANSFER_ENERGY(100, 0.2) == 20
reject TRANSFER_ENERGY(100, 1.2)
reject production_rate_without_unit_or_basis
reject taxon_only_producer_classification_without_evidence

# 14 — INTEROPERABILITY
links:
  parent: "Ecological Entity Ontology"
  related: ["Individual Organism Entity Ontology", "Population Ontology", "Biological Community Ontology", "Ecosystem Ontology", "Food Chain Ontology", "Trophic Level Ontology", "Habitat Ontology", "Ecological Niche Ontology"]

# END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ