anderson2805 / offshoreleaks-data-packages

Tools to produce and share the downloadable Neo4j packages and guides

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.4

Load graph data via the following:

Three ways to load the dump file: data/icij-offshoreleaks-44.dump

  • 1. Neo4j Desktop:

    • Add the file into the Files section of a project in Neo4j Desktop.

step 1 import dump file
  • Then choose the option to Create new DBMS from dump option from the file options.

step 2 create new db from file
  • 2. Neo4j Server: Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/icij-offshoreleaks-44.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

Tools to produce and share the downloadable Neo4j packages and guides


Languages

Language:JavaScript 51.4%Language:Go 18.4%Language:Java 12.5%Language:C# 11.1%Language:Python 6.3%Language:Shell 0.4%