Skip to content

Instantly share code, notes, and snippets.

@ikwattro
Created July 27, 2018 12:04
Show Gist options
  • Save ikwattro/13c9af6f1d7fb177fb18ef1a2d50aa26 to your computer and use it in GitHub Desktop.
Save ikwattro/13c9af6f1d7fb177fb18ef1a2d50aa26 to your computer and use it in GitHub Desktop.
MATCH (n:NER_Organization) 
RETURN n.value, size((n)<-[:HAS_TAG]-()) AS freq
ORDER BY freq DESC
╒══════════════════════════════════════════════════════════════╤══════╕
│"n.value"                                                     │"freq"│
╞══════════════════════════════════════════════════════════════╪══════╡
│"Neo4j"                                                       │198   │
├──────────────────────────────────────────────────────────────┼──────┤
│"APOC"                                                        │149   │
├──────────────────────────────────────────────────────────────┼──────┤
│"Google"                                                      │108   │
├──────────────────────────────────────────────────────────────┼──────┤
│"Oracle"                                                      │102   │
├──────────────────────────────────────────────────────────────┼──────┤
│"CSV"                                                         │92    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Cisco"                                                       │66    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Microsoft"                                                   │56    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Facebook"                                                    │56    │
├──────────────────────────────────────────────────────────────┼──────┤
│"eBay"                                                        │54    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Twitter"                                                     │53    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Mercator"                                                    │50    │
├──────────────────────────────────────────────────────────────┼──────┤
│"IBM"                                                         │46    │
├──────────────────────────────────────────────────────────────┼──────┤
│"OLAP"                                                        │42    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Gremlin"                                                     │42    │
├──────────────────────────────────────────────────────────────┼──────┤
│"DHS"                                                         │38    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Amazon"                                                      │38    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Wikipedia"                                                   │28    │
├──────────────────────────────────────────────────────────────┼──────┤
│"NASA"                                                        │28    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Neo Technology"                                              │27    │
├──────────────────────────────────────────────────────────────┼──────┤
│"JSON"                                                        │26    │
├──────────────────────────────────────────────────────────────┼──────┤
│"CMS"                                                         │26    │
├──────────────────────────────────────────────────────────────┼──────┤
│"API"                                                         │24    │
├──────────────────────────────────────────────────────────────┼──────┤
│"SAP"                                                         │24    │
├──────────────────────────────────────────────────────────────┼──────┤
│"ICIJ"                                                        │24    │
├──────────────────────────────────────────────────────────────┼──────┤
│"Apple"                                                       │24    │
├──────────────────────────────────────────────────────────────┼──────┤
│"LendingClub"                                                 │24    │
├──────────────────────────────────────────────────────────────┼──────┤
...truncated here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment