W3C home > Mailing lists > Public > semantic-web@w3.org > October 2015

Re: Colons in compact URIs, e.G. dbpedia:Category:Bluegrass_music

From: Andy Seaborne <andy@seaborne.org>
Date: Fri, 9 Oct 2015 13:00:07 +0100
To: semantic-web@w3.org
Message-ID: <5617AC47.9020204@seaborne.org>


On 09/10/15 11:57, Stian Soiland-Reyes wrote:
> Excerpts from Michael Brunnbauer's message of 2015-10-09 10:38:33 +0100:
>>
>> hi all,
>>
>> is dbpedia:Category:Bluegrass_music a valid compact URI?
>> It seems not, because http://www.w3.org/TR/curie/ says:
>
> No, because it can't be consistently represented as a CURIE in
> syntaxes like RDF/XML or Turtle. It could still be valid in some syntaxes
> like JSON-LD or RDFa.

Colons are legal without escaping in the local part in Turtle (and 
SPARQL 1.1)

[168s] 	PN_LOCAL 	::=
  	(PN_CHARS_U | ':' | [0-9] | PLX)
         ((PN_CHARS | '.' | ':' | PLX)* (PN_CHARS | ':' | PLX))?

	Andy

>
>>
>
Received on Friday, 9 October 2015 12:00:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC