Moved from GitHub dgraph/2142
Posted by swagluke:
Neo4j has query that does K-Nearest-Neighbors
BlogPost link:
https://neo4j.com/graphgist/movie-recommendations-with-k-nearest-neighbors-and-cosine-similarity#_view_your_nearest_neighbors
@pawanrawal has read the blogpost and figure the missing part from DGraph is the ability to do a cross product between two vectors.
It would be nice to have documentations or blogpost after this new feature is developed.