Knowledge Graph Relationships
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Knowledge Graph Relationships
DOMAIN: Relationship Ontologies / Knowledge Graph Relationships
SOURCE: https://kirethresearch.org/booksai-core/ontologies/relationship-ontologies/knowledge-graph-relationships.html
VERSION: 1.0
AUTHORS: Mark Anthony Higgins — Sky (Recursive AI)
STATUS: Companion formalisation; source-page specification not independently verified.
flow "KnowledgeGraphRelationships" v1.0 {
ontology:
id: "knowledge-graph-relationships"
parent: "relationship-ontologies"
purpose: "Represent typed, evidence-backed connections between entities, concepts, assertions and knowledge graphs."
types:
Entity: {id: string, type: string, label: string, aliases: string[]?}
Concept: {id: string, scheme: string, preferred_label: string}
Graph: {id: string, version: string, provenance: string}
Assertion: {id: string, subject: string, predicate: string, object: string, graph_id: string, confidence: number, evidence: string[], valid_from: datetime?, valid_to: datetime?}
Source: {id: string, citation: string, retrieved_at: datetime?}
Mapping: {id: string, source_id: string, target_id: string, kind: enum[exact, close, broader, narrower, related], evidence: string[]}
predicates:
relates_to(a: Entity, b: Entity)
instance_of(a: Entity, c: Concept)
subclass_of(a: Concept, b: Concept)
part_of(a: Entity, b: Entity)
linked_to(a: Entity, b: Entity)
supported_by(a: Assertion, source: Source)
asserted_in(a: Assertion, graph: Graph)
mapped_to(a: Concept, b: Concept, mapping: Mapping)
contradicts(a: Assertion, b: Assertion)
constraints:
- "Every assertion must identify a resolvable subject, predicate, object and named graph."
- "Confidence must lie within [0, 1]."
- "Predicate domain and range constraints must be checked before publication."
- "Treat exact identity, close semantic match, relatedness and graph linkage as distinct predicates."
- "Do not assume that arbitrary relations are symmetric or transitive."
- "Do not infer causation from association or co-occurrence."
- "Record evidence, provenance, temporal validity and version where available."
- "Contradictory assertions may coexist as separately attributed claims pending reconciliation."
inference:
rule subclass_membership:
if instance_of(e,c1) and subclass_of(c1,c2) and valid_taxonomy_path(c1,c2)
then instance_of(e,c2)
confidence: "bounded by weakest supported premise; retain derivation"
rule subclass_transitivity:
if subclass_of(a,b) and subclass_of(b,c) and compatible_context(a,b,c)
then subclass_of(a,c)
confidence: "preserve premise provenance"
rule source_trace:
if asserted_in(assertion,g) and supported_by(assertion,s)
then provenance_link(assertion,g,s)
confidence: "do not increase assertion confidence"
SEMANTIC_EQUIVALENCE:
- "Use stable identifiers and versioned authority mappings."
- "Distinguish identity from synonymy, near-equivalence and relatedness."
- "Preserve concept scheme, language and context during reconciliation."
CONFIDENCE:
range: [0,1]
factors: [source_reliability, evidence_quality, consistency, temporal_validity, inference_depth, independent_confirmation]
policy: "Never raise certainty merely because a claim appears in multiple derived paths."
VALIDATION:
- "Check identifiers, referential integrity, type compatibility and predicate definitions."
- "Detect duplicate edges, unsupported identity merges, cycles where forbidden and conflicting claims."
- "Verify provenance, confidence bounds, temporal qualifiers and graph versions."
- "Retain rejected assertions in an auditable review record."
FLOW_HASH:
algorithm: "SHA-256"
input: "canonicalised ontology version, graph assertions, mappings, rules and provenance"
note: "Compute hash at execution; no hash value is claimed here."
UPDATE_MODEL:
strategy: "versioned, provenance-preserving incremental graph updates"
steps: [ingest, normalise, resolve_entities, validate, compare_versions, reconcile, infer, publish]
rollback: true
AI_CONSUMPTION:
representation: "typed, named knowledge graph with provenance-aware relation triples"
outputs: [entity_links, concept_mappings, validated_triples, inferred_edges, confidence_annotations, provenance_records]
safeguards: [no_unsupported_identity_merges, no_unjustified_causal_inference, preserve_conflicting_evidence, track_inference_lineage]
}
END FLOW ALGEBRA