W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > February 2017

Re: Review of SHACL document (2)

From: Olivier Corby <olivier.corby@inria.fr>
Date: Tue, 21 Feb 2017 09:38:59 +0100
To: public-rdf-shapes@w3.org
Message-ID: <58ABFCA3.1060606@inria.fr>
On 02/21/2017 02:56 AM, Holger Knublauch wrote:
>> First one has to guess that there is a relation between 
>> ex:LanguageConstraintComponentUsingSELECT
>> and ex:LanguageExampleShape because the former uses sh:parameter 
>> [sh:path ex:lang] and the latter uses sh:property [ex:lang "de"].
>> This is not very explicit.
>
> Do you have specific suggestions on how to make this clearer?
Given
- a sh:Shape S that specifies sh:property [sh:path Path ; Predicate 
Object]   where Predicate is not a SHACL property (e.g. sh:property 
[sh:path ex:germanLabel ; ex:lang "en"]) and
- a  sh:ConstraintComponent C, with a SPARQL validator, that specifies 
sh:parameter [sh:path Predicate] (e.g. sh:parameter [sh:path ex:lang])
then C is used to validate value nodes of S with $PATH variable of 
SPARQL validator substituted with Path (e.g. ex:germanLabel) and the 
variable corresponding to Predicate (e.g. $lang corresponding to 
ex:lang) pre-bound with Object (e.g. "en").



Olivier
Received on Tuesday, 21 February 2017 08:39:33 UTC

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