Сan't make a variable Dgraph

It works! But it just returns “id” by “name”. I need a search.