W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > March 2016

Re: shapes-ISSUE-128 (rdfs:range): sh:defaultValueType is rdfs:range [SHACL Spec]

From: Holger Knublauch <holger@topquadrant.com>
Date: Mon, 7 Mar 2016 09:06:41 +1000
To: public-data-shapes-wg@w3.org
Message-ID: <56DCB801.8040002@topquadrant.com>
sh:defaultValueType is different from rdfs:range:

1) It only "fires" if the given resource has no other rdf:type already

2) The sh:defaultValueType can be a subclass of the rdfs:range, e.g. the 
default value type of sh:constraint is sh:NodeConstraint, however the 
range of that is sh:Constraint (superclass of NodeConstraint).

HTH
Holger


On 7/03/2016 5:47, RDF Data Shapes Working Group Issue Tracker wrote:
> shapes-ISSUE-128 (rdfs:range): sh:defaultValueType is rdfs:range [SHACL Spec]
>
> http://www.w3.org/2014/data-shapes/track/issues/128
>
> Raised by: Peter Patel-Schneider
> On product: SHACL Spec
>
> Section 11 of the SHACL document discusses sh:defaultValueType.  sh:defaultValueType is, in essence, rdfs:range.  If SHACL is going to do RDFS processing, then it should use the RDFS vocabulary.
>
>
>
Received on Sunday, 6 March 2016 23:07:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:30 UTC