In the previous post around the emails of Hillary Clinton, we were able to import the data from a CSV file, and use some really cool graph refactoring tools to make the database a little more easy to work with - bad data is bad data, and the less we have of that the better.
So we ended up in a reasonably stable state, where we could do some querying. In this post, we will do exactly that.
Exploring the graph with graph algos
It's fairly easy to get a good initial view of the structure and size of the graph. I just run a few queries like this:
//what nodes are in the db
match (n) return labels(n), count(n)
and:
//what rels are in the db
MATCH p=()-[r]->() RETURN type(r), count(r)
and we very quickly see that, while this is clearly not a "big" dataset, it's still big enough to start loosing some significant time sifting through data if you want to make some sense of it. This is where our fantastic graph algorithms come in. I installed the plugin into my database, restarted it, and then I also played around a bit with Neuler, a graph algo playground that basically allows you to quickly experiment with different algorithms. You can download Neuler from https://install.graphapp.io/ and install it into your Neo4j Desktop really quickly.





