Skip to main content

Population 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
Population Ontology — Full Flow Algebra v1.0
Kireth Semantic Library | Biological Entities | Ecological Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/population-ontology-4.html
Generated: 2026-10-26
Status: Proposed formalisation for review; not verified against source-page text.

flow "PopulationOntology" v1.0

# 1. IDENTITY
ontology:
  id: "KSL:ECO:POPULATION"
  label: "Population"
  parent: "KSL:ECO:ECOLOGICAL_ENTITY"
  definition: "A group of organisms of a specified taxon occupying a defined spatial region during a specified temporal interval, under an explicit membership criterion."
  scope: [population_ecology, conservation_biology, demography, biodiversity]
  locale: "en-GB"

# 2. TYPE SYSTEM
type PopulationID = str
type OrganismID = str
type TaxonID = str
type RegionID = str
type HabitatID = str
type Instant = iso8601_datetime
type NonNegative = float where value >= 0
type Probability = float where 0 <= value <= 1
type Provenance = record(source:str, method:str, observed_at:Instant, curator:str?)
type TimeInterval = record(start:Instant, end:Instant) where start <= end
type Population = record(
  id:PopulationID,
  taxon:TaxonID,
  region:RegionID,
  interval:TimeInterval,
  membership_rule:str,
  estimated_abundance:NonNegative?,
  abundance_uncertainty:NonNegative?,
  confidence:Probability,
  provenance:Provenance
)
type Membership = record(population:PopulationID, organism:OrganismID, interval:TimeInterval, confidence:Probability)
type Census = record(population:PopulationID, time:Instant, count:int where count >= 0, detection_probability:Probability?, provenance:Provenance)
type VitalRates = record(population:PopulationID, interval:TimeInterval, births:NonNegative?, deaths:NonNegative?, immigration:NonNegative?, emigration:NonNegative?)

# 3. SEMANTIC RELATIONSHIPS
relation HAS_MEMBER(PopulationID, OrganismID, TimeInterval)
relation MEMBER_OF(OrganismID, PopulationID, TimeInterval)
relation HAS_TAXON(PopulationID, TaxonID)
relation OCCUPIES_REGION(PopulationID, RegionID, TimeInterval)
relation INHABITS_HABITAT(PopulationID, HabitatID, TimeInterval)
relation INTERACTS_WITH(PopulationID, PopulationID, str, TimeInterval)
relation CONNECTED_BY_DISPERSAL(PopulationID, PopulationID, TimeInterval)
relation HAS_CENSUS(PopulationID, Census)
relation HAS_VITAL_RATES(PopulationID, VitalRates)
relation PART_OF_METAPOPULATION(PopulationID, str)

# 4. CONSTRAINTS AND INVARIANTS
invariant POPULATION_ID_UNIQUE: unique(Population.id)
invariant VALID_INTERVAL: forall p:Population => p.interval.start <= p.interval.end
invariant VALID_CONFIDENCE: forall p:Population => 0 <= p.confidence <= 1
invariant NONNEGATIVE_ABUNDANCE: forall p:Population => p.estimated_abundance == null or p.estimated_abundance >= 0
invariant NONNEGATIVE_CENSUS: forall c:Census => c.count >= 0
invariant TAXON_DEFINED: forall p:Population => not empty(p.taxon)
invariant MEMBERSHIP_EXPLICIT: forall p:Population => not empty(p.membership_rule)
invariant TEMPORAL_MEMBERSHIP: forall m:Membership => overlaps(m.interval, population(m.population).interval)
# Population boundaries and taxonomic criteria must be explicitly declared;
# different valid criteria may produce different population partitions.

# 5. INFERENCE RULES
rule MEMBERSHIP_INVERSE:
  when HAS_MEMBER(p, o, t)
  infer MEMBER_OF(o, p, t)

rule CENSUS_ASSOCIATION:
  when Census(c) and c.population == p
  infer HAS_CENSUS(p, c)

rule SHARED_TAXON_NOT_IDENTITY:
  when HAS_TAXON(p1, t) and HAS_TAXON(p2, t)
  infer SAME_TAXON(p1, p2)
  # Never infer that p1 and p2 are the same population.

