- From: Holger Knublauch <holger@topquadrant.com>
- Date: Thu, 23 Jun 2016 13:28:38 +1000
- To: "public-data-shapes-wg@w3.org" <public-data-shapes-wg@w3.org>
There seems to be widespread confusion about the meaning and use of "scopes". People either don't know what it does or wonder under which conditions it applies. The answer is that the "scope" triples in the shapes graph are used to trigger the validation of a given data graph. Once the validation of these "top level" shapes has been triggered, the shapes may lead to cascading validations of other nodes against nested shapes. The scopes are really just the initial trigger mechanism to get things started, creating a mapping between focus nodes and shapes. I think we may reduce future confusion by renaming "scope" to "trigger". For example ex:PersonShape sh:triggerClass ex:Person ; sh:property [ ... ] . or ex:ColorShape sh:triggerNode ex:Red ; sh:triggerNode ex:Green ; ... What do others think? Better names anyone? Holger
Received on Thursday, 23 June 2016 03:29:11 UTC