W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2012

RDF-WG to SPARQL-WG: request to consider a change to SPARQL prefix name token syntax.

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Wed, 28 Mar 2012 21:15:17 +0100
Message-ID: <4F737155.9060203@epimorphics.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
This is a formal message from RDF-WG to SPARQL-WG.

The RDF-WG is considering changing Turtle to include ":" as a legal 
character in the local part of a prefixed name.  They are asking whether 
SPARQL-WG is open to making this as a co-ordinated change.

The effect is to make

     music:album:track

a legal prefix name being the URI:

     <http://ogp.me/ns/music#album:track>

RDFa allows RDFa-CURIES with ":" in the local part. [1]
See [2] for more examples.

This would break existing Turtle/SPARQL where no white space is used to 
separate adjacent prefixed names.

For example, this is legal Turtle currently

------------------
@prefix a: <http://example/NS/> .
@prefix : <http://example/NS/> .

a:b:c:d .
------------------

meaning:
------------------
a:b :c :d .
------------------
because the : of :c ends the local part of a:b

	Andy "the messenger"

[1] http://www.w3.org/TR/rdfa-core/#s_curies
     not the CURIE note http://www.w3.org/TR/curie
     which does not permit "a:b:c"
[2] http://ogp.me/
Received on Wednesday, 28 March 2012 20:15:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:47 GMT