-
Notifications
You must be signed in to change notification settings - Fork 23
Description
It is currently not possible to have all three of @value
, @language
and @type
. Meaning that for text with embedded mark up, it is impossible to have both language and format (the datatype given in @type
) ... neither of which can be reliably introspected from the value.
Any time there is markdown, html, xml, json, yaml, latex, or any other formatting instructions beyond simply print the string to the user, this becomes extremely valuable. Given the usage of those formats on the web, it would enable appropriate management of internationalized texts.
Example:
{
"description": {
"@value":"<p>Some <b>description</b></p>",
"@type": "rdf:XMLLiteral",
"@language" : "en-latn"
}
}
Reference: https://lists.w3.org/Archives/Public/public-linked-json/2014Aug/0031.html
Door-Opened-By: json-ld/json-ld.org#583
Original issue: Allow @value, @language and @type simultaneously #585