FLOW ALGEBRA
BRAIN ONTOLOGY — BIOLOGICAL ORGAN ENTITIES
Version: 1.0 | Date: 2026-10-19 | Locale: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-entities/brain-ontology-2.html
Status: Independently constructed scientific draft; source page not verified.
1. SCOPE
Model the brain as a central nervous system organ, including its anatomical parts, constituent tissues and cells, functional networks, physiological processes, developmental origins, and evidence-qualified assertions. This is a conceptual, declarative Flow Algebra specification, not a validated executable software program.
2. TYPE SYSTEM
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE Organ <: BiologicalEntity
TYPE Brain <: Organ
TYPE AnatomicalRegion <: BiologicalEntity
TYPE NeuralTissue <: BiologicalEntity
TYPE Cell <: BiologicalEntity
TYPE Neuron <: Cell
TYPE GlialCell <: Cell
TYPE BloodVessel <: BiologicalEntity
TYPE NeuralCircuit <: BiologicalEntity
TYPE PhysiologicalProcess <: Entity
TYPE Function <: Entity
TYPE Observation <: Entity
TYPE Evidence <: Entity
TYPE Species <: BiologicalEntity
TYPE DevelopmentalStage <: Entity
TYPE Pathology <: Entity
TYPE Claim <: Entity
TYPE Confidence = REAL[0,1]
TYPE Time = ISO8601
3. ENTITY REGISTRY
ENTITY brain: Brain
ENTITY cerebrum: AnatomicalRegion
ENTITY cerebral_cortex: AnatomicalRegion
ENTITY frontal_lobe: AnatomicalRegion
ENTITY parietal_lobe: AnatomicalRegion
ENTITY temporal_lobe: AnatomicalRegion
ENTITY occipital_lobe: AnatomicalRegion
ENTITY basal_ganglia: AnatomicalRegion
ENTITY thalamus: AnatomicalRegion
ENTITY hypothalamus: AnatomicalRegion
ENTITY hippocampus: AnatomicalRegion
ENTITY amygdala: AnatomicalRegion
ENTITY cerebellum: AnatomicalRegion
ENTITY brainstem: AnatomicalRegion
ENTITY midbrain: AnatomicalRegion
ENTITY pons: AnatomicalRegion
ENTITY medulla_oblongata: AnatomicalRegion
ENTITY corpus_callosum: AnatomicalRegion
ENTITY ventricles: AnatomicalRegion
ENTITY grey_matter: NeuralTissue
ENTITY white_matter: NeuralTissue
ENTITY neuron: Neuron
ENTITY astrocyte: GlialCell
ENTITY oligodendrocyte: GlialCell
ENTITY microglial_cell: GlialCell
ENTITY ependymal_cell: GlialCell
ENTITY cerebral_artery: BloodVessel
ENTITY cognition: Function
ENTITY motor_coordination: Function
ENTITY sensory_processing: Function
ENTITY homeostatic_regulation: Function
ENTITY memory_processing: Function
ENTITY autonomic_regulation: Function
ENTITY synaptic_transmission: PhysiologicalProcess
ENTITY neurovascular_coupling: PhysiologicalProcess
ENTITY neurodevelopment: PhysiologicalProcess
ENTITY neuroplasticity: PhysiologicalProcess
4. TYPED RELATIONSHIPS
RELATION part_of(AnatomicalRegion, Organ|AnatomicalRegion)
RELATION contains(Organ|AnatomicalRegion, BiologicalEntity)
RELATION composed_of(Organ|AnatomicalRegion, NeuralTissue|Cell)
RELATION participates_in(BiologicalEntity, PhysiologicalProcess)
RELATION supports_function(BiologicalEntity, Function)
RELATION connected_to(AnatomicalRegion, AnatomicalRegion)
RELATION receives_blood_from(AnatomicalRegion, BloodVessel)
RELATION develops_from(BiologicalEntity, BiologicalEntity)
RELATION located_in(BiologicalEntity, AnatomicalRegion|Organ)
RELATION affected_by(BiologicalEntity, Pathology)
RELATION observed_by(Claim, Observation)
RELATION supported_by(Claim, Evidence)
RELATION applicable_to(Claim, Species)
5. CORE FACTS
FACT part_of(cerebrum, brain)
FACT part_of(cerebral_cortex, cerebrum)
FACT part_of(frontal_lobe, cerebrum)
FACT part_of(parietal_lobe, cerebrum)
FACT part_of(temporal_lobe, cerebrum)
FACT part_of(occipital_lobe, cerebrum)
FACT part_of(basal_ganglia, cerebrum)
FACT part_of(hippocampus, cerebrum)
FACT part_of(amygdala, cerebrum)
FACT part_of(cerebellum, brain)
FACT part_of(brainstem, brain)
FACT part_of(midbrain, brainstem)
FACT part_of(pons, brainstem)
FACT part_of(medulla_oblongata, brainstem)
FACT part_of(thalamus, brain)
FACT part_of(hypothalamus, brain)
FACT contains(brain, grey_matter)
FACT contains(brain, white_matter)
FACT contains(brain, neuron)
FACT contains(brain, astrocyte)
FACT contains(brain, oligodendrocyte)
FACT contains(brain, microglial_cell)
FACT supports_function(cerebral_cortex, cognition)
FACT supports_function(cerebellum, motor_coordination)
FACT supports_function(thalamus, sensory_processing)
FACT supports_function(hypothalamus, homeostatic_regulation)
FACT supports_function(hippocampus, memory_processing)
FACT supports_function(brainstem, autonomic_regulation)
FACT participates_in(neuron, synaptic_transmission)
FACT participates_in(brain, neuroplasticity)
NOTE: Region-function links indicate contributions, not exclusive localisation.
NOTE: Anatomical subdivisions vary across species; the above is principally a human/mammalian reference model.
6. FORMAL FLOW RULES
RULE R01 REGION_MEMBERSHIP:
IF part_of(x,y) AND part_of(y,z) THEN inferred_part_of(x,z)
CONSTRAINT x != z; cycle_check = true
RULE R02 ORGAN_COMPOSITION:
IF part_of(region,brain) AND contains(region,cell) THEN located_in(cell,brain)
RULE R03 FUNCTIONAL_ASSOCIATION:
IF supports_function(region,function) AND part_of(region,brain)
THEN associated_function(brain,function)
NOTE: Association does not imply sufficiency or exclusivity.
RULE R04 CIRCUIT_PARTICIPATION:
IF located_in(neuron,region) AND participates_in(neuron,process)
THEN candidate_process_in_region(process,region)
REQUIRE supporting_evidence = true before promotion to verified assertion
RULE R05 PATHOLOGY_CONTEXT:
IF affected_by(region,pathology) THEN candidate_impact(pathology,region)
NOTE: Do not infer a clinical diagnosis or outcome without independent evidence.
RULE R06 EVIDENCE_VALIDATION:
IF supported_by(claim,evidence) AND evidence_is_valid(evidence)
THEN evidence_qualified(claim)
RULE R07 SPECIES_GUARD:
IF applicable_to(claim,species_A) THEN DO_NOT_ASSUME applicable_to(claim,species_B)
RULE R08 PROVENANCE_REQUIRED:
IF inferred(claim) THEN require(source_ids,rule_id,timestamp,confidence)
7. SEMANTIC EQUIVALENCE AND DISAMBIGUATION
SEMANTIC_EQUIVALENCE("encephalon", "brain") CONTEXT anatomical_terminology
SEMANTIC_EQUIVALENCE("medulla oblongata", "myelencephalon-derived medulla") CONTEXT development_and_anatomy; PARTIAL
SEMANTIC_EQUIVALENCE("grey matter", "gray matter") CONTEXT spelling_variant
SEMANTIC_DIFFERENCE("brain", "central nervous system") : brain is a component of CNS, not the entire CNS
SEMANTIC_DIFFERENCE("brainstem", "spinal cord") : distinct connected structures
SEMANTIC_DIFFERENCE("neuron", "glial cell") : distinct cell classes
SEMANTIC_DIFFERENCE("neural circuit", "anatomical region") : functional connectivity vs anatomical subdivision
8. CONFIDENCE MODEL
CONFIDENCE:
value: REAL[0,1]
evidence_quality: {high, moderate, low, unknown}
source_count: INTEGER >= 0
validation_status: {unverified, reviewed, validated, contradicted}
applicability: {species, age, condition, method}
propagation: "Never increase confidence merely because a claim is repeated or inferred transitively."
aggregation: "Preserve source-level confidence and dependency; no unjustified numeric multiplication."
9. PROVENANCE MODEL
PROVENANCE:
source_url: string
source_title: string
author: string
publication_date: ISO8601|null
accessed_at: ISO8601|null
evidence_id: string
claim_id: string
inference_rule: string|null
curator: string
revision: string
licence: string|null
validation_status: string
10. FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
canonicalisation: "UTF-8; Unicode NFC; LF line endings; sorted canonical typed triples and rule IDs"
scope: "Versioned ontology content excluding generated hash and volatile access timestamps"
value: "COMPUTE_AT_PUBLICATION"
purpose: "Detect changes and identify canonical revisions"
11. UPDATE_MODEL
UPDATE_MODEL:
mode: versioned_incremental
triggers: [new_anatomical_evidence, revised_taxonomy, corrected_relation, changed_provenance, new_species_scope]
operations: [add, revise, deprecate, retract]
requirements: [preserve_history, record_reason, recalculate_hash, invalidate_dependent_inferences, review_confidence]
conflict_policy: "Retain competing evidence-qualified claims pending review."
12. AI_CONSUMPTION
AI_CONSUMPTION:
preferred_representation: typed_knowledge_graph
outputs: [entity_registry, relationship_triples, qualified_claims, inference_traces, provenance, confidence, flow_hash]
query_examples:
- "Which regions are parts of the brainstem?"
- "Which regions contribute to motor coordination?"
- "Which cell types are found in the brain?"
- "What evidence supports a region-function association?"
constraints:
- "Distinguish anatomical facts from functional hypotheses."
- "Avoid inferring diagnosis, treatment, or patient-specific conclusions."
- "Preserve species, age, and method qualifiers."
- "Expose uncertainty and evidence provenance."
- "Do not present conceptual rules as a clinically validated decision system."
13. VALIDATION CHECKS
CHECK type_safety: all relationship arguments match declared types
CHECK no_cycles: part_of graph must be acyclic
CHECK no_self_part: not part_of(x,x)
CHECK provenance_complete: every promoted scientific claim has source metadata
CHECK non_exclusivity: functional associations are not treated as exclusive mappings
CHECK context_guard: species and developmental stage preserved
CHECK hash_reproducibility: canonical content generates same digest
14. FLOW EXECUTION ORDER (CONCEPTUAL)
FLOW:
ingest_entities
-> validate_types
-> ingest_relationships
-> check_taxonomic_consistency
-> attach_evidence_and_context
-> apply_safe_inference_rules
-> qualify_confidence
-> attach_provenance
-> validate_constraints
-> canonicalise_and_hash
-> publish_for_AI_consumption
END FLOW ALGEBRA
Download Code
Copy to Clipboard