FLOW ALGEBRA
TITLE: Blood Vessel Ontology
DOMAIN: Biological Entities / Blood and Circulatory Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/blood-and-circulatory-entities/blood-vessel-ontology.html
VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Higgins — Sky (Recursive AI)
STATUS: Topic-based formalisation; source page not independently verified
# 1. ONTOLOGY
flow BloodVesselOntology v1.0 {
namespace: kireth.biological.blood_circulatory.blood_vessel
entity BloodVessel <: AnatomicalStructure
entity Artery <: BloodVessel
entity Arteriole <: BloodVessel
entity Capillary <: BloodVessel
entity Venule <: BloodVessel
entity Vein <: BloodVessel
entity EndothelialCell <: Cell
entity SmoothMuscleCell <: Cell
entity Pericyte <: Cell
entity TunicaIntima <: VesselLayer
entity TunicaMedia <: VesselLayer
entity TunicaAdventitia <: VesselLayer
entity BasementMembrane <: ExtracellularMatrix
entity Blood <: BiologicalFluid
entity VascularValve <: AnatomicalStructure
entity VascularNetwork <: AnatomicalNetwork
entity Pressure <: PhysicalQuantity
entity FlowRate <: PhysicalQuantity
entity Resistance <: PhysicalQuantity
entity Radius <: PhysicalQuantity
entity Viscosity <: PhysicalQuantity
entity Permeability <: PhysicalQuantity
}
# 2. TYPED ATTRIBUTES
BloodVessel.attributes = {
vessel_id: Identifier,
vessel_type: Enum[artery, arteriole, capillary, venule, vein],
anatomical_location: SpatialReference?,
lumen_radius_m: PositiveReal?,
length_m: PositiveReal?,
wall_thickness_m: NonNegativeReal?,
blood_flow_m3_s: Real?,
mean_pressure_pa: Real?,
oxygenation: Enum[oxygenated, deoxygenated, mixed, unknown]?,
physiological_state: Enum[normal, constricted, dilated, remodelled, damaged]?,
provenance: EvidenceReference?,
confidence: Probability
}
# 3. RELATIONSHIPS
relationship IS_A(BloodVessel, AnatomicalStructure)
relationship CONNECTS_TO(BloodVessel, BloodVessel)
relationship BRANCHES_INTO(BloodVessel, BloodVessel)
relationship SUPPLIES(BloodVessel, Tissue)
relationship DRAINS(BloodVessel, Tissue)
relationship CONTAINS(BloodVessel, Blood)
relationship LINED_BY(BloodVessel, EndothelialCell)
relationship HAS_LAYER(BloodVessel, VesselLayer)
relationship SUPPORTED_BY(Capillary, Pericyte)
relationship REGULATES_FLOW(Arteriole, Tissue)
relationship EXCHANGES_WITH(Capillary, InterstitialFluid)
relationship HAS_VALVE(Vein, VascularValve)
relationship PART_OF(BloodVessel, VascularNetwork)
relationship PRECEDES_IN_FLOW(BloodVessel, BloodVessel)
# 4. CANONICAL FLOW GRAPH
systemic_pathway = [
SystemicArtery -> Arteriole -> Capillary -> Venule -> SystemicVein
]
constraint: pathway is a representative anatomical sequence, not an exhaustive graph
constraint: pulmonary arteries can carry deoxygenated blood
constraint: pulmonary veins can carry oxygenated blood
constraint: valves occur in some veins, not all veins
constraint: capillary wall structure differs from large-vessel three-layer anatomy
# 5. PHYSIOLOGICAL OPERATIONS
operation VASOCONSTRICT(v: ContractileVessel, stimulus: Signal)
precondition: functional_vascular_smooth_muscle(v)
effect: decrease(v.lumen_radius_m)
expected: increase(local_resistance) when other variables are held constant
operation VASODILATE(v: ContractileVessel, stimulus: Signal)
precondition: responsive_vascular_smooth_muscle(v)
effect: increase(v.lumen_radius_m)
expected: decrease(local_resistance) when other variables are held constant
operation EXCHANGE(c: Capillary, substance: Solute)
inputs: permeability, surface_area, concentration_gradient
outputs: net_transfer_rate
condition: transport mechanism and tissue context specified
operation ANGIOGENESIS(parent: BloodVessel)
effect: formation_of_new_vascular_segments_from_existing_vessels
evidence: requires cellular and molecular observations
operation REMODEL(v: BloodVessel, stimulus: MechanicalOrBiochemicalSignal)
effect: change_in_wall_geometry_or_composition
note: direction depends on stimulus and pathology
# 6. QUANTITATIVE MODELS
model CONTINUITY {
Q = A * v_mean
units: Q[m3/s], A[m2], v_mean[m/s]
assumptions: mean cross-sectional flow representation
}
model PRESSURE_FLOW {
delta_P = Q * R
units: delta_P[Pa], Q[m3/s], R[Pa*s/m3]
assumptions: lumped hydraulic resistance approximation
}
model POISEUILLE {
Q = pi * delta_P * r^4 / (8 * mu * L)
R = 8 * mu * L / (pi * r^4)
assumptions: steady, laminar, fully developed flow of a Newtonian fluid in a rigid circular tube
warning: blood is non-Newtonian in some regimes; living vessels are compliant and pulsatile
}
model WALL_SHEAR_STRESS {
tau_w = 4 * mu * Q / (pi * r^3)
assumptions: same idealised laminar cylindrical tube as Poiseuille
}
model LAPLACE_THIN_WALL {
circumferential_tension_per_length = transmural_pressure * radius
assumptions: thin-walled cylindrical approximation; not universal for thick-walled vessels
}
model FICK_PERMEABILITY {
J = P * A * (C_blood - C_tissue)
assumptions: simplified passive diffusion with effective permeability
sign_convention: positive flux from blood to tissue
}
# 7. INFERENCE RULES
rule R1: IS_A(x, Artery) -> IS_A(x, BloodVessel)
rule R2: IS_A(x, Vein) -> IS_A(x, BloodVessel)
rule R3: IS_A(x, Capillary) -> IS_A(x, BloodVessel)
rule R4: LINED_BY(x, EndothelialCell) does_not_imply IS_A(x, BloodVessel)
rule R5: BRANCHES_INTO(a,b) -> CONNECTS_TO(a,b)
rule R6: PRECEDES_IN_FLOW(a,b) and PRECEDES_IN_FLOW(b,c) -> REACHABLE_IN_FLOW(a,c)
rule R7: decreased_radius and fixed_delta_P and POISEUILLE_assumptions -> decreased_flow
rule R8: increased_radius and fixed_flow and POISEUILLE_assumptions -> decreased_wall_shear_stress
rule R9: observed_exchange(x) and IS_A(x,Capillary) -> candidate_exchange_site(x)
rule R10: HAS_VALVE(x,v) does_not_imply all_veins_have_valves
rule R11: oxygenated_blood(x) does_not_imply IS_A(x,Artery)
rule R12: deoxygenated_blood(x) does_not_imply IS_A(x,Vein)
# 8. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE {
"blood vessel" ~= "vascular vessel" [context: anatomy]
"arteriole" != "artery" [relation: narrower vessel class]
"venule" != "vein" [relation: narrower vessel class]
"capillary" != "lymphatic capillary" [distinct circulation systems]
"endothelium" != "entire vessel wall"
"vasodilation" != "angiogenesis"
"blood flow velocity" != "volumetric blood flow"
}
# 9. VALIDATION
validate vessel_id is unique within dataset
validate lumen_radius_m > 0 when recorded
validate length_m > 0 when recorded
validate confidence in [0,1]
validate all numerical quantities carry units
validate measurements specify species, tissue, state and method where relevant
validate network edges specify anatomical or observed direction of flow
validate inferred claims retain source evidence and assumption flags
validate no artery/vein distinction relies solely on oxygen saturation
# 10. CONFIDENCE
CONFIDENCE {
source_quality: [0,1]
measurement_reliability: [0,1]
model_applicability: [0,1]
inference_validity: [0,1]
aggregate: weighted_geometric_mean_of_available_factors
rule: missing_evidence != zero_confidence
rule: never_present_model_prediction_as_direct_measurement
}
# 11. RECURSIVE REASONING
flow VASCULAR_REASONING(query, graph, evidence, depth=0) {
require depth <= max_depth
classify(query.entities)
resolve_typed_relationships(graph)
select_models_by_assumptions(query.context)
derive_candidate_inferences()
check_units_and_biological_exceptions()
attach_provenance_and_confidence()
if unresolved and depth < max_depth:
recurse(VASCULAR_REASONING, refined_query, depth+1)
return validated_result
}
# 12. FLOW_HASH
FLOW_HASH {
algorithm: SHA-256
canonical_input: UTF-8(normalised ontology version + entity definitions + relationships + rules + model assumptions)
hash_value: COMPUTE_AT_INGESTION
note: placeholder is not a computed digest
}
# 13. UPDATE_MODEL
UPDATE_MODEL {
version_policy: semantic_versioning
update_triggers: new_evidence | revised_anatomy | changed_definitions | corrected_equations
preserve: previous_versions, provenance, change_log
revalidate: dependent_rules, unit_constraints, graph_edges, confidence
prohibit: silent_overwrite_of_prior_evidence
}
# 14. AI_CONSUMPTION
AI_CONSUMPTION {
mode: typed_semantic_graph
primary_entity: BloodVessel
supported_tasks: classification, relation_traversal, mechanism_explanation, conditional_quantitative_reasoning
output_fields: answer, entities, relations, assumptions, provenance, confidence, limitations
uncertainty_policy: explicitly_label_unverified_or_context_dependent_claims
safety_policy: not_a_clinical_diagnostic_or_treatment_protocol
semantic_library_link: SOURCE_URL
}
# 15. AUTHORSHIP AND LICENCE
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Research Semantic Library
WEBSITE: https://kirethresearch.org
NOTE: Topic-derived original Flow Algebra; verify against the linked page before claiming exact correspondence.
END FLOW ALGEBRA
Download Code
Copy to Clipboard