RE: Short editorial comment on RDF 1.1 Turtle

Gavin,

Thank you for you answer.
>> 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

This resolves my comment. Thank you.
 
>> 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.

In that case I suggest that this is explicitly mentioned in the primer, since users are likely to mix up the different syntaxes (like I do...). A note with your above wording would make this clearer:

[[
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.
]]

Some text on how to refer to the current document would be helpful as well.

Thanks,

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 Thursday, 6 February 2014 08:34:19 UTC