Skip to content

Instantly share code, notes, and snippets.

@ikwattro
Last active July 27, 2018 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikwattro/ea30d31723e39996c2402b8f61024c2b to your computer and use it in GitHub Desktop.
Save ikwattro/ea30d31723e39996c2402b8f61024c2b to your computer and use it in GitHub Desktop.
MATCH (n:Keyword)-[r:DESCRIBES]->()
RETURN n.value, sum(r.relevance) AS f
ORDER BY f DESC
LIMIT 20
╒═══════════════════════╤══════════════════╕
│"n.value"              │"f"               │
╞═══════════════════════╪══════════════════╡
│"graph database"       │51.9367322440537  │
├───────────────────────┼──────────────────┤
│"datum"                │30.152271993354315│
├───────────────────────┼──────────────────┤
│"graph"                │26.659629032872115│
├───────────────────────┼──────────────────┤
│"relationship"         │23.73823896359526 │
├───────────────────────┼──────────────────┤
│"neo4j"                │22.189074890413547│
├───────────────────────┼──────────────────┤
│"relational database"  │20.509876407827246│
├───────────────────────┼──────────────────┤
│"knowledge graph"      │18.389958758825372│
├───────────────────────┼──────────────────┤
│"node"                 │14.507897499296693│
├───────────────────────┼──────────────────┤
│"graph algorithm"      │13.960152280601944│
├───────────────────────┼──────────────────┤
│"time"                 │13.708335902395376│
├───────────────────────┼──────────────────┤
│"different type"       │12.338005070588489│
├───────────────────────┼──────────────────┤
│"social network"       │11.21714697340819 │
├───────────────────────┼──────────────────┤
│"recommendation engine"│11.194717319796345│
├───────────────────────┼──────────────────┤
│"real time"            │10.81041096779596 │
├───────────────────────┼──────────────────┤
│"neo4j browser"        │10.54587482284818 │
├───────────────────────┼──────────────────┤
│"graph model"          │10.35216859598819 │
├───────────────────────┼──────────────────┤
│"search engine"        │10.030071014287353│
├───────────────────────┼──────────────────┤
│"shortest path"        │9.544222880088695 │
├───────────────────────┼──────────────────┤
│"datum model"          │9.01272526831742  │
├───────────────────────┼──────────────────┤
│"database"             │8.989782770447587 │

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment