-
Notifications
You must be signed in to change notification settings - Fork 8
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:maxCount "n"^^xsd:integer; #49
Comments
Can you share an example? I have been using this constraint without problems |
Hi @tpluscode, I'm validating this dcat with this shape Note that the context in the dcat needs to be updated, cf. StadGent/node_service_eventstream-api#39 |
You can share directly from the playground. That would be ideal, so that I don't have to retrace your steps, please |
Nice! See https://s.zazuko.com/gLxYM7 This constraint for example returns ": More than n values"
|
Oh, I misunderstood your initial question. You literally have Is that a feature of SHACL? And what result do you expect? What is |
Well, that is indeed the question :-) I would expect it to check for any integer amount but then it shouldn't fail if there are zero (as is the case here). Not sure what is the added value of such a constraint either. Hence my question on Informatievlaanderen/OSLOthema-DCATAPVlaanderen#22 |
Pretty sure the shapes need to be fixed. Let me close here for now. Feel free to open if you think there is in fact something to fix on our end |
When testing such a constraint in a shape I always get ": More than n values".
Is this supported:
shacl:maxCount "n"^^xsd:integer;
?The text was updated successfully, but these errors were encountered: