Chaima Gherib Report1
Chaima Gherib Report1
Contents
1. What is Neo4j?...................................................................................................................................3
2. Neo4j Features and Operations...........................................................................................................3
Key features:......................................................................................................................................3
operations used:..................................................................................................................................3
3. Step by Step Exercise Solution...........................................................................................................4
Conclusion: NoSQL vs. SQL Databases....................................................................................................5
1. What is Neo4j?
Neo4j is a popular NoSQL graph database that allows you to represent your data as nodes,
relationships, and properties. Instead of storing your data in tables and rows, Neo4j has
positioned itself as a graph database, making it super efficient to query for connected data.
These types of connections can be leveraged for applications involving social networks,
recommendations, fraud detection, network and IT operations, and identity and access
management.
Queries perform well for deep joins and complex data models.
No fixed schema, so you can start with a data model of your use-case.
A graph model is not a bunch of tables. It is far easier to understand because it matches the
way we think naturally and is close to how you would draw it on paper.
operations used:
ORDER BY, AVG(), COUNT(), and more: to aggregate and analyze results.
CREATE INDEX: to search data (as fast as a lookup table) and avoid checking every single
node on an equality condition.
The statements use a pattern query language called Cypher, which is designed for expressing
graph patterns.
Three employee nodes were created using the CREATE clause, each with properties such as
name, position, age, salary, and skill.
Relationships
So let’s do it