Skip to main content

Endangered Species 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
Endangered Species Ontology — Full Flow Algebra v1.0
Kireth Semantic Library
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/endangered-species-ontology.html
Status: Proposed ontology formalisation; not a verified transcription of the source page.
Locale: en-GB

flow "EndangeredSpeciesOntology" v1.0 {

  ontology {
    id: "kireth:ecology:endangered-species"
    domain: "Biological Entities / Ecological Entities"
    entity: EndangeredSpeciesAssessment
    definition: "An evidence-based assessment of a taxon's extinction risk within a stated geographic, temporal and assessment scope."
    note: "Endangered (EN) is a specific IUCN Red List category, distinct from the broader expression 'threatened species' (VU, EN, CR)."
  }

  types {
    Taxon: { taxon_id: URI, scientific_name: String, taxonomic_rank: String }
    Assessment: { assessment_id: URI, taxon_id: URI, category: ConservationCategory,
                  scope: AssessmentScope, assessed_at: Date, authority: String,
                  criteria: List[String], evidence_refs: List[URI] }
    AssessmentScope: { geographic_extent: String, scope_type: Enum[global,regional,national],
                       temporal_reference: String }
    ConservationCategory: Enum[NE,DD,LC,NT,VU,EN,CR,EW,EX]
    PopulationEstimate: { taxon_id: URI, area: String, date: Date,
                          count: Optional[Real], method: String, uncertainty: Optional[Real] }
    Threat: { threat_id: URI, type: String, location: String, severity: Optional[Real],
              timing: String, evidence_refs: List[URI] }
    Habitat: { habitat_id: URI, location: String, condition: Optional[Real] }
    ConservationAction: { action_id: URI, action_type: String, target_taxon: URI,
                          location: String, started_at: Optional[Date], evidence_refs: List[URI] }
    Observation: { observation_id: URI, taxon_id: URI, date: Date, place: String,
                   method: String, source: URI, detection: Boolean }
    Confidence: Real[0,1]
  }

  relations {
    HAS_ASSESSMENT(Taxon, Assessment)
    ASSESSED_IN(Assessment, AssessmentScope)
    HAS_POPULATION_ESTIMATE(Taxon, PopulationEstimate)
    EXPOSED_TO(Taxon, Threat)
    OCCURS_IN(Taxon, Habitat)
    AFFECTS(Threat, Habitat)
    TARGETS(ConservationAction, Taxon)
    MITIGATES(ConservationAction, Threat)
    SUPPORTED_BY(Assessment, Observation)
    SUPERSEDES(Assessment, Assessment)
    SEMANTIC_EQUIVALENCE(Taxon, Taxon)
  }

  constraints {
    assessment.category == EN => assessment.criteria is not empty
    assessment.category == EN => assessment.authority is not empty
    assessment.category == EN => assessment.assessed_at is valid_date
    population.count is present => population.count >= 0
    threat.severity is present => 0 <= threat.severity <= 1
    assessment.scope.scope_type in [global,regional,national]
    confidence in [0,1]
    distinct_assessment_scopes_must_not_be_silently_merged: true
    extinct_not_equivalent_to_zero_recent_observations: true
    missing_data_not_equivalent_to_low_risk: true
  }

  inference {
    rule "SpecificEndangeredClassification" {
      when: HAS_ASSESSMENT(taxon, a) AND a.category == EN
      then: CLASSIFIED_AS(taxon, "Endangered", a.scope, a.assessed_at)
      provenance: a.evidence_refs
    }
    rule "ThreatenedGrouping" {
      when: a.category in [VU,EN,CR]
      then: MEMBER_OF_GROUP(a, "Threatened")
      note: "Grouping does not change the specific assessed category."
    }
    rule "PossibleDecline" {
      when: comparable_population_series(taxon, scope) AND statistically_supported_decline(taxon, scope)
      then: FLAG(taxon, "Population decline evidence", scope)
      note: "A decline alone does not establish an IUCN category."
    }
    rule "ReviewNeeded" {
      when: significant_new_evidence(taxon, scope) OR assessment_is_outdated(taxon, scope)
      then: FLAG(taxon, "Reassessment recommended", scope)
    }
    rule "ThreatMitigationCandidate" {
      when: EXPOSED_TO(taxon, threat) AND MITIGATES(action, threat)
      then: CANDIDATE_ACTION(taxon, action)
      note: "Suitability and effectiveness require independent evaluation."
    }
  }

  measurements {
    population_trend: "Estimate proportional change only across comparable sampling methods, areas and periods."
    geographic_range: "Distinguish extent of occurrence from area of occupancy."
    fragmentation: "Use evidence-based definitions and the applicable assessment criteria."
    risk: "Apply current IUCN criteria and guidance externally; never derive EN from arbitrary thresholds."
    uncertainty: "Retain sampling, model, taxonomic and geographic uncertainty."
  }

  invariants {
    I1: "A conservation category is contextual to an assessment, date, authority and scope."
    I2: "Endangered is not synonymous with rare, declining, protected or locally absent."
    I3: "Regional and global categories may differ without contradiction."
    I4: "Absence of detection is not proof of extinction."
    I5: "Historical classifications remain in provenance when superseded."
    I6: "Threats, population observations and interventions remain distinguishable entities."
  }

  confidence {
    CONFIDENCE(assertion) := calibrated_evidence_quality(assertion.sources,
                                assertion.methods, assertion.recency,
                                assertion.scope, assertion.uncertainty)
    note: "Confidence expresses evidence quality, not extinction probability."
  }

  semantic_equivalence {
    SEMANTIC_EQUIVALENCE(a,b) := same_taxonomic_concept(a,b)
                                   AND compatible_taxonomic_authority(a,b)
    note: "Matching names alone do not guarantee identical taxonomic concepts."
  }

  flow_hash {
    FLOW_HASH(record) := SHA256(canonical_utf8(normalise(record,
       [taxon_id, assessment_id, category, scope, assessed_at, authority,
        criteria, evidence_refs, ontology_version])))
    note: "Sort unordered fields and use stable date and URI representations."
  }

  update_model {
    UPDATE_MODEL(old, incoming) := validate(incoming)
      |> reconcile_taxonomy
      |> preserve_provenance
      |> compare_scope_and_authority
      |> append_version
      |> recompute_flow_hash
      |> flag_conflicts_for_review
    policy: "Do not silently overwrite a valid historical assessment."
  }

  ai_consumption {
    output: [taxon_id, scientific_name, category, assessment_scope,
             assessment_date, assessment_authority, assessment_criteria,
             threats, population_evidence, uncertainty, confidence,
             provenance, flow_hash, ontology_version]
    instructions: [
      "Report the category with its geographic scope and assessment date.",
      "Separate documented status from model inference.",
      "Do not infer current conservation status from an outdated assessment.",
      "Do not present a suggested conservation action as proven effective.",
      "Expose missing evidence and conflicting assessments."
    ]
  }

  validation_examples {
    example_valid: "A taxon with a documented EN assessment, criteria, date, authority and scope is classified as Endangered in that assessment."
    example_invalid: "A species with few sightings is automatically classified EN."
    example_scope: "A regional EN assessment does not imply a global EN assessment."
  }
}

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