neo4j-graph-examples / icij-offshoreleaks-old

Offshore Leaks Database by ICIJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icij logo

Offshore Leaks Database by ICIJ Graph Example

Description: The Offshore Leaks Database and guide from the International Consortium of Investigative Journalists (ICIJ)

datamodel
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (a:Officer {name:$name})-[r:officer_of|intermediary_of|registered_address*..10]-(b)
RETURN b.name as name LIMIT 20

Setup

This is for Neo4j version: 4.3

Load graph data via the following:

Dump file: data/icij-offshoreleaks-43.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/icij-offshoreleaks-43.dump [--database "database"]

Code Examples

GraphQL API

See /graphql directory for Node.js GraphQL API server example using @neo4j/graphql

Feedback

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

About

Offshore Leaks Database by ICIJ


Languages

Language:JavaScript 53.2%Language:Go 17.7%Language:Java 12.0%Language:C# 10.7%Language:Python 6.1%Language:Shell 0.4%