AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH SEMANTIC LIBRARY — FLOW ALGEBRA
EPIGENOMIC DATA ENTITY ONTOLOGY
Version: 1.0 | 2026-10-28 | UTF-8
Author: Kireth Research | Companion formalisation: Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/biological-data-entities/epigenomic-data-ontology.html
Status: Original topic-based companion; source-page formal specification not independently verified.
PURPOSE
Represent epigenomic observations, genomic coordinates, assays, biological contexts, provenance and uncertainty as a traceable semantic entity graph. Distinguish direct measurements from interpretations and causal claims.
STATE MODEL
S_t = (I_t, R, B, K)
I_t = current observations, metadata, annotations and queries
R = typed relationships and transformation rules
B = evidence, quality, biological and privacy boundaries
K = reference assemblies, assay knowledge, controlled vocabularies and provenance
E_t = expand(I_t, R)
V_t = {x in E_t : validate(x, B, K)}
x* = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*, provenance, confidence)
Stop when no admissible novel inference remains, the depth limit is reached or the requested answer is supported.
ENTITY TYPES
EpigenomicDataset; BiologicalSample; Biospecimen; CellType; Tissue; Organism; ExperimentalCondition; Assay; SequencingRun; Read; Alignment; ReferenceGenome; GenomicInterval; EpigenomicFeature; DNA_MethylationObservation; HistoneModificationObservation; ChromatinAccessibilityObservation; ChromatinInteractionObservation; NucleosomePositionObservation; RegulatoryElement; Gene; Transcript; Replicate; QualityMetric; NormalisationMethod; StatisticalResult; Annotation; ProvenanceRecord; ConsentRestriction.
ASSAY FAMILIES
DNA methylation: bisulphite-based and other methylation assays.
Histone modification: ChIP-seq and related profiling methods.
Chromatin accessibility: ATAC-seq and DNase-based approaches.
Chromatin organisation: chromosome conformation capture methods.
Single-cell epigenomics: observations indexed by cell or cell cluster.
Assay identity is mandatory before interpreting an observation.
RELATIONSHIPS
Dataset --derived_from--> BiologicalSample
Dataset --generated_by--> Assay
BiologicalSample --has_cell_type--> CellType
BiologicalSample --has_condition--> ExperimentalCondition
EpigenomicFeature --located_at--> GenomicInterval
GenomicInterval --uses_reference--> ReferenceGenome
Observation --measures--> EpigenomicFeature
Observation --supported_by--> SequencingRun
Observation --has_quality--> QualityMetric
Observation --has_replicate--> Replicate
Observation --processed_with--> NormalisationMethod
Observation --has_provenance--> ProvenanceRecord
RegulatoryElement --associated_with--> Gene [evidence qualified]
Annotation --based_on--> Observation
TYPED OBSERVATION
O = (feature_id, interval, assembly, assay, sample_id, value, unit, method, uncertainty, quality, provenance)
Coordinates require assembly name, chromosome/contig, interval convention and strand when relevant.
Methylation proportion: m = methylated_support / total_informative_support, when support is nonzero and assay assumptions hold.
Differential signal: delta = estimate(condition_A) - estimate(condition_B); comparison requires compatible assays, normalisation and biological context.
Uncertainty may include confidence interval, standard error, false-discovery-adjusted p-value and missingness.
INFERENCE RULES
R1: If a dataset has an assay, sample and valid provenance, classify it as an assay-linked epigenomic dataset.
R2: If intervals use incompatible genome assemblies, prohibit direct coordinate overlap until validated liftover.
R3: If a feature overlaps an annotated promoter, infer spatial overlap only, not regulation or causation.
R4: If replicates and quality controls support a differential result, attach evidence-weighted differential annotation.
R5: If batch or cell-type composition differs between groups, flag possible confounding.
R6: If data are single-cell, retain cell-level uncertainty and aggregation method.
R7: If a feature is associated with a gene, label the association as predicted, correlative or experimentally supported.
R8: If consent or access restrictions prohibit disclosure, suppress restricted records and derived identifying outputs.
R9: If provenance or reference assembly is missing, return an incomplete-annotation status instead of a definitive interpretation.
RECURSIVE PATHWAY
query -> identify assay and biological context -> retrieve observations -> verify reference coordinates -> assess quality and replication -> resolve annotations -> evaluate confounders -> attach confidence -> emit traceable result -> optionally expand linked entities.
Recursion must track visited entity IDs, enforce a depth limit and avoid circular inference.
TRI-MAPPING
Natural language: 'Chromatin accessibility is higher near gene G in condition A.'
Entity graph: Condition A -> Sample -> Accessibility Observation -> Interval -> Nearby Gene G.
Formal: Delta_accessibility(interval, A, B) > 0, subject to statistical, assay and annotation constraints.
Interpretation: increased measured accessibility at a locus; gene expression or causal regulation is not established without further evidence.
HOW TO READ
Each assertion must state what was measured, where, in which sample, by which assay, with which reference and how confidently. Graph edges are typed claims rather than interchangeable semantic similarities.
MAPPING TABLE
Dataset -> EpigenomicDataset -> data object
Sample -> BiologicalSample -> biological context
Assay -> Assay -> measurement process
Locus -> GenomicInterval -> coordinate anchor
Signal -> EpigenomicFeature/Observation -> measured evidence
Gene link -> Annotation -> qualified interpretation
Source -> ProvenanceRecord -> audit trail
CONFIDENCE MODEL
C = f(assay_quality, coverage, replicate_consistency, batch_control, statistical_support, annotation_reliability, provenance_completeness)
Do not interpret C as a calibrated probability without validation data. Preserve uncertainty and competing explanations.
EXECUTION GUARANTEES (CONDITIONAL)
G1: Every emitted observation carries a source and assay identifier.
G2: No coordinate joins across assemblies without explicit validated conversion.
G3: Missing values remain missing; they are never silently treated as zero.
G4: Association is never automatically promoted to causation.
G5: Restricted sample information is not exposed.
G6: All generated inferences remain auditable and reversible.
These are design invariants, not guarantees of empirical correctness.
AI SEARCH FLOW
Intent: locate, compare and interpret epigenomic data entities.
Inputs: biological context, assay, genome assembly, locus/gene, condition, quality thresholds.
Retrieval: datasets -> samples -> assays -> observations -> genomic intervals -> annotations.
Ranking: relevance + assay compatibility + evidence quality + provenance completeness.
Output: matched entities, typed relationships, measurements, uncertainty, source references, limitations.
Failure: no_match | incompatible_assembly | insufficient_quality | restricted_data | unresolved_context.
SEMANTIC EQUIVALENCE
'Epigenetic profile' may denote a broad data collection; it is not automatically equivalent to a methylation profile, chromatin accessibility profile or histone-mark profile. Equivalence requires compatible assay, scale, sample and feature definitions.
UPDATE AND VERSIONING
Store ontology version, reference assembly, annotation release, pipeline version, source date and immutable provenance links. Re-evaluate dependent claims when underlying observations or annotations change.
END FLOW