#knowledge graph
reddit.com · ⭐️ 8/10 · 2026-07-04
A new knowledge graph system called BaryGraph treats every relationship as a first-class embedded document called a BaryEdge, rather than an edge between nodes. It also introduces recursive MetaBary triads to discover structural bridges between distant concepts. This approach addresses a key limitation of flat vector search, which treats relationships as mere proximity between points, missing cross-domain connections. By embedding relationships themselves, BaryGraph can surface analogies and bridges that standard RAG systems cannot detect. The system uses nomic-embed-text for embeddings, runs on MongoDB Community with mongot, and processes the entire English Wiktionary (6.6M documents) locally. It is available as an open-source project with a live MCP server for probing.