A knowledge graph index is a data structure that organizes information as a network of entities (nodes) and their relationships (edges), enabling complex, multi-hop reasoning queries that are difficult for traditional vector search alone. It works by modeling real-world facts as a directed or undirected graph, where nodes represent concepts like people, places, or events, and labeled edges define the connections between them (e.g., (Paris) - [capital_of] -> (France)).
During a query, a graph traversal algorithm navigates this network to answer questions that require chaining facts together. For example, to answer "Who founded a company headquartered in the city where the Eiffel Tower is located?", the system would traverse edges from Eiffel Tower to Paris to headquarters to Company to founder. This structured approach provides deterministic, explainable retrieval paths, complementing the statistical similarity of vector search.