SEMICeu / DCAT-AP

This is the issue tracker for the maintenance of DCAT-AP
https://joinup.ec.europa.eu/solution/dcat-application-profile-data-portals-europe
72 stars 24 forks source link

SHACL / Unneeded empty property? #364

Closed fxprunayre closed 2 months ago

fxprunayre commented 2 months ago

We are trying to reproduce the SHACL validation report of https://www.itb.ec.europa.eu/shacl/dcat-ap/upload

The configuration is based on https://github.com/ISAITB/validator-resources-dcat-ap/blob/master/resources/config.properties#L117-L128

But running SHACL validation using Jena does not produce same validation results.

A first issue is related to empty property. Jena fails to parse SHACL shapes:

Missing property shape: 
node=<https://semiceu.github.io/DCAT-AP/releases/3.0.0/html/shacl/range.ttl#PeriodOfTime_Shape> 
sh:property _:B29af15d3d4515d6426fd22552bbc0a96

due to:

sh:property [], [
fxprunayre commented 2 months ago

Fixed in https://github.com/SEMICeu/DCAT-AP/commit/591fae6038c6f7c06f25d29b39d2df4f30edcd4f