1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-5.git synced 2024-11-22 16:14:24 +00:00
bda-5-steffo/scripts/1-page-rank.cypher
2023-05-09 04:51:31 +02:00

11 lines
182 B
Text

CALL gds.pageRank.stream(
"deps",
{}
) YIELD
nodeId,
score
MATCH (n)
WHERE ID(n) = nodeId
RETURN n.name AS name, score, n.description AS description
ORDER BY score DESC
LIMIT 10