Trisha Shetty (Editor)

Notation3

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Filename extension
  
.n3

Developed by
  
Tim Berners-Lee

Container for
  
RDF data

Internet media type
  
text/n3;charset=utf-8

Type of format
  
semantic web

Standard
  
Specification

Notation3, or N3 as it is more commonly known, is a shorthand non-XML serialization of Resource Description Framework models, designed with human-readability in mind: N3 is much more compact and readable than XML RDF notation. The format is being developed by Tim Berners-Lee and others from the Semantic Web community. A formalization of the logic underlying N3 was published by Berners-Lee and others in 2008.

N3 has several features that go beyond a serialization for RDF models, such as support for RDF-based rules. Turtle is a simplified, RDF-only subset of N3.

Examples

This RDF model in standard XML notation

may be written in Notation 3 like this:

(This example would also be valid Turtle.)

References

Notation3 Wikipedia