Skip to content

Viewing provenance in a graph database

Raza Ahmad edited this page Feb 8, 2019 · 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 dbms.active_database to the location of your Neo4j database. The default location of your database in configuration file is lib/neo4j-community-3.4.4/data/databases/graph.db.
  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