FLOW ALGEBRA
HEART ONTOLOGY — BIOLOGICAL ORGAN ENTITIES
Version: 1.0 | Date: 2026-10-19 | Locale: en-GB
Authors: Mark Higgins — Sky (Recursive AI)
Publisher: Kireth Research | https://kirethresearch.org
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-entities/heart-ontology-2.html
Status: Independently constructed, scientifically grounded ontology draft. Source webpage not verified in this run.
1. SCOPE
The heart is a muscular circulatory organ that generates pressure gradients to move blood through vascular circuits. The model covers mammalian human anatomy as the default context; comparative-anatomy assertions must carry a taxon qualifier. It distinguishes structures, functions, observations, mechanisms, disorders and evidence.
2. TYPE SYSTEM
entity Organ; Tissue; Cell; Chamber; Valve; Vessel; ConductionStructure; Layer; Process; PhysiologicalQuantity; Observation; Disorder; Species; Evidence; TimeInterval.
entity Heart <: Organ
entity Atrium <: Chamber
entity Ventricle <: Chamber
entity Cardiomyocyte <: Cell
entity PacemakerCell <: Cardiomyocyte
entity CardiacMuscle <: Tissue
entity BloodVessel <: Vessel
entity CardiacCycle <: Process
entity Systole <: Process
entity Diastole <: Process
entity ElectricalImpulse <: Process
entity BloodFlow <: Process
entity Pressure <: PhysiologicalQuantity
entity HeartRate <: PhysiologicalQuantity
entity StrokeVolume <: PhysiologicalQuantity
entity CardiacOutput <: PhysiologicalQuantity
3. INSTANCE / CLASS TAXONOMY (HUMAN DEFAULT)
Heart has_part RightAtrium, LeftAtrium, RightVentricle, LeftVentricle.
Heart has_part TricuspidValve, MitralValve, PulmonaryValve, AorticValve.
Heart has_layer Endocardium, Myocardium, Epicardium.
Pericardium surrounds Heart; Pericardium is not a myocardial layer.
Heart contains SinoatrialNode, AtrioventricularNode, BundleOfHis, LeftBundleBranch, RightBundleBranch, PurkinjeNetwork.
Heart supplied_by CoronaryArteries; Heart drained_by CardiacVeins.
RightAtrium receives_blood_from SuperiorVenaCava, InferiorVenaCava, CoronarySinus.
RightVentricle ejects_blood_into PulmonaryTrunk.
LeftAtrium receives_blood_from PulmonaryVeins.
LeftVentricle ejects_blood_into Aorta.
4. TYPED RELATIONS
has_part(Organ|Chamber, Entity) : Boolean
has_layer(Organ, Tissue) : Boolean
contains(Organ|Tissue, Entity) : Boolean
receives_blood_from(Chamber, Vessel) : Boolean
ejects_blood_into(Chamber, Vessel) : Boolean
connected_via(Chamber, Chamber, Valve) : Boolean
prevents_backflow(Valve, Direction) : Boolean
initiates_impulse(ConductionStructure, ElectricalImpulse) : Boolean
conducts_to(ConductionStructure, ConductionStructure) : Boolean
contracts_during(Chamber, Process) : Boolean
measured_as(PhysiologicalQuantity, Observation) : Boolean
supported_by(Assertion, Evidence) : Boolean
observed_at(Observation, TimeInterval) : Boolean
applies_to(Assertion, Species) : Boolean
5. FLOW GRAPH
SystemicVeins -> RightAtrium -> TricuspidValve -> RightVentricle -> PulmonaryValve -> PulmonaryTrunk -> PulmonaryArteries -> PulmonaryCapillaries -> PulmonaryVeins -> LeftAtrium -> MitralValve -> LeftVentricle -> AorticValve -> Aorta -> SystemicArteries -> SystemicCapillaries -> SystemicVeins.
SinoatrialNode -> AtrialConduction -> AtrioventricularNode -> BundleOfHis -> BundleBranches -> PurkinjeNetwork -> VentricularActivation.
6. FORMAL RULES
RULE H01: has_part(heart, chamber) AND type(chamber, Chamber) => part_of(chamber, heart).
RULE H02: receives_blood_from(c, v) => flows(v, c) [under normal anatomical flow context].
RULE H03: ejects_blood_into(c, v) => flows(c, v) [during ejection phase].
RULE H04: connected_via(a, b, valve) AND valve_functional(valve) => directed_flow(a, b) [when upstream pressure exceeds downstream pressure].
RULE H05: cardiac_output = heart_rate * stroke_volume [compatible units, averaged over same interval].
RULE H06: stroke_volume = end_diastolic_volume - end_systolic_volume [same ventricle, same beat].
RULE H07: ejection_fraction = stroke_volume / end_diastolic_volume [end_diastolic_volume > 0].
RULE H08: valve_closed(v, t) AND reverse_pressure_gradient(v, t) => backflow_limited(v, t) [competent valve].
RULE H09: observation_of(x, abnormality) => requires_clinical_context(x); NOT automatically diagnostic_of(x, disease).
RULE H10: absent_evidence(p) != evidence_of_absence(p).
7. INVARIANTS / CONSTRAINTS
Human typical heart has four chambers; congenital variation must not be silently overwritten.
Atrioventricular valves: TricuspidValve and MitralValve.
Semilunar valves: PulmonaryValve and AorticValve.
Pulmonary arteries generally carry deoxygenated blood; pulmonary veins generally carry oxygenated blood in normal postnatal circulation. Vessel classification is by direction relative to the heart, not oxygenation.
No claim that electrical activation and mechanical contraction are simultaneous: excitation precedes contraction with electromechanical delay.
Do not infer health or disease from a single physiological measurement without clinical context.
8. SEMANTIC_EQUIVALENCE
Heart == CardiacOrgan [conceptual alias; context human/mammalian].
Myocardium ~= CardiacMuscleLayer [near-equivalent, not universally interchangeable].
MitralValve == BicuspidAtrioventricularValve.
SinoatrialNode == SANode.
AtrioventricularNode == AVNode.
CardiacOutput != StrokeVolume.
HeartRate != PulseRate [may diverge in arrhythmia].
Artery != OxygenatedVessel.
9. CONFIDENCE / PROVENANCE
confidence(assertion) in [0.0, 1.0]; unknown is not 0.0.
Evidence fields: source_uri, citation, source_type, retrieval_date, assertion_scope, taxon, measurement_method, reviewed_by.
Default for textbook anatomy assertions: evidence_status=reference_required; confidence not fabricated.
Observations retain uncertainty, units, sampling context and time.
10. FLOW_HASH
FLOW_HASH.algorithm: SHA-256
FLOW_HASH.input: canonical UTF-8 serialisation of ontology_version, sorted typed entities, sorted relations, rules and provenance references.
FLOW_HASH.value: COMPUTE_ON_PUBLISH (not fabricated).
11. UPDATE_MODEL
Versioning: semantic versioning.
On source revision: identify changed assertions -> validate types -> check taxon and context -> rerun invariants -> recompute FLOW_HASH -> preserve prior snapshot and provenance -> publish changelog.
Conflicting claims: retain both with scope and evidence; never silently replace.
12. AI_CONSUMPTION
Format: plain-text typed semantic flow, machine-parseable sections.
Tasks: anatomical retrieval, graph traversal, relation checking, educational explanation, hypothesis mapping, evidence-aware reasoning.
Required behaviour: preserve scope, distinguish physiological rules from observations, expose uncertainty, avoid diagnostic certainty.
Input example: QUERY pathway(RightAtrium, Aorta).
Expected: RightAtrium -> TricuspidValve -> RightVentricle -> PulmonaryValve -> pulmonary circulation -> PulmonaryVeins -> LeftAtrium -> MitralValve -> LeftVentricle -> AorticValve -> Aorta.
Input example: QUERY cardiac_output(heart_rate=70 beats/min, stroke_volume=70 mL/beat).
Expected: 4900 mL/min = 4.9 L/min, arithmetic illustration only.
13. VALIDATION
CHECK: all relation endpoints satisfy type signatures.
CHECK: no flow edge violates valve direction in normal-flow context.
CHECK: derived quantities preserve units and interval.
CHECK: each species-specific statement carries taxon.
CHECK: no disease diagnosis inferred from a single observation.
CHECK: version and source attribution retained.
END FLOW ALGEBRA
Download Code
Copy to Clipboard