Turtle: RDF written in a form people can read
Turtle is the text syntax most RDF is authored in: the same triples, written compactly enough to review by hand.
What it is
Turtle is a concrete syntax for RDF: it writes a graph as compact, readable text. A statement is a subject, predicate and object ended by a period, with prefixes, semicolons and commas cutting the repetition of long IRIs, and a base declaration letting relative IRIs resolve against a document location.
What it gives the knowledge layer
It gives the knowledge layer a source of truth a person can review. A Turtle file is plain text with a published grammar, so a change to the model is a diff — a reviewer sees a property renamed or a class added, as in code. Hand-authored vocabularies stay cheap to write.
Where the spec lives
The syntax is W3C RDF 1.1 Turtle, a Recommendation published in 2014; the graph it writes is defined by RDF 1.1 Concepts and Abstract Syntax. Parsers exist in most RDF libraries, and a loaded document can be queried with SPARQL.
What it does not solve
Turtle does not change what a triple means. It is a serialisation: it fixes how RDF is written down, not which terms to use, what they denote, or whether the facts are current. And a syntax error loses the whole file, not the offending line — the document fails to parse and anything reading it stops.
FAQ
No. Turtle is a concrete syntax for the RDF graph model defined by RDF 1.1 Concepts and Abstract Syntax. It fixes only how those triples are written as text.
No. A prefix is a shorthand bound inside the document. The triple contains the expanded IRI; the prefix is notation, not a thing in the graph.
A Turtle document represents one RDF graph, so one file holds one graph. Large graphs are split across files, or published in a format built for distribution size, such as HDT.
The recommendation states that Turtle is compatible with N-Triples and with the triple pattern syntax of SPARQL, which is why the same statement shapes recur across the three.
Sources
- RDF 1.1 Turtle — Terse RDF Triple Language (W3C Recommendation, 2014)
- RDF 1.1 Concepts and Abstract Syntax (W3C Recommendation)