Skip to main content

Regulatory Network Entity Ontology

Gene Expression Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 15 October 2026
Audio Overview
FLOW ALGEBRA
REGULATORY NETWORK ENTITY ONTOLOGY
Kireth Semantic Library | Biological Entities / Gene Expression Entities
Version: 1.0 | Date: 2026-10-15 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/gene-expression-entities/regulatory-network-entity-ontology.html
Status: Domain-grounded formalisation; source chapter not independently verified.
Authors: Mark Higgins — Sky (Recursive AI)

# 01 — DOMAIN AND PURPOSE
flow "RegulatoryNetworkEntityOntology" v1.0
namespace: kireth.biological.gene_expression.regulatory_network
purpose: represent, validate and reason over gene-regulatory network entities, interactions, context and evidence.
assumption: network edges are context-dependent hypotheses unless supported by specific observations.

# 02 — TYPE SYSTEM
type Entity = {id: str, label: str, kind: EntityKind, organism: str?, provenance: EvidenceRef[]}
type EntityKind = Gene | Transcript | Protein | TranscriptionFactor | RegulatorySequence | Promoter | Enhancer | Silencer | ChromatinRegion | NonCodingRNA | RegulatoryComplex | CellularContext | NetworkModule
type Edge = {source: Entity.id, target: Entity.id, relation: Relation, sign: Sign, context: Context, evidence: EvidenceRef[], confidence: float}
type Relation = regulates | activates | represses | binds | transcribes | targets | interacts_with | co_regulates | participates_in | part_of | modulates | correlated_with
type Sign = positive | negative | unknown | mixed
type Context = {species: str?, tissue: str?, cell_type: str?, condition: str?, time: str?, perturbation: str?}
type EvidenceRef = {source_id: str, method: str, observation: str?, date: str?, quality: float?}
type Network = {nodes: Entity[], edges: Edge[], context: Context, version: str}
type Inference = {claim: str, premises: str[], confidence: float, status: observed | inferred | hypothetical}

# 03 — ONTOLOGICAL HIERARCHY
RegulatoryNetworkEntity is_a BiologicalEntity
GeneRegulatoryNetwork is_a BiologicalNetwork
Regulator is_a RegulatoryNetworkEntity
RegulatoryTarget is_a RegulatoryNetworkEntity
TranscriptionFactor is_a Protein and may_act_as Regulator
NonCodingRNA may_act_as Regulator
RegulatorySequence is_a GenomicRegion
Promoter is_a RegulatorySequence
Enhancer is_a RegulatorySequence
Silencer is_a RegulatorySequence
RegulatoryComplex is_a MolecularComplex
NetworkModule is_a RegulatoryNetworkEntity

# 04 — IDENTITY AND SEMANTICS
identity(Entity) := stable_identifier + taxon + entity_kind + reference_version
identity(Edge) := source + relation + target + sign + context + evidence_scope
same_label(a,b) does_not_imply same_entity(a,b)
shared_sequence(a,b) does_not_imply same_regulatory_function(a,b)
coexpression(a,b) does_not_imply causal_regulation(a,b)
context_match(a,b) := compatible(a.species,b.species) and compatible(a.cell_type,b.cell_type) and compatible(a.condition,b.condition)

# 05 — RELATIONSHIP SIGNATURES
regulates: Regulator x RegulatoryTarget -> ContextualRegulatoryRelation
activates: Regulator x RegulatoryTarget -> PositiveRegulatoryRelation
represses: Regulator x RegulatoryTarget -> NegativeRegulatoryRelation
binds: Protein x RegulatorySequence -> MolecularBindingRelation
targets: NonCodingRNA x Transcript -> RegulatoryTargetingRelation
part_of: RegulatoryNetworkEntity x NetworkModule -> MembershipRelation
interacts_with: RegulatoryNetworkEntity x RegulatoryNetworkEntity -> InteractionRelation
correlated_with: -ExpressionProfile x ExpressionProfile -> StatisticalAssociation

# 06 — INTEGRITY CONSTRAINTS
constraint node_unique: all node.id unique within network
constraint edge_endpoints: edge.source in nodes and edge.target in nodes
constraint confidence_range: 0.0 <= edge.confidence <= 1.0
constraint evidence_quality: quality is null or (0.0 <= quality <= 1.0)
constraint sign_consistency: activates -> positive; represses -> negative
constraint correlation_not_causation: correlated_with cannot automatically become regulates
constraint organism_scope: cross-species edges require explicit mapping or evidence
constraint temporal_scope: precedence alone is insufficient for causality
constraint circularity: cycles allowed; self-regulation allowed if explicitly represented
constraint missing_data: absence of evidence != evidence of absence

# 07 — CANONICAL REGULATORY MOTIFS
motif autoregulation: A regulates A
motif feed_forward: A regulates B; A regulates C; B regulates C
motif feedback: A regulates B; B regulates A
motif cascade: A regulates B; B regulates C
motif convergent: A regulates C; B regulates C
motif divergent: A regulates B; A regulates C
motif combinatorial: A and B jointly modulate C under context K
motif caveat: motifs describe topology; functional dynamics require parameterisation and testing

