rdf:langString support in LinkML types #2199
Replies: 2 comments
-
|
@mahdanoura I'm also quite missing rdf:langString support in LinkML. Furthermore, I think that |
Beta Was this translation helpful? Give feedback.
-
|
This is a good proposal but the challenge is that linkml types are primitive, and it's often advantageous to model langStrings as objects, as in JSON-LD See also a more general proposal https://github.com/orgs/linkml/discussions/2896 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the W3C Web of Things standard, we are trying to utilise the LinkML model to describe the Thing Description standard [https://www.w3.org/TR/wot-thing-description11/]. The Thing Description document is structured as a JSON-LD document, where we need to use
rdf:langStringor the equivalentrdf:PlainLiteralDatatype for some of our attributes. Below, you can find the LinkML snippet I use for modelling the entitytitle, which can be either a string or a langString (e.g., "hue lamp"@en).However, the JSON Schema that is generated from this is:
Any help would be appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions