Skip to main content

Antiviral Ontology

Pharmacological and Therapeutic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 27 October 2026
Audio Overview
FLOW ALGEBRA — ANTIVIRAL ONTOLOGY
Semantic Library | Biological Entities | Pharmacological and Therapeutic Entities
Version: 1.0 | Date: 2026-10-27 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pharmacological-and-therapeutic-entities/antiviral-ontology.html
Status: Original companion model; source page content not independently retrieved.
Authors: Kireth Research | Sky — Recursive AI (flow companion)
Citation: Cite the source URL and this companion when reused.

1. PURPOSE
Represent antiviral agents, targets, mechanisms, indications, viral life-cycle stages, resistance, evidence and safety in an inspectable semantic graph. This is a knowledge representation, not a prescribing or clinical decision system.

2. STATE MODEL
S = (I, R, B, K)
I = entities and observed evidence
R = typed relations and inference rules
B = boundaries, constraints, and uncertainty
K = provenance, confidence, and temporal context
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) and evidence_compatible(x, K)}
x* = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = I_t union verified(x*)
Note: P is an abstract ranking score, not a calibrated clinical probability.

3. ENTITY TYPES
AntiviralAgent: drug or candidate substance with antiviral activity
ActiveIngredient: pharmacologically active component
DrugProduct: formulated medicine, distinguished from ingredient
Virus: viral taxon or characterised isolate
ViralProtein: enzyme or structural/non-structural protein
HostFactor: host component used by viral replication
LifeCycleStage: entry, uncoating, replication, transcription, translation, assembly, release
MechanismOfAction: characterised inhibitory or modulatory process
Indication: authorised or investigated clinical use
ResistanceVariant: sequence change with assessed susceptibility effect
SusceptibilityResult: assay-derived antiviral response
Regimen: context-dependent administration protocol, not generated here
AdverseEffect: reported unwanted effect
Interaction: agent–agent or agent–host interaction
EvidenceRecord: study, assay, guideline or regulatory source
PopulationContext: age, pregnancy, organ function, immune status and other qualifiers

4. CLASSIFICATION
Classes may overlap; classifications require evidence and are not universal:
- Nucleoside/nucleotide analogues
- Non-nucleoside polymerase inhibitors
- Protease inhibitors
- Integrase inhibitors (for retroviruses)
- Entry/fusion inhibitors
- Neuraminidase inhibitors
- Cap-dependent endonuclease inhibitors
- Host-directed antivirals
- Other direct-acting agents
Separate antiviral agents from vaccines, immunoglobulins and supportive care; record combined or adjunctive approaches explicitly.

5. TYPED RELATIONSHIPS
AntiviralAgent --has_active_ingredient--> ActiveIngredient
AntiviralAgent --inhibits_or_modulates--> ViralProtein | HostFactor | LifeCycleStage
Virus --encodes--> ViralProtein
Virus --uses--> HostFactor
AntiviralAgent --investigated_for--> Indication
DrugProduct --authorised_for--> Indication [jurisdiction, date, population]
ResistanceVariant --occurs_in--> Virus
ResistanceVariant --associated_with--> SusceptibilityResult
AntiviralAgent --has_reported_adverse_effect--> AdverseEffect
AntiviralAgent --interacts_with--> AntiviralAgent | OtherMedicine
Claim --supported_by--> EvidenceRecord

6. PROCESS FLOW
Input virus and disease context
  -> identify life-cycle processes
  -> identify candidate targets
  -> map target to antiviral mechanism
  -> retrieve susceptibility and resistance evidence
  -> check population, regulatory and temporal qualifiers
  -> distinguish in-vitro activity from demonstrated clinical benefit
  -> output qualified graph claims with provenance
No automatic treatment recommendation is produced.

7. INFERENCE RULES
R1: If agent inhibits target AND virus depends on target, infer plausible antiviral mechanism; do NOT infer clinical efficacy.
R2: If a study reports activity against isolate, attach assay type, concentration, endpoint and conditions.
R3: If a variant is linked to reduced susceptibility, annotate specific agent, viral lineage, assay and confidence; do NOT infer universal resistance.
R4: If authorised indication is found, preserve jurisdiction, approval status, date and population restrictions.
R5: If multiple agents are combined, model each target, potential interactions and evidence for the combination separately.
R6: If evidence conflicts, retain competing claims and their provenance; do not silently merge.
R7: If no supporting evidence exists, mark unknown rather than false.
R8: Do not equate prophylaxis, treatment, viral-load reduction, symptom improvement and cure.

8. MINI-RECURSION ENGINE
function expand_antiviral_graph(seed, depth_limit):
  frontier = [seed]
  visited = set()
  while frontier and depth_limit > 0:
    candidates = typed_neighbours(frontier)
    candidates = validate_entity_types(candidates)
    candidates = enforce_boundaries(candidates)
    emit(candidates, provenance_required=True)
    frontier = candidates minus visited
    visited = visited union candidates
    depth_limit = depth_limit - 1
  return visited
Termination: finite depth, deduplication, no unbounded self-expansion.

9. TRI-MAPPING
Entity mapping: AntiviralAgent -> Target -> Virus
Mechanism mapping: Target modulation -> Life-cycle disruption -> Measured outcome
Evidence mapping: Claim -> Study/authority -> Confidence and limitations
Keep mappings distinct: mechanistic plausibility is not clinical effectiveness.

10. AI SEARCH FLOW
QUERY: antiviral / virus / mechanism / resistance / indication
NORMALISE: synonyms, ingredient names, virus taxonomy, evidence dates
RESOLVE: entity identifiers and typed relations
EXPAND: targets, life-cycle stages, indications, resistance variants
FILTER: context, jurisdiction, source quality, evidence relevance
RANK: direct evidence > indirect mechanistic association, where appropriate
RETURN: grounded statements, uncertainty, provenance and update timestamp

11. CONFIDENCE AND PROVENANCE
Claim fields: claim_id, subject, predicate, object, evidence_id, evidence_type,
publication_date, retrieval_date, jurisdiction, population, assay_context,
confidence_method, confidence_value_or_unknown, limitations, review_status.
Never invent numeric confidence values or treat evidence volume as proof.

12. BOUNDARIES AND SAFETY
No dosing, prescribing, substitution, individual eligibility or contraindication inference.
Do not equate laboratory susceptibility with patient outcome.
Resistance is agent-, virus-, variant- and assay-specific.
Clinical and regulatory status can change; refresh before any practical use.
Retain distinctions between antiviral, antibiotic, antifungal and vaccine.

13. VALIDATION / EXECUTION GUARANTEE
Guarantee is structural only: deterministic typed traversal under fixed inputs,
finite expansion, provenance retention, constraint checking and explicit unknowns.
It does not guarantee scientific completeness, therapeutic efficacy or medical safety.
Assertions:
- every inferred relation has an identified rule
- every evidence claim points to a source record
- no missing value is converted into a negative finding
- every authorisation is dated and jurisdiction-scoped
- every output is traceable to inputs and transformations

14. SEMANTIC EQUIVALENCE
Antiviral drug ~ antiviral agent only where the source context permits.
Direct-acting antiviral != host-directed antiviral.
Antiviral activity != authorised medicine != clinical effectiveness.
Resistance mutation != confirmed resistance without contextual evidence.

15. UPDATE MODEL
On new evidence: ingest -> identify changed claims -> re-evaluate dependent
inferences -> preserve previous versions -> publish updated provenance.
Version keys: ontology_version, evidence_snapshot, update_timestamp.

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