KIRETH SEMANTIC LIBRARY — FLOW ALGEBRA
SPECIES LINEAGE ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-10-28 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/evolutionary-entities/species-lineage-ontology.html
Status: Original companion formalisation based on the ontology topic; not a verified transcription of page content.
Authors: Kireth Research; Sky — Recursive AI (AI-assisted formalisation)
Citation: Cite the source URL and this companion file when reusing.
1. PURPOSE
Represent species lineages as time-indexed evolutionary hypotheses supported by genetic, morphological, fossil, geographical and reproductive evidence. Preserve uncertainty, provenance and distinctions between lineage, species taxon and individual organism.
2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed entities and evidence at time t
R_t = typed lineage relationships
B_t = constraints and validity boundaries
K_t = provenance, confidence, taxonomy and temporal context
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, new_evidence)
Note: argmax is a ranking convention, not proof of ancestry.
3. ENTITIES
SpeciesLineage: lineage_id, name, temporal_range, status, confidence
SpeciesTaxon: taxon_id, scientific_name, authority, taxonomic_concept
Population: population_id, location, interval, sample_scope
AncestralNode: node_id, inferred_interval, support
DivergenceEvent: event_id, candidate_time, evidence
GeneFlowEvent: event_id, donor, recipient, time, support
Trait: trait_id, state, observation_method
GeneticSequence: sequence_id, locus, accession, quality
FossilOccurrence: occurrence_id, locality, stratum, age_range
PhylogeneticHypothesis: tree_id, method, model, support, version
EvidenceRecord: evidence_id, source, method, date, uncertainty
4. CLASSIFICATIONS
- Extant lineage; extinct lineage; inferred ancestral lineage
- Monophyletic clade; paraphyletic assemblage (descriptive distinction)
- Divergent lineage; reticulate lineage with introgression
- Candidate lineage; supported lineage; contested lineage
These are contextual classifications, not interchangeable taxonomic ranks.
5. RELATIONSHIPS
belongs_to_population(organism, population)
assigned_to_taxon(lineage, taxon, taxonomic_concept)
descends_from(lineage_B, ancestral_node) [hypothesis]
sister_to(lineage_A, lineage_B, tree_id)
diverged_from(lineage_A, lineage_B, event_id)
shares_common_ancestor(lineage_A, lineage_B, node_id)
exhibits_trait(lineage, trait, evidence_id)
supported_by(hypothesis, evidence_id)
occurs_during(lineage, interval)
introgressed_with(lineage_A, lineage_B, event_id)
contradicted_by(hypothesis, evidence_id)
6. PATHWAYS
P1 Evidence intake -> provenance check -> quality assessment -> entity linking
P2 Sequence/trait comparison -> phylogenetic inference -> support estimation
P3 Temporal calibration -> divergence interval -> geological consistency check
P4 Population structure -> reproductive isolation evidence -> lineage delimitation
P5 Contradictory evidence -> competing hypotheses -> confidence revision
P6 New evidence -> recompute relationships -> version lineage graph
7. INFERENCE RULES
R1: IF two lineages share a supported ancestor in a specified tree THEN record common ancestry qualified by that tree.
R2: IF a branching event is supported by multiple independent evidence types THEN raise confidence subject to model adequacy.
R3: IF proposed descendant predates the proposed ancestor beyond uncertainty bounds THEN flag chronological inconsistency; do not silently reject without checking dating assumptions.
R4: IF genomic loci disagree THEN consider incomplete lineage sorting, introgression, error and model misspecification.
R5: IF morphological similarity alone is present THEN do not assert direct ancestry.
R6: IF taxonomic names change THEN retain stable lineage identifiers and historic name mappings.
R7: IF evidence is missing THEN represent unknown, not false.
R8: IF evidence is reused across analyses THEN avoid double-counting correlated support.
8. TRI-MAPPING
Natural language: 'Lineage B may descend from an ancestor shared with A.'
Entity graph: (B)-[shares_common_ancestor {tree_id, confidence}]->(A)
Flow algebra: candidate(B,A) in V_t; score=P(candidate | I_t,R_t,B_t,K_t)
9. RECURSIVE ENGINE
function refine_lineage_graph(state, evidence):
validated = validate_provenance_and_quality(evidence)
candidates = expand(state.I, state.R, validated)
admissible = filter_constraints(candidates, state.B)
ranked = rank_with_uncertainty(admissible, state.K)
revised = update_versioned_graph(state, ranked)
return revised, audit_trail
Termination: stop on convergence, evidence exhaustion or configured iteration limit.
10. CONFIDENCE AND UNCERTAINTY
Store support type (posterior probability, bootstrap, qualitative), calculation method, confidence interval and calibration assumptions. Never treat these metrics as directly interchangeable. Preserve competing topologies, missing data and alternative species concepts.
11. EXECUTION GUARANTEES (CONDITIONAL)
- Every asserted relationship must have a provenance reference or be marked hypothetical.
- Every lineage identity must be scoped to a versioned taxonomic concept.
- Temporal constraints are checked against interval uncertainty.
- Contradictory evidence is retained and auditable.
- No inference automatically establishes species status or direct ancestry.
- Deterministic replay requires pinned inputs, models, parameters and software versions.
12. AI SEARCH FLOW
INTENT: explain, classify, compare or trace species lineages
QUERY INPUTS: lineage name, taxon, period, region, evidence type
RETRIEVE: taxonomic concept -> lineage nodes -> evidence -> hypotheses
VALIDATE: identity, provenance, chronology, confidence, alternatives
RESPOND: supported relations + uncertainty + source citations
FALLBACK: insufficient evidence / contested phylogeny / unresolved taxonomy
13. HOW TO READ
Entities are nodes; predicates are typed edges; evidence records justify assertions; pathways describe transformations; constraints limit admissible interpretations. Lineage graphs are revisable scientific models, not immutable genealogies.
14. TEXT DIAGRAM
Evidence -> Validation -> Species/Population Mapping -> Candidate Trees
-> Time Calibration -> Constraint Filter -> Ranked Hypotheses
-> Versioned Lineage Graph -> Explainable AI Search Response
^ |
+--- New Evidence ------+
15. MAPPING TABLE
Concept | Entity graph | Flow role
Species lineage | SpeciesLineage | I_t entity
Ancestry hypothesis | descends_from | R_t relation
Geological time | interval constraints | B_t boundary
Sequence support | EvidenceRecord | K_t context
Updated phylogeny | graph revision | I_(t+1)
END OF FLOW
Download Code
Copy to Clipboard