Ontology & Knowledge Graph
6 min read.
Represent facts as RDF triples over a typed graph, then run a reasoner to derive a new implicit relationship — the structured, connected knowledge behind GraphRAG.
Think of it this way: The ontology is the rulebook of a family tree (what a "parent" or "sibling" means); the knowledge graph is your actual family filled in. A reasoner can then deduce "grandparent" even though nobody wrote that edge.
5 stored facts. Each edge is one triple: subject, predicate, object.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Build a triple
Complete the RDF-style statement.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Quiz
20 questionsWhat is an RDF triple?
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.