Viewing provenance in a graph database - ashish-gehani/SPADE GitHub Wiki
Neo4j bundle allows users to connect to and visualize Neo4j graph databases. When you compile SPADE, Neo4j 4.1.1 is automatically downloaded for your operating system.
- Edit file
lib/neo4j-community-4.1.1/conf/neo4j.conf
. Set the value of the keydbms.directories.data
to match thedatabase
location specified when adding the Neo4j storage in the SPADE controller. (Do not modify the values for keysdbms.directories.neo4j_home
anddbms.default_database
in configuration fileslib/neo4j-community-4.1.1/conf/neo4j.conf
andcfg/spade.storage.Neo4j.config
.) - Start the Neo4j server with
bin/neo4j start
. - Navigate to
http://localhost:7474
with a web browser. - Login using default credentials (neo4j/neo4j). Set a new password upon initial login.
- A bar on the top asks for permission to share non‑sensitive data. Either select "Yes, I'm happy to help!" or "Sorry no, but good luck". The panel to query the database is hidden behind this bar.
- Using the panel on the left, click on "VERTEX". This will show part of a graph. The entire graph can be loaded with
MATCH (n:VERTEX) RETURN n;
query.