Note: this gist is heavily based on materials provided by organizers of the Mining PDBe and PDBe-KB Using a Graph Database workshop.
Graph DBs are much more useful for representing unstructured, sparse data and relationships than conventional relational DBs.
Graph is a structure that models pairwise relations between objects:
- consists of nodes (vertices), edges (relationships) and properties (attributes):
- nodes represent entities
- edges encode connections between nodes