Using MERGE and UNWIND to build a simple Neo4j graph

May 2: Leonardo da Vinci, One Month Graph Challenge

Vlad Batushkov
2 min readMay 2, 2019

Welcome word

In this series of small posts I do one simple graph daily. Domain model of graph somehow related to day’s history, some historical event, celebration or person. I do this challenge to learn Neo4j Data Modeling and Cypher. Every day. One month. Follow me. Maybe you will be inspired and next month would be yours One Month Graph Challenge. #OMGChallenge

Domain model

Second of May not only famous for a Tuna Day, this day also related with life and death of many talented peoples. 500 years ago left this world the most significant man of his times — Leonardo da Vinci. The “Renaissance Man”, leader of Renaissance humanism, an universal genuis, polymath master and person of many many other epithets coming to mind, when we trying to describe his contribution to the world legacy. Living he now, he might be a contributor of all github repos in the worlds and left some time for new skate tricks.

Graph

Create a genius:

Update with dates of birth and death:

Create parents:

Create a birth place:

Leonardo da Vinci known for:

Well known artworks:

Sorry, I am not a big follower of art, so:

Some of famous inventions:

Count totals:

Resume

I described just a small piece of tons of works, established by Leonardo da Vinci. If you are interested, you can continue and slowly build all the other parts of this huge graph of great person’s life.

While I read and build up list of items created by Leonardo da Vinci, I catch myself on a thought, that maybe… just maybe… many talented people hide under the mask of one century genius called Leonardo da Vinci… and we just don’t know much about that times.

Resources

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vlad Batushkov
Vlad Batushkov

Written by Vlad Batushkov

Engineering Manager @ Agoda. Neo4j Ninja. Articles brewed on modern tech, hops and indie rock’n’roll.

Responses (1)

Write a response