ISSUE-48: How do we limit the scope for a shape?

scope-of-shape

How do we limit the scope for a shape?

State:
CLOSED
Product:
SHACL Spec
Raised by:
Michel Dumontier
Opened on:
2015-04-28
Description:
It would be useful to specify the limit the scope of a shape to some expression, minimally to a specified type, predicate and/or value expression, or some combination thereof.

consider the following example, where we use 'sh:scope' to express that the property constraint (there is exactly 1 :reportedBy whose value type is foaf:Person) applies to all instances of :Issue in the graph.

:IssueShape
a sh:Shape;
sh:scope [
sh:property rdf:type;
sh:valueType :Issue .
],
sh:property [
sh:predicate :reportedBy ;
sh:valueType foaf:Person ;
sh:minCount 1 ;
sh:maxCount 1 ;
] .



Related Actions Items:
No related actions
Related emails:
  1. Re: shapes-ACTION-24: Write requirement coming from issue-48 (from pfpschneider@gmail.com on 2015-05-14)
  2. shapes-ACTION-24: Write requirement coming from issue-48 (from sysbot+tracker@w3.org on 2015-05-14)
  3. shapes-ISSUE-48 (scope-of-shape): How do we limit the scope for a shape? [SHACL Spec] (from sysbot+tracker@w3.org on 2015-04-28)

Related notes:

RESOLUTION: Close ISSUE-48 by adding a requirement that the effect of expressive scopes be in SHACL
See http://www.w3.org/2015/05/14-shapes-minutes.html#resolution04

Arnaud Le Hors, 15 May 2015, 03:51:33

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 48.html,v 1.1 2018/11/26 09:03:39 carine Exp $