On 2021-09-22 9:54 am, Maatary Okouya wrote:

Taken from the specification:

>>>
A node shape is a shape <https://www.w3.org/TR/shacl/#dfn-shape> in the shapes graph <https://www.w3.org/TR/shacl/#dfn-shapes-graph> that is not the subject <https://www.w3.org/TR/shacl/#dfn-subject> of a triple <https://www.w3.org/TR/shacl/#dfn-rdf-triple> with *sh:path* as its predicate <https://www.w3.org/TR/shacl/#dfn-predicate>. SHACL instances <https://www.w3.org/TR/shacl/#dfn-shacl-instance> of sh:NodeShape cannot have a value <https://www.w3.org/TR/shacl/#dfn-value> for the property sh:path.
>>>

Yet when talking Or Constraint or And Constraint, that takes list of shapes, we find example like what follow:

>>>>
ex:SuperShape a sh:NodeShape ;
   sh:property [ sh:path ex:property ; sh:minCount 1 ; ] .

ex:ExampleAndShape a sh:NodeShape ;
   sh:targetNode ex:ValidInstance, ex:InvalidInstance ;
   sh:and (
                  ex:SuperShape
                  [
                      sh:path ex:property ;
                      sh:maxCount 1 ;
                   ] ) .
>>>>

With the following explanation

>>>
The following example illustrates the use of sh:and in a shape to specify the condition that certain focus nodes have exactly one value of ex:property. This is achieved via the conjunction of a separate named shape (ex:SuperShape) which specifies the minimum count, and a *blank node shape* that additionally specifies the maximum count. As shown here, sh:and can be used to implement a specialization mechanism between shapes.
>>>>

How on earth is this a Blank Node shape if it is the subject of an sh:path, am I missing something ?

It should be a "blank property shape". I have recorded a bug report to the spec's Errata:

    https://github.com/w3c/data-shapes/issues/140

Note the error is in an informative block of text, so it doesn't change implementations.

Thanks for pointing this out
Holger



```
 [
    sh:path ex:property ;
     sh:maxCount 1 ;
  ]
```
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/a36d9325-ff9a-4329-86a3-64a463798b1dn%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/a36d9325-ff9a-4329-86a3-64a463798b1dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/d8447439-0a31-9c7d-70a5-adb730ad7990%40topquadrant.com.

Reply via email to