Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdf:langstring or rdf:plainliteral support #19

Open
mahdanoura opened this issue Jul 8, 2024 · 1 comment
Open

rdf:langstring or rdf:plainliteral support #19

mahdanoura opened this issue Jul 8, 2024 · 1 comment

Comments

@mahdanoura
Copy link
Contributor

Json-LD support rdf:langString, and the TD utilizes this in the attributes title, titles, description and descriptions. However, providing this type in LinkML using the following:

types:
  MultiLanguage:
    name: MultiLanguage
    description: Description with a language tag.
    from_schema: https://raw.githubusercontent.com/w3c/wot-thing-description/main
    exact_mappings:
    - rdf:langString
    base: rdf:PlainLiteral
    uri: rdf:PlainLiteral

results in pure string.

@mahdanoura
Copy link
Contributor Author

Started a discussion on the LinkML forum mentioning this issue: https://github.com/orgs/linkml/discussions/2199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant