[spec] constraining multilingual attributes (#48)

pchampin has just created a new issue for https://github.com/shexSpec/spec:

== constraining multilingual attributes ==
During a [workshop on Distrbuted Knowledge Graph metadata](https://cost-dkg.github.io/metadata4dkg2022/), the need emerged to constrain a property to contain:
- one-to-many language tagged strings, but 
- at most one value per language tag.

Therefore this would be allowed
```
<> dct:description "My Knowledge Graph"@en, "Mon graphe de connaissances"@fr.
```
would be valid, but
```
<> dct:description "My Knowledge Graph"@en, "My KG"@en.
```
would not.

Is it possible to express that kind of constraint using ShEx?

Please view or discuss this issue at https://github.com/shexSpec/spec/issues/48 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 May 2022 09:47:04 UTC