-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHACL rules differ in shacl vs html directory (e.g byteSize) #399
Comments
Also the other way round: the shacl/dcat-ap-SHACL explicitly checks if e.g. accessURL is an rdfs:Resource, while the html/shacl/shapes.ttl does not (nor does html/shacl/ranges.ttl) |
I also noted this discrepancy, in relation to the GeoDCAT-AP 3.0.0 pilot... Whereas in the dcat-ap-SHACL.ttl it is specified as xsd:decimal as well as nodeKind Literal. The respec document only specifies the xsd:decimal property. So I tend to believe the seperate files are the 'official correct' ones. This poses a problem with the GeoDCAT pilot though, as the GeoDCAT-AP shacl file seems to be based on the dcat-ap-SHACL file. |
My guess would be that the shapes in The need for nodeKind "Literal" is implicit if you use a data type. The range is a literal typed as xsd:decimal. |
The decision to use uuids for properties is a seperate issue/decision from the decision to merge all shapes into 1 file. I think it is indeed very good to have unique names for each individual property. For those that want all constraints in one file, it is easier to merge the separate files into one, then it is to provide 1 file and leave it to the users to split it out again into separate files. The scenarios I would typically implement are checking for required properties (which is what the shapes.ttl specifies) before checking the range or recommended properties. So from that perspective the different shacl files make perfect sense to me. |
Well, I also prefer separate files, but one big file is also fine with me... But at least the results should be the same :-) |
There seems to be a difference between the separate "HTML" SHACL files and the (aggregated ?) version published in the SHACL directory
E.g. https://github.com/SEMICeu/DCAT-AP/blob/master/releases/3.0.0/html/shacl/shapes.ttl still lists dcat:byteSize as type xsd:decimal, while https://github.com/SEMICeu/DCAT-AP/blob/master/releases/3.0.0/shacl/dcat-ap-SHACL.ttl uses the correct type xsd:nonNegativeInteger
The text was updated successfully, but these errors were encountered: