rdf:langString support in LinkML types #2199
Unanswered
mahdanoura
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:langString
or the equivalentrdf:PlainLiteral
Datatype 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