5.2 · Video Lesson

Labels in the Graph

Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. Full definition for label (opens in a new tab)A tag on a node that groups it with other nodes of the same kind. A node can carry more than one. serve as an anchor point for a query. By specifying a label, we are specifying a subset of one or more nodes with which to start a query. Using a label helps to reduce the amount of data that is retrieved.

For example: