Share on Facebook Share on Twitter Email
Answers.com

Turtle

 
Wikipedia: Turtle (syntax)
Terse RDF Triple Language
Filename extension .ttl
Internet media type text/turtle
Developed by Dave Beckett
Type of format Semantic Web
Container for RDF data
Extended from N-Triples
Standard(s) Specification

Turtle (Terse RDF Triple Language) is a serialisation format for RDF (Resource Description Framework) graphs. A subset of Tim Berners-Lee and Dan Connolly's Notation 3 (N3) language, it was defined by Dave Beckett , and is a superset of the minimal N-Triples format. Unlike full N3, Turtle doesn't go beyond RDF's graph model. The SPARQL Protocol and RDF Query Language uses a similar N3 subset to Turtle for its graph patterns, but using N3's braces syntax for delimiting subgraphs.

Turtle has no official status with any standards organization, but has become popular amongst Semantic Web developers as a human-friendly alternative to RDF/XML. A significant proportion of RDF toolkits include Turtle parsing/serialising capability, for example Redland, Sesame, Jena and RDFLib.

Example

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ex: <http://example.org/stuff/1.0/> .

<http://www.w3.org/TR/rdf-syntax-grammar>
  dc:title "RDF/XML Syntax Specification (Revised)" ;
  ex:editor [
    ex:fullname "Dave Beckett";
    ex:homePage <http://purl.org/net/dajobe/>
  ] .

(Turtle examples are also valid Notation 3)

The requested mime type of Turtle is expected to be text/turtle [1]. However pre-registration application/x-turtle should be accepted. Charset parameters on the mime type are forbidden; the content encoding of Turtle content is always UTF-8.

External links


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
Chrysemys picta
turtle-shell
Platemys platecephala

Do you have a turtle? Read answer...
What is turtles? Read answer...
What are turtles for? Read answer...

Help us answer these
What do turtles it?
Where is your turtle?
Do turtles kiss turtle?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Turtle (syntax)" Read more