dcmi / dcap

DC Tabular Application Profile - supporting materials
28 stars 12 forks source link

REQUIREMENT: Unique values for specified fields #42

Closed kcoyle closed 3 years ago

kcoyle commented 5 years ago

21

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

kcoyle commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

OK, have edited #19 to add language requirement

kcoyle commented 3 years ago

This is covered by #47