FLOW ALGEBRA
TITLE: Organelle Ontology
VERSION: 1.0
DOMAIN: Biological Entities / Cellular Organelle Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-organelle-entities/organelle-ontology-2.html
AUTHORSHIP: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
STATUS: Topic-based formalisation; source page content not independently verified
# 1. PURPOSE
flow OrganelleOntology v1.0 {
input: CellularObservation | MolecularEvidence | OrganismContext
output: TypedOrganelleGraph | FunctionalInference | ProvenanceRecord
invariant: every asserted biological relationship has a source or an explicit inferred status
}
# 2. ENTITY TYPES
entity Cell { id: URI; taxon: Taxon; cell_type: String; condition: String? }
entity Organelle { id: URI; label: String; cell: Cell; location: String?; membrane_count: Integer?; evidence: Evidence[] }
entity MembraneBoundOrganelle extends Organelle
entity NonMembraneBoundStructure extends Organelle
entity Nucleus extends MembraneBoundOrganelle
entity Mitochondrion extends MembraneBoundOrganelle
entity Plastid extends MembraneBoundOrganelle
entity Chloroplast extends Plastid
entity EndoplasmicReticulum extends MembraneBoundOrganelle
entity GolgiApparatus extends MembraneBoundOrganelle
entity Lysosome extends MembraneBoundOrganelle
entity Peroxisome extends MembraneBoundOrganelle
entity Vacuole extends MembraneBoundOrganelle
entity Endosome extends MembraneBoundOrganelle
entity Ribosome extends NonMembraneBoundStructure
entity Nucleolus extends NonMembraneBoundStructure
entity Centrosome extends NonMembraneBoundStructure
entity CytoskeletalStructure extends NonMembraneBoundStructure
entity Protein { id: URI; function: String? }
entity Metabolite { id: URI; formula: String? }
entity Process { id: URI; name: String; location: URI? }
entity Evidence { source: URI; method: String?; confidence: Float?; observed_at: DateTime? }
entity Taxon { id: URI; scientific_name: String }
# 3. TYPE CONSTRAINTS
constraint Organelle.cell references Cell
constraint Organelle.membrane_count in {0,1,2} when known
constraint Evidence.confidence in [0,1] when reported
constraint Organelle.id is globally unique
constraint subclass_of(Chloroplast, Plastid)
constraint subclass_of(Mitochondrion, MembraneBoundOrganelle)
note: 'Organelle' has variable usage across biological ontologies; the broad type here includes selected non-membranous cellular structures.
# 4. RELATIONSHIPS
relation part_of(Organelle, Cell)
relation located_in(Protein | Metabolite | Process, Organelle)
relation contains(Organelle, Protein | Metabolite | Organelle)
relation has_membrane(Organelle, Membrane)
relation participates_in(Organelle, Process)
relation carries_out(Organelle, Process)
relation interacts_with(Organelle, Organelle)
relation transports_to(Organelle, Organelle, Cargo)
relation derived_from(Organelle, Organelle)
relation divides_by(Organelle, DivisionProcess)
relation associated_with_disease(Organelle, Disease)
relation supported_by(Assertion, Evidence)
relation homologous_to(OrganelleType, OrganelleType)
relation equivalent_to(Concept, Concept)
relation narrower_than(Concept, Concept)
# 5. BIOLOGICAL FUNCTION MAPPINGS
map Nucleus -> DNA_storage, Transcription, GenomeRegulation
map Mitochondrion -> OxidativePhosphorylation, TCA_Cycle, MetabolicIntegration
map Chloroplast -> Photosynthesis, CarbonFixation
map RoughEndoplasmicReticulum -> SecretoryProteinSynthesis, ProteinFolding
map SmoothEndoplasmicReticulum -> LipidSynthesis, CalciumStorage
map GolgiApparatus -> ProteinModification, CargoSorting
map Lysosome -> MacromoleculeDegradation, Recycling
map Peroxisome -> FattyAcidOxidation, PeroxideMetabolism
map Endosome -> EndocyticSorting, CargoTrafficking
map Vacuole -> Storage, Osmoregulation, Degradation
map Ribosome -> Translation
map Nucleolus -> RibosomalRNAProcessing, RibosomalSubunitAssembly
note: functions are representative, not exclusive, and depend on organism and cell type.
# 6. COMPARTMENT GRAPH
flow BuildCompartmentGraph(cell: Cell) -> Graph {
nodes := observed_organelles(cell)
edges := validated(part_of | contains | interacts_with | transports_to)
require all(nodes, n => n.cell.id == cell.id)
return Graph(nodes, edges)
}
# 7. TRANSPORT FLOW
flow VesicularTransport(cargo: Cargo, donor: Organelle, acceptor: Organelle) {
precondition: compatible_trafficking_route(donor, acceptor, cargo)
stages: cargo_selection -> budding -> transport -> tethering -> fusion
postcondition: cargo_delivered(cargo, acceptor) when fusion_successful
exception: trafficking_failure -> record_uncertainty
}
# 8. ORGANELLE BIOGENESIS
flow OrganelleBiogenesis(type: OrganelleType, context: Cell) {
prerequisites: molecular_components_available AND suitable_cell_context
operations: assembly -> maturation -> quality_control
output: FunctionalOrganelle | IncompleteStructure
caution: mechanisms differ across organelle types
}
# 9. QUANTITATIVE MODELS
model CompartmentMassBalance {
equation: dM_i/dt = sum(J_in_i) - sum(J_out_i) + R_production_i - R_consumption_i
units: M_i [mol]; J [mol/s]; R [mol/s]
assumption: chosen compartment boundaries and species are specified
}
model MembraneFlux {
equation: J = P * A * (C_out - C_in)
units: J [mol/s]; P [m/s]; A [m^2]; C [mol/m^3]
assumption: passive transport, effective constant permeability, concentration-driven approximation
}
model OrganelleAbundance {
equation: dN/dt = B - D
units: N [count]; B [count/time]; D [count/time]
assumption: effective birth/biogenesis and removal rates are measurable
}
model MitochondrialATP {
equation: ATP_net = ATP_synthesised - ATP_consumed
units: ATP_net [mol/time]
caution: not a universal fixed ATP yield per substrate
}
# 10. STATE TRANSITIONS
state OrganelleState = Emerging | Functional | Stressed | Damaged | Repairing | Degraded
transition Emerging -> Functional when maturation_complete
transition Functional -> Stressed when stress_signal_detected
transition Stressed -> Repairing when repair_pathway_active
transition Repairing -> Functional when recovery_verified
transition Stressed -> Damaged when injury_persists
transition Damaged -> Degraded when selective_removal_confirmed
note: transitions are conceptual and not obligatory for every organelle.
# 11. LOGICAL INFERENCE
rule R1: instance_of(x, Chloroplast) => instance_of(x, Plastid)
rule R2: instance_of(x, Plastid) => instance_of(x, MembraneBoundOrganelle)
rule R3: located_in(p, o) AND part_of(o, c) => associated_with_cell(p, c)
rule R4: carries_out(o, process) AND part_of(o, c) => supports_process(c, process)
rule R5: transports_to(a, b, cargo) => interacts_with(a, b) [context_dependent]
rule R6: has_marker(x, m) AND specific_marker_for(m, t) => candidate_type(x, t)
rule R7: candidate_type(x, t) AND independent_evidence(x, t) => supported_type(x, t)
rule R8: damaged(o) AND active_removal_pathway(o) => candidate_clearance(o)
restriction: absence_of_detection != evidence_of_absence
restriction: presence_of_marker != conclusive_identity
restriction: canonical_functions do not imply universal presence in all taxa
# 12. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE {
"mitochondrion" <-> "mitochondria" : morphological_number_only
"Golgi apparatus" <-> "Golgi complex" : close_synonym
"endoplasmic reticulum" <-> "ER" : abbreviation_context_required
"rough ER" <-> "rough endoplasmic reticulum" : exact_contextual_synonym
"plastid" != "chloroplast" : broader_than
"organelle" != "membrane-bound organelle" : broader_than
"cell wall" != "plasma membrane" : distinct_structures
"nucleolus" != "nucleus" : part_whole_not_identity
}
# 13. CONFIDENCE
CONFIDENCE {
scale: [0.0, 1.0]
evidence_dimensions: [method_quality, biological_specificity, replication, source_reliability, taxon_applicability]
formula: confidence = calibrated_model(evidence_dimensions)
rule: missing_evidence -> unknown_not_zero
rule: inferred_assertion -> preserve_supporting_evidence_links
rule: conflicting_observations -> retain_both_with_provenance
warning: confidence is an evidence score, not biological certainty
}
# 14. PROVENANCE
PROVENANCE {
record: assertion_id, source_uri, observed_at, extraction_method, version, curator
retain: original_label, normalised_label, taxon, cell_type, assay_conditions
distinguish: observed | inferred | hypothetical | curated
}
# 15. RECURSIVE REASONING
flow RecursiveOrganelleReasoning(seed: Organelle, depth: Integer) -> InferenceSet {
require depth >= 0
visited := Set(seed.id)
frontier := [seed]
while frontier not empty AND depth > 0 {
candidates := traverse_validated_relations(frontier)
frontier := candidates excluding visited
visited := visited union ids(frontier)
depth := depth - 1
}
return inferred_assertions(visited) with provenance_and_confidence
}
# 16. FLOW_HASH
FLOW_HASH {
canonicalisation: UTF-8 + stable_field_order + normalised_identifiers
algorithm: SHA-256
input: ontology_version + typed_entities + relationships + constraints + rules
output: computed_at_ingestion
note: no hash value is asserted until computed from actual canonical content
}
# 17. UPDATE_MODEL
UPDATE_MODEL {
trigger: new_evidence | ontology_revision | corrected_classification | taxonomy_change
steps: ingest -> validate -> compare_versions -> resolve_conflicts -> recompute_inferences -> recalculate_hash -> publish
preserve: historical_versions, citations, provenance, superseded_assertions
policy: never silently replace contradictory evidence
}
# 18. AI_CONSUMPTION
AI_CONSUMPTION {
format: typed_graph + rules + provenance + confidence + version_metadata
tasks: entity_linking, semantic_search, hypothesis_support, cellular_pathway_reasoning
output_contract: grounded_claims_only; uncertainty_visible; no_unsupported_causality
interoperability: OBO | GO | CellOntology | RDF | OWL where mappings are validated
safeguards: taxon_specificity, context_validation, no_false_equivalence, evidence_traceability
}
# 19. VALIDATION
validate unique_ids
validate relation_domain_and_range
validate biological_taxon_context
validate units_and_dimensions
validate noncontradictory_subclass_hierarchy
validate provenance_for_each_assertion
validate deterministic_canonicalisation
validate inference_cycle_termination
# 20. EXAMPLE GRAPH
Cell:C1 --contains--> Mitochondrion:M1
Mitochondrion:M1 --participates_in--> Process:OxidativePhosphorylation
Cell:C1 --contains--> Nucleus:N1
Nucleus:N1 --participates_in--> Process:Transcription
Protein:P1 --located_in--> Mitochondrion:M1
Assertion:A1 --supported_by--> Evidence:E1
# 21. SCOPE AND LIMITATIONS
- Organelle structure and function vary among eukaryotic lineages and cell states.
- Bacteria and archaea can possess specialised intracellular compartments; do not infer that all organelles are eukaryotic.
- Ribosomes and nucleoli are included as cellular structures under a broad organisational convention.
- Descriptive biological mappings are not direct experimental evidence for a specific sample.
- Equations are simplified models requiring explicit assumptions and parameterisation.
END FLOW ALGEBRA
Download Code
Copy to Clipboard