Database Reference
In-Depth Information
Modeling Data for Neo4j
In this chapter, we will get started with some graph database modeling in Neo4j.
As this type of modeling can be quite different from what we are typically used
to with our relational database backgrounds, we will start by explaining the
fundamentalconstructsirstandthenexploresomerecommendedapproaches.
We will cover the following topics in this chapter:
• Modeling principles and how-to's
• Modeling pitfalls and best practices
The four fundamental data constructs
As you may already know by now, graph theory gives us many different graphs to
work with. Graphs come in many different shapes and sizes, and therefore, Neo4j
neededtochooseaveryspeciictypeofdatastructurethatislexibleenoughto
support the versatility required by real-world datasets. This is why the underlying
data model of Neo4j, the labeled property graph, is one of the most generic and
versatile of all graph models.
Search WWH ::




Custom Search