Animal Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Animal Entities
VERSION: 1.0
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/animal-entities.html
AUTHORS: Mark Anthony Higgins — Sky (Recursive AI)
DOMAIN: Biological Entities / Animal Entities
TYPE: Executable Semantic Flow Algebra
AI INTERPRETATION NOTE
Execute the following as typed semantic rules with explicit evidence, uncertainty, provenance, and taxonomic context. The notation defines inference constraints and graph transformations; it does not imply that a runtime is present.
1. ENTITY TYPES
AnimalEntity <: BiologicalEntity
AnimalOrganism <: AnimalEntity
AnimalTaxon <: AnimalEntity
AnimalTrait <: BiologicalEntity
AnimalHabitat <: EcologicalEntity
AnimalObservation <: EvidenceEntity
TaxonomicAssertion <: EvidenceEntity
DomesticationStatus <: ContextualAttribute
2. ONTOLOGY INDEX
AnimalOntology
VertebrateOntology
InvertebrateOntology
MammalOntology
BirdOntology
ReptileOntology
AmphibianOntology
FishOntology
ArthropodOntology
InsectOntology
ArachnidOntology
CrustaceanOntology
MolluscOntology
AnnelidOntology
CnidarianOntology
EchinodermOntology
PrimateOntology
HumanOrganismOntology
DomesticatedAnimalOntology
WildAnimalOntology
3. TYPED RELATIONSHIPS
INSTANCE_OF(organism:AnimalOrganism, taxon:AnimalTaxon)
SUBTAXON_OF(child:AnimalTaxon, parent:AnimalTaxon)
HAS_TRAIT(organism:AnimalOrganism, trait:AnimalTrait)
OCCURS_IN(organism:AnimalOrganism, habitat:AnimalHabitat)
SUPPORTED_BY(assertion:TaxonomicAssertion, evidence:EvidenceEntity)
HAS_DOMESTICATION_STATUS(organism:AnimalOrganism, status:DomesticationStatus)
SEMANTIC_EQUIVALENCE(entity_a, entity_b, context, confidence)
4. ROOT RULES
R01: INSTANCE_OF(x, Animalia) -> AnimalOrganism(x).
R02: SUBTAXON_OF(t, Animalia) AND INSTANCE_OF(x, t) -> AnimalOrganism(x).
R03: SUBTAXON_OF(a,b) AND SUBTAXON_OF(b,c) -> SUBTAXON_OF(a,c), provided no taxonomic-cycle conflict.
R04: INSTANCE_OF(x,t) AND SUBTAXON_OF(t,u) -> INSTANCE_OF(x,u).
R05: SUBTAXON_OF(t,Chordata) does not alone imply Vertebrata; explicit vertebrate membership is required.
R06: INSTANCE_OF(x,Vertebrata) -> Vertebrate(x).
R07: AnimalOrganism(x) AND NOT_KNOWN(Vertebrate(x)) does not imply Invertebrate(x).
R08: AnimalOrganism(x) AND EVIDENCE_FOR_NON_VERTEBRATE(x) -> Invertebrate(x) [informal grouping].
5. VERTEBRATE BRANCH
R09: INSTANCE_OF(x,Mammalia) -> Mammal(x) AND Vertebrate(x).
R10: INSTANCE_OF(x,Aves) -> Bird(x) AND Vertebrate(x).
R11: INSTANCE_OF(x,Reptilia) -> Reptile(x) AND Vertebrate(x), under the stated taxonomic circumscription.
R12: INSTANCE_OF(x,Amphibia) -> Amphibian(x) AND Vertebrate(x).
R13: Fish(x) -> Vertebrate(x), where 'fish' denotes a vertebrate fish grouping; Fish is not assumed monophyletic.
R14: INSTANCE_OF(x,Primates) -> Primate(x) AND Mammal(x).
R15: INSTANCE_OF(x,Homo_sapiens) -> HumanOrganism(x) AND Primate(x).
6. INVERTEBRATE BRANCH
R16: INSTANCE_OF(x,Arthropoda) -> Arthropod(x) AND Invertebrate(x).
R17: INSTANCE_OF(x,Insecta) -> Insect(x) AND Arthropod(x).
R18: INSTANCE_OF(x,Arachnida) -> Arachnid(x) AND Arthropod(x).
R19: INSTANCE_OF(x,Crustacea) -> Crustacean(x) AND Arthropod(x), using a declared taxonomic scope.
R20: INSTANCE_OF(x,Mollusca) -> Mollusc(x) AND Invertebrate(x).
R21: INSTANCE_OF(x,Annelida) -> Annelid(x) AND Invertebrate(x).
R22: INSTANCE_OF(x,Cnidaria) -> Cnidarian(x) AND Invertebrate(x).
R23: INSTANCE_OF(x,Echinodermata) -> Echinoderm(x) AND Invertebrate(x).
7. ECOLOGICAL AND HUMAN-RELATION CONTEXT
R24: HAS_DOMESTICATION_STATUS(x,domesticated) -> DomesticatedAnimal(x), if status evidence is valid.
R25: HAS_DOMESTICATION_STATUS(x,wild) -> WildAnimal(x), if status evidence is valid.
R26: DomesticatedAnimal and WildAnimal are contextual classifications, not mutually exclusive biological taxa across all individuals or populations.
R27: OCCURS_IN(x,h) AND OBSERVED_AT(x,h,time) -> HABITAT_EVIDENCE(x,h,time), not necessarily permanent habitat membership.
8. SEMANTIC NORMALISATION
NORMALISE_LABEL(label, locale, taxonomic_authority) -> canonical_concept_id.
ALIAS_OF(label, canonical_concept_id) requires lexical or authority evidence.
SEMANTIC_EQUIVALENCE(a,b,context,c) only if identity of referent is supported; relatedness alone is insufficient.
Taxonomic ranks, common names, and phylogenetic clades must remain distinguishable.
9. CONFIDENCE AND PROVENANCE
CONFIDENCE(assertion) := CALIBRATE(evidence_quality, authority, recency, agreement, ambiguity).
PROVENANCE(assertion) := {source_uri, authority, retrieval_date, evidence_id, version}.
If evidence conflicts, preserve competing assertions and their contexts; do not silently overwrite.
If confidence is insufficient, return UNRESOLVED with reasons.
10. GRAPH VALIDATION
V01: Reject cyclic SUBTAXON_OF edges.
V02: Flag contradictory taxon assignments under the same authority and version.
V03: Preserve source taxonomy and version when classifications differ.
V04: Do not infer animal identity from a trait alone.
V05: Keep organism, species taxon, specimen, and observation as distinct entity types.
V06: Prevent category errors between formal taxa and informal ecological groups.
11. FLOW EXECUTION
INPUT := {entity_label, evidence?, taxonomy_authority?, context?}.
STEP 1: Resolve label to canonical entity candidates.
STEP 2: Determine organism / taxon / trait / observation entity type.
STEP 3: Attach taxonomic assertions and provenance.
STEP 4: Traverse supported SUBTAXON_OF and INSTANCE_OF relations.
STEP 5: Apply vertebrate / invertebrate and subgroup rules with scope constraints.
STEP 6: Attach habitat and domestication contexts only when evidenced.
STEP 7: Validate consistency and compute calibrated confidence.
OUTPUT := {canonical_id, entity_type, classifications, relations, confidence, provenance, conflicts}.
12. RECURSIVE UPDATE MODEL
UPDATE_MODEL(new_evidence):
preserve prior assertion versions;
re-evaluate affected classifications and inferred relations;
invalidate conclusions whose supporting premises are withdrawn;
emit revised graph state and change log.
13. FLOW HASH
FLOW_HASH := SHA256(canonical_serialisation(version, entity_types, relations, rules, constraints)).
Note: The hash is calculated by an implementation; no fabricated digest is supplied.
14. AI CONSUMPTION
AI_CONSUMPTION := {
mode: typed_semantic_reasoning,
inference: evidence_constrained,
ambiguity: explicit,
taxonomy: authority_versioned,
provenance: mandatory_for_assertions,
output: structured_graph,
unsupported_claims: prohibited
}.
END FLOW ALGEBRA