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

shapes-ISSUE-148 (scope syntax): non-uniform syntax in scopes [SHACL - Core]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 15 Apr 2016 13:18:04 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1ar3dM-000Ecy-V4@maia.w3.org>
shapes-ISSUE-148 (scope syntax): non-uniform syntax in scopes [SHACL - Core]

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

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

The syntax for SHACL scopes is non-uniform.

For class scopes the syntax is
  ex:s1 a sh:Shape ;
    sh:scopeClass ex:Person .
For property subject scopes the syntax is
  ex:s2 a sh:Shape ;
	sh:scope [
		a sh:PropertyScope ;
		sh:predicate ex:knows ;
	] .
The difference does not seem to serve any purpose and property subject scopes could be written instead as
  ex:s2 a sh:Shape ;
    sh:propertyScope ex:knows .
Received on Friday, 15 April 2016 13:18:06 UTC

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