w3c / N3

W3C's Notation 3 (N3) Community Group
47 stars 18 forks source link

"string literal" vs "datatyped literal" #132

Closed VladimirAlexiev closed 1 year ago

VladimirAlexiev commented 1 year ago

https://w3c.github.io/N3/spec/#literals

..need to be written as string literals. If the literal is not a string, its particular datatype must be indicated using the ^^ symbol and the corresponding datatype IRI.

I think that "string literal" means only xsd:string, so I propose to change this to:

..need to be written as datatyped literals, which are denoted as a string, followed by the ^^ symbol and the corresponding datatype IRI (xsd:string is the default and can be omitted).

And later: change

The language of the string literal

to

The language of a string literal

william-vw commented 1 year ago

@VladimirAlexiev thanks a lot for going over the spec. I think it would be more efficient if you create a PR so we don't misinterpret your comments (and have to go back and forth).

william-vw commented 1 year ago

fixed by https://github.com/w3c/N3/pull/154