FLOW ALGEBRA
Invasive Species Ontology — Full Flow Algebra v1.0
Kireth Semantic Library
Authors: Mark Higgins — Sky (Recursive AI)
Source ontology: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/invasive-species-ontology.html
Status: Proposed formalisation; not a verified extraction of the source page.
Locale: en-GB
flow "InvasiveSpeciesOntology" v1.0 {
namespace: "kireth:biological-entities:ecological-entities:invasive-species"
domain: "Ecology / Conservation Biology / Invasion Biology"
# 1. ENTITY TYPES
type Species { id: URI; scientific_name: String; taxon_id: URI? }
type Region { id: URI; name: String; boundary: Geometry? }
type Population { id: URI; species: Species; region: Region; abundance: NonNegativeReal?; observed_at: DateTime? }
type IntroductionEvent { id: URI; species: Species; destination: Region; date: DateTime?; pathway: String?; human_mediated: Boolean? }
type EstablishmentEvidence { id: URI; population: Population; self_sustaining: Boolean?; reproduction_observed: Boolean?; source: URI? }
type SpreadObservation { id: URI; population: Population; previous_extent: Geometry?; current_extent: Geometry?; interval: TimeInterval? }
type ImpactEvidence { id: URI; species: Species; region: Region; category: ImpactCategory; direction: String; magnitude: Real?; method: String?; source: URI? }
type ManagementAction { id: URI; target: Species; region: Region; method: String; start: DateTime?; outcome: String? }
type Evidence { id: URI; source: URI; observed_at: DateTime?; reliability: Probability? }
enum ImpactCategory { biodiversity, ecosystem_function, economic, human_health, other }
enum Status { native, alien, introduced, casual, established, invasive, uncertain }
type Probability = Real where 0 <= value <= 1
type NonNegativeReal = Real where value >= 0
# 2. RELATIONSHIP SIGNATURES
relation NATIVE_TO(Species, Region)
relation ALIEN_TO(Species, Region)
relation INTRODUCED_IN(Species, Region)
relation HAS_POPULATION(Species, Population)
relation OCCURS_IN(Population, Region)
relation ESTABLISHED_IN(Species, Region)
relation SPREADS_IN(Species, Region)
relation CAUSES_IMPACT(Species, ImpactEvidence)
relation COMPETES_WITH(Species, Species)
relation PREYS_ON(Species, Species)
relation TRANSMITS_PATHOGEN_TO(Species, Species)
relation ALTERS_HABITAT_IN(Species, Region)
relation MANAGED_BY(Species, ManagementAction)
relation SUPPORTED_BY(Assertion, Evidence)
# 3. CLASSIFICATION: REGION AND TIME DEPENDENT
derive alien(s, r, t) when evidence_of_introduction(s, r, t)
and evidence_outside_native_range(s, r, t)
derive established(s, r, t) when alien(s, r, t)
and evidence_of_self_sustaining_population(s, r, t)
derive spreading(s, r, t) when established(s, r, t)
and credible_range_expansion(s, r, t)
derive invasive(s, r, t) when alien(s, r, t)
and established(s, r, t)
and (spreading(s, r, t) or credible_expansion_potential(s, r, t))
and documented_or_likely_harm(s, r, t)
and classification_standard_applies(s, r, t)
# Invasive status depends on the stated standard; some frameworks emphasise
# spread alone, others require demonstrated or likely harm.
# Do not infer invasiveness from non-native status alone.
# 4. ECOLOGICAL MECHANISMS
mechanism competition: alien_species -> resource_overlap -> native_population_pressure
mechanism predation: introduced_predator -> native_prey_mortality
mechanism disease: vector_or_reservoir -> pathogen_transmission -> host_impact
mechanism habitat_change: ecosystem_engineering -> habitat_structure_change
mechanism hybridisation: interbreeding -> genetic_introgression
mechanism trophic_cascade: species_interaction -> indirect_community_effect
# Mechanisms are hypotheses until independently evidenced.
# 5. DYNAMICS
model population_change:
N(t + dt) = N(t) + births(t,dt) + immigration(t,dt)
- deaths(t,dt) - emigration(t,dt)
model occupancy_change:
delta_occupied_area = occupied_area(t2) - occupied_area(t1)
model impact_assessment:
impact = function(exposure, vulnerability, mechanism, duration, context)
note: population and occupancy models are descriptive; no universal growth
rate, spread speed or impact coefficient is assumed.
# 6. INFERENCE RULES
rule R1: introduction_record(s,r) and outside_native_range(s,r)
-> candidate_alien(s,r)
rule R2: candidate_alien(s,r) and sustained_reproduction(s,r)
-> candidate_established(s,r)
rule R3: candidate_established(s,r) and repeated_range_expansion(s,r)
-> candidate_spreading(s,r)
rule R4: observed_native_decline(r) and co_occurrence(s,r)
-> investigate_impact(s,r)
rule R5: observed_native_decline(r) and co_occurrence(s,r)
-/-> proven_causation(s,r)
rule R6: evidence_of_harm(s,r) and established(s,r)
and alien(s,r) -> assess_invasive_status(s,r)
rule R7: management_action(a,s,r) -> evaluate_before_after_and_controls(a)
# 7. VALIDATION AND INVARIANTS
invariant V1: every status assertion names a region and observation time.
invariant V2: taxon identity is linked to a recognised taxonomic authority.
invariant V3: native range, alien range and invasive status are distinct concepts.
invariant V4: evidence absence is not evidence of absence.
invariant V5: observed correlation is not automatically causal impact.
invariant V6: spatial comparisons use compatible coordinate systems and scales.
invariant V7: uncertain or disputed classifications retain their provenance.
invariant V8: no species is globally classified as invasive without context.
invariant V9: management success requires defined measurable outcomes.
# 8. CONFIDENCE AND PROVENANCE
CONFIDENCE(assertion): Probability
confidence_inputs: [source_quality, sampling_coverage, temporal_relevance,
taxonomic_certainty, replication, causal_evidence]
provenance: { source_uri, observation_date, method, reviewer?, licence? }
rule: preserve_conflicting_evidence_and_uncertainty
# 9. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE("alien species", "non-native species"):
context_required = true
SEMANTIC_EQUIVALENCE("introduced species", "invasive species"):
equivalent = false
SEMANTIC_EQUIVALENCE("established species", "invasive species"):
equivalent = false
SEMANTIC_EQUIVALENCE("invasive alien species", "invasive species"):
context_required = true
note: synonyms must preserve the governing legal/scientific definition.
# 10. FLOW HASH AND UPDATE MODEL
FLOW_HASH:
algorithm: "SHA-256"
input: canonicalise(namespace, version, entity_types, relations,
rules, invariants, provenance_schema)
output: lowercase_hex_digest
note: hash computed by implementation; no fabricated digest.
UPDATE_MODEL:
trigger: [new_occurrence_record, new_impact_study, taxonomy_revision,
range_revision, management_result, standard_revision]
steps: [validate, retain_previous_version, reconcile_taxa,
recalculate_region_specific_status, update_confidence,
recompute_flow_hash, publish_change_log]
policy: append_only_evidence_with_versioned_corrections
# 11. AI CONSUMPTION
AI_CONSUMPTION:
input: [species_identifier, region, time_window, evidence_set,
classification_standard]
output: [status, establishment_assessment, spread_assessment,
impact_assessment, confidence, evidence_citations,
uncertainty, management_context, flow_hash]
constraints: [do_not_conflate_alien_and_invasive,
cite_evidence, preserve_uncertainty,
avoid_unsupported_causal_claims,
report_region_and_time]
# 12. CROSS-ONTOLOGY LINKS
links: [SpeciesOntology, PopulationOntology, BiologicalCommunityOntology,
EcosystemOntology, HabitatOntology, EcologicalNicheOntology,
PredatorOntology, PreyOntology, ParasiteOntology,
IndicatorSpeciesOntology, KeystoneSpeciesOntology]
}
END FLOW ALGEBRA
Download Code
Copy to Clipboard