my-server
← Wiki

TriG (syntax)

TriG is a serialization format for RDF (Resource Description Framework) graphs. It is a plain text format for serializing named graphs and RDF Datasets which offers a compact and readable alternative to the XML-based TriX syntax.

Example

This example encodes three interlinked named graphs:

  • <nowiki>http://www.example.org/exampleDocument#G1</nowiki>
  • <nowiki>http://www.example.org/exampleDocument#G2</nowiki>
  • <nowiki>http://www.example.org/exampleDocument#G3</nowiki>

External links