This example builds a social network graph and recommends content and friends to users.
- Creates a graph of users, topics, and posts in IssunDB, with
FOLLOWS,POSTED,ABOUT, andLIKESedges; each user has topic affinities that drive their interest vector. - Computes interest-vector embeddings for users and posts and builds a full-text index over post text, so the graph supports both semantic and keyword search.
- Provides four recommendation features, including friend-of-friend suggestions through Cypher, kindred users and posts through vector search, trending topics through Cypher aggregation over recent likes, and a hybrid discover feed that fuses vector, text, and one-hop graph expansion.
More detailed workflow is shown below: