HomeAI & Machine LearningKnowledge Graph Builder: Triples, Entities & Shortest-Path Inference

Knowledge Graph Builder

Interactive 3D knowledge graph: add subject-predicate-object triples, watch the force-directed graph re-layout, click two entities to trace the shortest inference path between them.

AI & Machine Learning3DModerate60 FPS
knowledge-graphs ↗ Open standalone

Build a knowledge graph one fact at a time: pick a subject, a predicate (relation) and an object and add the triple — a new node appears if the entity is new, a labeled directed edge connects it, and the whole graph re-settles under a force-directed layout. Click any two entities to run a real breadth-first search across the relation edges and see the shortest inferred path between them, the same graph-traversal trick that lets systems built on RDF triple stores and SPARQL answer "how is X connected to Y?" without that connection ever being stored directly.

⚙ Under the hood

Add subject-predicate-object triples from a dropdown to grow a 3D force-directed knowledge graph of people, places, organizations and works. Click two entity nodes to run a live breadth-first search that traces and labels the shortest relational path between them.

Three.jsKnowledge GraphGraph TheoryBFSRDFForce-Directed LayoutAI

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)