This post is long overdue, so the hell with it.
I loved learning new stuff, especially ones that I never got the chance to learn at school and I got the chance to get an internship at Ebdesk office in Bandung.
One of my jobs is to build a software for analyzing public transportation in Bandung, especially that with angkot because there so many of them here. My boss require me to try Cayley https://github.com/cayleygraph/cayley
I had no introduction to graph databases or anything about it, so I research everything about it and blown away on how all of it works. All of my experiences with databases are basic SQL and to see how every node connected to form a graph.
My first step is to research on angkot lanes, angkot is much different than taxi’s or buses they stop whenever they like. this caused the problem since I planned to make a node on every time they stop.
I decided that each road is a node that connected to the next road it passed through so I made this n-quads to connect the road.
I am from Indonesia and if you confused on some of the vocab this some to help you understood.
jalan – road, kode – code, trayek – route, nama – name
And then I run cayley with the following query
Cayley also support visualization, after learning on how it works I was amazed on the result
In conclusion, Cayley is wonderful if you want to try visualizing data based on graph databases, even that I used Cayley built-in databases I able to produce the result that I wanted.
Next time, I will be talking on how I implemented this newly learned technology for end-user needs also what I learn about Graph Databases with TitanDB and it’s pure Gremlin Query Language.