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

Re: shapes-ISSUE-30 (shape-and-data-graphs): Are shapes and data in the same graph? [SHACL Spec]

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Sat, 28 Mar 2015 15:17:39 -0700
Message-ID: <55172883.50604@gmail.com>
To: Richard Cyganiak <richard@cyganiak.de>
CC: "public-data-shapes-wg@w3.org" <public-data-shapes-wg@w3.org>
Hash: SHA1

On 03/28/2015 02:59 PM, Richard Cyganiak wrote:
> Peter,
>> On 28 Mar 2015, at 20:31, Peter F. Patel-Schneider
>> <pfpschneider@gmail.com> wrote:
> I am uncertain as to what access to the shape graph when validating the
> data graph is supposed to mean.
> On one hand, it seems to me that if the shape graph is inaccessible then 
> there is no way that the shapes can be acccessed and so no way to
> validate the shapes, so it appears to me that all proposals need this.
> On the other hand, I am unaware that any proposal needs the shape graph
> to be part of the data graph.
>> The treatment of sh:allowedValues in the SHACL draft [1][2] requires
>> that shapes and data be in the same graph, as it relies on querying the
>> sh:member triples.
>> An alternative would be to pass the allowed values in as pre-bound
>> variables, as done for other constructs. But there is the complication
>> that it’s more than one.

I think that a treatment that put the allowed values in the SPARQL query
would be better.

>> Another alternative would be to do something with RDF datasets.

Which would also require a connection between the data graph and the shape
graph, I think.
>> Richard
>> [1]
>> https://w3c.github.io/data-shapes/shacl/#AbstractAllowedValuesPropertyConst
> peter
> On 03/28/2015 01:21 PM, RDF Data Shapes Working Group Issue Tracker
> wrote:
>>>> shapes-ISSUE-30 (shape-and-data-graphs): Are shapes and data in the
>>>> same graph? [SHACL Spec]
>>>> http://www.w3.org/2014/data-shapes/track/issues/30
>>>> Raised by: Richard Cyganiak On product: SHACL Spec
>>>> Some proposals assume that the data to be validated, and the RDF
>>>> graph encoding the shapes, are in separate graphs. Others assume
>>>> they are in the same graph, and rely on being able to access
>>>> triples from the shape graph when validating the data graph.
Version: GnuPG v2

Received on Saturday, 28 March 2015 22:18:09 UTC

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