FLOW ALGEBRA
TITLE: Prokaryotic Cell Ontology
DOMAIN: Biological Entities / Cellular Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/cellular-entities/prokaryotic-cell-ontology-2.html
VERSION: 1.0
AUTHORS: Mark Higgins — Sky (Recursive AI)
LICENCE: Open research and educational reuse; consult the Kireth Research website for current licence terms.
01. PURPOSE
Represent prokaryotic cells, their structures, processes, interactions, states and evidence as typed, queryable biological entities. Distinguish general properties from lineage-specific and conditional properties.
02. TYPE SYSTEM
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE Cell <: BiologicalEntity
TYPE ProkaryoticCell <: Cell
TYPE BacterialCell <: ProkaryoticCell
TYPE ArchaealCell <: ProkaryoticCell
TYPE CellStructure <: BiologicalEntity
TYPE MolecularEntity <: BiologicalEntity
TYPE CellularProcess <: BiologicalEntity
TYPE EnvironmentalCondition <: Entity
TYPE Observation <: Entity
TYPE Evidence <: Entity
TYPE Taxon <: Entity
TYPE Location <: Entity
TYPE TimePoint <: Entity
TYPE Quantity[Unit]
TYPE Confidence = Real[0,1]
TYPE TruthValue = {true,false,unknown}
03. ENTITY SIGNATURES
ENTITY cell:ProkaryoticCell
ENTITY bacterium:BacterialCell
ENTITY archaeon:ArchaealCell
ENTITY plasma_membrane:CellStructure
ENTITY cytoplasm:CellStructure
ENTITY nucleoid:CellStructure
ENTITY chromosome:MolecularEntity
ENTITY plasmid:MolecularEntity
ENTITY ribosome:CellStructure
ENTITY cell_wall:CellStructure
ENTITY capsule:CellStructure
ENTITY flagellum:CellStructure
ENTITY pilus:CellStructure
ENTITY endospore:CellStructure
ENTITY metabolic_pathway:CellularProcess
ENTITY binary_fission:CellularProcess
ENTITY transcription:CellularProcess
ENTITY translation:CellularProcess
ENTITY horizontal_gene_transfer:CellularProcess
04. TYPED RELATIONS
REL is_a(Entity,Entity)
REL part_of(Entity,Entity)
REL contains(Cell,Entity)
REL has_structure(Cell,CellStructure)
REL has_genome(Cell,MolecularEntity)
REL encodes(MolecularEntity,MolecularEntity)
REL participates_in(Entity,CellularProcess)
REL performs(Cell,CellularProcess)
REL occurs_in(CellularProcess,Location)
REL occurs_at(CellularProcess,TimePoint)
REL interacts_with(Entity,Entity)
REL responds_to(Cell,EnvironmentalCondition)
REL belongs_to_taxon(Cell,Taxon)
REL supported_by(Entity,Evidence)
REL observed_by(Entity,Observation)
REL precedes(CellularProcess,CellularProcess)
REL transfers_material_to(Cell,Cell,MolecularEntity)
05. CLASSIFICATION
AXIOM BacterialCell <: ProkaryoticCell
AXIOM ArchaealCell <: ProkaryoticCell
AXIOM ProkaryoticCell <: Cell
RULE belongs_to_taxon(c,Bacteria) -> is_a(c,BacterialCell) [when taxon identification is reliable]
RULE belongs_to_taxon(c,Archaea) -> is_a(c,ArchaealCell) [when taxon identification is reliable]
CONSTRAINT BacterialCell and ArchaealCell are disjoint for a single classified organismal cell under the standard three-domain model.
NOTE Prokaryote describes cells lacking a membrane-bound nucleus; Bacteria and Archaea are evolutionarily distinct lineages.
06. STRUCTURAL RULES
RULE is_a(c,ProkaryoticCell) -> contains(c,plasma_membrane)
RULE is_a(c,ProkaryoticCell) -> contains(c,cytoplasm)
RULE is_a(c,ProkaryoticCell) -> has_genome(c,chromosome) [typical; validate exceptions and genome organisation]
RULE is_a(c,ProkaryoticCell) -> contains(c,ribosome) [active cellular state]
RULE has_structure(c,nucleoid) -> contains(c,chromosome) [typical nucleoid organisation]
RULE has_structure(c,flagellum) -> participates_in(flagellum,motility)
RULE has_structure(c,pilus) -> participates_in(pilus,attachment) [context dependent]
RULE has_structure(c,capsule) -> participates_in(capsule,protection) [context dependent]
NOTE Cell walls, capsules, plasmids, flagella, pili and endospores are not universal.
NOTE Some bacteria lack a cell wall; archaeal envelopes vary and do not generally contain bacterial peptidoglycan.
NOTE Bacterial and archaeal membrane lipids differ in characteristic linkage chemistry; do not infer a single universal composition.
07. PROCESS FLOW
FLOW nutrient_uptake:
INPUT nutrient_external, cell, transport_system
PRECONDITION viable(cell) AND transport_compatible(nutrient_external,transport_system)
TRANSFORM transport(nutrient_external,external,cytoplasm)
OUTPUT nutrient_internal
EVIDENCE measured_transport OR validated_mechanism
FLOW gene_expression:
INPUT genome_region, transcription_factors, ribosome, substrates
STEP transcription(genome_region) -> RNA
STEP translation(RNA,ribosome) -> polypeptide [for protein-coding RNA]
OUTPUT gene_product
GUARD regulation_and_cell_state
FLOW cell_division:
INPUT viable_cell, replicated_genetic_material
STEP chromosome_segregation
STEP division_site_assembly
STEP cytokinesis
OUTPUT daughter_cells
NOTE Binary fission is common but prokaryotic division mechanisms vary.
FLOW horizontal_transfer:
INPUT donor, recipient, genetic_material
CHOICE conjugation | transformation | transduction | other_validated_mechanism
OUTPUT recipient_with_acquired_material [conditional on successful integration or maintenance]
GUARD compatibility AND transfer_evidence
08. STATE MODEL
STATE cell_state = {growing,quiescent,stressed,dividing,dormant,nonviable,unknown}
TRANSITION growing -> dividing WHEN division_conditions_met
TRANSITION growing -> stressed WHEN environmental_stressor_exceeds_tolerance
TRANSITION stressed -> growing WHEN recovery_conditions_met
TRANSITION stressed -> dormant WHEN dormancy_mechanism_supported
TRANSITION any_viable_state -> nonviable WHEN irreversible_loss_of_viability_confirmed
NOTE Dormancy and endospore formation are not universal prokaryotic behaviours.
09. QUANTITATIVE MODEL
MODEL exponential_growth: N(t) = N0 * exp(mu*t)
ASSUMPTION exponential_growth applies only over a suitable growth phase with approximately constant specific growth rate mu.
MODEL doubling_time: td = ln(2)/mu [mu > 0]
MODEL substrate_limited_growth: mu = mu_max * S/(Ks+S)
ASSUMPTION Monod model is empirical and condition dependent.
MODEL biomass_balance: dX/dt = (mu-kd)*X [simplified batch model]
MODEL mass_balance: accumulation = input - output + generation - consumption
CONSTRAINT All kinetic parameters must carry units, conditions, method and uncertainty.
10. SEMANTIC EQUIVALENCE
SEMANTIC_EQUIVALENCE "prokaryotic cell" ~ "prokaryote cell" [lexical synonym]
SEMANTIC_EQUIVALENCE "bacterial cell" != "archaeal cell" [distinct subclasses]
SEMANTIC_EQUIVALENCE "nucleoid" != "nucleus" [non-equivalent structures]
SEMANTIC_EQUIVALENCE "plasmid" != "chromosome" [different replicon roles; exceptions require evidence]
SEMANTIC_EQUIVALENCE "binary fission" != "mitosis" [different division processes]
RULE synonym(a,b) does_not_imply biological_identity(a,b) without scope and taxonomic checks.
11. INFERENCE
INFER is_a(c,BacterialCell) -> is_a(c,ProkaryoticCell)
INFER is_a(c,ArchaealCell) -> is_a(c,ProkaryoticCell)
INFER part_of(a,b) AND part_of(b,c) -> part_of(a,c) [only where relation transitivity is biologically valid]
INFER observed_by(feature,observation) AND validated(observation) -> candidate_supported_feature(feature)
BLOCK absence_of_observation(feature) -> absence_of_feature(feature) [unless detection sensitivity is adequate]
BLOCK is_a(c,ProkaryoticCell) -> has_structure(c,cell_wall)
BLOCK is_a(c,ProkaryoticCell) -> has_structure(c,flagellum)
BLOCK is_a(c,ProkaryoticCell) -> performs(c,photosynthesis)
12. CONFIDENCE
CONFIDENCE assertion := calibrated_probability_or_qualified_score[0,1]
CONFIDENCE evidence_quality := f(method,replication,controls,provenance,recency)
CONFIDENCE inferred_claim := combine(evidence_quality,rule_validity,context_match)
RULE conflicting_evidence -> flag_for_review; preserve both source records.
RULE missing_evidence -> unknown; never automatically false.
RULE derived_claim -> attach provenance, rule_identifier, assumptions and confidence.
13. PROVENANCE
PROVENANCE record:
source_uri
author_or_organisation
publication_or_observation_date
experimental_method
organism_or_strain
growth_conditions
measured_quantity_and_units
uncertainty
version
licence
evidence_identifier
14. RECURSIVE FLOW
RECURSIVE_FLOW analyse_prokaryotic_cell(c,depth):
REQUIRE depth >= 0
STEP classify(c)
STEP validate_structures(c)
STEP map_genome_and_gene_products(c)
STEP map_processes_and_environment(c)
STEP evaluate_evidence_and_confidence(c)
IF depth > 0:
FOR each supported_component_or_process(c): analyse_component(component,depth-1)
RETURN typed_graph_with_provenance
TERMINATION depth == 0 OR no_unvisited_supported_nodes
GUARD visited_set prevents cyclic traversal.
15. UPDATE_MODEL
UPDATE_MODEL trigger = new_observation | taxonomic_revision | revised_annotation | corrected_evidence
UPDATE_MODEL steps:
validate_schema
compare_entity_identity_and_scope
preserve_prior_version
revise_assertions_with_provenance
recalculate_dependent_inferences
invalidate_outdated_confidence_scores
publish_change_log
compute_flow_hash
16. FLOW_HASH
FLOW_HASH input = canonicalise(types,entities,relations,rules,assumptions,version,provenance)
FLOW_HASH algorithm = SHA-256
FLOW_HASH output = compute_at_publish_time
NOTE A hash cannot be fixed until the final canonical text and encoding are known.
17. AI_CONSUMPTION
AI_CONSUMPTION format = UTF-8 text; typed triples; explicit rules and constraints
AI_CONSUMPTION modes = entity_extraction | graph_construction | semantic_search | evidence_aware_reasoning | question_answering
AI_CONSUMPTION requirements = retain_taxonomic_scope, distinguish_typical_from_universal, preserve_units, expose_uncertainty, cite_sources
AI_CONSUMPTION safety = do_not_invent_species_specific_properties; do_not_conflate_archaea_and_bacteria; do_not_treat_predictions_as_observations
18. VALIDATION
CHECK all_relations_type_correct
CHECK all_assertions_have_scope
CHECK all_nontrivial_empirical_claims_have_evidence
CHECK no_universal_wall_or_flagellum_assumption
CHECK bacteria_archaea_distinction_preserved
CHECK quantitative_models_include_assumptions
CHECK recursive_traversal_terminates
CHECK flow_hash_recomputed_after_update
END FLOW ALGEBRA
Download Code
Copy to Clipboard