## Not run:
# graph = startGraph("http://localhost:7474/db/data/")
# clear(graph)
#
# alice = createNode(graph, "Person", name = "Alice")
# bob = createNode(graph, "Person", name = "Bob")
# charles = createNode(graph, "Person", name = "Charles")
#
# createRel(bob, "WORKS_WITH", charles)
# rel = createRel(alice, "KNOWS", bob)
#
# getType(rel)
#
# getType(graph)
# ## End(Not run)
Run the code above in your browser using DataLab