DEV Community

Prince Verma
Prince Verma

Posted on

How I Passed the Neo4j Certified Professional Exam and Built a Simple Graph

I recently earned the Neo4j Certified Professional credential, and I want to share a quick demo that highlights what I learned while preparing for the exam.


Modeling a Simple Social Graph

Graphs are about nodes and relationships. I created a small example to show how Neo4j makes this powerful.

Create sample data

 cypher CREATE (a:Person {name:'Alice'}), (b:Person {name:'Bob'}), (c:Person {name:'Carol'}), (i:Interest {name:'Graph Databases'}), (a)-[:FRIEND_WITH]->(b), (b)-[:FRIEND_WITH]->(c), (a)-[:INTERESTED_IN]->(i); ![ ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dxxnx5qg1nmiuerw3q5g.png) 
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.