Skip to main content

Computational Knowledge Graph Ontology

AI Semantic Library Computational Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
COMPUTATIONAL KNOWLEDGE GRAPH ONTOLOGY — FLOW ALGEBRA v1.0

Category: Computational Entities > AI Semantic Library Computational Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 12 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/ai-semantic-library-computational-entities/computational-knowledge-graph-ontology.html
Status: Constructed topic-specific Flow Algebra mapping; not a verified transcription of the source webpage.

1. PURPOSE
Represent computational knowledge as a typed, provenance-aware graph of entities, concepts, processes, resources, data and relationships. Support entity resolution, graph traversal, constraint checking, evidence-grounded inference and controlled updates without conflating a claim with a verified fact.

2. HST STATE MODEL AND FLOW ALGEBRA
S_t = (I_t, R_t, B_t, K_t)
I_t = current graph, incoming observations and query context
R_t = traversal, normalisation, validation and inference rules
B_t = identity, schema, permission, time, evidence and compute bounds
K_t = known entities, relationships, provenance and confidence metadata
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))

The argmax is a selection convention, not a guarantee that probabilities are calibrated or that the selected candidate is true.

3. ENTITY AND GRAPH MODEL
Graph G = (V, E, T, A, P) where:
V = nodes with stable identifiers, type and optional aliases
E = directed or explicitly undirected relationships
T = node and edge type vocabulary / ontology
A = attributes including temporal scope, status and confidence
P = provenance linking assertions to sources and derivations

Node examples: SoftwareComponent, Database, Algorithm, Dataset, Processor, WorkflowStep, KnowledgeRecord.
Edge examples: dependsOn, executesOn, consumes, produces, implements, derivedFrom, equivalentTo, validatedBy.

Assertion: (subject_id, predicate_id, object_id, context, provenance_id, valid_time).
Separate the assertion's source from the graph system's confidence assessment. A missing source is unknown provenance, not independent confirmation.

4. RELATIONSHIP GRAPH
ComputationalKnowledgeGraph --contains--> EntityNode
ComputationalKnowledgeGraph --contains--> TypedRelationship
EntityNode --classifiedBy--> OntologyClass
TypedRelationship --connects--> EntityNode
TypedRelationship --constrainedBy--> PredicateSchema
KnowledgeAssertion --supportedBy--> ProvenanceRecord
KnowledgeAssertion --checkedBy--> ValidationRecord
KnowledgeAssertion --hasStatus--> AssertionStatus
EntityNode --resolvedTo--> CanonicalEntity (only after justified matching)
GraphRevision --supersedes--> PreviousGraphRevision
InferenceResult --derivedFrom--> KnowledgeAssertion

5. CORE EXECUTION FLOWS
FLOW A — INGEST
Input source record -> parse -> assign source identifier -> extract candidate entities and predicates -> preserve raw evidence -> stage assertions.
Output: uncommitted candidate nodes and edges with provenance links.

FLOW B — RESOLVE
Candidate node -> normalise labels and namespace -> retrieve plausible canonical candidates -> compare identifiers, type constraints, context and evidence -> merge only above an explicit decision threshold; otherwise retain distinct nodes or mark unresolved.
Output: canonical reference or unresolved identity record.

FLOW C — VALIDATE
Candidate edge -> check endpoints exist -> check predicate domain/range and cardinality -> check temporal and access constraints -> check provenance -> report pass, fail or indeterminate.
Output: validation record; failed or indeterminate claims are not silently asserted as verified.

FLOW D — TRAVERSE
Query entity -> select permitted predicates -> expand neighbouring nodes -> deduplicate visited states -> apply depth, cost and relevance limits -> return paths with source evidence.
Output: bounded subgraph and explanation paths.

FLOW E — INFER
Validated assertions -> apply declared rules -> construct derived claim -> attach premise IDs, rule ID and inference timestamp -> revalidate -> label inferred rather than directly observed.
Output: traceable derived assertions, subject to review.

