Skip to main content
In the previous module, you learned that a World is a graph. This lesson explains how to build that graph.

Atomic knowledge unit

Every piece of information in a World is stored as a triple. A triple consists of three components:
  1. Subject: A reference to the item you are describing, for example, “Ethan”.
  2. Predicate: A reference to the relationship or property, for example, “worksAt”.
  3. Object: The literal value or a reference to another item related to the subject, for example, “Wazoo”.
Together, they form a clear semantic statement: Ethan works at Wazoo.

Graph formation

Triples are powerful because they are universal. You can express everything from simple facts to complex hierarchies through this structure. As you add multiple triples, they naturally form a Graph:
  • “Ethan worksAt Wazoo”
  • “Wazoo locatedIn San Francisco”
  • “Gregory worksAt Wazoo”
The agent can now reason that Ethan and Gregory both work at Wazoo, and Wazoo is located in San Francisco. It can infer that Ethan and Gregory share the same work location.

Item identifiers

In Worlds, subjects and objects are often identified by unique IDs (URIs). This ensures that references to “Wazoo” always point to the same global item in the graph. For a deeper dive into node identifiers, complex namespaces, and extending graph topologies, check out our Knowledge Graphs guide.

Summary

  • Subject: The “who” or “what”.
  • Predicate: The relationship.
  • Object: The target or value.
In the next module, you will learn how to interrogate the graph using Logical reasoning with SPARQL.