Skip to main content

Digestive System Ontology

Organ System Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 19 October 2026
Audio Overview
FLOW ALGEBRA
DIGESTIVE SYSTEM ONTOLOGY
Version: 1.0 | Date: 2026-10-19 | Locale: en-GB
Author: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-system-entities/digestive-system-ontology-2.html
Status: Independently developed scientific draft; source page content not verified.

1. PURPOSE
Represent digestive-system anatomy, physiology, transport, regulation and evidence as typed, provenance-aware knowledge suitable for semantic retrieval and rule-based reasoning. Rules describe typical human physiology and are not clinical diagnostic rules.

2. TYPES
entity BiologicalEntity
entity OrganSystem extends BiologicalEntity
entity Organ extends BiologicalEntity
entity Tissue extends BiologicalEntity
entity Cell extends BiologicalEntity
entity Substance extends BiologicalEntity
entity Process
entity AnatomicalRegion
entity Observation
entity EvidenceSource
entity PhysiologicalState
entity Organism

3. ENTITY REGISTRY
DigestiveSystem: OrganSystem
AlimentaryCanal: AnatomicalRegion
AccessoryDigestiveOrgans: AnatomicalRegion
OralCavity, Pharynx, Oesophagus, Stomach, SmallIntestine, LargeIntestine, Rectum, Anus: Organ
Duodenum, Jejunum, Ileum, Caecum, Colon: AnatomicalRegion
SalivaryGlands, Liver, Gallbladder, Pancreas: Organ
GastricMucosa, IntestinalMucosa, SmoothMuscle: Tissue
Enterocyte, GobletCell, ParietalCell, ChiefCell, Hepatocyte, PancreaticAcinarCell: Cell
Saliva, GastricAcid, Pepsin, Bile, PancreaticAmylase, Lipase, Bicarbonate, Chyme: Substance
Ingestion, Mastication, Swallowing, Peristalsis, Segmentation, GastricEmptying, ChemicalDigestion, Absorption, Secretion, Defecation: Process

4. TYPED RELATIONSHIPS
PART_OF(child: BiologicalEntity|AnatomicalRegion, parent: BiologicalEntity|AnatomicalRegion)
CONNECTED_TO(a: Organ|AnatomicalRegion, b: Organ|AnatomicalRegion)
PRODUCES(a: Organ|Cell, b: Substance)
STORES(a: Organ, b: Substance)
RELEASES_INTO(a: Organ, b: Substance, destination: Organ|AnatomicalRegion)
PERFORMS(a: BiologicalEntity, p: Process)
ACTS_ON(a: Substance, target: Substance)
ABSORBS(a: Organ|Tissue|Cell, b: Substance)
REGULATES(a: Substance|Organ, p: Process)
SUPPORTED_BY(assertion: Observation, source: EvidenceSource)

5. STRUCTURAL FACTS
PART_OF(AlimentaryCanal, DigestiveSystem)
PART_OF(AccessoryDigestiveOrgans, DigestiveSystem)
PART_OF(Stomach, AlimentaryCanal)
PART_OF(SmallIntestine, AlimentaryCanal)
PART_OF(LargeIntestine, AlimentaryCanal)
PART_OF(Duodenum, SmallIntestine)
PART_OF(Jejunum, SmallIntestine)
PART_OF(Ileum, SmallIntestine)
PART_OF(Colon, LargeIntestine)
PART_OF(Liver, AccessoryDigestiveOrgans)
PART_OF(Gallbladder, AccessoryDigestiveOrgans)
PART_OF(Pancreas, AccessoryDigestiveOrgans)
CONNECTED_TO(Oesophagus, Stomach)
CONNECTED_TO(Stomach, Duodenum)
CONNECTED_TO(Ileum, Caecum)

6. FUNCTIONAL FACTS
PERFORMS(OralCavity, Mastication)
PERFORMS(Oesophagus, Peristalsis)
PERFORMS(Stomach, GastricEmptying)
PERFORMS(SmallIntestine, ChemicalDigestion)
PERFORMS(SmallIntestine, Absorption)
PERFORMS(LargeIntestine, Absorption)
PRODUCES(SalivaryGlands, Saliva)
PRODUCES(ParietalCell, GastricAcid)
PRODUCES(ChiefCell, Pepsin)
PRODUCES(Liver, Bile)
STORES(Gallbladder, Bile)
PRODUCES(Pancreas, Bicarbonate)
PRODUCES(PancreaticAcinarCell, PancreaticAmylase)
PRODUCES(PancreaticAcinarCell, Lipase)

