Load a Schema into Dgraph
Learn how the book graph can be modeled in Dgraph, and load GraphQL and DQL schema for it into Dgraph.
We'll cover the following...
Visual representation
The figure below shows how the reference book graph can be mapped in Dgraph.
Press + to interact
Note that this resembles the RDF graph but with properties added to the edges.
How to load the data
We have some choices in how we load our book graph:
We can load the data directly, and Dgraph autogenerates predicates for us. ...