SQL to Dgraph Migration - Edges not creating

The D.Type is case-sensitive. I think for your case it should be “Book” instead.