PRACTICAL -9

 AIM: Execute queries in the Neo4j graph database and in the Gephi tool perform the operations of loading CSV data, running graph statistics scripts, and displaying various graphical layouts.

Theory:

What is graph data?

Graph data science is linked to data science, where connections are first-class people, and a stronger, more detailed forecast can be made using the ties between the data points


How graph data is stored? and how it is represented?

Graph data is contained in storage files, each of which includes data, such as nodes, associations, labels, and properties, for a certain part of the graph. A data graph is a graphic display of knowledge from which we can more readily interpret similarities and patterns quickly.


How to visualize graph data and devise conclusions/results?

By looking at the graph correctly, we can imagine graph data and we can get the successful knowledge that shows mechanisms that might be present in the graphs and assist the user to understand that.


Neo4j is an open-source, NoSQL, native graph database that provides an ACID-compliant transactional backend for your applications. This means that the data is stored exactly as you whiteboard it, and the database uses pointers to navigate and traverse the graph.

Neo4j uses property graphs to extract the added value of data of any company with great performance and in an agile, flexible, and scalable way. 1. Performance: Graph databases such as Neo4j perform better than relational (SQL) and non-relational (NoSQL) databases

Graph Description: The Movie Graph is a mini graph application containing actors and directors that are related through the movies they've collaborated on.

Insert movie data into graph:

Fig 1 node creation


Fig 2 The actual graph



Fig 3 list of movies
After finding (Tom Hank actor) i have listed the movies in he was actor


Gephi Tool: The Gephi Toolkit project package essential modules (Graph, Layout, Filters, IO…) in a standard Java library, which any Java project can use for getting things done. The toolkit is just a single JAR that anyone could reuse in new Java applications and achieve tasks that can be done in Gephi automatically, from a command-line program for instance.
 
The ability to use Gephi features like this in other Java applications boost possibilities and promise to be very useful.


Fig 4 Gephi tool
Fig 6 Initial Network
Fig 7 Yifan Hu Layout

Fig 8 Average Degree


Conclusion:- Here I have used Neo4j graph database & displayed different layout using GEPHI Tool






Comments