Re: Is union of targets distinct?

Hi Vladimir,

To me, this sounds more like an implementation question, rather than a standards question.

Regards,

Irene


> On Jan 6, 2022, at 1:58 PM, Vladimir Alexiev <vladimir.alexiev@ontotext.com> wrote:
> 
> https://www.w3.org/TR/shacl/#targets <https://www.w3.org/TR/shacl/#targets>: "union of terms produced by the individual targets that are declared by the shape".
> 
> Say I have a shape with the following targeting:
> 
> sh:targetClass :Foo;
> sh:targetSubjectsOf :bar, :baz;
> sh:targetObjectsOf :blor;
> 
> Say a node matches all of these conditions:
> will it be selected for validation once and not 4 times?
> 
> I.e., is the "union of terms" supposed to be DISTINCT?
> (Union in mathematics is distinct, but not in SPARQL)
> 
> -- 
> Vladimir Alexiev, PhD, PMP
> Chief Data Architect
> Sirma AI, trading as Ontotext: https://www.ontotext.com <https://www.ontotext.com/>, LinkedIn <https://www.linkedin.com/company-beta/208070>, Twitter <https://twitter.com/ontotext>, Rate GraphDB <http://www.capterra.com/database-management-software/reviews/157533/Graph%20DB/Ontotext/new>Email: vladimir.alexiev@ontotext.com <mailto:vladimir.alexiev@ontotext.com>, skype:valexiev1
> Mobile: +359 888 568 132, SMS: 359888568132@sms.mtel.net <mailto:359888568132@sms.mtel.net>
> Calendar: https://www.google.com/calendar/embed?src=vladimir.alexiev@ontotext.com <https://www.google.com/calendar/embed?src=vladimir.alexiev@ontotext.com>
> Publications and CV: https://github.com/VladimirAlexiev/my <https://github.com/VladimirAlexiev/my> 

Received on Thursday, 6 January 2022 19:42:59 UTC