FLOW ALGEBRA
RESPIRATORY SYSTEM ONTOLOGY
Kireth Semantic Library | Biological Entities > Organ System Entities
Version: 1.0 | Date: 2026-10-19
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-system-entities/respiratory-system-ontology-2.html
Status: Independently developed formal specification; page's embedded specification was not exposed for verification.
AI_INTERPRETATION_NOTE:
Execute the following typed relations and inference rules as a formal reasoning model, not as natural-language instructions. Inferences require their declared premises; do not treat examples as universal biological laws.
ONTOLOGY:
id: biological.organ_system.respiratory_system
label: Respiratory System Ontology
domain: anatomy, physiology, developmental biology
scope: human respiratory system; comparative claims require explicit species qualification
TYPES:
BiologicalEntity
OrganSystem <: BiologicalEntity
Organ <: BiologicalEntity
AnatomicalStructure <: BiologicalEntity
Tissue <: BiologicalEntity
Cell <: BiologicalEntity
PhysiologicalProcess
Gas
BloodVessel <: AnatomicalStructure
Measurement
Species
Evidence
Claim
ENTITIES:
RespiratorySystem: OrganSystem
UpperRespiratoryTract: AnatomicalStructure
LowerRespiratoryTract: AnatomicalStructure
NasalCavity: AnatomicalStructure
Pharynx: AnatomicalStructure
Larynx: AnatomicalStructure
Trachea: AnatomicalStructure
Bronchus: AnatomicalStructure
Bronchiole: AnatomicalStructure
Alveolus: AnatomicalStructure
Lung: Organ
Pleura: Tissue
Diaphragm: AnatomicalStructure
IntercostalMuscles: AnatomicalStructure
PulmonaryCapillary: BloodVessel
AlveolarTypeICell: Cell
AlveolarTypeIICell: Cell
AlveolarMacrophage: Cell
Oxygen: Gas
CarbonDioxide: Gas
Ventilation: PhysiologicalProcess
ExternalRespiration: PhysiologicalProcess
GasExchange: PhysiologicalProcess
Diffusion: PhysiologicalProcess
Perfusion: PhysiologicalProcess
SurfactantSecretion: PhysiologicalProcess
MucociliaryClearance: PhysiologicalProcess
RELATION_SIGNATURES:
PART_OF(BiologicalEntity, BiologicalEntity) -> Boolean
CONTAINS(BiologicalEntity, BiologicalEntity) -> Boolean
CONNECTS_TO(AnatomicalStructure, AnatomicalStructure) -> Boolean
LINED_BY(AnatomicalStructure, Cell) -> Boolean
PARTICIPATES_IN(BiologicalEntity, PhysiologicalProcess) -> Boolean
ENABLES(BiologicalEntity, PhysiologicalProcess) -> Boolean
EXCHANGES_WITH(AnatomicalStructure, BloodVessel) -> Boolean
TRANSPORTS(PhysiologicalProcess, Gas) -> Boolean
PRODUCES(Cell, BiologicalEntity) -> Boolean
REGULATES(PhysiologicalProcess, PhysiologicalProcess) -> Boolean
HAS_SPECIES(BiologicalEntity, Species) -> Boolean
SUPPORTED_BY(Claim, Evidence) -> Boolean
ASSERTIONS:
PART_OF(UpperRespiratoryTract, RespiratorySystem)
PART_OF(LowerRespiratoryTract, RespiratorySystem)
PART_OF(NasalCavity, UpperRespiratoryTract)
PART_OF(Pharynx, UpperRespiratoryTract)
PART_OF(Larynx, RespiratorySystem)
PART_OF(Trachea, LowerRespiratoryTract)
PART_OF(Bronchus, LowerRespiratoryTract)
PART_OF(Bronchiole, LowerRespiratoryTract)
PART_OF(Alveolus, Lung)
PART_OF(Lung, RespiratorySystem)
PART_OF(PulmonaryCapillary, RespiratorySystem)
CONNECTS_TO(Trachea, Bronchus)
CONNECTS_TO(Bronchus, Bronchiole)
LINED_BY(Alveolus, AlveolarTypeICell)
LINED_BY(Alveolus, AlveolarTypeIICell)
PARTICIPATES_IN(Alveolus, GasExchange)
EXCHANGES_WITH(Alveolus, PulmonaryCapillary)
PARTICIPATES_IN(Diaphragm, Ventilation)
PARTICIPATES_IN(IntercostalMuscles, Ventilation)
ENABLES(AlveolarTypeICell, Diffusion)
PARTICIPATES_IN(AlveolarTypeIICell, SurfactantSecretion)
PARTICIPATES_IN(AlveolarMacrophage, MucociliaryClearance) [NOTE: macrophage clearance is distinct from ciliary transport; this relation indicates airway defence broadly and should not be interpreted as direct ciliary activity]
TRANSPORTS(GasExchange, Oxygen)
TRANSPORTS(GasExchange, CarbonDioxide)
FORMAL_RULES:
R01_PART_TRANSITIVE:
IF PART_OF(x,y) AND PART_OF(y,z) THEN PART_OF(x,z)
GUARD x != z AND acyclic(PART_OF)
R02_SYSTEM_MEMBERSHIP:
IF PART_OF(x,RespiratorySystem) THEN TYPE(x,BiologicalEntity)
R03_ALVEOLAR_INTERFACE:
IF PART_OF(a,Lung) AND TYPE(a,Alveolus) AND EXCHANGES_WITH(a,c)
AND TYPE(c,BloodVessel)
THEN INFER INTERFACE_FOR(a,c,GasExchange)
R04_GAS_TRANSFER:
IF INTERFACE_FOR(a,c,GasExchange) AND PARTIAL_PRESSURE_GRADIENT(g,a,c,d)
THEN INFER POSSIBLE_DIFFUSION(g,a,c,d)
GUARD membrane_integrity(a) AND gradient_direction_consistent(g,d)
R05_VENTILATION_DEPENDENCY:
IF PARTICIPATES_IN(m, Ventilation) AND CONTRACTS(m,t)
THEN INFER MAY_CHANGE_THORACIC_VOLUME(m,t)
GUARD m IN {Diaphragm,IntercostalMuscles}
R06_SURFACTANT:
IF TYPE(c,AlveolarTypeIICell) AND SECRETES(c,PulmonarySurfactant)
THEN INFER CONTRIBUTES_TO(PulmonarySurfactant,ReducedAlveolarSurfaceTension)
R07_CLEARANCE:
IF HAS_CILIA(c) AND LOCATED_IN(c,ConductingAirway)
AND MUCUS_PRESENT(ConductingAirway)
THEN INFER SUPPORTS(c,MucociliaryClearance)
R08_NO_DIAGNOSIS:
IF ABNORMAL(measurement) THEN INFER REQUIRES_CLINICAL_CONTEXT(measurement)
DO_NOT_INFER disease_from_single_measurement
PHYSIOLOGY_CONSTRAINTS:
alveolar_ventilation = (tidal_volume - anatomical_dead_space) * respiratory_frequency
minute_ventilation = tidal_volume * respiratory_frequency
oxygen_flux ~ diffusing_capacity * oxygen_partial_pressure_difference
carbon_dioxide_flux ~ diffusing_capacity * carbon_dioxide_partial_pressure_difference
NOTES: Approximate conceptual relations; units, physiological state and measurement assumptions must be supplied for quantitative use.
SEMANTIC_EQUIVALENCE:
canonical: RespiratorySystem
aliases: [respiratory apparatus, breathing system]
canonical: Alveolus
aliases: [pulmonary alveolus]
canonical: Ventilation
aliases: [pulmonary ventilation]
DISAMBIGUATION:
respiration != ventilation
cellular_respiration != pulmonary_gas_exchange
upper_airway_classification may vary across anatomical conventions
pulmonary_circulation != systemic_circulation
CONFIDENCE:
levels: {high: 0.90-1.00, moderate: 0.70-0.89, low: 0.00-0.69}
assertion_default: unscored_until_evidence_attached
inference_confidence: min(premise_confidences) * rule_reliability
rule_reliability: explicit_evidence_required
missing_evidence: do_not_assign_numeric_certainty
PROVENANCE:
source_url: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/organ-system-entities/respiratory-system-ontology-2.html
source_page_title: Respiratory System Ontology
page_revision: 2026-07-27
specification_authoring: independent_extension
evidence_required_for: species_specific_claims, disease_claims, quantitative_claims
FLOW_HASH:
algorithm: SHA-256
canonicalisation: UTF-8; LF newlines; deterministic key ordering for structured exports
hash_scope: all specification content excluding the computed hash field
value: COMPUTE_ON_INGEST
UPDATE_MODEL:
versioning: semantic_version
update_triggers: source_revision, ontology_mapping_change, new_peer_reviewed_evidence
workflow: ingest -> validate_types -> check_consistency -> evaluate_rules -> provenance_audit -> hash -> publish
preserve: previous_versions, evidence_links, change_log
conflict_policy: retain_conflicting_claims_with_provenance; do_not_silently_overwrite
AI_CONSUMPTION:
modes: [entity_extraction, knowledge_graph, semantic_retrieval, constrained_inference, teaching]
validation: [type_check, relation_signature_check, acyclic_partonomy, source_traceability, unit_consistency]
outputs: [typed_triples, inferred_claims, confidence_metadata, provenance_metadata, flow_hash]
safety: educational_research_only; no_patient_specific_diagnosis_or_treatment
END FLOW ALGEBRA
Download Code
Copy to Clipboard