Skip to content
New issue

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

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

Already on GitHub? # to your account

xsd.ttl #37

Open
ektrah opened this issue Feb 10, 2025 · 0 comments
Open

xsd.ttl #37

ektrah opened this issue Feb 10, 2025 · 0 comments

Comments

@ektrah
Copy link
Member

ektrah commented Feb 10, 2025

As specified in rdf-concepts, RDF places special recognition on IRIs of the form http://www.w3.org/2001/XMLSchema#xxx, where xxx is the name of a datatype defined by XML Schema .

By including these IRIs in the set of recognized data types, a graph automatically entails a set of statements about these terms. For example, for any IRI of the form http://www.w3.org/2001/XMLSchema#xxx in D, the graph entails <http://www.w3.org/2001/XMLSchema#xxx> rdf:type rdfs:Datatype (rdfs1).

There is currently no official Turtle file that explicitly contains these statements. Although I guess it's technically not needed, this has not stopped people from inventing their own xsd: vocabulary.

To give a few examples (in no particular order, and not to pick on anyone):

So people seem to feel an itch to scratch. (I'm one of them.)

From a "specification usability" point of view, it would be very helpful if there was an official xsd.ttl that contained those statements, documentation, and unambiguously answered questions such as:

  • Is xsd:xxx rdfs:subClassOf xsd:yyy if xxx is derived from yyy, e.g., is xsd:integer a subclass of xsd:decimal?
  • Is it okay to use IRIs of the form http://www.w3.org/2001/XMLSchema#xxx where xxx is not the name of a data type, such as xsd:maxInclusive?
  • Is xsd:anySimpleType a rdfs:Datatype?
  • Is it okay to say xsd:xxx a rdfs:Datatype if xsd:xxx is not in D?
  • ...

(Not sure if this is the right repository for this issue, but since this repository contains the turtle files for rdf: and rdfs:, it seemed to fit the closest.)

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

No branches or pull requests

1 participant