N-Triples

N-Triples
Filename extension
.nt
Internet media type
application/n-triples
Developed byW3C
Latest release
RDF 1.1 N-Triples (REC)
February 25, 2014; 10 years ago (2014-02-25)
Type of formatsemantic web
Container forRDF data
Extended toTurtle
Websitewww.w3.org/TR/n-triples/

N-Triples is a format for storing and transmitting data. It is a line-based, plain text serialisation format for RDF (Resource Description Framework) graphs, and a subset of the Turtle (Terse RDF Triple Language) format.[1][2][3] N-Triples should not be confused with Notation3 which is a superset of Turtle. N-Triples was primarily developed by Dave Beckett at the University of Bristol and Art Barstow at the World Wide Web Consortium (W3C).[4]

N-Triples was designed to be a simpler format than Notation3 and Turtle, and therefore easier for software to parse and generate. However, because it lacks some of the shortcuts provided by other RDF serialisations (such as CURIEs and nested resources, which are provided by both RDF/XML and Turtle) it can be onerous to type out large amounts of data by hand, and difficult to read.

  1. ^ "RDF 1.1 N-Triples". W3C Recommendation 25 February 2014. www.w3.org. Retrieved 2014-02-25.
  2. ^ "N-Triples". W3C RDF Core WG Internal Working Draft. www.w3.org. Retrieved 2008-02-17.
  3. ^ "RDF Test Cases - N-Triples". W3C Recommendation 10 Feb 2004. www.w3.org. Retrieved 2008-02-17.
  4. ^ "XML and Semantic Web W3C Standards Timeline" (PDF).