ISSUE-174: Scopenode does not use RDF node definition

Scopenode

Scopenode does not use RDF node definition

State:
CLOSED
Product:
SHACL - Core
Raised by:
Karen Coyle
Opened on:
2016-07-11
Description:
After chatting with various folks I am convinced that the use of "node" in the definition of "node scope" in SHACL is not correct. Node in RDF (which definition SHACL claims to follow) is defined thus:

"The set of nodes of an RDF graph is the set of subjects and objects of triples in the graph. It is possible for a predicate IRI to also occur as a node in the same graph."[1]

When we look at that:

"The set of nodes of an RDF graph is the set of subjects and objects of triples in a graph."

-> Only subjects and objects are "nodes."

"It is possible for a predicate IRI to also occur as a node in the same graph."

This refers to the IRI that is a predicate in a graph, not the predicate position in the triple, which is always an "arc" and not a node. The IRI can be a node (a subject or an object) if it is the subject or object of a triple. This means that if you "say something" about the predicate (for example adding a provenance statement about the predicate) then it has become a node in a graph as well as being a predicate in the graph.

In fact, most predicates are not also subjects or objects. This means that at the moment SHACL does not have a way to define a scope on predicates.

If the above holds true, then two things must happen: 1) SHACL must not use "node" where it means all components of a triple and 2a) there must either be a SHACL vocabulary element that allows scoping based on *any* component of a triple, or 2b) there must be a separate SHACL vocabulary element that allows scoping based on matching a predicate.


[1] https://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#section-rdf-graph
Related Actions Items:
No related actions
Related emails:
  1. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from irene@topquadrant.com on 2016-07-15)
  2. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from kcoyle@kcoyle.net on 2016-07-15)
  3. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from irene@topquadrant.com on 2016-07-14)
  4. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from kcoyle@kcoyle.net on 2016-07-14)
  5. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from kontokostas@informatik.uni-leipzig.de on 2016-07-14)
  6. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from kcoyle@kcoyle.net on 2016-07-12)
  7. Re: shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from kontokostas@informatik.uni-leipzig.de on 2016-07-12)
  8. shapes-ISSUE-174 (Scopenode): Scopenode does not use RDF node definition [SHACL - Core] (from sysbot+tracker@w3.org on 2016-07-11)

Related notes:

Closed after discussion on Jul 14, 2016

Karen Coyle, 15 Jul 2016, 00:00:19

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: 174.html,v 1.1 2018/11/26 09:03:32 carine Exp $