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

> 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>
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 Tuesday, 8 March 2016 01:03:55 UTC