1. Welcome to Fullstack.wiki

  1. Media Types

  1. N-Triples
    1. Overview table
    2. Implementations

N-Triples

N-Triples, also known as NT, is a media type for representing an RDF graph, by listing each edge in the graph. It is one of the simplest formats for serializing an RDF graph, but is often more verbose than similar formats such as Turtle, if uncompressed.

Each edge in the graph is represented by one statement, which consists of the subject, predicate, object, and a terminating period, optionally separated by whitespace.

For example, this document describes two edges:

<http://example.org/about> <http://purl.org/dc/terms/title> "Anna's Homepage"@en .
<http://example.org/about> <http://purl.org/dc/terms/title> "Annas hjemmeside"@da .

Overview table

Name
application/n-triples
Description
N-Triples
Text Encoding
UTF-8
Specification
RDF 1.1 N-Triples

Implementations

  • See also Turtle, which is a superset of N-Triples.