7. PROCESS FLOWS
FLOW FoodTransit:
  OralCavity -> Pharynx -> Oesophagus -> Stomach -> Duodenum -> Jejunum -> Ileum -> Caecum -> Colon -> Rectum -> Anus
FLOW BileRoute:
  Liver -> BileDuctSystem -> Duodenum
  optional_storage: Liver -> Gallbladder -> BileDuctSystem -> Duodenum
FLOW PancreaticExocrineRoute:
  Pancreas -> PancreaticDuct -> Duodenum
FLOW NutrientUptake:
  IntestinalLumen -> IntestinalEpithelium -> BloodOrLymph -> SystemicDistribution
  note: Lipid transport pathways differ from many water-soluble nutrient pathways.

8. INFERENCE RULES
RULE R01: PART_OF(x,y) AND PART_OF(y,z) => ANCESTOR_PART_OF(x,z)
RULE R02: PRODUCES(x,s) AND PART_OF(x,o) => HAS_SECRETORY_SOURCE(o,s)
RULE R03: PERFORMS(o,p) AND PART_OF(o,DigestiveSystem) => SYSTEM_SUPPORTS(DigestiveSystem,p)
RULE R04: ABSORBS(x,s) => POTENTIAL_UPTAKE_SITE(s,x)
RULE R05: CONNECTED_TO(a,b) => ANATOMICALLY_ADJACENT_PATH(a,b) [only where asserted]
RULE R06: OBSERVED(o,f) AND SUPPORTED_BY(o,e) => EVIDENCE_LINK(f,e)
CONSTRAINT: Never infer disease, causation or treatment solely from an anatomical or functional relationship.

9. SEMANTIC EQUIVALENCE
Oesophagus ~ Esophagus [en-GB/en-US spelling]
AlimentaryCanal ~ GastrointestinalTract [contextual; gastrointestinal tract may be used with different scope]
LargeIntestine ~ LargeBowel [common usage]
SmallIntestine ~ SmallBowel [common usage]
CONSTRAINT: Similarity is not identity; gallbladder is not bile-producing organ.

10. CONFIDENCE
CONFIDENCE(value: float[0,1], basis: EvidenceSource, scope: string)
Directly established anatomy: evidence dependent; never automatically assign 1.0.
Inferred assertions: confidence <= weakest required premise unless calibrated evidence justifies otherwise.
Unknown evidence: confidence = null; do not substitute a numerical certainty.

11. PROVENANCE
Each assertion records: assertion_id, subject, predicate, object, source_uri, source_type, retrieval_date, author, validation_status, confidence, version.
Provenance for this draft: general scientific knowledge; website text not independently verified.

12. FLOW_HASH
Canonicalise UTF-8 content (NFC, LF newlines), excluding the FLOW_HASH field itself.
FLOW_HASH.algorithm = SHA-256
FLOW_HASH.value = COMPUTE_ON_PUBLICATION
FLOW_HASH.scope = canonical_document

13. UPDATE_MODEL
version = 1.0
update_policy = append_changes_and_revalidate
change_log_fields = [timestamp, entity_id, changed_relation, reason, evidence, reviewer]
conflict_resolution = prefer_reviewed_primary_evidence; preserve conflicting claims with provenance
on_update = [revalidate_types, recheck_rules, update_confidence, recompute_flow_hash]

14. AI_CONSUMPTION
input = typed entity queries, relationship queries, process queries
output = grounded triples, bounded inferences, provenance, confidence, uncertainty
retrieval_mode = semantic_graph_plus_rule_evaluation
safety = educational_and_research_only; no autonomous medical diagnosis
unknown_handling = explicit_unknown
citation_policy = cite_source_for_each_nontrivial_claim

15. VALIDATION TESTS
TEST PART_OF(Duodenum,SmallIntestine) == true
TEST PRODUCES(Liver,Bile) == true
TEST STORES(Gallbladder,Bile) == true
TEST PRODUCES(Gallbladder,Bile) == false
TEST INFER ANCESTOR_PART_OF(Duodenum,DigestiveSystem) == true
TEST ASSERT disease_from_anatomy_only == rejected

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