Turtle

Created on Feb. 25, 2013, 11:34 p.m. by Hevok & updated by Hevok on Dec. 30, 2013, 11:21 p.m.

Turtle (Terse RDF Triple Language) allows RDF Graphs to be completely written in a compact and natural form, with abbreviations for common usage patterns and Datatypes. Turtle provides Levels of compatibility with the existing N-Triples and Notation 3 formats as well as the Triple Pattern Syntax of the SPARQL W3C Proposed Recommendation. The Turtle Language is an alternative Syntax to RDF/XML.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#?>] .
@prefix prof: <http://denigma.de/profiles/>] .
@base <http://denigma.de/>] .

:Hevok prof:hasPhoneNr "++49-123-12345-123" ;
       prof:hasBlog :Blog .
  • @ Language (followed by two letter language code)
  • ^^ Datatypes (followed by legal URI)

Strings are by default of Datatype Strings. Numbers like Integers, Decimals do not need a surrounding '"'.

turtle.jpg

Tags: programming, shortcut, coding, language, format, data
Categories: Concept
Parent: Resource Description Framework

Update entry (Admin) | See changes

Comment on This Data Unit