Re: Is union of targets distinct?

Hi,

If there are a lot of targets then it would be very costly memory wise to distinct them before performing validation.

Cheers,
Håvard M. Ottestad

> On 7 Jan 2022, at 07:11, Vladimir Alexiev <vladimir.alexiev@ontotext.com> wrote:
> 
> 
> > implementation question, rather than a standards question.
> 
> The number of Validation Results will be different (unless targets are distinct, there will be duplicate results).
> Even if one stored Validation Results in a repo, they would not be deduplicated since it's not likely Results can use deterministic URLs (not blank nodes or UUID URNs).
> 
> The impact on performance will be a linear slowdown. 
> If that shape causes a lot of other shapes to be invoked, that can be very significant.
> 
> > Holger: I believe this is following the intention of the spec.
> 
> Agreed. But still, the spec should mention DISTINCT.
> I'll post this to https://github.com/w3c/data-shapes/issues "SHACL Errata", as per https://github.com/w3c/data-shapes/issues/103
> 
> Cheers!

Received on Friday, 7 January 2022 07:03:24 UTC