- Hands-On Graph Analytics with Neo4j
- Estelle Scifo
- 218字
- 2021-06-11 18:50:28
Questions
- US states:
- Find the first-degree neighbors of Colorado (code CO):
- What are the codes of these neighbors?
- Can you count how many there are using an aggregate function?
- Which states have the highest number of neighbors? The lowest? Think about the ORDER BY clause.
- Find the first-degree neighbors of Colorado (code CO):
- GitHub graph enhancement:
- From neo4j_repos_github.json, can you save the project language when provided, as a new node? You can use the new Language node label.
- Can you also save the license, when provided, using a new node? Use a Licence node label and save all of the provided information from GitHub as properties.
(Hint: the license is provided with the following format):
"license": {
"key": "other",
"name": "Other",
"spdx_id": "NOASSERTION",
"url": null,
"node_id": "MDc6TGljZW5zZTA="
},
-
- Using the GitHub API, can you save the user locations?
Hint: the URL to get user information is https://api.github.com/users/<login>. - The location often contains the city and country name, separated by either a space or a comma. Can you write a query to save only the first element of this pair, assumed to be the city?
Hint: checkout APOC text utils. - Using the GitHub API, can you retrieve the repositories owned by each Neo4j contributor?
Hint: the URL to get the repositories for a given user is https://api.github.com/users/<login>/repos. - Which location is the most represented among Neo4j contributors?
- Using the GitHub API, can you save the user locations?
推薦閱讀
- 機器學習實戰(zhàn):基于Sophon平臺的機器學習理論與實踐
- 現(xiàn)代測控電子技術(shù)
- Java開發(fā)技術(shù)全程指南
- Mastering Salesforce CRM Administration
- 21天學通C++
- 網(wǎng)絡綜合布線技術(shù)
- 大數(shù)據(jù)驅(qū)動的設備健康預測及維護決策優(yōu)化
- INSTANT Drools Starter
- 運動控制系統(tǒng)應用與實踐
- PostgreSQL 10 Administration Cookbook
- Windows Server 2003系統(tǒng)安全管理
- Dreamweaver CS6精彩網(wǎng)頁制作與網(wǎng)站建設
- Mastering GitLab 12
- 電子設備及系統(tǒng)人機工程設計(第2版)
- Hands-On SAS for Data Analysis