neo4j-graph-examples / airport-routes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gds2 opening image

Graph Data Science Graph Example

Description: Leverage Neo4j Graph Data Science library to explore graph algorithms for analytics and feature engineering.

Nodes 8627 Relationships 73954

air route schema
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (a:Airport{iata:$iata})-[r:IN_CITY]->(c:City)
  RETURN c.name as city

Setup

This is for Neo4j version: 4.4

Required plugins: gds

Load graph data via the following:

Dump file: data/neo4j.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/neo4j.dump [--database "database"]

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.

About


Languages

Language:Go 33.2%Language:Java 22.3%Language:C# 19.7%Language:JavaScript 14.0%Language:Python 10.8%