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

shapes-ISSUE-117 (non-classes as classes): sh:class should not require that its objects be known to be instances of rdfs:Class [SHACL - Core]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 11 Jan 2016 14:52:45 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1aIdpt-000FUh-4m@maia.w3.org>
shapes-ISSUE-117 (non-classes as classes): sh:class should not require that its objects be known to be instances of rdfs:Class [SHACL - Core]

http://www.w3.org/2014/data-shapes/track/issues/117

Raised by: Peter Patel-Schneider
On product: SHACL - Core

Currently the spec says:

The property sh:class can be used to verify that each value of the given property is an instance of a given type. The values of sh:class must be classes (instances of rdfs:Class).

In Holger's implementation this is checked in conjunction with the data graph, meaning that a SHACL shape's syntactic correctness depends on the data graph.

Instead, objects sh:class triples should not need to be instances of rdfs:Class.  This means that the shape

[ rdf:type sh:Shape; sh:scopeClass pp:Person ]

should be syntactically correct.
Received on Monday, 11 January 2016 14:52:48 UTC

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