Skip to main content

Class Rank Ontology

Taxonomic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 19 October 2026
Audio Overview
FLOW ALGEBRA
Class Rank Ontology — Kireth Semantic Library
Version: 1.0 | Date: 2026-10-19
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/taxonomic-entities/class-rank-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)

PURPOSE
Represent the biological taxonomic rank Class as a typed, provenance-aware node in a classification graph. Support rank validation, containment, nomenclature, classification revisions and evidence-qualified inference.

ONTOLOGY
ontology ClassRankOntology v1.0 {
  namespace: kireth.biological_entities.taxonomic_entities.class_rank
  parent: TaxonomicEntityOntology
  entity: Taxon
  rank: Class
  scope: biological_taxonomy
}

TYPES
  TaxonID: string
  TaxonName: string
  Rank: enum {Domain, Kingdom, Phylum, Subphylum, Class, Subclass, Infraclass, Superorder, Order, Family, Genus, Species, Other}
  TaxonomicStatus: enum {accepted, synonym, disputed, unplaced, historical}
  EvidenceID: string
  SourceID: string
  Timestamp: ISO8601
  Confidence: real[0,1]
  ClassificationID: string

ENTITY Taxon {
  id: TaxonID
  scientific_name: TaxonName
  rank: Rank
  parent_id: TaxonID?
  classification_id: ClassificationID
  status: TaxonomicStatus
  authority: string?
  source: SourceID
  observed_at: Timestamp?
  confidence: Confidence
}

ENTITY ClassTaxon EXTENDS Taxon {
  constraint: rank == Class
  examples: [Mammalia, Aves, Insecta, Amphibia]
}

RELATIONSHIPS
  HAS_RANK(Taxon, Rank)
  PARENT_TAXON(Taxon, Taxon)
  CHILD_TAXON(Taxon, Taxon)
  BELONGS_TO_CLASS(Taxon, ClassTaxon)
  CLASS_WITHIN_PHYLUM(ClassTaxon, Taxon)
  HAS_ACCEPTED_NAME(Taxon, TaxonName)
  HAS_SYNONYM(Taxon, TaxonName)
  SUPPORTED_BY(Taxon, EvidenceID)
  CLASSIFIED_UNDER(Taxon, ClassificationID)
  REVISED_FROM(Taxon, Taxon)
  SEMANTIC_EQUIVALENCE(Taxon, Taxon, Confidence)

AXIOMS AND INVARIANTS
  A1: ClassTaxon(x) -> Taxon(x) AND rank(x) = Class.
  A2: PARENT_TAXON(x,y) -> classification_id(x) = classification_id(y).
  A3: PARENT_TAXON is irreflexive and acyclic within a classification version.
  A4: Each accepted taxon has at most one direct accepted parent per classification version, unless the source explicitly models an alternative hierarchy.
  A5: Rank ordering is checked using the declared scheme; intermediate ranks may occur.
  A6: A scientific name alone does not establish taxon identity across sources or revisions.
  A7: Membership and rank claims require explicit source and classification context.

FLOW RULES
  rule R1_CLASS_DETECTION:
    IF Taxon(x) AND rank(x) == Class
    THEN ClassTaxon(x).

  rule R2_CLASS_MEMBERSHIP:
    IF PARENT_TAXON(x,c) AND ClassTaxon(c)
    THEN BELONGS_TO_CLASS(x,c).

  rule R3_DESCENDANT_MEMBERSHIP:
    IF PARENT_TAXON(x,y) AND BELONGS_TO_CLASS(y,c)
       AND same_classification(x,y,c)
    THEN BELONGS_TO_CLASS(x,c).

  rule R4_PARENT_CLASSIFICATION:
    IF ClassTaxon(c) AND PARENT_TAXON(c,p) AND rank(p) == Phylum
    THEN CLASS_WITHIN_PHYLUM(c,p).
    NOTE: A class may instead have an intermediate parent such as a subphylum.

  rule R5_HIERARCHY_VALIDATION:
    IF PARENT_TAXON(child,parent) AND NOT permitted_rank_path(rank(child),rank(parent),classification_id(child))
    THEN flag(rank_inconsistency, child, parent).

  rule R6_CYCLE_DETECTION:
    IF ancestor(x,x,classification_id(x))
    THEN flag(taxonomic_cycle,x).

  rule R7_NAME_DISAMBIGUATION:
    IF same_name(x,y) AND classification_id(x) != classification_id(y)
    THEN require(identity_evidence,x,y).

  rule R8_REVISION:
    IF accepted_taxon_replaced(old,new,source)
    THEN REVISED_FROM(new,old); preserve(old); revalidate_descendants(new).

  rule R9_UNCERTAIN_MEMBERSHIP:
    IF candidate_membership(x,c) AND evidence_strength(x,c) < threshold
    THEN mark(disputed_membership,x,c); DO_NOT_ASSERT(BELONGS_TO_CLASS(x,c)).

  rule R10_CONFLICT:
    IF incompatible_accepted_parents(x,p1,p2,same_classification)
    THEN flag(classification_conflict,x,p1,p2).

SEMANTIC_EQUIVALENCE
  exact: same stable taxon identifier, classification version and accepted concept.
  close: independently supported congruent taxon circumscriptions.
  related: shared rank or overlapping membership without concept identity.
  forbidden: equating two classes merely because they share a name or rank.

CONFIDENCE
  confidence(assertion) = calibrated_evidence_score(assertion, source_reliability, taxonomic_consensus, recency)
  range: [0,1]
  policy: record uncertainty; never invent scores or silently upgrade disputed assertions.

PROVENANCE
  Every assertion stores source_id, source_url?, retrieval_date?, evidence_id?, classification_id, version, asserted_by and confidence.
  Keep historical classifications alongside newer revisions; do not overwrite source evidence.

FLOW_HASH
  canonical_payload = canonicalise(ontology_id, version, entity_ids, typed_relations, rules, classification_id, provenance)
  FLOW_HASH = SHA256(UTF8(canonical_payload))
  Recompute on semantic changes; exclude volatile retrieval timestamps unless part of the canonical versioned assertion.

UPDATE_MODEL
  ingest -> validate_types -> resolve_taxon_identifiers -> verify_rank_scheme -> detect_cycles -> reconcile_conflicts -> version_assertions -> recompute_flow_hash -> publish.
  Updates must be reversible and preserve prior versions.

AI_CONSUMPTION
  Input: taxon name or ID, classification scheme, evidence and query.
  Output: typed class-rank entities, lineage paths, membership, evidence, confidence, contradictions and provenance.
  Never infer class membership from vernacular names alone.
  Clearly distinguish taxonomic rank (Class) from a programming class or ecological class.
  Return 'unknown' when evidence is insufficient.

EXAMPLE (illustrative, classification-dependent)
  Taxon(Mammalia, rank=Class)
  Taxon(Chordata, rank=Phylum)
  CLASS_WITHIN_PHYLUM(Mammalia, Chordata)
  Taxon(Primates, rank=Order)
  PARENT_TAXON(Primates, Mammalia)
  BELONGS_TO_CLASS(Primates, Mammalia)

VALIDATION
  require typed entities, provenance and versioned rank schemes.
  reject cycles, orphan references and unsupported equivalence assertions.
  emit diagnostics for conflicting parent assignments and uncertain classifications.

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