W3C home > Mailing lists > Public > public-rdf-comments@w3.org > February 2014

Re: Short editorial comment on RDF 1.1 Turtle

From: Gavin Carothers <gavin@carothers.name>
Date: Wed, 5 Feb 2014 10:11:58 -0800
Message-ID: <CAPqY83xNVFLR5NUKVvbZB5pUiN8qBHurp175_w0aFuoYNkAHFg@mail.gmail.com>
To: "Svensson, Lars" <L.Svensson@dnb.de>
Cc: "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
Thank you for your comment.


On Tue, Jan 14, 2014 at 12:17 AM, Svensson, Lars <L.Svensson@dnb.de> wrote:

> Hoping it's not too late, I have two minor editorial point in the upcoming
> RDF 1.1 Turtle recommendation [1].
>
> 1) Quoted Literals [2]
> In example 11, the line
>
> show:218 rdfs:label "That Seventies Show"^^xsd:string .            #
> literal with XML Schema string datatype
>

Updated example to correctly include xsd: prefix.
https://dvcs.w3.org/hg/rdf/rev/6fb7777d97bc draft at
https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#turtle-literals


>
> implies that it is legal to use the prefix xsd without declaring it first,
> since the prefix is not declared. If the use of xsd without declaration is
> legal it should be explicitly mentioned; if not, you need to declare the
> prefix xsd.
>
> 2) Prefixed names [3]
> The specification of prefixed names does not explicitly mention the
> meaning of ':' (i. e. "current document") if the empty prefix is not
> declared. That is an important hint for people new to the language. Wording
> similar to "If the empty prefix ':' is not explicitly declared, it is
> relative to the current document root."
>


> This is correct. Turtle (as opposed to N3) does not define ':' to mean the
current document.  If a user of Turtle wishes to use : in that way, they
would need to add the prefix directive "@prefix : <#>." to their document.
Unlike N3, Turtle does not define any "default" prefixes.

Please confirm that these responses answer your comments.

Cheers,
Gavin

Thanks for your consideration,
>
> Lars
>
> [1] http://www.w3.org/TR/turtle/
> [2] http://www.w3.org/TR/turtle/#turtle-literals
> [3] http://www.w3.org/TR/turtle/#prefixed-name
>
Received on Wednesday, 5 February 2014 18:12:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 18:12:26 UTC