Re: DCMI tests - help needed

On 10/01/2015 03:36 AM, Simon Steyskal wrote:

[...]
> 
> 1) To indicate that a shape should be interpreted as a closed shape you have
> to use:
> 
> ex:ClosedShapeExampleShape
>     a sh:Shape ;
>     sh:constraint [
>         a sh:ClosedShapeConstraint ;
>         sh:ignoredProperties (sh:nodeShape rdf:type) ;
>     ] ;
>     sh:property [
>         ....
> 
> and not "sh:constraint sh:Closed ;" see [1]
> (unless we've agreed on some abbreviated representation I'm not aware of)

[...]

You may have missed:

The core vocabulary includes an instance of sh:ClosedShapeConstraint called
sh:Closed that can be used in places where no other arguments such as
sh:ignoredProperties are needed.

although sh:Closed does not work the same way as your example does.

peter

Received on Thursday, 1 October 2015 10:52:51 UTC