Skip to main content

Infection Entity Ontology

Pathological Biological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 27 October 2026
Audio Overview
FLOW ALGEBRA — INFECTION ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-10-27 | Encoding: UTF-8
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/infection-entity-ontology.html
Citation: Kireth Research, Infection Entity Ontology (revised 27 July 2026).
Status: Companion formalisation; not a verbatim extraction of the site's hidden AI Search specification.
Purpose: Model infection entities, host–pathogen interactions, evidence and time-dependent progression for semantic reasoning.

flow "InfectionEntityOntology" v1.0

# 1. DOMAIN AND TYPES
entity Infection: PathologicalBiologicalEntity
entity Host: BiologicalOrganism
entity Pathogen: BiologicalAgent
entity Tissue: AnatomicalEntity
entity Site: AnatomicalLocation
entity Exposure: Event
entity InfectionEvent: Event
entity ImmuneResponse: BiologicalProcess
entity DiagnosticObservation: Evidence
entity Intervention: ClinicalAction
entity Outcome: ClinicalState

# 2. SEMANTIC DISTINCTIONS
# Exposure does not imply infection.
# Infection requires an agent-host relationship with evidence of establishment or replication,
# according to the relevant biological context.
# Colonisation does not automatically imply disease.
# Infection does not automatically imply symptoms, contagiousness or severe illness.
# Pathogen presence alone can reflect contamination or non-viable material.

# 3. STATE MODEL
S(t) = (I(t), R(t), B(t), K(t))
I(t) := observed and asserted infection-related entities and events
R(t) := typed biological and temporal relations
B(t) := evidence, scope, uncertainty and safety boundaries
K(t) := provenance, classification systems and domain knowledge

# 4. CORE RELATION GRAPH
Exposure --involves_agent--> Pathogen
Exposure --involves_host--> Host
Infection --has_host--> Host
Infection --associated_with_agent--> Pathogen
Infection --located_at--> Site
Site --part_of--> Tissue
Infection --may_elicit--> ImmuneResponse
Infection --supported_by--> DiagnosticObservation
Infection --may_result_in--> Outcome
Intervention --may_modify--> Infection
Infection --may_follow--> Exposure

# 5. CLASSIFICATION AXES (NON-EXCLUSIVE)
agent_class := bacterial | viral | fungal | parasitic | prion_related | other | unknown
anatomical_scope := localised | disseminated | systemic | unknown
clinical_course := acute | subacute | chronic | recurrent | latent | unknown
acquisition_context := community | healthcare_associated | congenital | other | unknown
certainty := suspected | probable | confirmed | ruled_out | indeterminate
# A classification is only assigned where supported by an explicit definition and evidence.

# 6. EVIDENCE AND TEMPORAL MODEL
observation := (subject, test_or_finding, value, time, method, provenance, limitations)
relation occurred_before(a,b) requires known or bounded temporal order
assertion := (triple, confidence, evidence_ids, valid_time, source)
missing_evidence != negative_evidence
positive_test != confirmed_active_infection without interpretation context

# 7. FORMAL FLOW OPERATORS
E(t) = expand(I(t), R(t), K(t))
V(t) = {x in E(t) | satisfies_constraints(x, B(t))}
score(x) = evidence_support(x) - contradiction_penalty(x) - uncertainty_penalty(x)
x_star = argmax_{x in V(t)} score(x)
I(t+1) = update(I(t), x_star, provenance(x_star))
# No candidate is promoted to confirmed status solely by maximisation.

# 8. INFERENCE RULES
rule R01: observed_exposure(h,p) -> candidate(exposure(h,p))
rule R02: evidence_of_established_infection(h,p,e) AND valid(e)
          -> supported(infection(h,p), e)
rule R03: supported(infection(h,p),e) AND site_evidence(e,s)
          -> candidate(located_at(infection(h,p),s))
rule R04: evidence_of_host_response(h,r,e)
          -> supported(immune_response(h,r),e)
rule R05: supported(infection(h,p),e) AND observed_symptoms(h,s)
          -> candidate(associated_symptom(infection(h,p),s))
rule R06: evidence_of_spread(i,s1,s2,e)
          -> candidate(spread_from_to(i,s1,s2))
rule R07: diagnostic_contradiction(i,e)
          -> flag_for_review(i,e)
rule R08: insufficient_evidence(i)
          -> retain_status(i,indeterminate)
rule R09: colonisation(h,p) AND NOT evidence_of_invasion_or_disease(h,p)
          -> prohibit_inference(disease(h,p))
rule R10: absent_symptoms(h) -> prohibit_inference(no_infection(h))

# 9. MINI-RECURSION ENGINE
initialise graph G0 from verified entities and observations
repeat:
  candidates := apply_rules(Gt)
  candidates := filter_by_evidence_and_boundaries(candidates)
  Gnext := merge_with_provenance(Gt,candidates)
  contradictions := detect_conflicts(Gnext)
  flag contradictions for adjudication
until Gnext == Gt OR iteration_limit_reached
return (Gnext, contradictions, unresolved_claims)

# 10. TRI-MAPPING
semantic: Infection -> pathological entity with agent-host-site-time relations
structural: typed nodes, evidence-bearing edges and state transitions
operational: ingest -> validate -> infer -> review -> export

# 11. AI SEARCH FLOW
query_intents := definition | classification | relation | mechanism | evidence | temporal_progression
parse query -> resolve entities -> retrieve provenance-bearing assertions
expand related nodes -> enforce certainty constraints -> rank supported candidates
answer with evidence, uncertainties and source attribution
never turn an ontology relationship into a patient-specific diagnosis

# 12. CONFIDENCE AND PROVENANCE
confidence := calibrated estimate where calibration data exists; otherwise qualitative
provenance := (source_uri, author, publication_date, retrieval_date, evidence_type)
source_uri := https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/infection-entity-ontology.html
retrieval_date := 2026-10-27
confidence cannot exceed evidence strength by assertion alone

# 13. EXECUTION VALIDATION
assert every infection has a host reference or an explicit unresolved-host marker
assert agent unknown is permitted; agent invented is forbidden
assert suspected and confirmed are distinct statuses
assert all inferred relations preserve supporting evidence identifiers
assert timestamps are not silently reordered
assert conflicts remain visible until resolved
assert colonisation, contamination, infection and disease remain distinct
assert no diagnosis or treatment is generated from ontology-only data

# 14. EXECUTION GUARANTEE (CONDITIONAL)
# If typed input is valid, rules are implemented as specified, and the engine terminates,
# the output preserves declared evidence links and unresolved uncertainty.
# This does not guarantee biological truth, diagnostic accuracy or clinical suitability.

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