# 08 — CORE OPERATIONS
operation ingest_network(input) -> Network:
  parse typed nodes and edges
  normalise identifiers and taxonomic references
  preserve evidence, provenance and original assertions
  reject malformed records; quarantine ambiguous identities

operation validate_network(network) -> ValidationReport:
  enforce integrity constraints
  report missing provenance and unresolved contexts
  distinguish observed, inferred and hypothetical edges

operation query_regulators(target, context) -> Edge[]:
  select edges where target matches and relation in {regulates, activates, represses, targets}
  require context compatibility
  return edges with evidence and confidence

operation query_targets(regulator, context) -> Edge[]:
  select edges where source matches regulator and context compatible
  return edges with evidence and confidence

operation detect_motifs(network) -> Motif[]:
  search typed subgraphs for canonical motifs
  report topology separately from causal interpretation

operation compare_networks(A,B) -> NetworkDelta:
  align entity identities and context
  return added, removed and changed nodes/edges
  flag differences attributable to experimental context

# 09 — EVIDENCE AND CONFIDENCE
CONFIDENCE(edge) := calibrated_score(evidence_quality, reproducibility, method_specificity, context_match, independent_support)
confidence is not a guarantee of truth
combine_evidence: avoid double-counting correlated datasets
negative_evidence: record tested absence only with assay sensitivity and detection limits
inferred_edge: confidence <= calibrated support of the inference chain
unsupported_edge: status = hypothetical; confidence = null unless model-calibrated

# 10 — RECURSIVE REASONING
recursive_expand(seed, depth, context, visited):
  if depth <= 0: return []
  if seed in visited: return []
  visited := visited union {seed}
  neighbors := query_targets(seed, context)
  return neighbors union each recursive_expand(neighbor.target, depth-1, context, visited)

path_inference(A -> B -> C):
  infer candidate indirect influence A -> C
  do_not_infer direct_binding(A,C)
  do_not_assume net_sign without dynamics and interaction logic
  record intermediate nodes and provenance

feedback_handling:
  detect cycles and annotate feedback topology
  require dynamical model before claiming stability, oscillation or bistability

# 11 — SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b) :=
  equivalent_identifiers(a,b)
  and compatible_entity_kind(a,b)
  and compatible_organism(a,b)
  and compatible_reference_version(a,b)

synonym_match != semantic_equivalence
orthology != identity
activation != binding
repression != degradation
network_membership != regulatory_causality

# 12 — UPDATE MODEL
UPDATE_MODEL(new_evidence):
  validate incoming evidence and metadata
  resolve entities against stable identifiers
  append evidence without overwriting historical claims
  recompute confidence when calibration permits
  version changed edges and contexts
  preserve contradictory observations as separate contextual assertions
  invalidate affected cached inferences
  emit change log with provenance

# 13 — FLOW HASH
FLOW_HASH := SHA256(canonical_serialisation(
  ontology_version,
  sorted_nodes,
  sorted_edges,
  contexts,
  evidence_identifiers,
  inference_rules,
  update_policy
))
canonical_serialisation: UTF-8; stable key order; normalised identifiers; deterministic arrays
hash purpose: integrity and reproducibility, not biological proof

# 14 — AI CONSUMPTION
AI_CONSUMPTION:
  preferred_format: typed graph / JSON-LD-compatible export
  entity_resolution: stable identifiers with taxon and reference assembly
  evidence_required: true for asserted biological claims
  provenance_required: true
  confidence_required: true for scored inferences
  uncertainty_preservation: mandatory
  context_sensitive_reasoning: mandatory
  causal_claims: require intervention or appropriate causal evidence
  output: entities, typed edges, provenance, context, confidence, validation status
  unsafe_inference_guard: prohibit converting correlation into causation

# 15 — EXAMPLE (ILLUSTRATIVE, NOT EXPERIMENTAL EVIDENCE)
entity TF_A: TranscriptionFactor
entity PROM_B: Promoter
entity GENE_B: Gene
edge TF_A binds PROM_B [sign=unknown, status=hypothetical]
edge TF_A activates GENE_B [sign=positive, status=hypothetical]
context: {species: example_species, cell_type: example_cell}
validation: structurally_valid; biological_evidence_not_supplied

# 16 — ACCEPTANCE TESTS
test reject_edge_with_unknown_endpoint -> pass
test reject_confidence_outside_unit_interval -> pass
test preserve_feedback_cycles -> pass
test do_not_infer_causality_from_correlation -> pass
test distinguish_binding_from_activation -> pass
test retain_contextual_contradictions -> pass
test deterministic_flow_hash_for_identical_canonical_input -> pass
test invalidation_after_relevant_evidence_update -> pass

# 17 — LIMITATIONS
This formalisation is a conceptual specification, not executable software without an implementing parser/runtime.
Network edges may vary by species, cell state, condition and experimental method.
Predicted relationships require independent validation.
No unprovided empirical measurements or confidence values are fabricated.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