The N-Quads encoding is a line-based, plain text format used for RDF datasets. It is a widely-supported standard which has an extremely simple, albeit verbose, syntax that makes it easy to parse. Large datasets may prefer an alternative encoding for which offers a more concise syntax or additional data representation features.

The N-Triples encoding is a subset of this syntax without support for multiple graphs.

Example

_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://schema.org/WebSite> .
_:b0 <https://schema.org/name> "Schema Markup" .
_:b0 <https://schema.org/url> <https://schemamarkup.app/> .

References

  • Specifications: RDF 1.1 N-Quads
  • Media Type: application/n-quads
  • File Name: *.nq