Skip to content

Viewing provenance in a graph database

Ashish Gehani edited this page Jul 20, 2020 · 14 revisions

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.

  1. Edit file lib/neo4j-community-4.1.1/conf/neo4j.conf. Set the value of the key dbms.directories.data to match the database location specified when adding the Neo4j storage in the SPADE controller. (Do not modify the values for keys dbms.directories.neo4j_home and dbms.default_database in configuration files lib/neo4j-community-4.1.1/conf/neo4j.conf and cfg/spade.storage.Neo4j.config.)
  2. Start the Neo4j server with bin/neo4j start.
  3. Navigate to http://localhost:7474 with a web browser.
  4. Login using default credentials (neo4j/neo4j). Set a new password upon initial login.

  5. 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.
  6. 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.

Clone this wiki locally