Creating link prediction metrics with Neo4j