W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > September 2016

Re: on property constraints vs focus node constraints

From: Holger Knublauch <holger@topquadrant.com>
Date: Tue, 27 Sep 2016 14:52:47 +1000
To: public-rdf-shapes@w3.org
Message-ID: <e36d5e5f-42a0-22dc-d79f-71e3eca7ff7f@topquadrant.com>


On 27/09/2016 4:36, Peter F. Patel-Schneider wrote:
> What happens here?
>
> Shapes graph
>
> s:s1 rdf:type sh:Shape ;
>    sh:targetClass ex:foo ;
>    sh:shape s:s2 ;
>    sh:property s:s2 .
>
> s:s2 sh:predicate ex:p ;
>   sh:class ex:c .
>
> Is s:s2 a property constraint?  Is it a focus node constraint?

It's both, and an implementation would treat them as both, depending on 
the context. Can you point at a section of the spec where this would 
cause issues? I do remember that older versions of the spec had a 
problem with this ambiguity, but I can't find those sections anymore.

Thanks,
Holger


>
> This problem has been pointed out quite some time ago, but appears to have
> resurfaced.
>
>
> Peter F. Patel-Schneider
> Nuance Communications
>
Received on Tuesday, 27 September 2016 04:53:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:44 UTC