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

REQUIREMENT: Unique values for specified fields #42

Closed
kcoyle opened this issue May 25, 2019 · 5 comments
Closed

REQUIREMENT: Unique values for specified fields #42

kcoyle opened this issue May 25, 2019 · 5 comments
Labels
requirements As derived from use cases valueConstraints

Comments

@kcoyle
Copy link
Collaborator

kcoyle commented May 25, 2019

#21
This is a relationship between values. This may require a defined record or graph over which this is calculated

@kcoyle kcoyle added the requirements As derived from use cases label May 25, 2019
@kcoyle
Copy link
Collaborator Author

kcoyle commented Jun 6, 2019

In the shapes work there was a requirement to have only one value per language tag. This would be valid:

rdf:label "woman"@en
rdf:label "donna"@it
rdf:label "frau"@de

But this would not be:

rdf: label "dog"@en
rdf:label "canine"@en

Should we include this in this requirement, or create a new requirement?

@philbarker
Copy link
Collaborator

I think one value per language tag would be appropriate here.
However, (unless I am missing it) I think there should be a use case requirement for [a] specific language[s] (e.g. I am aggregating data for an English speaking audience, I require english labels & litterals; or "I'm Switzerland, any of these five languages will do" etc.). The two together could give a requirement for one and only one label. I could add it as a requirement from use case #19 if you like.

@kcoyle
Copy link
Collaborator Author

kcoyle commented Jun 7, 2019

Yes, that's another requirement that has come up in the past. Please add it to #19. I'll create two requirements: 1) be able to define only one value per language and 2) be able to limit to a list of languages. (Note: ShEx has the second one as "value sets".)

@philbarker
Copy link
Collaborator

OK, have edited #19 to add language requirement

@kcoyle
Copy link
Collaborator Author

kcoyle commented Mar 16, 2021

This is covered by #47

@kcoyle kcoyle closed this as completed Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requirements As derived from use cases valueConstraints
Projects
None yet
Development

No branches or pull requests

2 participants