rule POPULATION_CHANGE:
  when VitalRates(v) and all_present(v.births, v.deaths, v.immigration, v.emigration)
  derive net_change(v) = v.births - v.deaths + v.immigration - v.emigration
  # Valid only where rates/counts use compatible units and interval.

rule DENSITY_ESTIMATE:
  when Population(p) and known(p.estimated_abundance) and known(area(p.region)) and area(p.region) > 0
  derive density(p) = p.estimated_abundance / area(p.region)

# 6. POPULATION DYNAMICS
model discrete_balance:
  N_next = N_current + births - deaths + immigration - emigration
  assumptions: [consistent_interval, same_population_definition, no_double_counting]

model exponential_growth:
  dN_dt = r * N
  assumptions: [constant_per_capita_rate, unconstrained_growth, continuous_time]

model logistic_growth:
  dN_dt = r * N * (1 - N / K)
  constraints: [K > 0]
  assumptions: [closed_or_net_migration_accounted, constant_parameters, density_dependence]

# 7. CONFIDENCE AND UNCERTAINTY
CONFIDENCE:
  range: [0, 1]
  components: [source_reliability, identification_quality, detection_adjustment, spatial_coverage, temporal_relevance]
  aggregation: "Use a documented calibrated method; do not assume independence."
  missing_data: "unknown, never silently zero"
  report: [point_estimate, uncertainty_interval, method, sample_size, provenance]

# 8. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  exact_when: [same_taxon_concept, same_geographic_boundary, same_time_window, same_membership_rule]
  approximate_when: [compatible_taxon_concepts, overlapping_region, overlapping_interval, reconciled_sampling]
  forbidden_when: [conflicting_taxa, incompatible_membership_criteria, nonoverlapping_time_or_region]
  note: "Identical population names do not establish identity."

# 9. FLOW HASH
FLOW_HASH:
  algorithm: SHA-256
  canonical_fields: [ontology.id, Population.id, Population.taxon, Population.region, Population.interval, Population.membership_rule, semantic_relations, schema_version]
  canonicalisation: "UTF-8; normalised timestamps; stable key order; stable entity identifiers; deterministic serialisation"
  purpose: [integrity, version_comparison, deduplication]
  exclusion: [volatile_access_time]

# 10. UPDATE MODEL
UPDATE_MODEL:
  operations: [CREATE, OBSERVE, REVISE, MERGE, SPLIT, RETIRE]
  requirements: [immutable_event_log, timestamp, actor, reason, previous_version, provenance]
  merge_guard: "Verify identity criteria before merging populations."
  split_guard: "Preserve links to predecessor population and membership reassignment."
  conflict_policy: "Retain competing observations and document reconciliation."

# 11. AI CONSUMPTION
AI_CONSUMPTION:
  expose: [ontology_id, entity_id, definition, taxon, region, interval, membership_rule, abundance, uncertainty, relationships, confidence, provenance, flow_hash, version]
  retrieval_keys: [taxon, region, interval, population_id]
  reasoning_policy:
    - "Distinguish population from community, species and individual organism."
    - "Do not treat census counts as true abundance without detection assumptions."
    - "Do not infer causation from correlation or population co-occurrence."
    - "Keep temporal and geographic boundaries explicit."
    - "Flag unmeasured births, deaths and migration as unknown."
  output: [typed_claims, supporting_evidence, assumptions, uncertainty, provenance]

# 12. VALIDATION CASES
validate:
  - case: "A population with an explicit taxon, region and time interval"
    expect: ACCEPT
  - case: "Negative population abundance"
    expect: REJECT
  - case: "Same species in different regions automatically same population"
    expect: REJECT
  - case: "Zero recorded detections implies extinction"
    expect: REJECT
  - case: "Two surveys with incompatible sampling protocols directly comparable"
    expect: REQUIRE_RECONCILIATION

# 13. REFERENCES / CROSS-ONTOLOGY LINKS
links:
  parent: "Ecological Entity Ontology"
  related: ["Individual Organism Entity Ontology", "Species Ontology", "Habitat Ontology", "Ecosystem Ontology", "Community Ontology", "Metapopulation Ontology"]

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