Re: Targeting all subjects & objects regardless of predicate

On 11/04/2020 07:08, Irene Polikoff wrote:

> Btw, SHACL Advanced Features supports SPARQL-based targets 
> https://w3c.github.io/shacl/shacl-af/.

Yes, using the dash namespace, you can state

     ex:Shape sh:target dash:AllSubjects, dash:AllObjects .

where, for example, the query behind dash:AllSubjectsTarget is

SELECT DISTINCT ?this
WHERE {
     ?this ?anyP ?anyO .
}

Holger

Received on Saturday, 11 April 2020 01:05:22 UTC