Neo4j is not only a graph database, it is the product that is prominent and commonly used in most of the developed companies. Neo4j is a one of the prominent Graph Databases. Neo4j is a world's driving open source Graph Database. It is level headed in Java dialect. It is totally stepup by utilizing Java Language by Neo automational Technologies. And following are the major building blocks in Neo4j Graph Database. Such as:
Node
Relationships
Labels
Properties
Data Browser and sample program
Node
Description
The major unit of a graph is said to be node.It consists of the properties with the key esteems combination. It contain all the details of an employee such as id, name, salary and dept-no.
Emp_id
Ename
Deptno
Salary
1001
David
10
25000
1002
Miller
20
35000
Relationships
Description
Relationships are another significant building block of a Graph Database. It associate two nodes as shown below.
Here Employee and Department are two different nodes and combination is the relationship among the two nodes Employee and Department. A relationship exists between the employee and department and the node start with the employee and the node ends with department.
Labels
Description
Label relates a typical name to set of Relationships or Nodes. A Relationship or Nodes consists of multiple labels. One can generate new labels to existing Relationships or Nodes. We can expel existing labels from existing Relationships or Nodes.
Left side of a node has a label i.e, Employee. And the right side of a node has a label i.e, Department.
And there is a relationship that exists between these two labels such as Combinations.
Properties
Description
Properties are the key esteem combinations to characterize the Relationships and a Graph Nodes.
Key = value
Here key is the combination of strings
Value represented by using any Neo4j Data types.
Data Browser
Description
All the executional process of Neo4j Graph Database has to be done in the data browser by using the local host url as
http://localhost:7474/browser/
Step - 1
click star icon in the home page of Neo4j Graph Database.
Step - 2
After clicking the star icon it will display the sample scripts.
Step - 3
In basic queries select Hello World! program.
Step - 4
Hello World! program query get displayed,and click on execute button.
Step - 5
The output get displayed.
Summary
Key Points
Building Blocks - Are the property graph in the Neo4j Graph Database.
Relationships - Which are significant building blocks inside graph database.
Node - These are the prominent graphs in the Neo4j's database.
Labels - Are the relational set or nodes.
Properties - Are the key esteems.
Data browser - Are the execution process of Neo4j Graph Database.