There’s a blurb in the docs about escaping special characters: Get started with Dgraph
Note: If your predicate has special characters, then you should wrap it with angular brackets while asking for it in the query. E.g.
<first:name>
I’d include <, >, /, and : characters for escaping.