0% found this document useful (0 votes)
31 views3 pages

Experiment No. 8: 1. Aim: 2. Objectives

Uploaded by

try.dhruvtiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views3 pages

Experiment No. 8: 1. Aim: 2. Objectives

Uploaded by

try.dhruvtiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Experiment No.

8
1. Aim: Implement and analyse Graph Database using open source tool. Eg. Neo4J.

2. Objectives:

To learn about the trends in advance databases.


To learn advanced representations of databases suited for real-time applications.
3. Outcomes:

Understand and Analyze the concept of graph based using case studies.
Implement Graph database using Neo4J tool.

4. Hardware / Software Required: Neo4J

5. Theory: Neo4j as a graph database


Graph databases are based on graph theory from mathematics. Graphs are structures
that contain vertices (which represent entities, such as people or things) and edges
(which represent connections between vertices). Edges can have numerical values
called weight. This structure enables developers to model any scenario defined by
relationships. For instance, a graph database allows you to model a social network
where nodes are users and relationships are connections between them. Or you can
build a road network where vertices are cities, towns, or villages, while edges are
roads that connect them with weights indicating distances.

-depth look
at the Labeled Property Graph Model in the Neo4j database. It has the following components:

Nodes (equivalent to vertices in graph theory). These are the main data elements that
are interconnected through relationships. A node can have one or more labels (that
describe its role) and properties (i.e. attributes).
Relationships (equivalent to edges in graph theory). A relationship connects two
nodes that, in turn, can have multiple relationships. Relationships can have one or
more properties.
Labels. These are used to group nodes, and each node can be assigned multiple
labels. Labels are indexed to speed up finding nodes in a graph.
Properties. These are attributes of both nodes and relationships. Neo4j allows for
storing data as key-value pairs, which means properties can have any value (string,
number, or boolean).

52
of a simple graph data model in Neo4j:

As you can see, this graph contains two nodes (Alice and Bob) that are connected by
relationships. Both nodes share the same label, Person
properties, but in Neo4j every node and relationship can have properties.

think in terms of tables and rows but in terms of abstract objects and connections. In fact,
anything you can draw on a blackboard can be displayed with a graph.

6. Conclusion:

7. Viva Questions:
8. Reference books & Links:
1.
McGraw Hill
2. Hill.

53
Advanced Databases Lab
Experiment No. : 9
Design and Implement queries on
Temporal Database.

54

You might also like