Using Neo4j and Ruby to maintain a graph.