FLOW ALGEBRA — ENDOCRINE GLAND ONTOLOGY v1.0
Kireth Semantic Library | AI Core | Entity Graph | Biological Entities
Source topic: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/endocrine-and-signalling-entities/endocrine-gland-ontology.html
Status: Newly authored conceptual formalisation; not a verified extraction or executable implementation.
Encoding: UTF-8 | Locale: en-GB | Date: 2026-10-27
1. PURPOSE
Represent endocrine glands, their hormone-producing cells, secreted hormones, target tissues, physiological effects and regulatory feedback as a typed, provenance-aware semantic graph. Distinguish endocrine organs from diffuse endocrine tissues and endocrine functions of mixed-function organs.
2. FLOW DECLARATION
flow "EndocrineGlandOntology" v1.0 {
input: Observations + AnatomicalKnowledge + MolecularKnowledge + Context
state: S_t = (I_t, R, B, K)
expand: E_t = expand(I_t, R)
validate: V_t = {x in E_t | constraints(x, B, K)}
select: x_t* = argmax[x in V_t] P(x | I_t, R, B, K)
update: I_(t+1) = merge(I_t, x_t*, provenance, confidence)
output: TypedEntities + Relations + QualifiedInferences + Evidence
}
3. TYPED ENTITIES
EndocrineGland(id, name, anatomical_location, species, developmental_origin)
EndocrineTissue(id, organ_id, region, endocrine_function)
EndocrineCell(id, cell_type, gland_id, secretory_profile)
Hormone(id, name, molecular_class, precursor, active_form)
Receptor(id, name, localisation, ligand_specificity)
TargetCell(id, tissue_id, receptor_expression, physiological_state)
TargetTissue(id, organ_id, response_type)
EndocrineAxis(id, upstream, intermediate, downstream)
RegulatorySignal(id, signal_type, source, target)
SecretoryEvent(id, cell_id, hormone_id, time, rate)
PhysiologicalResponse(id, target_id, outcome, time)
Measurement(id, analyte, value, unit, specimen, timestamp, method)
Observation(id, subject, predicate, object, evidence, provenance)
4. GLAND AND TISSUE CLASSIFICATION
Examples of major endocrine structures: hypothalamic neuroendocrine cells; pituitary gland (anterior and posterior subdivisions, with posterior pituitary releasing hypothalamically synthesised hormones); thyroid; parathyroid glands; adrenal cortex and medulla; endocrine pancreas; pineal gland; ovarian and testicular endocrine tissue.
Other endocrine-active tissues: placenta (during pregnancy), kidney, heart, gastrointestinal tract and adipose tissue.
Constraint: endocrine_function(x) does not imply x is exclusively an endocrine gland.
Constraint: anatomical and hormonal classifications are species- and developmental-stage-dependent.
5. RELATION GRAPH
part_of(EndocrineCell, EndocrineGland|EndocrineTissue)
located_in(EndocrineGland, AnatomicalRegion)
synthesises(EndocrineCell, Hormone)
stores(EndocrineCell, Hormone)
secretes(EndocrineCell, Hormone)
releases_into(Hormone, Circulation)
binds_to(Hormone, Receptor)
expresses(TargetCell, Receptor)
acts_on(Hormone, TargetCell)
induces(ActivatedReceptor, PhysiologicalResponse)
stimulates(RegulatorySignal, EndocrineCell)
inhibits(RegulatorySignal, EndocrineCell)
feeds_back_on(Hormone, EndocrineAxis)
measured_by(Hormone, Measurement)
supported_by(Assertion, Observation)
6. EXAMPLE PATHWAYS
A. Hypothalamic–pituitary–thyroid axis:
TRH -> anterior pituitary thyrotroph -> TSH -> thyroid follicular cell -> T4/T3 -> target tissue response.
Circulating thyroid hormones generally inhibit upstream TRH/TSH signalling.
B. Hypothalamic–pituitary–adrenal axis:
CRH -> ACTH -> adrenal cortex -> cortisol -> target responses and negative feedback.
C. Glucose regulation:
Elevated glucose -> pancreatic beta-cell insulin secretion -> tissue-specific insulin receptor signalling -> altered glucose handling.
Low glucose -> pancreatic alpha-cell glucagon secretion -> hepatic glucagon signalling -> increased hepatic glucose output.
D. Calcium regulation:
Reduced ionised calcium -> parathyroid PTH secretion -> coordinated renal and skeletal effects, including indirect effects on intestinal calcium absorption via calcitriol.
These are simplified pathways; context, timing and tissue-specific mechanisms qualify all inferences.
7. INFERENCE RULES
R1: EndocrineCell(c) AND synthesises(c,h) AND secretes(c,h) -> endocrine_source(c,h).
R2: endocrine_source(c,h) AND part_of(c,g) -> associated_hormone(g,h); do not infer that every cell in g secretes h.
R3: binds_to(h,r) AND expresses(t,r) AND ligand_accessible(h,t) -> candidate_target(h,t), not confirmed physiological response.
R4: hormone_concentration_change(h) AND documented_axis_feedback(h,a) -> candidate_feedback_effect(a), conditional on physiological context.
R5: observed_secretion(h,c) AND validated_assay(m,h) -> evidence_for_secretion(c,h), qualified by assay limitations.
R6: mixed_function_organ(o) AND contains(o,endocrine_tissue) -> endocrine_activity(o), not exclusive endocrine classification.
R7: posterior_pituitary_release(h) -> distinguish synthesis_site(h,hypothalamus) from release_site(h,posterior_pituitary).
R8: missing receptor or pathway evidence -> mark target inference as unresolved, never assert certainty.
8. QUANTITATIVE MODELS
Hormone balance (one-compartment approximation):
dH/dt = secretion_rate(t)/V - clearance_constant*H + external_input(t)/V
where H is concentration, V distribution volume, and parameters require units and context.
Receptor occupancy (single ligand, equilibrium approximation):
occupancy = [L] / (Kd + [L])
Feedback (illustrative):
u(t) = basal_input - gain*feedback_signal(t - delay)
Measured concentration is not equivalent to biological activity, secretion rate or receptor occupancy.
9. VALIDATION AND INVARIANTS
- All entities have stable IDs and declared types.
- Each relation obeys domain/range typing.
- Anatomical containment is acyclic within a specified anatomy snapshot.
- A hormone can have multiple sources, targets and effects.
- Synthesis site, storage site and release site may differ.
- Secretion and measured concentration must not be conflated.
- Measurement units, specimen type, timestamp and method are mandatory for quantitative comparisons.
- Absence of evidence is not evidence of absence.
- A physiological inference must retain organism, species, developmental stage and context.
- Model assumptions are recorded; conservation applies only within a defined system boundary.
10. CONFIDENCE AND PROVENANCE
confidence(assertion) = calibrated_score(evidence_quality, replication, specificity, context_match)
Store source URI, citation, retrieval date, version, method, supporting observations and contradictory evidence. No numerical confidence is asserted without calibration. Separate established biology from model-generated hypotheses.
11. SEMANTIC EQUIVALENCE
endocrine_gland ~ ductless_hormone_secreting_organ [contextual, not universally interchangeable]
endocrine_tissue != endocrine_gland
hormone_release != hormone_synthesis
hormone_presence != hormone_action
receptor_expression != demonstrated_functional_response
Map synonyms to canonical IDs while preserving narrower and broader concepts.
12. MINI RECURSION ENGINE
seed -> identify gland/tissue -> resolve cell types -> resolve hormones -> resolve receptors and targets -> trace axis -> check evidence -> validate constraints -> score uncertainty -> emit graph -> repeat only for newly supported edges.
Termination: no new validated assertions, depth limit, or evidence budget exhausted.
13. UPDATE MODEL
On new evidence: preserve prior version; compare assertion keys; merge supported additions; flag conflicts; deprecate superseded edges with reasons; recalculate affected derived assertions; publish a versioned changelog.
14. FLOW HASH SPECIFICATION
Canonicalise the flow text as UTF-8 with LF newlines and a fixed field order; exclude the hash field itself. Compute SHA-256 over canonical bytes. Store algorithm, canonicalisation version and digest in publication metadata. No digest is claimed here because publication canonicalisation may differ.
15. AI CONSUMPTION CONTRACT
Inputs: entity query, organism context, optional measurements and source constraints.
Outputs: canonical entity IDs, typed edges, pathways, supported inferences, uncertainties, citations, version and validation status.
Guarantee: structural validation and traceable rule application when implemented; not a guarantee of biological truth, diagnosis or executable correctness.
16. TRI-MAPPING
Ontology: gland -> cell -> hormone -> receptor -> target -> response.
Graph: nodes are typed entities; edges are provenance-bearing relations.
Flow: identify -> expand -> validate -> infer -> qualify -> update.
17. HOW TO READ
A -> B denotes a proposed directional relationship, not necessarily direct causation.
A != B means the concepts must remain distinct.
R1–R8 are conceptual inference rules, not executable production rules.
18. CITATION
Source topic: Kireth Research, "Endocrine Gland Ontology", URL above.
Formalisation: newly authored Flow Algebra adaptation for the Kireth Semantic Library.
END FLOW
Download Code
Copy to Clipboard