Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"string literal" vs "datatyped literal" #132

Closed
VladimirAlexiev opened this issue Feb 23, 2023 · 2 comments
Closed

"string literal" vs "datatyped literal" #132

VladimirAlexiev opened this issue Feb 23, 2023 · 2 comments

Comments

@VladimirAlexiev
Copy link
Contributor

VladimirAlexiev commented Feb 23, 2023

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
Copy link
Collaborator

@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
Copy link
Collaborator

fixed by #154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants