Re: Short editorial comment on RDF 1.1 Turtle

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