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

Add ranks to set elements #131

Open
nichtich opened this issue Oct 15, 2024 · 1 comment
Open

Add ranks to set elements #131

nichtich opened this issue Oct 15, 2024 · 1 comment
Milestone

Comments

@nichtich
Copy link
Member

nichtich commented Oct 15, 2024

Add resource field rank with allowed values preferred, normal (default), and deprecated with same semantics as Wikbase data model (see Ranks in Wikidata).

Only one element of a set is allowed to have rank preferred. Default value is normal except for single-element sets the default value SHOULD be preferred. Applications SHOULD ignore elements of rank deprecated and choose element of rank preferred when selecting a single element of a set.

Example:

{
  "prefLiteral": [ {
      "literalValue": "Twix",
      "rank": "preferred"
    }, {
      "literalValue": "Raider",
      "rank": "deprecated"
  } ]
}
@StiftungAusNachlass
Copy link
Member

"rank" or sets klingt für mich gut

@nichtich nichtich added this to the 0.6.0 milestone Dec 16, 2024
nichtich added a commit that referenced this issue Dec 16, 2024
Not included in the specification document yet.
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

2 participants