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:node constraint for dcat:distribution #22

Closed andrea-perego closed 3 months ago

andrea-perego commented 1 year ago

The property shape for dcat:distribution is currently defined as follows:

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

The following sh:node constraint should be added, to state that the values of dcat:distribution must be instances of class dcat:Distribution:

sh:node dcat:Distribution ;
andrea-perego commented 11 months ago

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