FLOW ALGEBRA
GLANDULAR TISSUE ONTOLOGY
Kireth Semantic Library | Biological Entities > Tissue Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/tissue-entities/glandular-tissue-ontology.html
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Specification: Formal typed biological knowledge and inference model
Status: Research formalisation; biological rules are context-sensitive and are not clinical diagnostic rules.
01. ONTOLOGY IDENTITY
ontology GlandularTissueOntology v1.0
namespace: kireth.biological.tissue.glandular
parent: EpithelialTissueOntology
scope: glandular epithelial cells, glands, secretion, ducts, regulatory signals and tissue organisation
02. TYPE SYSTEM
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE Tissue <: BiologicalEntity
TYPE EpithelialTissue <: Tissue
TYPE GlandularTissue <: EpithelialTissue
TYPE Gland <: BiologicalEntity
TYPE GlandularCell <: BiologicalEntity
TYPE SecretoryProduct <: BiologicalEntity
TYPE Duct <: BiologicalEntity
TYPE Target <: BiologicalEntity
TYPE RegulatorySignal <: BiologicalEntity
TYPE Receptor <: BiologicalEntity
TYPE Process
TYPE AnatomicalLocation
TYPE Evidence
TYPE Context
TYPE Time
TYPE Confidence = Real[0,1]
ENUM GlandClass = {Exocrine, Endocrine, Mixed}
ENUM SecretionMode = {Merocrine, Apocrine, Holocrine, Unspecified}
ENUM SecretoryMorphology = {Tubular, Acinar, Tubuloacinar, Other}
ENUM DuctOrganisation = {Simple, Compound, NotApplicable, Unknown}
03. CORE ENTITIES
ENTITY glandular_epithelium: GlandularTissue
ENTITY goblet_cell: GlandularCell
ENTITY salivary_gland: Gland
ENTITY sweat_gland: Gland
ENTITY sebaceous_gland: Gland
ENTITY thyroid_gland: Gland
ENTITY pituitary_gland: Gland
ENTITY pancreatic_exocrine_component: Gland
ENTITY pancreatic_endocrine_islet: Gland
ENTITY mucus: SecretoryProduct
ENTITY saliva: SecretoryProduct
ENTITY sebum: SecretoryProduct
ENTITY hormone: SecretoryProduct
ENTITY enzyme: SecretoryProduct
04. TYPED RELATIONSHIPS
REL is_a(Entity, Entity)
REL part_of(BiologicalEntity, BiologicalEntity)
REL located_in(BiologicalEntity, AnatomicalLocation)
REL contains_cell(GlandularTissue, GlandularCell)
REL forms_gland(GlandularTissue, Gland)
REL has_class(Gland, GlandClass)
REL has_secretion_mode(Gland, SecretionMode)
REL has_morphology(Gland, SecretoryMorphology)
REL has_duct_organisation(Gland, DuctOrganisation)
REL produces(GlandularCell, SecretoryProduct)
REL secretes(Gland, SecretoryProduct)
REL delivers_via(Gland, Duct)
REL releases_into(Gland, Target)
REL responds_to(GlandularCell, RegulatorySignal)
REL binds(RegulatorySignal, Receptor)
REL regulates(RegulatorySignal, Process)
REL supported_by(Entity, Evidence)
REL valid_in(Entity, Context)
05. CLASSIFICATION AXIOMS
AXIOM A01: GlandularTissue <: EpithelialTissue.
AXIOM A02: Exocrine glands release secretions onto an epithelial surface, either directly or through ducts.
AXIOM A03: Endocrine glands are ductless and release signalling products into interstitial fluid, commonly entering circulation.
AXIOM A04: Mixed glands or organs can contain both exocrine and endocrine components.
AXIOM A05: Merocrine secretion uses exocytosis without necessary loss of cytoplasm.
AXIOM A06: Apocrine secretion involves release of an apical cellular portion in the relevant histological definition.
AXIOM A07: Holocrine secretion releases material through disintegration of mature secretory cells.
AXIOM A08: A unicellular secretory epithelial cell need not constitute a multicellular gland.
AXIOM A09: Duct presence alone does not identify every gland subtype or secretion mechanism.
06. FORMAL INFERENCE RULES
RULE R01 [epithelial inheritance]:
IF x:GlandularTissue THEN x:EpithelialTissue.
RULE R02 [exocrine classification]:
IF g:Gland AND releases_to_epithelial_surface(g) AND evidence_sufficient(g)
THEN candidate_class(g, Exocrine).
RULE R03 [endocrine classification]:
IF g:Gland AND ductless(g) AND releases_signalling_product_to_interstitium(g)
AND evidence_sufficient(g)
THEN candidate_class(g, Endocrine).
RULE R04 [mixed components]:
IF part_of(exo, organ) AND part_of(endo, organ)
AND has_class(exo, Exocrine) AND has_class(endo, Endocrine)
THEN candidate_mixed_organ(organ).
RULE R05 [merocrine mode]:
IF exocytosis_observed(g) AND cellular_integrity_preserved(g)
THEN candidate_mode(g, Merocrine).
RULE R06 [holocrine mode]:
IF secretory_cell_disintegration_observed(g)
THEN candidate_mode(g, Holocrine).
RULE R07 [duct transport]:
IF delivers_via(g, d) AND connects_to_surface(d, s)
THEN candidate_delivery_path(g, s).
RULE R08 [signal response]:
IF responds_to(c, signal) AND receptor_present(c, receptor)
AND binds(signal, receptor)
THEN candidate_regulated_secretion(c, signal).
RULE R09 [uncertainty preservation]:
IF evidence_insufficient(assertion)
THEN status(assertion, Unresolved); DO_NOT_ASSERT_AS_FACT(assertion).
07. BIOLOGICAL EXEMPLARS
FACT has_class(salivary_gland, Exocrine).
FACT has_class(sweat_gland, Exocrine).
FACT has_class(sebaceous_gland, Exocrine).
FACT has_secretion_mode(sebaceous_gland, Holocrine).
FACT has_class(thyroid_gland, Endocrine).
FACT has_class(pituitary_gland, Endocrine).
FACT has_class(pancreatic_exocrine_component, Exocrine).
FACT has_class(pancreatic_endocrine_islet, Endocrine).
FACT produces(goblet_cell, mucus).
NOTE: Gland type, duct architecture and secretion mode are distinct classification axes.
08. SEMANTIC_EQUIVALENCE
MAP "glandular epithelium" -> GlandularTissue [exact contextual synonym]
MAP "secretory epithelium" -> GlandularTissue [related; not universally identical]
MAP "ductless gland" -> Endocrine [contextual shorthand; requires validation]
MAP "ducted gland" -> Exocrine [contextual shorthand; exceptions and unicellular cases exist]
MAP "mucous cell" -> GlandularCell [broader contextual term]
RULE: Never collapse related terms into exact equivalence without matching scope.
09. CONFIDENCE
CONFIDENCE(assertion) := clamp01(source_quality * evidence_relevance * contextual_fit)
RULE: Inferred confidence cannot exceed the confidence of its least-supported essential premise without independent corroboration.
RULE: Conflicting evidence generates a review state; it does not silently overwrite a supported assertion.
RULE: Confidence represents evidence support, not a probability of clinical diagnosis.
10. PROVENANCE
RECORD AssertionProvenance {
assertion_id: String;
source_uri: URI;
evidence_reference: String?;
asserted_at: Time;
author: String;
confidence: Confidence;
context: Context;
revision: String;
}
11. FLOW_HASH
FLOW_HASH := SHA256(canonical_utf8(
ontology_id + ontology_version + sorted_types + sorted_relations +
sorted_axioms + sorted_rules + sorted_evidence_references
))
RULE: Recalculate FLOW_HASH after any semantically significant update.
12. UPDATE_MODEL
ON new_evidence(e): validate_schema(e) -> check_provenance(e) ->
detect_conflicts(e) -> revise_supported_assertions(e) ->
recompute_confidence() -> recompute_flow_hash() -> publish_version().
RULE: Preserve previous versions and record retractions explicitly.
RULE: Re-run affected inference rules when premises change.
13. AI_CONSUMPTION
INPUT: typed entity graph + evidence + contextual query
PROCESS: resolve terms -> validate types -> retrieve premises ->
apply applicable rules -> check contradictions -> attach confidence
OUTPUT: supported assertions + inference trace + unresolved alternatives + provenance
GUARDRAILS:
- Do not treat examples as exhaustive biological taxonomies.
- Do not infer a disease, hormone level or patient outcome from tissue classification.
- Distinguish glands, organs, cellular components and secretory products.
- Preserve distinctions between observed, asserted and inferred relationships.
- Report uncertainty and missing evidence explicitly.
14. VALIDATION
TEST T01: glandular_epithelium is an EpithelialTissue -> PASS.
TEST T02: thyroid_gland classifies as Endocrine -> PASS.
TEST T03: sebaceous_gland uses Holocrine secretion -> PASS.
TEST T04: pancreatic exocrine and endocrine components remain distinct -> PASS.
TEST T05: all endocrine glands have ducts -> REJECT.
TEST T06: every glandular epithelial cell forms a multicellular gland -> REJECT.
END FLOW ALGEBRA
Download Code
Copy to Clipboard