## Chapter 5. Data Modeling Examples

**Table of Contents**

- 5.1. Linked Lists
- 5.2. TV Shows
- 5.3. ACL structures in graphs
- 5.4. Hyperedges
- 5.5. Basic friend finding based on social neighborhood
- 5.6. Co-favorited places
- 5.7. Find people based on similar favorites
- 5.8. Find people based on mutual friends and groups
- 5.9. Find friends based on similar tagging
- 5.10. Multirelational (social) graphs
- 5.11. Implementing newsfeeds in a graph
- 5.12. Boosting recommendation results
- 5.13. Calculating the clustering coefficient of a network
- 5.14. Pretty graphs
- 5.15. A multilevel indexing structure (path tree)
- 5.16. Complex similarity computations
- 5.17. The Graphity activity stream model
- 5.18. User roles in graphs

The following chapters contain simplified examples of how different domains can be modeled using Neo4j. The aim is not to give full examples, but to suggest possible ways to think using nodes, relationships, graph patterns and data locality in traversals.

The examples use Cypher queries a lot, read Cypher Query Language for more information.