FLOW ALGEBRA
Biome Ontology — Full Flow Algebra v1.0
Kireth Semantic Library | Biological Entities > Ecological Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/biome-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Proposed formalisation; not a verified transcription of the source page.
flow "BiomeOntology" v1.0
# 1. SCOPE
ontology.id: "kireth:biological.ecological.biome"
ontology.entity: Biome
ontology.definition: "A broad ecological region or classification characterised by recurring climate, vegetation, ecological communities and environmental conditions."
ontology.locale: "en-GB"
ontology.scope_note: "Biome boundaries and classifications depend on the selected scientific scheme and spatial scale; terrestrial, freshwater and marine schemes are not interchangeable."
# 2. TYPED ENTITIES
type Biome {
id: URI
name: String
classification_scheme: URI
realm: Enum[terrestrial, freshwater, marine, transitional]
extent: Geometry?
climate_profile: ClimateProfile?
dominant_vegetation: Set[VegetationType]?
characteristic_communities: Set[BiologicalCommunity]?
ecological_processes: Set[EcologicalProcess]?
evidence: Set[EvidenceRecord]
temporal_extent: TimeInterval?
}
type Ecoregion { id: URI; scheme: URI; extent: Geometry? }
type Ecosystem { id: URI; extent: Geometry?; observed_at: Time? }
type BiologicalCommunity { id: URI; taxa: Set[Taxon]? }
type Population { id: URI; taxon: URI; extent: Geometry? }
type Organism { id: URI; taxon: URI }
type ClimateProfile { temperature: MeasurementRange?; precipitation: MeasurementRange?; seasonality: String? }
type VegetationType { id: URI; label: String }
type AbioticFactor { id: URI; property: String; measurement: Quantity? }
type EcologicalProcess { id: URI; process_type: String }
type Disturbance { id: URI; kind: String; interval: TimeInterval? }
type EvidenceRecord { source: URI; method: String?; timestamp: Time?; confidence: Decimal? }
type Geometry { crs: URI; representation: String }
type MeasurementRange { min: Decimal?; max: Decimal?; unit: URI }
type Quantity { value: Decimal; unit: URI }
type TimeInterval { start: Time?; end: Time? }
type Time = ISO8601
# 3. RELATIONSHIP SIGNATURES
relation CLASSIFIED_AS(Ecoregion | Ecosystem, Biome)
relation CONTAINS_REGION(Biome, Ecoregion)
relation SUPPORTS_COMMUNITY(Biome, BiologicalCommunity)
relation OCCURS_WITHIN(Ecosystem | Population | Organism, Biome)
relation CHARACTERISED_BY_CLIMATE(Biome, ClimateProfile)
relation CHARACTERISED_BY_VEGETATION(Biome, VegetationType)
relation INFLUENCED_BY(Biome, AbioticFactor | Disturbance)
relation MAINTAINS_PROCESS(Biome, EcologicalProcess)
relation ADJACENT_TO(Biome, Biome)
relation TRANSITIONS_TO(Biome, Biome)
relation OVERLAPS(Biome, Biome)
relation HAS_EVIDENCE(Biome, EvidenceRecord)
relation SEMANTIC_EQUIVALENCE(Biome, Biome, scheme: URI, score: Decimal)
# 4. VALIDATION / INVARIANTS
invariant BIOME_ID_UNIQUE: forall b1,b2:Biome, b1.id = b2.id => b1 = b2
invariant SCHEME_REQUIRED: forall b:Biome, exists b.classification_scheme
invariant REALM_VALID: forall b:Biome, b.realm in [terrestrial,freshwater,marine,transitional]
invariant CONFIDENCE_BOUNDED: forall e:EvidenceRecord, e.confidence != null => 0 <= e.confidence <= 1
invariant RANGE_ORDER: forall r:MeasurementRange, r.min != null and r.max != null => r.min <= r.max
invariant CRS_REQUIRED: forall g:Geometry, g.crs != null
invariant NO_SELF_ADJACENCY: forall b:Biome, not ADJACENT_TO(b,b)
invariant EQUIVALENCE_SCHEME_CONTEXT: SEMANTIC_EQUIVALENCE(a,b,s,q) => a.classification_scheme = s and b.classification_scheme = s and 0 <= q <= 1
invariant NO_UNQUALIFIED_MEMBERSHIP: every CLASSIFIED_AS assertion has provenance, spatial scale and scheme
# 5. INFERENCE RULES
rule REGION_MEMBERSHIP:
if CLASSIFIED_AS(r: Ecoregion, b: Biome) and r.extent known
then candidate CONTAINS_REGION(b,r)
confidence := confidence_of_source_assertion
rule COMMUNITY_ASSOCIATION:
if CLASSIFIED_AS(e: Ecosystem,b: Biome) and ecosystem_has_community(e,c)
then candidate SUPPORTS_COMMUNITY(b,c)
confidence := min(confidence(e,b),confidence(e,c))
note := "Association, not proof of exclusivity or ubiquity."
rule BIOME_TRANSITION:
if ADJACENT_TO(a,b) and environmental_gradient(a,b) evidenced
then candidate TRANSITIONS_TO(a,b)
note := "Transition is not equivalent to adjacency."
rule CLASSIFICATION_COMPARISON:
if scheme(a) != scheme(b)
then prohibit automatic SEMANTIC_EQUIVALENCE(a,b)
require explicit crosswalk and evidence
rule SPATIAL_OCCURRENCE:
if location(x) within extent(b) and compatible_time(x,b)
then candidate OCCURS_WITHIN(x,b)
note := "Spatial occurrence alone does not establish ecological dependence."
# 6. DYNAMICS
state BiomeState {
biome_id: URI
time: Time
climate_profile: ClimateProfile?
vegetation_cover: Map[VegetationType, Decimal]?
disturbance_regime: Set[Disturbance]?
observed_extent: Geometry?
}
transition UPDATE_BIOME_STATE(previous, observations, model):
require provenance(observations)
next := model(previous, observations)
validate(next)
emit next with uncertainty and timestamp
# 7. CONFIDENCE
CONFIDENCE(assertion):
inputs: source_reliability, observation_quality, spatial_fit, temporal_fit, scheme_consistency
output: Decimal in [0,1]
policy: "Do not infer precise probabilities from missing data; report unknown when calibration is unavailable."
propagation: "Dependent inference cannot exceed its weakest required evidence without independently justified calibration."
# 8. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b):
require matching classification scheme or documented crosswalk
compare realm, climatic envelope, vegetation, characteristic communities, spatial scale
output: equivalent | overlapping | related | distinct | unknown
preserve original scheme identifiers and uncertainty
# 9. FLOW HASH / PROVENANCE
FLOW_HASH(record):
canonicalise typed fields, ordered relation tuples, ontology version, classification scheme
normalise Unicode to NFC
sort unordered sets by canonical identifier
serialise deterministically as UTF-8
digest SHA-256(serialisation)
exclude volatile runtime fields unless part of scientific claim
# 10. UPDATE MODEL
UPDATE_MODEL(existing, incoming):
validate schema and invariants
match by stable URI and scheme
preserve provenance and version history
flag conflicting spatial or temporal assertions
do not overwrite competing biome classifications from different schemes
recalculate dependent confidence and FLOW_HASH
emit change log, supersession links and unresolved conflicts
# 11. AI CONSUMPTION
AI_CONSUMPTION:
expose typed entities, relations, provenance, classification scheme, units, CRS and timestamps
distinguish observation from inference
expose uncertainty, crosswalks and alternative classification systems
reject claims of exclusive biome membership without supporting evidence
provide machine-readable canonical identifiers and stable version references
# 12. EXAMPLE (ILLUSTRATIVE, NOT AN OBSERVATION)
biome "example:temperate-forest" {
name: "Temperate forest"
classification_scheme: "example:terrestrial-scheme"
realm: terrestrial
dominant_vegetation: ["example:deciduous-forest", "example:coniferous-forest"]
evidence: []
}
# Example identifiers are placeholders and must be replaced with validated ontology URIs.
# 13. ACCEPTANCE TESTS
test "reject missing classification scheme" => fail
test "reject confidence outside 0..1" => fail
test "retain two alternative classification schemes" => pass
test "do not equate adjacency with ecological transition" => pass
test "stable canonical records yield same FLOW_HASH" => pass
test "different scientific claims yield distinct canonical serialisations" => pass
end flow
Download Code
Copy to Clipboard