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",
                "[email protected]": "something",
                "[email protected]": "某物"
            }
        ]
    }

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

dgraph-icon