Skip to main content

Biological Knowledge Graph Entity Ontology

Computational Biological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
KIRETH SEMANTIC LIBRARY — FLOW ALGEBRA
BIOLOGICAL KNOWLEDGE GRAPH ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-10-28 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/computational-biological-entities/biological-knowledge-graph-entity-ontology.html
Status: Original companion formalisation based on the ontology subject; not a verified transcription of page content.
Attribution: Kireth Research; Sky — Recursive AI (companion flow).

flow "BiologicalKnowledgeGraphEntityOntology" v1.0

PURPOSE:
  Represent biological entities, typed relationships, supporting evidence and provenance as a queryable, versioned knowledge graph.
  Distinguish experimentally supported assertions from predictions and hypotheses.

STATE_MODEL:
  S_t = (I_t, R_t, B_t, K_t)
  I_t = incoming entities, assertions, queries and evidence
  R_t = ontology relations, constraints and inference rules
  B_t = boundaries: organism, tissue, condition, time, data licence and evidence scope
  K_t = current graph, provenance, confidence and version history
  E_t = expand(I_t, R_t)
  V_t = {x in E_t | valid(x, B_t) and supported(x, K_t)}
  x_star = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
  I_(t+1) = update(I_t, x_star, evidence_t)
  If V_t is empty, return UNRESOLVED rather than invent an assertion.

ENTITY_CLASSES:
  BiologicalEntity: Gene, Transcript, Protein, Metabolite, Cell, Tissue, Organism, Taxon
  ProcessEntity: Pathway, Reaction, Regulation, DevelopmentalProcess
  EvidenceEntity: Publication, Experiment, Assay, Observation, Dataset
  GraphEntity: Node, Edge, Assertion, ReifiedStatement, NamedGraph, OntologyTerm
  ContextEntity: Species, TissueContext, Condition, TimePoint, Location
  GovernanceEntity: Source, Curator, Licence, Version, ConfidenceAssessment

RELATION_TYPES:
  encodes(Gene, Protein)
  transcribed_to(Gene, Transcript)
  participates_in(BiologicalEntity, ProcessEntity)
  interacts_with(BiologicalEntity, BiologicalEntity)
  regulates(Regulator, Target)
  located_in(BiologicalEntity, CellularLocation)
  member_of(Entity, Group)
  derived_from(Entity, Source)
  supported_by(Assertion, EvidenceEntity)
  contradicted_by(Assertion, EvidenceEntity)
  observed_in(Assertion, ContextEntity)
  asserted_in(Assertion, NamedGraph)
  has_provenance(Assertion, Source)

ASSERTION_SCHEMA:
  assertion_id: stable identifier
  subject: canonical entity ID
  predicate: ontology relation ID
  object: canonical entity ID or typed literal
  qualifiers: species, condition, tissue, temporal scope, direction
  evidence: source IDs and evidence codes
  status: observed | inferred | predicted | disputed | retracted
  confidence: calibrated score or UNKNOWN
  version: immutable revision identifier

INVARIANTS:
  - Every node has an identifier and declared type.
  - Every edge has a declared predicate with compatible domain and range.
  - Assertion provenance is retained through graph merges and exports.
  - Species and experimental context must not be silently discarded.
  - A predicted interaction is not equivalent to a verified interaction.
  - Conflicting claims may coexist with distinct evidence and status.
  - Missing evidence does not imply a false biological relationship.
  - Open-world reasoning is the default; closed-world rules require explicit scope.

PATHWAYS:
  ingest -> parse -> normalise -> entity_resolve -> validate -> attach_evidence -> version -> index
  query -> expand_semantics -> filter_context -> retrieve_assertions -> rank_evidence -> return_with_provenance
  update -> compare_versions -> detect_conflicts -> curate -> publish_revision

INFERENCE_RULES:
  R1: IF encodes(g,p) AND participates_in(p,path) THEN candidate_gene_pathway_link(g,path).
      Status: INFERRED; do not promote to direct experimental evidence.
  R2: IF two assertions have identical canonical triples but different contexts THEN retain both contexts.
  R3: IF relation is transitive in its declared ontology THEN infer transitive closure within that relation's scope.
  R4: IF evidence is retracted THEN flag dependent assertions for reassessment, not automatic deletion.
  R5: IF an entity match is ambiguous THEN preserve candidate IDs and mark unresolved.
  R6: IF contradictory observations arise THEN retain both, surface conflict and provenance.

RECURSIVE_ENGINE:
  function resolve(query, graph, depth, visited):
    if depth <= 0: return BOUNDARY_REACHED
    candidates = expand(query, declared_relations(graph))
    candidates = filter(candidates, context_and_evidence_constraints)
    candidates = remove_cycles(candidates, visited)
    if candidates is empty: return UNRESOLVED
    return rank_with_provenance(candidates, confidence_policy)
  Termination: finite depth, visited-node tracking, bounded expansion.

TRI_MAPPING:
  Ontology -> Graph: class -> node type; property -> typed edge; axiom -> validation rule
  Graph -> Evidence: assertion -> supporting source, method, context and confidence
  Evidence -> Query: source-qualified assertions -> traceable answer with uncertainty

MAPPING_TABLE:
  Gene | BiologicalEntity | encodes | Protein | source-qualified
  Protein | BiologicalEntity | participates_in | Pathway | context-qualified
  Assay | EvidenceEntity | supports | Assertion | provenance-required
  Assertion | GraphEntity | observed_in | TissueContext | scope-required
  NamedGraph | GraphEntity | has_version | Version | revision-required

CONFIDENCE_MODEL:
  c(a) = calibrate(evidence_quality, source_independence, method_fit, context_match)
  Confidence must not be assigned from unsupported numeric assumptions.
  Propagate uncertainty conservatively across inferred paths.
  Do not interpret a path score as a probability without calibration.

EXECUTION_GUARANTEE:
  Conditional guarantees only: schema validation, traceable provenance, bounded recursion,
  deterministic processing given identical inputs, versions and rule ordering.
  No guarantee of biological truth, completeness or causal validity.

AI_SEARCH_FLOW:
  INPUT: biological entity, relationship, condition or natural-language query
  NORMALISE: resolve synonyms, identifiers, organism and context
  EXPAND: ontology-backed relation and entity expansion
  FILTER: provenance, evidence, scope, licence and quality constraints
  RETRIEVE: graph assertions and evidence records
  INFER: explicitly labelled candidate relationships
  RANK: evidence strength, context relevance and uncertainty
  OUTPUT: answer, canonical IDs, graph paths, citations, confidence and limitations
  FALLBACK: UNRESOLVED / CONFLICTING_EVIDENCE / INSUFFICIENT_CONTEXT

CITATION_BACKLINK:
  https://kirethresearch.org/booksai-core/entity-graph/biological-entities/computational-biological-entities/biological-knowledge-graph-entity-ontology.html

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