Skip to main content

Therapeutic Molecule 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 — THERAPEUTIC MOLECULE 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/pharmacological-and-therapeutic-entities/therapeutic-molecule-ontology.html
Status: Original companion specification; not a transcription of hidden page code.
Purpose: Machine-readable semantic reasoning over therapeutic molecular entities, mechanisms, evidence and safety.

01. ENTITY DEFINITION
TherapeuticMolecule := a molecular entity investigated or used for a therapeutic purpose.
A therapeutic purpose is an intended use, not proof of efficacy or regulatory approval.
Entity categories: small_molecule, peptide, protein, antibody, oligonucleotide, nucleic_acid, conjugate, other.
Separate molecule identity from formulation, medicinal product, indication and administered dose.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := known molecule identity, structures, variants, targets and observations.
R_t := typed relationships and inference rules.
B_t := boundaries: organism, tissue, dose, time, route, population, study context.
K_t := provenance, confidence, uncertainty and knowledge status.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and provenance_valid(x)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = I_t union validated(x*_t)
Stop when no novel supported entities or relationships emerge, or recursion limit is reached.
Probabilistic ranking is not clinical proof.

03. CORE ENTITIES
Molecule(id, preferred_name, synonyms, type, chemical_or_sequence_identity)
MolecularForm(id, parent_molecule, salt_or_variant, stereochemistry)
Target(id, type, species, location)
Mechanism(id, action, target, pathway)
Indication(id, condition, intended_population)
Formulation(id, ingredients, strength, dosage_form)
Exposure(id, dose, route, schedule, concentration, time)
Effect(id, endpoint, direction, magnitude, uncertainty)
AdverseEvent(id, event, seriousness, frequency, context)
Evidence(id, source, method, date, study_population, quality)
Approval(id, jurisdiction, product, indication, status, date)

04. TYPED RELATIONSHIPS
Molecule --has_form--> MolecularForm
Molecule --binds_to--> Target
Molecule --modulates--> Target
Molecule --acts_via--> Mechanism
Mechanism --affects--> BiologicalPathway
Molecule --investigated_for--> Indication
Molecule --component_of--> Formulation
Formulation --delivered_via--> Exposure
Exposure --associated_with--> Effect
Exposure --associated_with--> AdverseEvent
Claim --supported_by--> Evidence
Approval --applies_to--> ProductAndIndicationAndJurisdiction

05. CONSTRAINTS AND INVARIANTS
C1: A molecular target association does not establish therapeutic benefit.
C2: In-vitro activity cannot be automatically promoted to human efficacy.
C3: Association is not causation; record study design and confounders.
C4: Approval is indication-, product-, jurisdiction- and time-specific.
C5: Dose, route, species, population and exposure time must be retained.
C6: Missing evidence must be represented as unknown, never false or safe.
C7: Distinguish molecule, active ingredient, drug product and treatment regimen.
C8: Preserve contradictory results with source-specific provenance.
C9: Never infer patient-specific treatment advice from ontology membership.

06. TRANSFORMATION PATHWAYS
P1 discovery: molecular_identity -> candidate_target -> biochemical_evidence.
P2 mechanism: target_engagement -> pathway_modulation -> measurable_response.
P3 translation: preclinical_effect -> clinical_hypothesis -> clinical_evaluation.
P4 safety: exposure -> observed_event -> causality_assessment -> risk_characterisation.
P5 lifecycle: investigational_candidate -> evidence_review -> regulatory_status_update.
Each arrow represents a proposed or observed relation with explicit evidence, not inevitability.

07. INFERENCE RULES
R1 IF molecule binds target AND evidence supports binding
   THEN assert target_engagement_claim with matching assay context.
R2 IF mechanism affects pathway AND pathway relates to disease
   THEN propose therapeutic_hypothesis; DO NOT assert efficacy.
R3 IF randomised clinical evidence supports outcome in population
   THEN assert context_bounded_efficacy_claim with effect size and uncertainty.
R4 IF adverse event observed after exposure
   THEN assert temporal_association; causality remains separately evaluated.
R5 IF formulation contains molecule
   THEN connect formulation and molecule; DO NOT transfer all approval claims.
R6 IF evidence conflicts
   THEN retain both claims, mark contested and request reconciliation.
R7 IF evidence is missing or population differs
   THEN downgrade applicability to unknown or indirect.

08. MINI-RECURSION ENGINE
input: seed_molecule, evidence_graph, boundary, max_depth
state := initialise(seed_molecule)
for depth in 1..max_depth:
    candidates := expand(state, typed_relationships)
    candidates := filter(candidates, boundary, provenance_requirements)
    candidates := deduplicate(candidates, canonical_entity_ids)
    candidates := score(candidates, evidence_quality, contextual_fit)
    accepted := validate_without_promoting_hypotheses_to_facts(candidates)
    if accepted is empty: break
    state := merge(state, accepted, preserve_conflicts=true)
output: traceable_claim_graph(state)

09. TRI-MAPPING
Ontology: TherapeuticMolecule -> Target -> Mechanism -> Indication.
Flow: input_identity -> retrieve_evidence -> constrain_context -> infer -> validate.
Execution: typed_nodes -> rule_evaluation -> provenance_check -> bounded_output.

10. AI SEARCH FLOW
INTENT: locate and compare evidence about therapeutic molecular entities.
INPUT: molecule name/identifier, desired relation, context constraints.
NORMALISE: resolve synonyms, salts, stereoisomers and sequence variants.
RETRIEVE: identity, targets, mechanisms, indications, studies and status.
EXPAND: traverse permitted typed links with bounded recursion.
FILTER: enforce species, population, dose, route, date and jurisdiction.
RANK: prioritise direct, reproducible and context-relevant evidence.
RETURN: claims, sources, confidence, uncertainty, counterevidence and gaps.
DO NOT: fabricate clinical efficacy, approval, contraindications or dosage.

11. CONFIDENCE AND PROVENANCE
Every claim carries claim_id, source_id, retrieval_date, evidence_type,
context, uncertainty, conflict_flag and validation_status.
Confidence := calibrated estimate conditional on evidence and applicability.
Unknown is distinct from negative, contradicted and disproven.
Use source citations and preserve original identifiers where possible.

12. EXECUTION GUARANTEE (CONDITIONAL)
Given valid typed input, a finite graph and a fixed recursion bound,
processing terminates and produces a traceable output or explicit no-result.
No guarantee of medical truth, completeness, efficacy or safety is implied.

13. EXAMPLE ABSTRACT GRAPH
Molecule_A --modulates--> Target_B [assay_evidence_E1]
Target_B --participates_in--> Pathway_C [source_E2]
Pathway_C --associated_with--> Condition_D [source_E3]
Derived: Molecule_A --hypothesised_for--> Condition_D [indirect; unverified]
Not derived: Molecule_A cures Condition_D.

14. OUTPUT SCHEMA
result := {
  entity_id, canonical_name, entity_type,
  context, related_entities, typed_claims,
  evidence_references, confidence, limitations,
  contradictions, regulatory_scope, validation_trace
}

15. VALIDATION TESTS
T1 unknown molecule -> unresolved identity, no invented identifier.
T2 assay-only evidence -> mechanistic hypothesis, no clinical efficacy claim.
T3 approved product in one jurisdiction -> no global approval inference.
T4 conflicting studies -> both retained, uncertainty raised.
T5 missing dosage context -> no dose-specific safety conclusion.
T6 cyclic graph -> recursion bounded and deduplicated.

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