KIRETH SEMANTIC LIBRARY — FLOW ALGEBRA
Transcriptomic Data Entity Ontology
Version: 1.0 | Date: 2026-10-28 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/biological-data-entities/transcriptomic-data-ontology.html
Status: Original companion formalisation; source page content not independently verified.
Authors: Kireth Research; Sky — Recursive AI (companion formalisation)
Citation: Cite Kireth Research and the source URL when reusing this flow.
PURPOSE
Represent transcriptomic data as typed, provenance-aware, quality-controlled entities. Support reasoning over RNA measurements, experimental design, normalisation, differential expression and biological interpretation without treating inferred findings as observed facts.
FLOW "TranscriptomicDataEntityOntology" v1.0
STATE_MODEL
S_t = (I_t, R, B, K)
I_t = available observations, metadata and candidate claims
R = typed relationships and inference rules
B = biological, technical and ethical boundaries
K = reference knowledge, provenance and uncertainty
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) and evidence_supported(x, K)}
x_t* = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x_t*, provenance(x_t*))
Terminate on fixed point, budget exhaustion or unresolved evidence gap.
ENTITY_TYPES
TranscriptomicDataset: identifier, title, assay_type, organism, assembly, source
Biospecimen: specimen_id, tissue, cell_type, condition, collection_metadata
BiologicalReplicate: replicate_id, biological_unit_id, group_id
TechnicalReplicate: replicate_id, parent_biological_unit_id
RNAFeature: feature_id, feature_type, annotation_version
Gene: gene_id, genome_reference, annotation_release
TranscriptIsoform: transcript_id, parent_gene, annotation_release
Read: read_id, sequence, quality, library_id
Library: library_id, protocol_class, strandedness, batch
ExpressionMatrix: feature_ids, sample_ids, values, unit, processing_stage
ExpressionMeasurement: feature_id, sample_id, value, unit, uncertainty
NormalisationRecord: method, parameters, input_matrix, output_matrix
DifferentialExpressionResult: contrast, effect_size, uncertainty, adjusted_p
QualityMetric: metric_name, value, threshold, interpretation
AnalysisWorkflow: steps, software_versions, parameters, reference_versions
ProvenanceRecord: origin, creator, timestamp, checksum, licence
BiologicalClaim: statement, supporting_evidence, confidence, limitations
CLASSIFICATIONS
Assay: bulk RNA-seq | single-cell RNA-seq | single-nucleus RNA-seq | spatial transcriptomics | targeted expression assay | other
Feature: gene | transcript | exon | splice junction | noncoding RNA | other
DataStage: raw reads | aligned/quantified | filtered | normalised | analysed
MeasurementUnit: raw counts | TPM | CPM | normalised counts | log expression | other
ClaimStatus: observed | computed | inferred | hypothesis | unverified
RELATIONSHIPS
dataset HAS_SAMPLE specimen
specimen HAS_BIOLOGICAL_REPLICATE replicate
specimen DERIVED_FROM biological_source
library PREPARED_FROM specimen
read GENERATED_BY library
measurement MEASURES feature
measurement OBSERVED_IN specimen
transcript ISOFORM_OF gene
matrix CONTAINS measurement
result DERIVED_FROM matrix
result COMPARES experimental_group control_group
claim SUPPORTED_BY result
dataset HAS_PROVENANCE provenance_record
analysis USES_REFERENCE genome_and_annotation_version
INVARIANTS_AND_BOUNDARIES
Every measurement must identify a feature, sample, unit and processing stage.
Raw counts, TPM and normalised counts are not interchangeable.
Biological replicates must be distinguished from technical replicates.
Sample identities, batches and reference annotation versions must remain traceable.
A statistical association does not establish causation.
Differential expression requires an explicit contrast and statistical model.
Missing values are not automatically zero expression.
Human-sensitive metadata must respect consent, access and privacy restrictions.
No confidence value may be invented where supporting evidence is absent.
INFERENCE_RULES
IF expression_matrix lacks sample identifiers THEN mark invalid_for_sample_comparison.
IF measurement units differ THEN require documented conversion or separate analysis.
IF replicate independence is uncertain THEN flag pseudoreplication_risk.
IF batch is confounded with condition THEN flag interpretation_limited.
IF adjusted_p is absent THEN do not claim multiple-testing-controlled significance.
IF transcript maps to gene under recorded annotation THEN permit gene-level aggregation with documented method.
IF differential result has effect estimate and uncertainty THEN allow evidence-qualified comparison.
IF provenance or reference version missing THEN lower reproducibility confidence.
IF single-cell labels are model-assigned THEN label as inferred cell identities.
RECURSIVE_PATHWAYS
P1 ingest -> validate identifiers -> record provenance
P2 classify assay -> identify features -> identify biological units
P3 inspect quality -> document exclusions -> preserve audit trail
P4 quantify -> annotate units -> record reference versions
P5 normalise where appropriate -> preserve original matrix
P6 specify contrast -> estimate effects -> assess uncertainty
P7 map features to biological entities -> form qualified claims
P8 cross-check claims against metadata, bias and external evidence
P9 revise or stop when evidence is insufficient
TRI_MAPPING
Semantic: TranscriptomicDataset -> ExpressionMatrix -> RNAFeature -> BiologicalClaim
Formal: typed nodes + directed evidence edges + constrained inference
Operational: validate -> quantify -> analyse -> interpret -> audit
HOW_TO_READ
Each entity is a typed node; relationships are directed edges.
Pathways describe logical data transformations, not laboratory instructions.
Inference rules generate candidates only; boundary checks govern acceptance.
EXECUTION_GUARANTEE (CONDITIONAL)
Given valid identifiers, compatible units and documented provenance, the flow preserves traceability from reported claims to input observations.
It does not guarantee biological truth, reproducibility, statistical significance or causal interpretation.
CONFIDENCE_MODEL
Confidence = f(data_quality, replicate_design, effect_uncertainty, provenance, annotation_stability, independent_support)
Confidence remains qualitative unless calibrated evidence supports numerical scores.
Distinguish measurement uncertainty, statistical uncertainty and ontology-mapping uncertainty.
AI_SEARCH_FLOW
INPUT: natural-language question about transcriptomic data
1. Resolve requested entity, organism, tissue, condition and assay.
2. Locate candidate datasets and verify provenance and access.
3. Identify compatible features, reference versions and measurement units.
4. Apply relevant inference rules and boundary checks.
5. Return supported observations, analyses and uncertainty separately.
6. Attach citations, processing provenance and explicit limitations.
OUTPUT: evidence-linked answer or an unresolved-evidence response.
SEMANTIC_EQUIVALENCE
"RNA expression dataset" ~= "transcriptomic dataset" when assay context matches.
"gene expression" != "transcript abundance" without specified aggregation.
"differential expression" != "causal regulation".
UPDATE_MODEL
Any dataset revision, sample reassignment, reference update or pipeline change creates a new version with immutable lineage to prior results.
Re-evaluate downstream claims affected by the changed inputs.
END FLOW
Download Code
Copy to Clipboard