N-Quads
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> "Named Graph" .
_:b0 <https://schema.org/url> <https://www.namedgraph.com/> .
Real World | ng:Inspector |
---|---|
Schema.org Vocabulary | Snapshot |
W3C RDF Test Suite example | Snapshot |
Technical Notes
- Reference: RDF 1.1 N-Quads
- Media Type:
application/n-quads
- File Name:
*.nq