europarl / dcat-ep

The DCAT-AP profile of the European Parliament.
https://europarl.github.io/dcat-ep
1 stars 1 forks source link

Missing sh:uniqueLang constraint for adms:versionNotes #11

Closed andrea-perego closed 1 year ago

andrea-perego commented 1 year ago

In its current definition, adms:versionNotes can be repeated more than one time, even if the text is in the same language:

https://github.com/europarl/dcat-ep/blob/2f920e96f60a3c0fcc3207f2c5eec472dcb90cc4/0.3/dcat-ep.shacl.ttl#L1274-L1282

As for the other properties with rdf:LangString as datatype, it should have a sh:uniqueLang constraint set to true, so that it can be repeated only if the text is in a different language.

andrea-perego commented 1 year ago

This issue is being fixed in the DCAT-EP editor's draft - see PR https://github.com/europarl/dcat-ep/pull/17