FLOW ALGEBRA
KIDNEY ONTOLOGY — BIOLOGICAL ORGAN ENTITIES
Version: 1.0 | Locale: en-GB | Date: 2026-10-19
Source reference: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-entities/kidney-ontology.html
Status: Independently developed scientific draft; source page content not verified.
1. PURPOSE
Represent kidney anatomy, renal cell types, physiological processes, relationships and evidence-aware reasoning in a typed, machine-readable Flow Algebra specification. This is a conceptual formalism, not a clinically validated diagnostic engine.
2. ENTITY TYPES
ENTITY Kidney <: UrinaryOrgan
ENTITY RenalCortex <: AnatomicalRegion
ENTITY RenalMedulla <: AnatomicalRegion
ENTITY RenalPyramid <: AnatomicalRegion
ENTITY RenalPapilla <: AnatomicalRegion
ENTITY RenalPelvis <: CollectingRegion
ENTITY Calyx <: CollectingRegion
ENTITY Nephron <: FunctionalUnit
ENTITY RenalCorpuscle <: NephronComponent
ENTITY Glomerulus <: CapillaryNetwork
ENTITY BowmansCapsule <: NephronComponent
ENTITY ProximalTubule <: NephronComponent
ENTITY LoopOfHenle <: NephronComponent
ENTITY DistalTubule <: NephronComponent
ENTITY CollectingDuct <: RenalTubularStructure
ENTITY JuxtaglomerularApparatus <: RegulatoryStructure
ENTITY Podocyte <: Cell
ENTITY MesangialCell <: Cell
ENTITY TubularEpithelialCell <: Cell
ENTITY RenalArtery <: BloodVessel
ENTITY RenalVein <: BloodVessel
ENTITY AfferentArteriole <: BloodVessel
ENTITY EfferentArteriole <: BloodVessel
ENTITY PeritubularCapillary <: BloodVessel
ENTITY VasaRecta <: BloodVessel
ENTITY Ureter <: UrinaryConduit
ENTITY Filtrate <: BiologicalFluid
ENTITY Urine <: BiologicalFluid
ENTITY Water <: Substance
ENTITY SodiumIon <: Solute
ENTITY PotassiumIon <: Solute
ENTITY Urea <: Solute
ENTITY Creatinine <: Solute
ENTITY Renin <: HormoneOrEnzyme
ENTITY Erythropoietin <: Hormone
ENTITY Calcitriol <: Hormone
ENTITY ADH <: Hormone
ENTITY Aldosterone <: Hormone
ENTITY RenalBloodFlow <: PhysiologicalProcess
ENTITY GlomerularFiltration <: PhysiologicalProcess
ENTITY TubularReabsorption <: PhysiologicalProcess
ENTITY TubularSecretion <: PhysiologicalProcess
ENTITY UrineExcretion <: PhysiologicalProcess
ENTITY AcidBaseRegulation <: PhysiologicalProcess
ENTITY Osmoregulation <: PhysiologicalProcess
ENTITY BloodPressureRegulation <: PhysiologicalProcess
ENTITY RenalFunctionMeasurement <: Observation
3. TYPED RELATIONSHIPS
RELATION part_of(component:AnatomicalEntity, whole:AnatomicalEntity)
RELATION located_in(entity:BiologicalEntity, region:AnatomicalRegion)
RELATION connected_to(a:AnatomicalEntity, b:AnatomicalEntity)
RELATION supplied_by(entity:AnatomicalEntity, vessel:BloodVessel)
RELATION drains_into(source:AnatomicalEntity, destination:AnatomicalEntity)
RELATION contains(entity:AnatomicalEntity, component:BiologicalEntity)
RELATION performs(entity:BiologicalEntity, process:PhysiologicalProcess)
RELATION regulates(agent:BiologicalEntity, process:PhysiologicalProcess)
RELATION produces(entity:BiologicalEntity, product:BiologicalEntity)
RELATION transports(pathway:AnatomicalEntity, substance:Substance)
RELATION measured_by(process:PhysiologicalProcess, observation:Observation)
RELATION supported_by(assertion:Assertion, evidence:Evidence)
RELATION has_confidence(assertion:Assertion, value:Decimal[0..1])
4. CANONICAL FACTS
part_of(RenalCortex, Kidney)
part_of(RenalMedulla, Kidney)
part_of(RenalPyramid, RenalMedulla)
part_of(RenalCorpuscle, Nephron)
part_of(Glomerulus, RenalCorpuscle)
part_of(BowmansCapsule, RenalCorpuscle)
part_of(ProximalTubule, Nephron)
part_of(LoopOfHenle, Nephron)
part_of(DistalTubule, Nephron)
connected_to(DistalTubule, CollectingDuct)
connected_to(RenalPelvis, Ureter)
performs(Glomerulus, GlomerularFiltration)
performs(ProximalTubule, TubularReabsorption)
performs(Kidney, AcidBaseRegulation)
performs(Kidney, Osmoregulation)
performs(Kidney, BloodPressureRegulation)
produces(Kidney, Renin)
produces(Kidney, Erythropoietin)
produces(Kidney, Calcitriol)
regulates(ADH, Osmoregulation)
regulates(Aldosterone, TubularReabsorption)
5. FLOW MODEL
FLOW renal_perfusion:
RenalArtery -> AfferentArteriole -> Glomerulus -> EfferentArteriole
-> PeritubularCapillary | VasaRecta -> RenalVein
FLOW filtrate_path:
Glomerulus -> BowmansCapsule -> ProximalTubule -> LoopOfHenle
-> DistalTubule -> CollectingDuct -> RenalPapilla -> Calyx
-> RenalPelvis -> Ureter
FLOW renal_processing:
plasma_delivery -> glomerular_filtration -> selective_reabsorption
-> tubular_secretion -> urine_concentration -> excretion
6. FORMAL INFERENCE RULES
RULE component_membership:
part_of(x,y) AND part_of(y,z) => indirect_part_of(x,z)
RULE filtration_site:
instance_of(x,Glomerulus) => capable_of(x,GlomerularFiltration)
RULE reabsorption_site:
instance_of(x,ProximalTubule) => capable_of(x,TubularReabsorption)
RULE urine_drainage:
drains_into(x,y) AND drains_into(y,z) => downstream_of(z,x)
RULE evidence_guard:
assertion(a) AND NOT supported_by(a,evidence) => status(a,"unverified")
RULE diagnostic_guard:
abnormal(observation) => requires_clinical_interpretation(observation)
# Never infer a diagnosis from one isolated measurement.
7. QUANTITATIVE SEMANTICS
DEFINE GFR = total glomerular filtrate volume / time
UNIT GFR: mL/min; may be indexed to 1.73 m^2 body surface area
DEFINE excretion_rate(solute) = urine_concentration(solute) * urine_flow_rate
DEFINE clearance(solute) = excretion_rate(solute) / plasma_concentration(solute)
PRECONDITION clearance: plasma_concentration(solute) > 0
NOTE: Estimated GFR is calculated from validated equations and patient-specific variables; it is not identical to measured GFR.
8. SEMANTIC EQUIVALENCE AND DISAMBIGUATION
SEMANTIC_EQUIVALENCE("renal organ", Kidney) [context=anatomy]
SEMANTIC_EQUIVALENCE("renal corpuscle", RenalCorpuscle)
SEMANTIC_EQUIVALENCE("Bowman's capsule", BowmansCapsule)
SEMANTIC_EQUIVALENCE("glomerular filtration", GlomerularFiltration)
SEMANTIC_DIFFERENCE(Nephron, CollectingDuct) [note="Collecting ducts receive flow from multiple nephrons and are often classified separately"]
SEMANTIC_DIFFERENCE(GlomerularFiltration, TubularSecretion)
SEMANTIC_DIFFERENCE(GFR, RenalBloodFlow)
9. CONFIDENCE AND PROVENANCE
CONFIDENCE:
values: 0.0..1.0
method: evidence_calibrated
unknown: null
policy: do_not_assign_numeric_confidence_without_evidence
PROVENANCE:
source_url: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-entities/kidney-ontology.html
source_verification: not_retrieved
content_origin: independently_authored_scientific_draft
author_credit: Mark Higgins — Sky (Recursive AI)
research_site: https://kirethresearch.org
validation_status: conceptual_not_clinically_validated
10. FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
input: canonical_UTF8_of_normalised_entity_relation_rule_graph
exclude_fields: [FLOW_HASH.value, generated_timestamp]
value: COMPUTE_AT_PUBLISH_TIME
11. UPDATE_MODEL
UPDATE_MODEL:
version: 1.0
strategy: append_only_revision_history
triggers: [new_evidence, corrected_anatomy, terminology_update, ontology_alignment]
require: [source_attribution, semantic_diff, reviewer_approval, recompute_flow_hash]
preserve: [prior_version, superseded_assertions, evidence_links]
12. AI_CONSUMPTION
AI_CONSUMPTION:
entity_resolution: typed_contextual
reasoning: rules_with_provenance
uncertainty: explicit
output: [entity_graph, inferred_relationships, evidence_trace, confidence_status]
safety: never_treat_as_medical_diagnosis_or_patient_specific_advice
interoperability_targets: [RDF, OWL, JSON-LD, biomedical_ontology_mappings]
validation: check_types_then_relations_then_rules_then_evidence
END FLOW ALGEBRA
Download Code
Copy to Clipboard