Skip to content

Latest commit

 

History

History
126 lines (89 loc) · 3.85 KB

README.adoc

File metadata and controls

126 lines (89 loc) · 3.85 KB
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"]
  • 3. Neo4j Aura: Upload the dump file to Neo4j Aura

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.