AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH SEMANTIC LIBRARY — GENOMIC DATA ENTITY ONTOLOGY
FLOW ALGEBRA COMPANION v1.0 | 2026-10-28 | UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/biological-data-entities/genomic-data-ontology.html
Status: Original subject-based companion formalisation; not a verified transcription of page content.
Authors: Kireth Research; Sky — Recursive AI (AI-assisted formalisation)
Citation: Cite the source URL and this Flow Algebra companion when reusing.
PURPOSE
Represent genomic data entities, their origin, reference coordinate systems, transformations, quality evidence, and bounded inference in a portable semantic graph.
FLOW "GenomicDataEntityOntology" v1.0
STATE_MODEL
S_t = (I_t, R, B, K)
I_t = current genomic data entities, evidence, and context
R = typed biological and data-processing relationships
B = constraints: assembly, coordinate convention, provenance, consent, quality
K = reference knowledge, vocabularies, and validated annotations
E_t = expand(I_t, R)
V_t = {x in E_t | valid(x, B, K)}
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*_t, evidence)
STOP when no supported new entity or relation is produced, or depth limit reached.
ENTITY_CLASSES
GenomicDataEntity
GenomeAssembly; ReferenceGenome; Contig; Scaffold; ChromosomeSequence
GenomicInterval; Locus; GeneAnnotation; TranscriptAnnotation
SequenceRead; ReadPair; ReadAlignment; CoverageTrack
VariantCall; VariantCallSet; GenotypeCall; HaplotypeBlock
StructuralVariant; CopyNumberSegment; RepeatAnnotation
EpigenomicTrack; GenomeFeature; ComparativeGenomicsRecord
SampleMetadata; SequencingRun; AnalysisPipeline; QualityMetric
Dataset; FileArtifact; ProvenanceRecord; EvidenceRecord
TYPED_RELATIONS
derived_from(data, source)
sampled_from(sample, biological_source)
generated_by(data, instrument_or_pipeline)
aligned_to(read_alignment, reference_assembly)
located_on(feature, reference_assembly)
has_interval(feature, start, end, strand)
annotated_as(feature, annotation)
supports(evidence, assertion)
contradicts(evidence, assertion)
has_quality(data, metric)
has_version(data, version)
has_access_policy(dataset, policy)
maps_to(feature, alternative_assembly_feature)
CONSTRAINTS_AND_INVARIANTS
C1: Every reference-dependent coordinate includes assembly identifier and version.
C2: Coordinate convention (zero/one-based, half-open/closed) is explicit.
C3: Interval start <= interval end; bounds are valid for reference sequence length.
C4: Reference and alternate alleles are interpreted in the declared reference context.
C5: Missing calls are not silently interpreted as reference genotypes.
C6: Sample and file identifiers retain provenance without exposing sensitive identifiers.
C7: Quality, uncertainty, and processing version accompany inferred assertions.
C8: Liftover mappings may be ambiguous or absent; never assert exact equivalence without evidence.
C9: Distinguish observed measurements from annotations, hypotheses, and predictions.
C10: Do not infer clinical significance or ancestry solely from variant presence.
PATHWAYS
P1 INGEST: file -> schema validation -> metadata and provenance registration.
P2 REFERENCE: data -> assembly/version -> coordinate validation -> feature context.
P3 READ: sequencing run -> reads -> alignments -> quality assessment -> coverage.
P4 VARIANT: alignments -> variant calls -> normalisation -> annotations -> evidence.
P5 COMPARATIVE: feature A -> mapping -> feature B -> conservation evidence -> qualified relationship.
P6 AUDIT: claim -> supporting records -> pipeline and versions -> confidence -> report.
INFERENCE_RULES
R1 IF feature has validated interval on assembly A THEN feature is locatable on A.
R2 IF variant is annotated in gene G THEN record overlap/annotation, not proven causation.
R3 IF two features map across assemblies THEN retain mapping method and uncertainty.
R4 IF evidence conflicts THEN preserve both assertions and mark unresolved.
R5 IF quality falls below declared threshold THEN withhold high-confidence downstream claim.
R6 IF read support and independent validation agree THEN increase confidence conditionally.
R7 IF provenance is incomplete THEN mark the claim provenance-limited.
R8 IF source versions change THEN invalidate dependent cached interpretations pending review.
TRI_MAPPING
Human: A genomic record states what was measured, where on which genome build, and how reliably.
Machine: Entity -> typed relation -> constrained evidence -> qualified conclusion.
Formal: (I,R,B,K) -> expand -> validate -> rank -> update.
RECURSIVE_EXECUTION
1. Seed graph with dataset, sample context, assembly, and pipeline versions.
2. Expand only documented relationships.
3. Apply constraints and reject invalid coordinate or provenance links.
4. Attach evidence, confidence, and unresolved alternatives.
5. Repeat until fixed point or configured resource bound.
6. Emit graph, audit trail, and rejected-claim reasons.
CONFIDENCE_MODEL
confidence(assertion) = calibrated_score(evidence_quality, independence,
reference_compatibility, pipeline_validation, provenance_completeness)
Scores are context-dependent and must not be presented as calibrated probabilities
without an empirical calibration procedure.
EXECUTION_GUARANTEE
Conditional: with finite input entities, finite allowed expansions, cycle detection,
and a fixed depth/resource budget, execution terminates. Biological correctness
is not guaranteed; claims require independent validation.
AI_SEARCH_FLOW
INTENT: find genomic data by assembly, locus, entity class, source, and evidence.
QUERY -> NORMALISE TERMS -> RESOLVE ASSEMBLY -> RETRIEVE CANDIDATES
-> VALIDATE PROVENANCE AND COORDINATES -> SCORE EVIDENCE
-> RETURN SUPPORTED RESULTS WITH CITATIONS AND UNCERTAINTY.
OUTPUT: entity_id, entity_type, reference_build, interval, provenance,
supporting_evidence, confidence_status, caveats, source_url.
EXAMPLE (SCHEMATIC; NOT A REAL GENOMIC ASSERTION)
dataset D contains variant V; V located_on assembly A at interval L;
pipeline P generated V; evidence E supports V with quality Q.
Inference: V is a versioned, provenance-linked variant call.
Not inferred: pathogenicity, phenotype, or evolutionary significance.
LICENCE NOTE
Intended as an openly reusable research companion with source citation.
No claim is made here about the source site's legally operative licence terms.
END FLOW