The example are taken from : https://docs.dgraph.io/v0.8.3/clients/
Update on docs would be useful for new comers.