data-model-spec
data-model-spec copied to clipboard
[RDF1.2] Add base direction to literals
There's a high chance of text directions to be added in RDF 1.2, so that string literals can indicate their direction (relevant I18N).
This issue is a place do discuss how we want to cope with this at RDF/JS data model-level.
In order to cope with this, we should add a new field to literals (e.g. direction
), which may either be 'ltr'
or 'rtl'
.
The datafactory will also have to be modified to cope with this.
If we make direction
optional, this should be fully backwards-compatible.
https://github.com/w3c/rdf-concepts/issues/9
For reference, this has now been merged in the rdf-concepts spec (WD): https://github.com/w3c/rdf-concepts/commit/f299fd0500628ead4b5f2fad23c5eab16d04d1c0