_:identifier is a blank node placeholder allowing you to reference a node with an unknown uid throughout a set block.
After the set happens, that blank is replaced with a dgraph created uid.
When you’re creating the edge, you need to reference the author and book by their uid, or set the author_id and book_id to be unique id’s so you can also use them to reference the node.