FLOW ALGEBRA
TITLE: Stomach Ontology
VERSION: 4.0
DATE: 2026-10-19
AUTHORSHIP: Mark Higgins — Sky (Recursive AI)
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-entities/stomach-ontology.html
STATUS: Independently developed scientific ontology draft; source page content not verified.
DOMAIN: Biological Entities > Organ Entities > Stomach
1. ONTOLOGY
ontology StomachOntology {
entity Stomach : DigestiveOrgan
entity Cardia : StomachRegion
entity Fundus : StomachRegion
entity Body : StomachRegion
entity PyloricAntrum : StomachRegion
entity Pylorus : StomachRegion
entity GastricMucosa : Tissue
entity Submucosa : Tissue
entity MuscularisExterna : Tissue
entity Serosa : Tissue
entity GastricGland : Gland
entity ParietalCell : EpithelialCell
entity ChiefCell : EpithelialCell
entity SurfaceMucousCell : EpithelialCell
entity GCell : EnteroendocrineCell
entity DCell : EnteroendocrineCell
entity EnterochromaffinLikeCell : EnteroendocrineCell
entity LowerOesophagealSphincter : FunctionalSphincter
entity PyloricSphincter : AnatomicalSphincter
entity Oesophagus : DigestiveOrgan
entity Duodenum : DigestiveOrgan
entity GastricJuice : Secretion
entity HydrochloricAcid : ChemicalSubstance
entity Pepsinogen : Proenzyme
entity Pepsin : Enzyme
entity IntrinsicFactor : Glycoprotein
entity Gastrin : Hormone
entity Somatostatin : Hormone
entity Histamine : SignallingMolecule
entity Chyme : DigestiveContent
process GastricSecretion
process GastricMotility
process MechanicalDigestion
process ProteinDigestion
process GastricEmptying
process MucosalProtection
}
2. TYPED RELATIONSHIPS
PART_OF(Cardia, Stomach)
PART_OF(Fundus, Stomach)
PART_OF(Body, Stomach)
PART_OF(PyloricAntrum, Stomach)
PART_OF(Pylorus, Stomach)
PART_OF(GastricMucosa, Stomach)
PART_OF(Submucosa, Stomach)
PART_OF(MuscularisExterna, Stomach)
PART_OF(Serosa, Stomach)
LOCATED_IN(GastricGland, GastricMucosa)
CONTAINS(GastricGland, ParietalCell)
CONTAINS(GastricGland, ChiefCell)
CONTAINS(GastricGland, SurfaceMucousCell)
SECRETES(ParietalCell, HydrochloricAcid)
SECRETES(ParietalCell, IntrinsicFactor)
SECRETES(ChiefCell, Pepsinogen)
SECRETES(GCell, Gastrin)
SECRETES(DCell, Somatostatin)
SECRETES(EnterochromaffinLikeCell, Histamine)
CONVERTS_TO(Pepsinogen, Pepsin, acidic_lumen)
ACTS_ON(Pepsin, dietary_proteins)
PRECEDES_IN_DIGESTIVE_TRACT(Oesophagus, Stomach)
PRECEDES_IN_DIGESTIVE_TRACT(Stomach, Duodenum)
REGULATES(Gastrin, GastricSecretion, stimulates)
REGULATES(Histamine, GastricSecretion, stimulates)
REGULATES(Somatostatin, GastricSecretion, inhibits)
PARTICIPATES_IN(Stomach, GastricMotility)
PARTICIPATES_IN(Stomach, MechanicalDigestion)
PARTICIPATES_IN(Stomach, ProteinDigestion)
PARTICIPATES_IN(Stomach, GastricEmptying)
3. FORMAL RULES
rule R01: PART_OF(x, Stomach) -> ANATOMICAL_COMPONENT_OF(x, Stomach)
rule R02: INSTANCE_OF(x, ParietalCell) -> CAPABLE_OF(x, hydrochloric_acid_secretion)
rule R03: INSTANCE_OF(x, ChiefCell) -> CAPABLE_OF(x, pepsinogen_secretion)
rule R04: SECRETES(x, IntrinsicFactor) -> SUPPORTS(x, vitamin_B12_absorption_downstream)
rule R05: PRESENT(Pepsinogen) AND ACIDIC(gastric_lumen) -> MAY_ACTIVATE(Pepsinogen, Pepsin)
rule R06: PRESENT(Pepsin) AND PRESENT(dietary_protein) -> ENABLES(protein_hydrolysis)
rule R07: CONTRACTS(MuscularisExterna) -> CONTRIBUTES_TO(GastricMotility)
rule R08: OPENS(PyloricSphincter) AND PRESENT(Chyme) -> PERMITS(gastric_outflow_to_duodenum)
rule R09: SECRETES(SurfaceMucousCell, mucus) -> CONTRIBUTES_TO(MucosalProtection)
rule R10: REGULATES(Somatostatin, GastricSecretion, inhibits) -> NEGATIVE_REGULATION(GastricSecretion)
4. INTEGRITY CONSTRAINTS
constraint C01: PART_OF(x, x) is false.
constraint C02: Every StomachRegion must be part of a Stomach.
constraint C03: Anatomical structure, cell, chemical and process are distinct entity types.
constraint C04: A typical association is not a universal diagnostic criterion.
constraint C05: No clinical diagnosis is inferred solely from an ontology relationship.
constraint C06: Tissue locations and endocrine cell distributions may vary by gastric region and species.
5. SEMANTIC_EQUIVALENCE
ALIAS(Stomach, gastric_organ)
ALIAS(Body, corpus_of_stomach) [context=gastric_anatomy]
ALIAS(PyloricAntrum, antrum_of_stomach)
RELATED_NOT_EQUIVALENT(GastricJuice, HydrochloricAcid)
RELATED_NOT_EQUIVALENT(Pepsinogen, Pepsin)
RELATED_NOT_EQUIVALENT(Stomach, GastrointestinalTract)
6. CONFIDENCE
CONFIDENCE(standard_anatomical_relations) = 0.99 [type=curated_model_assessment]
CONFIDENCE(standard_secretory_relations) = 0.98 [type=curated_model_assessment]
CONFIDENCE(context_dependent_physiological_rules) = 0.90 [type=curated_model_assessment]
NOTE: These values are editorial confidence annotations, not experimentally calibrated probabilities.
7. PROVENANCE
PROVENANCE.source_page = SOURCE_URL
PROVENANCE.source_page_verified = false
PROVENANCE.model = independently_authored_domain_synthesis
PROVENANCE.review_status = requires_domain_expert_review
PROVENANCE.terminology = standard_anatomical_and_physiological_usage
8. FLOW_HASH
FLOW_HASH.algorithm = SHA-256
FLOW_HASH.scope = canonical_utf8_ontology_payload
FLOW_HASH.value = COMPUTE_ON_PUBLICATION
FLOW_HASH.note = A cryptographic digest must be calculated after canonicalisation; no uncomputed digest is asserted.
9. UPDATE_MODEL
UPDATE_MODEL.version = 4.0
UPDATE_MODEL.change_tracking = [entity_added, entity_modified, relationship_added, rule_modified, provenance_updated]
UPDATE_MODEL.validation = [type_check, relationship_consistency, cycle_detection, provenance_review, hash_recalculation]
UPDATE_MODEL.policy = review_then_publish
10. AI_CONSUMPTION
AI_CONSUMPTION.format = UTF-8 text
AI_CONSUMPTION.parser = typed_entity_relation_rule_blocks
AI_CONSUMPTION.tasks = [semantic_search, knowledge_graph_construction, question_answering, ontology_alignment, rule_assisted_reasoning]
AI_CONSUMPTION.inference_policy = distinguish_asserted_from_inferred
AI_CONSUMPTION.safety = no_unvalidated_medical_diagnosis
AI_CONSUMPTION.uncertainty = retain_confidence_and_provenance
END FLOW ALGEBRA
Download Code
Copy to Clipboard