- From: Holger Knublauch <holger@topquadrant.com>
- Date: Tue, 8 Mar 2016 09:00:33 +1000
- To: public-data-shapes-wg@w3.org
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. > > > > > >
Received on Monday, 7 March 2016 23:01:06 UTC