w3c / csvw

Documents produced by the CSV on the Web Working Group
Other
162 stars 57 forks source link

Test 235-237 Turtle values should be in RDFLiteral form not NumericLiteral #804

Closed gkellogg closed 8 years ago

gkellogg commented 8 years ago

These three tests have their Turtle results expressed as NumericLiterals with canonicalized double values. This means that a simple literal comparison will not work and it requires a value comparison. RDF Isomorphism is defined for lexical Equality, not Value Equality. See RDF Concepts.

Literal term equality: Two literals are term-equal (the same RDF literal) if and only if the two lexical forms, the two datatype IRIs, and the two language tags (if any) compare equal, character by character. Thus, two literals can have the same value without being the same RDF term.