Skip to main content

Turtle

Turtle (Terse RDF Triple Language) is a highly human- and machine-readable markup language that allows users to express triples according to the Resource Description Framework (RDF).

Turtle’s syntax allows users to group three Uniform Resource Identifiers (URI) to make a triple. It also provides ways to abbreviate the information in each triple, since users can define prefixes at the beginning of their TTL file so common portions of URIs can be factored out.

Examples

  • The following example shows a basic TTL statement where the relationship between Margaret Laurence and her novel, The Stone Angel, is expressed:

<http://example.org/person/Margaret_Laurence>
<http://example.org/relation/author>
<http://example.org/books/The_Stone_Angel> .

Further Resources