w3c / N3

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

xsd:int vs xsd:integer #133

Closed VladimirAlexiev closed 1 year ago

VladimirAlexiev commented 1 year ago

https://w3c.github.io/N3/spec/#h-note-6

Integers, decimals, doubles, and booleans may also be written as string literals with the appropriate datatype IRI (e.g., "8"^^xsd:int or "true"^^xsd:boolean).

I think this should be changed to

Integers, decimals, doubles, and booleans may also be written as string literals with the appropriate datatype IRI (e.g., "8"^^xsd:integer or "true"^^xsd:boolean).

because:

domel commented 1 year ago

Good catch. We should we following RDF 1.1, where xsd:integeris defined as a core datatype.

VladimirAlexiev commented 1 year ago

@domel what is "core"?

domel commented 1 year ago

See RDF 1.1 Concepts and Abstract Syntax (The XML Schema Built-in Datatypes).

william-vw commented 1 year ago

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