Skip to main content

Predator 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
Predator 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/predator-ontology.html
Status: Proposed formalisation; not a verified extraction of source-page code.

flow "PredatorOntology" v1.0

# 01 — SEMANTIC IDENTITY
ontology.id: "kireth:biological.ecological.predator"
ontology.label: "Predator Ontology"
ontology.parent: "kireth:biological.ecological.consumer-organism"
ontology.domain: [biology, ecology, trophic-ecology]
ontology.locale: "en-GB"
ontology.definition: "An organism that captures or otherwise attacks living prey organisms to obtain resources, generally through consumption. Predation is context-dependent and includes specialised forms."

# 02 — TYPED ENTITIES
entity Predator: Organism {
  id: IRI
  taxon: TaxonRef?
  life_stage: String?
  habitat: HabitatRef?
  location: GeoRef?
  observation_time: DateTime?
  feeding_strategy: FeedingStrategy?
  evidence: EvidenceRef[]
}
entity Prey: Organism { id: IRI; taxon: TaxonRef? }
entity PredationEvent {
  id: IRI
  predator: PredatorRef
  prey: PreyRef
  time: DateTime?
  place: GeoRef?
  outcome: {attempted, captured, consumed, escaped, unknown}
  evidence: EvidenceRef[]
}
entity PredatorPopulation: Population { id: IRI; taxon: TaxonRef; area: GeoRef }
entity PreyPopulation: Population { id: IRI; taxon: TaxonRef; area: GeoRef }
entity TrophicInteraction { id: IRI; consumer: OrganismRef; resource: OrganismRef }
entity Evidence { id: IRI; method: String; source: IRI?; observed_at: DateTime? }

enum FeedingStrategy = [ambush, pursuit, stalking, trapping, cooperative, filter_feeding_on_live_prey, other, unknown]

# 03 — TYPED RELATIONSHIPS
relation PREYS_ON(Predator, Prey) [context: SpaceTime, evidence: EvidenceRef[]]
relation PARTICIPATES_IN(Predator, PredationEvent)
relation TARGETS(PredationEvent, Prey)
relation OCCURS_IN(PredationEvent, Habitat)
relation MEMBER_OF(Predator, PredatorPopulation)
relation COMPETES_WITH(Predator, Predator) [resource: PreyRef?]
relation CONSUMES(Predator, Prey) [event: PredationEvent]
relation REGULATES(PredatorPopulation, PreyPopulation) [evidence: EvidenceRef[]]
relation HAS_TROPHIC_ROLE(Organism, TrophicRole)
relation SUPPORTED_BY(Assertion, Evidence)

# 04 — SEMANTIC CONSTRAINTS
constraint predator_and_prey_are_organisms:
  PREYS_ON(p, q) -> type(p) <: Organism AND type(q) <: Organism
constraint no_self_predation_event:
  PredationEvent(e) -> e.predator.id != e.prey.id
constraint predation_event_requires_participants:
  PredationEvent(e) -> exists(e.predator) AND exists(e.prey)
constraint attempted_not_equivalent_to_consumed:
  outcome(e) == attempted -/-> CONSUMES(e.predator, e.prey)
constraint trophic_role_is_contextual:
  HAS_TROPHIC_ROLE(o, predator) does_not_imply exclusively_carnivorous(o)
constraint predation_not_necessarily_population_regulation:
  PREYS_ON(p, q) does_not_imply REGULATES(pop(p), pop(q))
constraint temporal_context:
  relationships_may_change_by(life_stage, season, habitat, prey_availability)

# 05 — INFERENCE RULES
rule event_supports_predator_role:
  IF PredationEvent(e) AND e.outcome IN [captured, consumed]
  THEN HAS_TROPHIC_ROLE(e.predator, predator) [scope: e.time, e.place]
rule event_supports_prey_relation:
  IF PredationEvent(e) AND e.outcome IN [captured, consumed]
  THEN PREYS_ON(e.predator, e.prey) [evidence: e.evidence]
rule consumption_requires_observation:
  IF PredationEvent(e) AND e.outcome == consumed
  THEN CONSUMES(e.predator, e.prey) [event: e]
rule prey_network_edge:
  IF PREYS_ON(p, q)
  THEN TrophicInteraction(consumer=p, resource=q)
