UBS Interview Question

How would you design your own graph database?