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);

Top comments (1)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.