Four basics behind a graph database are
Nodes: The primary data elements
Relationships: How two nodes are connected
Nodes may have multiple relationships
Properties: Attributes of a node or of a relationship
Labels: How nodes are described and grouped together as sets
Nodes may have multiple labels
Labels get indexed and optimized, making it easier for them to be quickly located
Graph databases shift the focus of their data models to the relationships, which makes retrieving complex data structures much easier.
They abstract nodes and relationships into one structure.
But what is GraphQL ?