Summary

In this chapter, you learned that graphs can be described by describing a subgraph that contains all possible relationships, nodes, and properties; this is called specification by example. You also learned that entities should be modeled as nodes, and relationships must be used to denote semantic correlation between two entities. Nodes can have multiple labels, while relationships can have only one type. We also discussed the advantages of using labels apart from the semantic context they provide.

Get Neo4j Graph Data Modeling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.