2.1 · Lesson

Query

A graph stores data as a network:

  • NodesA vertex in a graph. In a property graph it can carry labels and properties. are the things: a customer, an order, a product
  • RelationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. connect them: a customer PLACED an order
  • Both can carry propertiesA named value stored on a node or a relationship.: a name, a price, a date