W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2011

Re: [TTL] Differences between SPARQL and Turtle.

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Mon, 02 May 2011 10:12:30 +0100
Message-ID: <4DBE757E.6000505@epimorphics.com>
To: public-rdf-wg@w3.org


http://www.w3.org/2011/rdf-wg/wiki/Diff_SPARQL_Turtle

describes the differences and has examples.

Turtle WD refers to:
http://www.w3.org/2010/01/Turtle/

	Andy

Proposals for resolution of Turtle/SPARQL compatibility:

# 2 Decimals
Already done.
SPARQL has changed.

# 3 bNode property lists as triple patterns
Proposal: Add to Turtle

# 4 RDF Collections as triple patterns
No action.
Not in Turtle, leave in SPARQL.

# 5 Trailing dots
Proposal: No changes for the moment.

Include in TriG

Maybe add to Turtle in a later draft; it will not invalidate a valid 
Turtle document.

# 6 Strings
Turtle WD has the changes to adopt SPARQL ' and '''-strings

# 7 Local part of prefix names can begin with a number
Turtle WD has the changes to include numbers at the start of the local part.

# 8 Escape Processing
Proposal: Adopt Turtle style / Change SPARQL.

\u escapes can only appear in strings and IRIs
\u do not appear in the grammar but are described separately as at present.

This is a change to SPARQL but in an area rarely seen.


-------
The SPARQL Grammar (editors' working draft) currently has 3 items marked 
as a document note which will be in the LC candidate:

http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#grammar
Received on Monday, 2 May 2011 09:13:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:42 GMT