GitHub - neo4j-graph-examples/pole: Crime Investigation - Explore connections in crime data using the POLE - Person, Object, Location, Event - model in a public dataset from Manchester, U.K.

pole icon

Description: Explore connections in crime data using the POLE - Person, Object, Location, Event - model in a public dataset from Manchester, U.K.

Nodes 61521 Relationships 105840

model

Figure 1. Model

example

Figure 2. Example

Example Query:

MATCH (l:Location {address:$address})<-[r:OCCURRED_AT]-(c:Crime)
RETURN c.date as crimeDate

Setup

This is for Neo4j version: 3.5,4.0

Required plugins: graph-algorithms

Load graph data via the following:

Dump file: data/pole-40.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/pole-40.dump [--database "database"]

Zip file

Feedback

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