Graph database basics
Before installing Neo4j and creating nodes and running queries, let's discuss the basic concepts of a graph database briefly. At a high level, a graph database models nodes and their relationships. In order to do so, there are a set of basic object types it uses, all of which we will explore in this section.
Although we are mostly going to use Neo4j in the next two chapters, Neo4j is not the only option. The following screenshot shows Studio, the user interface of OrientDB, another popular graph database system:
As shown in the preceding screenshot, there are nodes such as bob and SATURN, and edges such as MANAGES and MEMBER_OF. Nodes and edges are two of the basic object types of graph database systems. Let's explore the core object types in more detail.
Nodes or vertices
The first object type is the node, or vertex. Staying...