Skip to content

Instantly share code, notes, and snippets.

@ikwattro
Created July 27, 2018 12:06
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/150e1a422c642b9217b4979bc00412d1 to your computer and use it in GitHub Desktop.
Save ikwattro/150e1a422c642b9217b4979bc00412d1 to your computer and use it in GitHub Desktop.
MATCH (n:NER_Person) WHERE size(split(n.value, " ")) > 1 
RETURN n.value, size((n)<-[:HAS_TAG]-()) AS freq
ORDER BY freq DESC

╒═════════════════════════╤══════╕
│"n.value"                │"freq"│
╞═════════════════════════╪══════╡
│"Rik Van Bruggen"        │44    │
├─────────────────────────┼──────┤
│"Ryan Boyd"              │34    │
├─────────────────────────┼──────┤
│"Michael Hunger"         │30    │
├─────────────────────────┼──────┤
│"Bryce Merkl Sasaki"     │28    │
├─────────────────────────┼──────┤
│"Rob Schoening"          │28    │
├─────────────────────────┼──────┤
│"Tim Williams"           │26    │
├─────────────────────────┼──────┤
│"Pitney Bowes"           │18    │
├─────────────────────────┼──────┤
│"Mossack Fonseca"        │16    │
├─────────────────────────┼──────┤
│"Emil Eifrem"            │14    │
├─────────────────────────┼──────┤
│"Anne Freeman"           │12    │
├─────────────────────────┼──────┤
│"Ashley Sun"             │12    │
├─────────────────────────┼──────┤
│"Tim Ward"               │10    │
├─────────────────────────┼──────┤
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment