AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
BIOLOGICAL PROCESS ENTITY ONTOLOGY
Kireth Semantic Library | Entity Graph | Biological Entities | Foundations
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/foundations-of-biological-entities/biological-process-entity-ontology.html
Version: 1.0 | 2026-10-15
Authors: Mark Higgins — Sky (Recursive AI)
PURPOSE
Represent biological processes as typed, temporally situated entities connected to participants, locations, inputs, outputs, conditions, mechanisms and evidence. This is a companion formalisation; syntax is a declarative Flow Algebra specification, not a claim of execution by a particular engine.
1. TYPE SYSTEM
TYPE BiologicalEntity
TYPE BiologicalProcess <: BiologicalEntity
TYPE Organism <: BiologicalEntity
TYPE Cell <: BiologicalEntity
TYPE MolecularEntity <: BiologicalEntity
TYPE AnatomicalStructure <: BiologicalEntity
TYPE BiologicalState
TYPE BiologicalFunction
TYPE ProcessStage
TYPE EnvironmentalCondition
TYPE TimeInterval
TYPE Observation
TYPE Evidence
TYPE ProvenanceRecord
TYPE ConfidenceScore = Real[0,1]
TYPE ProcessID = String
TYPE EntityID = String
ENUM ProcessCategory = {
metabolic, cellular, molecular, physiological, developmental,
reproductive, regulatory, signalling, transport, immune,
ecological, evolutionary, other
}
ENUM ProcessStatus = {proposed, observed, active, paused, completed, failed, unknown}
ENUM EvidenceStatus = {supported, disputed, insufficient, unassessed}
2. ENTITY SCHEMA
ENTITY BiologicalProcessEntity {
id: ProcessID
label: String
definition: String
category: ProcessCategory
status: ProcessStatus
participants: Set[EntityID]
inputs: Set[EntityID]
outputs: Set[EntityID]
location: Optional[EntityID]
interval: Optional[TimeInterval]
preconditions: Set[BiologicalState]
postconditions: Set[BiologicalState]
stages: OrderedList[ProcessStage]
evidence: Set[Evidence]
provenance: Set[ProvenanceRecord]
confidence: ConfidenceScore
version: String
}
3. TYPED RELATIONSHIPS
RELATION participates_in: BiologicalEntity x BiologicalProcess -> Boolean
RELATION has_input: BiologicalProcess x BiologicalEntity -> Boolean
RELATION has_output: BiologicalProcess x BiologicalEntity -> Boolean
RELATION occurs_in: BiologicalProcess x BiologicalEntity -> Boolean
RELATION has_stage: BiologicalProcess x ProcessStage -> Boolean
RELATION precedes: ProcessStage x ProcessStage -> Boolean
RELATION regulates: BiologicalProcess x BiologicalProcess -> Boolean
RELATION enables: BiologicalProcess x BiologicalProcess -> Boolean
RELATION inhibits: BiologicalProcess x BiologicalProcess -> Boolean
RELATION transforms: BiologicalProcess x BiologicalState x BiologicalState -> Boolean
RELATION supports: Evidence x BiologicalProcess -> Boolean
RELATION derived_from: BiologicalProcess x ProvenanceRecord -> Boolean
4. COMPOSITION AND EXECUTION SEMANTICS
OPERATOR SEQUENCE(p: BiologicalProcess, q: BiologicalProcess)
REQUIRE compatible(postconditions(p), preconditions(q))
RETURN CompositeProcess(stages = stages(p) ++ stages(q))
OPERATOR PARALLEL(p: BiologicalProcess, q: BiologicalProcess)
REQUIRE temporal_overlap_allowed(p,q)
RETURN CompositeProcess(branches = {p,q})
OPERATOR TRANSITION(p: BiologicalProcess, s: BiologicalState)
REQUIRE s in preconditions(p)
REQUIRE required_conditions_satisfied(p)
RETURN postconditions(p)
NOTE: These are logical process descriptions. Actual biological outcomes are contingent on conditions, not guaranteed by a rule invocation.
5. INFERENCE RULES
RULE INPUT_PARTICIPATION:
has_input(p,e) -> participates_in(e,p)
RULE OUTPUT_PARTICIPATION:
has_output(p,e) -> participates_in(e,p)
RULE STAGE_MEMBERSHIP:
has_stage(p,s) AND precedes(s,t) AND has_stage(p,t)
-> stage_order_valid(p,s,t)
RULE CONDITIONAL_ENABLEMENT:
enables(p,q) AND completed(p) AND required_conditions_satisfied(q)
-> eligible_to_start(q)
RULE INHIBITION:
inhibits(p,q) AND active(p) -> possible_suppression(q)
# Does not assert absolute suppression without mechanistic evidence.
RULE STATE_CHANGE:
transforms(p,s1,s2) AND observed_completion(p)
-> candidate_post_state(s2)
6. CONSTRAINTS AND VALIDATION
CONSTRAINT UNIQUE_ID: all process identifiers are unique in a graph scope.
CONSTRAINT TYPE_SAFETY: each relation's arguments conform to declared types.
CONSTRAINT TEMPORAL_ORDER: each stage sequence respects observed or defined order.
CONSTRAINT NON_CYCLIC_STAGE_ORDER: strict stage precedence has no cycles.
CONSTRAINT PROVENANCE_REQUIRED: published assertions have a provenance record.
CONSTRAINT UNCERTAINTY_EXPLICIT: unsupported conclusions are marked proposed or unknown.
CONSTRAINT CONTEXT_REQUIRED: location, organism and experimental conditions are retained when material.
VALIDATE(p) = TYPE_SAFETY(p) AND UNIQUE_ID(p) AND
TEMPORAL_ORDER(p) AND NON_CYCLIC_STAGE_ORDER(p) AND
PROVENANCE_REQUIRED(p) AND UNCERTAINTY_EXPLICIT(p)
7. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE(p,q) requires:
compatible process definitions; aligned biological scope;
matching or explicitly mapped participants, inputs and outputs;
compatible organism, location, time and environmental context;
documented evidence for the mapping.
DISTINGUISH exact_identity, equivalent_under_context, similar, related, distinct.
DO NOT equate processes merely because their labels match.
8. PROVENANCE AND CONFIDENCE
PROVENANCE { source_uri, author_or_curator, recorded_at, method,
evidence_id, licence, version }
CONFIDENCE { score: Real[0,1], basis, calibration_method,
evidence_quality, uncertainty, reviewer_status }
Confidence scores describe assessed support, not the probability that a biological process necessarily occurs.
Conflicting evidence remains attached and queryable.
9. FLOW HASH
FLOW_HASH(p) = SHA256(canonical_serialisation(
p.id, p.definition, p.category, p.participants, p.inputs,
p.outputs, p.stages, p.preconditions, p.postconditions,
p.provenance, p.version))
Canonical serialisation requires stable ordering, normalised identifiers and a defined encoding.
The hash supports change detection; it does not independently establish scientific truth.
10. UPDATE MODEL
UPDATE_MODEL {
on_new_evidence: attach evidence; reassess status and confidence;
on_correction: create new version; preserve previous version;
on_conflict: retain alternatives; flag for review;
on_semantic_change: recompute affected mappings and hashes;
on_retraction: mark affected claims; propagate dependency warnings;
audit: record actor, timestamp, reason and changed fields;
}
11. AI CONSUMPTION
AI_CONSUMPTION {
representation: typed graph with explicit process and evidence nodes;
retrieval_keys: id, label, category, participant, location, stage;
inference_policy: apply only validated rules and report assumptions;
uncertainty_policy: preserve disputed and unassessed evidence;
citation_policy: expose source provenance with derived assertions;
output: process subgraph, validation result, confidence and lineage;
safety: never interpret inferred biomedical relationships as clinical advice;
}
12. EXAMPLE INSTANCE
PROCESS P_PHOTOSYNTHESIS {
label: "Photosynthesis"
category: metabolic
participants: {photosynthetic_organism}
inputs: {light_energy, carbon_dioxide, water}
outputs: {organic_compounds, oxygen}
location: photosynthetic_tissue
stages: {light_dependent_reactions, carbon_fixation}
status: observed
provenance: {curated_biology_reference}
confidence: 0.99 # Illustrative only, not an empirical calibrated score.
}
NOTE: This example describes oxygenic photosynthesis in generalised terms;
not all photosynthetic organisms release oxygen.
13. QUALITY AND LIMITATIONS
Separate observations, mechanistic hypotheses and formal deductions.
A graph edge represents a curated claim, not automatic causal proof.
Require domain-specific review before scientific or biomedical deployment.
Maintain open, machine-readable exports with full attribution and version history.
END FLOW ALGEBRA