rule competition_candidate:
  IF PREYS_ON(p1, q) AND PREYS_ON(p2, q) AND p1 != p2
  THEN POSSIBLE_COMPETITION(p1, p2) [requires: resource_limitation_evidence]
rule regulation_requires_causal_evidence:
  IF predator_pressure_change AND prey_demographic_response AND causal_support
  THEN CANDIDATE_REGULATES(predator_population, prey_population)

# 06 — ECOLOGICAL DYNAMICS (OPTIONAL MODELS)
model prey_predator_lotka_volterra:
  prey_change: "dx/dt = alpha*x - beta*x*y"
  predator_change: "dy/dt = delta*x*y - gamma*y"
  assumptions: [homogeneous_mixing, simplified_growth, fixed_parameters]
  warning: "Illustrative model, not a universal ecological law."
model functional_response:
  type: [type_I, type_II, type_III, empirical_other]
  depends_on: [prey_density, handling_time, encounter_rate, predator_state]
model trophic_cascade:
  requirement: "Evidence of indirect effects through at least two interaction links"

# 07 — INVARIANTS AND VALIDATION
invariant entity_identity_unique: unique(entity.id)
invariant evidence_provenance: every_assertion_has(source_or_explicit_unknown)
invariant bounded_confidence: 0.0 <= confidence <= 1.0
invariant no_unsupported_causality: observational_association != causal_proof
invariant event_outcome_consistency: outcome == consumed -> outcome != escaped
validate:
  - check_type_signatures
  - check_identity_uniqueness
  - check_predator_prey_distinctness_per_event
  - check_evidence_links
  - check_spatiotemporal_scope
  - flag_conflicting_outcomes
  - distinguish_observed_vs_inferred_relations

# 08 — CONFIDENCE
CONFIDENCE:
  method: "Evidence-calibrated; do not treat heuristic scores as probabilities"
  inputs: [direct_observation, repeated_observation, independent_sources, method_quality, context_match]
  output: {score: Float[0,1], calibration: String?, explanation: String}
  missing_evidence_policy: "unknown, not false"

# 09 — SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE:
  exact: ["predator organism", "predatory organism"]
  contextual: ["hunter", "carnivore", "natural enemy"]
  non_equivalent: ["consumer organism", "parasite", "scavenger", "apex predator"]
  note: "Contextual terms must not be substituted as exact synonyms."

# 10 — FLOW HASH AND PROVENANCE
FLOW_HASH:
  canonicalise: [ontology.id, version, types, relations, constraints, rules]
  algorithm: "SHA-256"
  digest: "computed-at-build-time"
  exclude: [volatile_access_timestamps]
PROVENANCE:
  source_url: "https://kirethresearch.org/booksai-core/entity-graph/biological-entities/ecological-entities/predator-ontology.html"
  authors: ["Mark Higgins", "Sky (Recursive AI)"]
  authored_on: "2026-10-26"
  source_verification: "not verified"

# 11 — UPDATE MODEL
UPDATE_MODEL:
  event_types: [ADD_ENTITY, UPDATE_ENTITY, ADD_OBSERVATION, REVISE_RELATION, RETRACT_ASSERTION]
  rules:
    - preserve_prior_versions
    - attach_timestamp_and_provenance
    - revalidate_affected_subgraph
    - recompute_derived_relations
    - recompute_FLOW_HASH
    - preserve_disputed_evidence

# 12 — AI CONSUMPTION
AI_CONSUMPTION:
  representations: [typed_graph, structured_assertions, natural_language_summary]
  query_examples:
    - "Which prey species are documented for this predator in this habitat?"
    - "What observations support this predation relationship?"
    - "How does predator trophic role vary with life stage?"
    - "Which predators may compete for the same prey?"
  response_requirements:
    - cite_observation_provenance
    - distinguish_observed_from_inferred
    - preserve_time_and_place_context
    - expose_confidence_and_uncertainty
    - avoid_unsupported_population_level_causality

# 13 — EXAMPLE (SCHEMATIC, NOT A FIELD OBSERVATION)
example:
  predator: "fox-example"
  prey: "rabbit-example"
  event: "event-example"
  outcome: "consumed"
  relation: "PREYS_ON(fox-example, rabbit-example)"
  evidence: "illustrative-only"
  confidence: "not-assessed"

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