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

Support SKOS-XL #114

Open
nichtich opened this issue Jun 8, 2023 · 2 comments
Open

Support SKOS-XL #114

nichtich opened this issue Jun 8, 2023 · 2 comments
Milestone

Comments

@nichtich
Copy link
Member

nichtich commented Jun 8, 2023

Support of SKOSXL was discussed but JSKOS 1.0 will unlikely include it. A note about SKOSXL should be given still.

@nichtich
Copy link
Member Author

nichtich commented Oct 15, 2024

The requirement has been come up again, so it should be supported. Add Resource type Literal with two addition fields:

  • literalValue (mandatory string)
  • literalLanguage (optional, can be assumed to be und by default)

Literal label fields could be prefLiteral, altLiteral, hiddenLiteral fully covering SKOS-XL.

{
  "prefLabel": { "de": "Bronze" },
  "altLabel": { "de": [ "Zinnbronze" ] },
  "prefLiteral": [ {
    "literalValue": "Bronze",
    "literalLanguage": "de",
  } ],
  "altLiteral": [ {
    "literalValue": "Zinnbronze",
    "literalLanguage": "de",
    "note": [ { "de": [ "Bronze im engeren Sinn enthalten immer Zinn." ] } ]
  } ]
}

Open question is whether and how to support note fields (scopeNote, definition, example...) as well. We could further add:

  • scopeNote : scopeNoteLiteral
  • definition : definitionLiteral
  • example : exampleLiteral
  • historyNote : historyNoteLiteral
  • editorialNote : editorialNoteLiteral
  • changeNote : changeNoteLiteral
  • note : noteLiteral

Integrity rules

An item x with altLiteral of language y and value z SHOULD have an entry z in altLabel.y as well (and same for other literal fields prefLabel, scopeNoteLiteral...).

@nichtich nichtich added this to the 0.6.0 milestone Oct 15, 2024
@nichtich nichtich changed the title Mention SKOSXL Support SKOS-XL Oct 15, 2024
@nichtich
Copy link
Member Author

This should also support types of labels (e.g. "name given at birth", "historic name"...)

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

No branches or pull requests

1 participant