Last active
May 12, 2020 08:08
-
-
Save lennertVanSever/848a0ed67556182ff51c543da22f1fb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (country:Country) | |
MATCH (language:Language) | |
WITH country, language, SIZE(()-[:hasOfficialLanguage]-(language)) as countryCount | |
ORDER BY countryCount DESC | |
RETURN DISTINCT(language.name), countryCount | |
LIMIT 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment