Description
Object to RDF Conversion step 13.2 constructs a datatype IRI based on language and direction:
If
rdfDirection
isi18n-datatype
, setdatatype
to the result of appendinglanguage
and the value of@direction
initem
separated by an underscore ("_") tohttps://www.w3.org/ns/i18n#
. Initializeliteral
as an RDF literal usingvalue
anddatatype
.
While there is "MAY" normative text about normalizing language tags, there doesn't seem to be any text about normalizing the language tag values when included in a datatype IRI like this. Test tdi10 seems to assume the value is normalized in lowercase. Moreover, I would think that not normalizing could cause lots of trouble with unexpected data (e.g. two literals that differ only in the case of the language tag component of this datatype IRI; shouldn't such literals have the same value?).