Skip to content
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

ability to limit the number of sh:ValidationResults #161

Open
VladimirAlexiev opened this issue Dec 6, 2024 · 1 comment
Open

ability to limit the number of sh:ValidationResults #161

VladimirAlexiev opened this issue Dec 6, 2024 · 1 comment

Comments

@VladimirAlexiev
Copy link

Usually validation errors are due to some systemic reason (eg an RDFization process has a mistake).
In that case you don't get a couple of ValidationResults for a given reason, you get thousands or millions.

It is more practical to have the ability to put some limit(s). Rdf4j has this ability: https://rdf4j.org/documentation/programming/shacl/#limiting-the-validation-report (total results, and results per constraint)

After the data producer fixes the root cause of errors in this limited report, they can rerun the validator, fix another batch of errors, etc.
This is similar to how many compilers abort after the encounter 1000 errors: the programmer is not likely to fix more than 1000; and because often one error precipitates multiple following errors, it's better to work in digestible chunks.

@HolgerKnublauch
Copy link
Contributor

Yes, TopBraid has the same options. But this may be outside of the standardization process unless we define some sort of validation API similar to the SPARQL protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants