-
Notifications
You must be signed in to change notification settings - Fork 17
Schema module
Jose Emilio Labra Gayo edited this page Jan 8, 2018
·
1 revision
The Schema module defines a generic module for RDF validation. The main features are:
-
Schema: defines an abstract class to represent a Schema. A Schema has a method
validate
that can be invoked to validate RDF data with some validation trigger to obtain a result. - Result represents the result of validation.
- ValidationTrigger declares how to trigger validation. There are two main ways: using Shape maps (proposed by ShEx) and using target declarations (proposed by SHACL). However, those two invocation methods are independent from the validation language and can be combined. For example, it is possible to validate using the ShEx validator and target declarations, or using the SHACL validator and using shape maps.
- ShExSchema declares a Schema instance based on the ShEx validator.
- ShaclexSchema declares a Schema instance based on the SHACL validator.