Skip to main content

Biosphere 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
Biosphere Ontology — Full Flow Algebra v1.0
Kireth Semantic Library | Ecological Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/biosphere-ontology.html
Status: Newly authored formalisation; not a verbatim extraction of page code.

flow "BiosphereOntology" v1.0

# 1. ONTOLOGY IDENTITY
ontology:
  id: KSL.ECO.BIOSPHERE
  label: Biosphere
  parent: EcologicalEntity
  scope: planetary-scale domain of life and its interactions with Earth systems
  interpretation: formal typed semantic specification

# 2. TYPES
entity Biosphere:
  id: URI
  planetary_body: PlanetaryBody
  biotic_components: Set<BiologicalCommunity>
  ecosystems: Set<Ecosystem>
  spatial_extent: SpatialRegion
  temporal_extent: TimeInterval
  abiotic_domains: Set<EarthSystem>
  status: ObservationStatus

entity PlanetaryBody:
  id: URI
  name: String

entity Ecosystem:
  id: URI
  region: SpatialRegion

entity BiologicalCommunity:
  id: URI
  populations: Set<Population>

entity Population:
  id: URI
  taxon: Taxon

entity EarthSystem:
  id: URI
  kind: Enum[Atmosphere, Hydrosphere, Lithosphere, Cryosphere, Pedosphere, Other]

entity BiogeochemicalCycle:
  id: URI
  element_or_compound: String
  reservoirs: Set<Reservoir>
  transfers: Set<Flux>

entity Reservoir:
  id: URI
  material: String
  quantity: Quantity?

entity Flux:
  source: Reservoir
  destination: Reservoir
  rate: Quantity?
  interval: TimeInterval

entity SpatialRegion:
  id: URI
  geometry_ref: URI?

entity TimeInterval:
  start: DateTime?
  end: DateTime?

entity Quantity:
  value: Decimal
  unit: String
  uncertainty: Decimal?

entity ObservationStatus:
  value: Enum[Observed, Modelled, Hypothesised, Unknown]

# 3. TYPED RELATIONSHIPS
relationship HAS_ECOSYSTEM: Biosphere -> Ecosystem
relationship CONTAINS_COMMUNITY: Ecosystem -> BiologicalCommunity
relationship CONTAINS_POPULATION: BiologicalCommunity -> Population
relationship INTERACTS_WITH: Biosphere -> EarthSystem
relationship PARTICIPATES_IN_CYCLE: Ecosystem -> BiogeochemicalCycle
relationship HAS_RESERVOIR: BiogeochemicalCycle -> Reservoir
relationship TRANSFERS_MATERIAL: Flux -> Reservoir
relationship OCCURS_ON: Biosphere -> PlanetaryBody
relationship OCCUPIES_REGION: Ecosystem -> SpatialRegion
relationship EXCHANGES_ENERGY_WITH: Biosphere -> EarthSystem
relationship AFFECTS: EarthSystem -> Ecosystem

# 4. CORE SEMANTICS
axiom A1: Every Biosphere OCCURS_ON exactly one PlanetaryBody within a stated model.
axiom A2: A Biosphere may include many ecosystems and biological communities.
axiom A3: Biotic and abiotic components are distinct types but may interact.
axiom A4: Biosphere membership is indexed by spatial and temporal scope.
axiom A5: Ecological containment does not imply ownership or complete geographic coverage.
axiom A6: An observed ecosystem does not establish a complete inventory of a biosphere.

# 5. INFERENCE RULES
rule R1 ECOSYSTEM_MEMBERSHIP:
  IF HAS_ECOSYSTEM(b,e) AND CONTAINS_COMMUNITY(e,c)
  THEN ASSOCIATED_COMMUNITY(b,c)
  provenance: inherit premises

rule R2 POPULATION_ASSOCIATION:
  IF ASSOCIATED_COMMUNITY(b,c) AND CONTAINS_POPULATION(c,p)
  THEN ASSOCIATED_POPULATION(b,p)
  provenance: inherit premises

rule R3 BIOGEOCHEMICAL_LINK:
  IF HAS_ECOSYSTEM(b,e) AND PARTICIPATES_IN_CYCLE(e,k)
  THEN ASSOCIATED_CYCLE(b,k)

rule R4 ABIOTIC_INTERACTION:
  IF HAS_ECOSYSTEM(b,e) AND AFFECTS(s,e)
  THEN POTENTIALLY_INTERACTS_WITH(b,s)
  qualification: derived association, not proof of direct causation

