Nodes and Edges

The things and relationships that make up a knowledge graph.

Definition

Nodes and edges are the building blocks of a knowledge graph. A node is a thing (a customer, product, SKU or region), and an edge is a relationship between two things ("buys from", "located in", "has variant"). Some edges are derived, worked out from order history rather than loaded by hand.

Key points

<ul><li>Example: Retailer A (a node) "buys from" (an edge) Distributor B (a node).</li><li>Example of a derived edge: if a retailer reorders the same SKU every month, a "usually buys" edge can be worked out from order history.</li><li>The ontology defines which types of nodes and edges can exist. The knowledge graph holds the real ones, and an agent follows the edges to answer questions that take several steps.</li></ul>