-
Notifications
You must be signed in to change notification settings - Fork 75
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.)
- Edit file
lib/neo4j-community-3.4.4/conf/neo4j.conf
and set values of keysdbms.active_database
, anddbms.directories.data
equal to the values of keysdatabase
, andneo4jDataDirectory
, respectively that you used in your Neo4j storage configuration file. The Neo4j storage configuration file is atcfg/spade.storage.Neo4j.config
and defines the default values forneo4jDataDirectory
, anddatabase
. - Run Neo4j server by running
bin/neo4j start
command. - Navigate to
http://localhost:7474
in your browser. - Login using default credentials (neo4j/neo4j). You will be asked to set a new password when you login for the first time.
- 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.
- 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.
This material is based upon work supported by the National Science Foundation under Grants OCI-0722068, IIS-1116414, and ACI-1547467. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
- Setting up SPADE
- Storing provenance
-
Collecting provenance
- Across the operating system
- Limiting collection to a part of the filesystem
- From an external application
- With compile-time instrumentation
- Using the reporting API
- Of transactions in the Bitcoin blockchain
- Filtering provenance
- Viewing provenance
-
Querying SPADE
- Illustrative example
- Transforming query responses
- Protecting query responses
- Miscellaneous