rule R5 SPATIOTEMPORAL_VALIDITY:
  IF observation(o) AND NOT overlaps(o.interval,b.temporal_extent)
  THEN INVALID_FOR_SCOPE(o,b)

# 6. QUANTITATIVE MODEL
model biosphere_carbon_balance:
  delta_storage = sum(inflows) - sum(outflows)
  preconditions:
    - consistent carbon-equivalent units
    - aligned temporal intervals
    - explicitly bounded reservoirs
  interpretation: accounting identity for specified reservoirs, not a universal closed-system assumption

model net_primary_production:
  NPP = GPP - autotrophic_respiration
  preconditions:
    - compatible area and time normalisation
    - compatible energy or carbon units

model biodiversity_summary:
  species_richness = count(distinct taxa in specified scope)
  limitation: richness alone does not measure abundance, evenness or ecosystem health

# 7. INVARIANTS AND CONSTRAINTS
invariant I1: all entity IDs are unique within their namespace
invariant I2: relationship endpoints conform to declared types
invariant I3: quantity units must be dimensionally compatible before arithmetic
invariant I4: confidence lies in [0,1]
invariant I5: every derived assertion retains provenance
invariant I6: no inference of life on an unobserved planetary body without evidence
invariant I7: missing measurements are not interpreted as zero
invariant I8: uncertainty and model assumptions accompany numerical estimates

# 8. CONFIDENCE
CONFIDENCE:
  inputs: evidence_quality, method_reliability, scope_match, temporal_match
  output: Decimal[0,1]
  aggregation: documented and calibrated per evidence class
  policy: do not multiply scores without a justified independence model
  statuses: supported | uncertain | contradicted | insufficient_evidence

# 9. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  exact: matching entity identity and compatible scope
  close: biosphere ~ global ecosystem [context-dependent, not strict identity]
  distinct:
    - biosphere != biome
    - biosphere != ecosystem
    - biosphere != biological community
    - biosphere != habitat
  mapping_policy: preserve spatial, temporal and planetary scope

# 10. FLOW HASH
FLOW_HASH:
  canonicalise:
    - normalise Unicode to NFC
    - sort unordered sets and relationship records
    - serialise typed values and units deterministically
    - include ontology version and scope
  algorithm: SHA-256
  output: lowercase hexadecimal digest
  purpose: change detection and reproducible identification
  note: hash equality does not independently validate ecological truth

# 11. UPDATE MODEL
UPDATE_MODEL:
  operations: CREATE | REVISE | SUPERSEDE | RETRACT
  required_fields: entity_id, assertion_id, timestamp, provenance, change_reason
  rules:
    - preserve earlier versions for auditability
    - recompute affected inferred relations after updates
    - invalidate dependent claims when supporting evidence is retracted
    - distinguish observed changes from corrections to records

# 12. AI CONSUMPTION
AI_CONSUMPTION:
  entrypoint: KSL.ECO.BIOSPHERE
  output_schema:
    entity_id: URI
    entity_type: Biosphere
    relations: TypedRelationship[]
    claims: Claim[]
    evidence: Provenance[]
    confidence: Decimal[0,1]?
    valid_time: TimeInterval?
    flow_hash: String
  safeguards:
    - distinguish hypothesis from observation
    - do not fabricate ecological measurements
    - preserve uncertainty and conflicting evidence
    - cite provenance for scientific claims
    - disclose incomplete spatial or taxonomic coverage

# 13. EXAMPLE (SCHEMATIC)
instance EarthBiosphere: Biosphere
  id: "urn:ksl:biosphere:earth"
  planetary_body: "urn:ksl:planet:earth"
  status: Observed

assert OCCURS_ON(EarthBiosphere, Earth)
assert HAS_ECOSYSTEM(EarthBiosphere, ExampleForestEcosystem)
# ExampleForestEcosystem is a schematic placeholder, not a verified dataset.

# 14. VALIDATION PIPELINE
pipeline:
  1: parse typed entities and relationships
  2: validate identifiers, units, temporal and spatial scope
  3: attach source provenance and observation status
  4: apply inference rules to supported premises
  5: compute or report calibrated confidence where possible
  6: check invariants and detect contradictions
  7: canonicalise and calculate FLOW_HASH
  8: publish versioned AI_CONSUMPTION record

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