RDF graphs with value-space literals

It appears that some RDF implementations build RDF graphs where literals with 
recognized datatypes are represented if they were members of the value space 
instead of in their lexical form.   This does not appear to be sanctioned by 
the RDF recommendations.  So "1.99999999999999999999999999999"^^xsd:float is 
stored as the IEEE floating point number 2 and "2"^xsd:byte, "2"^^xsd:short, 
"2"^^xsd:int, and "2"^^xsd:long are all stored as the integer 2.

Would it be possible to liberalize the treatment of literals with recognized 
datatypes in RDF to support this?  SPARQL entailment regimes already 
legitimize something along these lines for SPARQL.

I have created issue https://github.com/w3c/rdf-star-wg/issues/136 for this. 
It may be that it is ruled out of scope for this working group.

peter

Received on Saturday, 9 November 2024 13:59:17 UTC