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

Re: shapes-ISSUE-130 (rdf dataset assumption): SHACL should not assume that the data graph is in an RDF dataset [SHACL Spec]

From: Holger Knublauch <holger@topquadrant.com>
Date: Wed, 9 Mar 2016 17:35:10 +1000
To: johnson.tom@gmail.com, RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
Message-ID: <56DFD22E.6070802@topquadrant.com>
Yes, you may have a point there - in cases like the default graph we 
need to make sure that the system knows which subject to look for the 
sh:shapesGraph triples. This is probably just a URI parameter.

(There are so many edit suggestions open right now that I am looking 
forward to sharing the workload with a second editor, now that Arthur 
has left; yes I have a day job too.)

Holger


On 8/03/2016 11:02, Tom Johnson wrote:
> > An RDF dataset is a purely conceptual entity. Many APIs implement 
> Dataset. Any Graph can be wrapped into a Dataset for execution, even 
> if that Dataset is just virtual and only has a single graph in it.
>
> Reading the quoted text, this doesn't seem to hold. The "data graph" 
> links to the "shapes graph" via a triple with its graph name as the 
> subject. Many graphs do not have such a name (even those that are 
> within Datasets; i.e. default graphs).
>
> Does SHACL provide a mechanism for connecting such a graph to a shapes 
> graph? If not, how does wrapping the graph in a dataset within the 
> implementation help a SHACL user make this connection?
>
> - Tom
>
> On Mon, Mar 7, 2016 at 3:00 PM, Holger Knublauch 
> <holger@topquadrant.com <mailto:holger@topquadrant.com>> wrote:
>
>     An RDF dataset is a purely conceptual entity. Many APIs implement
>     Dataset. Any Graph can be wrapped into a Dataset for execution,
>     even if that Dataset is just virtual and only has a single graph
>     in it.
>
>     Holger
>
>
>
>     On 8/03/2016 2:45, RDF Data Shapes Working Group Issue Tracker wrote:
>
>         shapes-ISSUE-130 (rdf dataset assumption): SHACL should not
>         assume that the data graph is in an RDF dataset [SHACL Spec]
>
>         http://www.w3.org/2014/data-shapes/track/issues/130
>
>         Raised by: Peter Patel-Schneider
>         On product: SHACL Spec
>
>         """4. Declaring the Shapes Graph
>
>         A data graph MAY link to one or more shapes graphs via the
>         property sh:shapesGraph. The subject of this predicate must be
>         the graph resource, i.e. the name of the data graph in the
>         dataset. The objects of this predicate must be IRI nodes,
>         pointing at a named graph in the dataset. Tools may use this
>         information to determine which shapes graph to use for
>         validation. If present, tools SHOULD transitively follow any
>         links from the shapes graph via the predicate owl:imports to
>         other graphs and use the resulting union graph as parameter to
>         the validation process."""
>
>         This assumes that the data graph is in an RDF dataset.  SHACL
>         validation should work on data graphs that are not in an RDF
>         dataset.
>
>
>
>
>
>
>
>
>
>
>
> -- 
> -Tom Johnson
Received on Wednesday, 9 March 2016 07:35:46 UTC

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