Level up your GraphQL + GraphDB knowledge - Register free for Dgraph Day
To optimize your experience, the interactive tutorial is only available on desktop.

Dgraph DQL Tour


Language Support

Language tags are used on the string on input

_:myID <an_edge> "something"@en .
_:myID <an_edge> "某物"@zh-Hans .

and on the edge in a query.

You can do the same example using JSON format. You’re able to do that through our clients, cURL or Ratel UI.

See the JSON:

        "set": [
                "uid": "_:myID",
                "an_edge@en": "something",
                "an_edge@zh-Hans": "某物"

The JSON example may end up helping you better understand the format in RDF.