Simple Dgraph schema to GraphQL schema mapping doesn't work

It is missing it’s type on import using the set command.

It is missing the type. So you are creating 2 nodes and a total of 7 predicates (including understood uids) but when you define your graphql schema it is looking for types which you have not defined anywhere.

I am not sire the exact syntax for this JSON set command but it should be in the docs. Make sure you set the type to “Person”