Gene Expression Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
Gene Expression Entities — Parent Ontology
Kireth Semantic Library | Version 1.0 | 2026-10-15
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/gene-expression-entities.html
Status: Domain-grounded formalisation of the verified parent-page taxonomy; not a transcription of hidden specifications.
flow "GeneExpressionEntities" v1.0
# 01 — SCOPE AND INTERPRETATION
ontology.id: kireth:biological-entities/gene-expression-entities
ontology.kind: parent
ontology.domain: molecular_biology
ontology.purpose: typed classification, relational inference, contextual gene-expression reasoning
interpretation: formal_declarative_rules
world_assumption: open
inference_policy: evidence_constrained
# 02 — TYPE SYSTEM
type Entity = {id:str, label:str, ontology:str, provenance:SourceRef?}
type SourceRef = {uri:str, evidence:str?, retrieved_at:datetime?}
type Gene = Entity & {organism:str?, locus:str?}
type Transcript = Entity & {gene_id:str?, transcript_kind:str?, mature:bool?}
type TranscriptionFactor = Entity & {binding_motif:str?, action:str?}
type RNAPolymerase = Entity & {organism:str?, polymerase_class:str?}
type Ribosome = Entity & {subunits:list[str]?, organism:str?}
type TranslationComplex = Entity & {ribosome_id:str?, transcript_id:str?}
type Spliceosome = Entity & {assembly_state:str?}
type MessengerRNP = Entity & {rna_id:str?, proteins:list[str]?}
type RegulatoryProtein = Entity & {regulatory_action:str?}
type GeneProduct = Entity & {gene_id:str?, product_kind:str?}
type ProteinIsoform = GeneProduct & {parent_gene:str?, isoform_id:str?}
type ExpressionProfile = Entity & {sample_id:str?, assay:str?, values:map[str,float]?}
type RegulatoryNetworkEntity = Entity & {nodes:list[str]?, edges:list[str]?}
type EpigeneticMarker = Entity & {mark_kind:str?, genomic_region:str?}
type MethylatedDNA = Entity & {region:str?, methylation_context:str?}
type Histone = Entity & {histone_class:str?, modifications:list[str]?}
type Chromatin = Entity & {organisation:str?}
type Euchromatin = Chromatin
type Heterochromatin = Chromatin
type Context = {organism:str?, tissue:str?, cell_type:str?, condition:str?, time:str?, assay:str?}
type Assertion = {subject:str, predicate:str, object:str, context:Context?, evidence:list[SourceRef], confidence:float}
# 03 — PARENT TAXONOMY
CLASS GeneExpressionEntity <: Entity
CLASS Transcript <: GeneExpressionEntity
CLASS TranscriptionFactor <: GeneExpressionEntity
CLASS RNAPolymerase <: GeneExpressionEntity
CLASS Ribosome <: GeneExpressionEntity
CLASS TranslationComplex <: GeneExpressionEntity
CLASS Spliceosome <: GeneExpressionEntity
CLASS MessengerRNP <: GeneExpressionEntity
CLASS RegulatoryProtein <: GeneExpressionEntity
CLASS GeneProduct <: GeneExpressionEntity
CLASS ProteinIsoform <: GeneProduct
CLASS ExpressionProfile <: GeneExpressionEntity
CLASS RegulatoryNetworkEntity <: GeneExpressionEntity
CLASS EpigeneticMarker <: GeneExpressionEntity
CLASS MethylatedDNA <: GeneExpressionEntity
CLASS Histone <: GeneExpressionEntity
CLASS Chromatin <: GeneExpressionEntity
CLASS Euchromatin <: Chromatin
CLASS Heterochromatin <: Chromatin
# 04 — RELATIONSHIP SIGNATURES
REL transcribed_from(Transcript, Gene)
REL synthesised_by(Transcript, RNAPolymerase)
REL binds_regulatory_region(TranscriptionFactor, Entity)
REL regulates_expression(RegulatoryProtein, Gene)
REL processed_by(Transcript, Spliceosome)
REL packaged_as(Transcript, MessengerRNP)
REL translated_by(Transcript, Ribosome)
REL participates_in(TranslationComplex, Entity)
REL encodes(Gene, GeneProduct)
REL isoform_of(ProteinIsoform, GeneProduct)
REL measured_in(GeneExpressionEntity, ExpressionProfile)
REL network_member(GeneExpressionEntity, RegulatoryNetworkEntity)
REL modifies_chromatin(EpigeneticMarker, Chromatin)
REL associated_with(MethylatedDNA, Chromatin)
REL component_of(Histone, Chromatin)
REL chromatin_state(Chromatin, Entity)
REL influences_accessibility(Chromatin, Gene)
REL supported_by(Assertion, SourceRef)
# 05 — CLASSIFICATION RULES
RULE R01: instance(x, ProteinIsoform) -> instance(x, GeneProduct)
RULE R02: instance(x, Euchromatin) -> instance(x, Chromatin)
RULE R03: instance(x, Heterochromatin) -> instance(x, Chromatin)
RULE R04: instance(x, Transcript) -> instance(x, GeneExpressionEntity)
RULE R05: instance(x, Chromatin) -> instance(x, GeneExpressionEntity)
RULE R06: transcribed_from(t,g) -> instance(t,Transcript) AND instance(g,Gene)
RULE R07: processed_by(t,s) -> instance(t,Transcript) AND instance(s,Spliceosome)
RULE R08: translated_by(t,r) -> instance(t,Transcript) AND instance(r,Ribosome)
RULE R09: isoform_of(i,p) -> instance(i,ProteinIsoform) AND instance(p,GeneProduct)
RULE R10: component_of(h,c) -> instance(h,Histone) AND instance(c,Chromatin)
# 06 — BIOLOGICAL PROCESS FLOWS
PROCESS transcription:
inputs: [Gene, RNAPolymerase, transcription_context]
outputs: [Transcript]
preconditions: [compatible_template, active_polymerase]
infer: transcribed_from(output_transcript,input_gene)
infer: synthesised_by(output_transcript,input_polymerase)
PROCESS rna_processing:
inputs: [Transcript, processing_machinery]
outputs: [processed_transcript]
note: splicing is conditional on transcript type and organism
PROCESS translation:
inputs: [coding_Transcript, Ribosome, charged_tRNAs, translation_factors]
outputs: [polypeptide]
preconditions: [valid_translation_initiation, coding_sequence]
note: not all transcripts are translated
PROCESS expression_measurement:
inputs: [biological_sample, assay, reference_annotations]
outputs: [ExpressionProfile]
requires: [sample_context, normalisation_metadata, uncertainty_metadata]
PROCESS chromatin_regulation:
inputs: [Chromatin, EpigeneticMarker, Context]
outputs: [context_dependent_accessibility_change]
note: methylation and histone marks do not have universal fixed expression effects
# 07 — INFERENCE SAFEGUARDS
CONSTRAINT C01: NOT every Transcript is protein_coding
CONSTRAINT C02: NOT every GeneProduct is a protein
CONSTRAINT C03: NOT every TranscriptionFactor is an activator
CONSTRAINT C04: NOT every DNA methylation event represses transcription
CONSTRAINT C05: NOT every Euchromatin region is actively transcribed
CONSTRAINT C06: NOT every Heterochromatin region is permanently silent
CONSTRAINT C07: association != causation
CONSTRAINT C08: differential_expression != direct_regulation
CONSTRAINT C09: gene_expression_context must be preserved in inferred claims
CONSTRAINT C10: measured RNA abundance != protein abundance
# 08 — CONFIDENCE
CONFIDENCE:
domain: [0.0,1.0]
factors: [source_quality, directness, replication, context_match, method_validity]
rule: derived_confidence <= minimum_relevant_premise_confidence
rule: conflicting_evidence -> flag_for_review
rule: missing_evidence -> unknown_not_false
rule: confidence_is_evidential_not_biological_probability
# 09 — SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE:
canonical_labels:
"RNA polymerase": RNAPolymerase
"transcription factor": TranscriptionFactor
"messenger ribonucleoprotein": MessengerRNP
"mRNP": MessengerRNP
"gene expression profile": -ExpressionProfile
"open chromatin": chromatin_accessibility_descriptor
rule: aliases_require_matching_context_and_definition
rule: related_to != equivalent_to
rule: transcript != gene
rule: protein_isoform != transcript_isoform
rule: chromatin_accessibility_descriptor != Euchromatin
# 10 — RECURSIVE REASONING
RECURSIVE_REASONING:
input: [query_entity, target_relation, Context]
steps:
- resolve_entity_identity
- classify_by_parent_taxonomy
- traverse_typed_relations
- enforce_domain_range_constraints
- retain_context_and_provenance
- detect_cycles_and_visited_nodes
- calculate_evidential_confidence
- emit_explainable_assertions
termination: finite_graph_or_fixed_point
prohibit: unsupported_causal_inference
# 11 — FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
canonicalisation: UTF-8_NFC + sorted_assertions + stable_identifiers
inputs: [ontology.id, version, typed_rules, source_references]
output: lowercase_hex_digest
note: compute actual digest at implementation time; no fabricated hash
# 12 — UPDATE_MODEL
UPDATE_MODEL:
strategy: append_versioned_evidence
triggers: [new_peer_reviewed_evidence, taxonomy_revision, corrected_annotation, assay_reanalysis]
actions:
- validate_source
- compare_semantic_diff
- preserve_previous_version
- recompute_affected_inferences
- recalculate_confidence
- regenerate_FLOW_HASH
conflicts: retain_provenance_and_mark_unresolved
# 13 — AI_CONSUMPTION
AI_CONSUMPTION:
format: typed_semantic_graph
operations: [classify, link, query, explain, validate, update]
outputs: [entities, relationships, evidence, context, confidence, limitations]
requirements: [do_not_invent_sources, preserve_uncertainty, respect_open_world_assumption]
inference: execute_formal_rules_only_when_premises_are_supported
# 14 — VALIDATION
VALIDATE:
- all_relationships_match_declared_domain_and_range
- all_entities_have_stable_ids
- every_empirical_claim_has_provenance
- all_confidence_values_within_0_to_1
- all_contextual_inferences_retain_context
- cycles_do_not_cause_nontermination
- no_unjustified_equivalence_or_causality
# 15 — EXAMPLE QUERY PATTERNS
QUERY Q01: classify(entity_id) -> taxonomy_path
QUERY Q02: find_transcripts(gene_id, context) -> list[Transcript]
QUERY Q03: find_regulators(gene_id, context) -> evidence_ranked_regulators
QUERY Q04: inspect_expression(gene_id, sample_id) -> expression_values_and_uncertainty
QUERY Q05: trace_isoforms(gene_id) -> supported_isoform_relations
QUERY Q06: inspect_chromatin(gene_id, context) -> contextual_accessibility_evidence
END FLOW ALGEBRA