Skip to content

Viewing provenance in a graph database

Hassaan edited this page Jul 2, 2020 · 14 revisions

Neo4j bundle allows users to connect to and visualize Neo4j graph databases. When you compile SPADE, Neo4j 3.4.4 is automatically downloaded for your operating system. (Note that the version of Neoclipse must correspond to the version of Neo4j used by SPADE.)

  1. Edit file lib/neo4j-community-3.4.4/conf/neo4j.conf and set values of keys dbms.active_database, and dbms.directories.data equal to the values of keys database, and neo4jDataDirectory, respectively that you used in your Neo4j storage configuration file. The Neo4j storage configuration file is at cfg/spade.storage.Neo4j.config and defines the default values for neo4jDataDirectory, and database.
  2. Run Neo4j server by running bin/neo4j start command.
  3. Navigate to http://localhost:7474 in your browser.
  4. Login using default credentials (neo4j/neo4j). You will be asked to set a new password when you login for the first time.

  5. A bar on the top asks your permission for sharing non‑sensitive data. Either select "Yes, I'm happy to help!" or "Sorry no, but good luck". The panel to issue queries to search the database is hidden behind this bar.
  6. Using the panel on the left, you can click on "VERTEX" and it will show a part of graph. You can load entire graph by using MATCH (n:VERTEX) RETURN n; query.

Clone this wiki locally