FLOW F — REVISE
New evidence -> identify affected assertions -> compare source authority and temporal scope -> preserve previous versions -> retract, supersede or qualify claims -> update dependent inferences.
Output: auditable graph revision and dependency invalidation report.

6. INFERENCE RULES AND SAFEGUARDS
R1: If A dependsOn B and B dependsOn C, A may have a transitive dependency on C when the ontology explicitly defines the chosen dependency relation as transitive.
R2: If component X produces dataset D and workflow W consumes D, infer a possible data-flow linkage X -> W; do not infer direct execution or ownership.
R3: If two records share a name but have different canonical identifiers, do not infer identity from the name alone.
R4: If an assertion's only supporting source is retracted, mark the assertion for re-evaluation and recompute dependent inferences.
R5: If predicate domain/range validation fails, quarantine the candidate relationship rather than silently coercing entity types.
R6: Conflicting time-scoped claims may both be valid for different intervals; resolve time before declaring a contradiction.

7. BOUNDED RECURSION ENGINE
function traverse(graph, seed, max_depth, max_nodes, allowed_predicates):
    queue = [(seed, 0)]
    visited = set()
    output = []
    while queue and len(visited) < max_nodes:
        (node, depth) = queue.pop_front()
        if node in visited: continue
        visited.add(node)
        output.append(node)
        if depth >= max_depth: continue
        for edge in graph.outgoing(node):
            if edge.predicate not in allowed_predicates: continue
            if not authorised(edge): continue
            if not valid_for_query_time(edge): continue
            queue.push_back((edge.target, depth + 1))
    return output

Execution is finite for finite max_nodes and max_depth when each queue operation terminates. Completeness is not guaranteed when bounds truncate traversal.

8. INVARIANTS AND OPERATIONAL BOUNDARIES
- Stable canonical IDs must not be reused for different entities.
- Every asserted relationship references valid endpoint IDs and a declared predicate.
- Provenance must be retained for imported and inferred claims.
- Derived claims retain premise references and inference-rule identifiers.
- Access controls apply to both traversal and returned evidence.
- Identity equivalence is not assumed to be transitive when based on uncertain similarity scores.
- Graph consistency depends on explicit ontology semantics and cannot be guaranteed for arbitrary external data.
- Cycles are permitted where the relation allows them; traversal must still terminate under configured limits.

9. SEMANTIC EQUIVALENCE
Two computational graph entities may be considered equivalent only when an authorised equivalence relation is supported by compatible identifiers, ontology classes, scope and evidence. Similar names, embeddings or co-occurrence alone are insufficient. Record whether equivalence is exact, contextual or approximate.

10. WORKED EXAMPLE
Input assertions:
  Service_A --dependsOn--> Database_B [source: architecture specification v3]
  Database_B --storedOn--> Storage_C [source: infrastructure inventory]
  Service_A --ownedBy--> Team_D [source: service catalogue]
Query: Which storage resource is linked to Service_A through its database dependency?
Steps:
  1. Resolve Service_A to its canonical entity ID.
  2. Traverse dependsOn to Database_B.
  3. Traverse storedOn to Storage_C.
  4. Check edge provenance, validity dates and access permissions.
  5. Return path Service_A -> Database_B -> Storage_C with cited source records.
Result: A two-edge knowledge path; it does not by itself prove that Service_A directly owns Storage_C.

11. CITATION, VERSIONING AND PROVENANCE
Title: Computational Knowledge Graph Ontology — Flow Algebra v1.0
Authors: Mark Anthony Higgins — Sky Recursive AI
Source page: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/ai-semantic-library-computational-entities/computational-knowledge-graph-ontology.html
Creation date: 12 November 2026
Attribution: Kireth Research / Semantic Library; cite the source page and this mapping when reused.
Note: This text is an original constructed ontology-aligned mapping, not a claim of verbatim extraction from the webpage.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