VertexCosineSimilarity
VertexCosineSimilarity[g,u,v] gives the cosine similarity between vertices u and v of the graph g.
VertexCosineSimilarity[{v->w,…},…] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.